Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
Zasedání CF
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Zasedání CF
Commits
b07ae100
Verified
Commit
b07ae100
authored
8 months ago
by
Andrej Ramašeuski
Browse files
Options
Downloads
Patches
Plain Diff
Upravy uvodni stranky
parent
4721e772
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#19832
passed
8 months ago
Stage: build
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/pages/Home.js
+13
-5
13 additions, 5 deletions
src/pages/Home.js
with
13 additions
and
5 deletions
src/pages/Home.js
+
13
−
5
View file @
b07ae100
...
@@ -9,7 +9,7 @@ import cfLogo from "../cf2023_kormidlo_lod.svg";
...
@@ -9,7 +9,7 @@ import cfLogo from "../cf2023_kormidlo_lod.svg";
import
cfPattern
from
"
./gingerbread-pattern-colourful-384px.svg
"
;
import
cfPattern
from
"
./gingerbread-pattern-colourful-384px.svg
"
;
const
Home
=
()
=>
{
const
Home
=
()
=>
{
const
delta
=
Math
.
abs
(
new
Date
(
2024
,
0
,
13
,
9
,
0
,
0
)
-
new
Date
())
/
1
_000
;
const
delta
=
Math
.
abs
(
new
Date
(
2024
,
1
0
,
13
,
9
,
0
,
0
)
-
new
Date
())
/
1
_000
;
const
days
=
Math
.
floor
(
delta
/
86
_400
);
const
days
=
Math
.
floor
(
delta
/
86
_400
);
const
hours
=
Math
.
floor
((
delta
-
days
*
86
_400
)
/
3
_600
)
%
24
;
const
hours
=
Math
.
floor
((
delta
-
days
*
86
_400
)
/
3
_600
)
%
24
;
...
@@ -19,7 +19,8 @@ const Home = () => {
...
@@ -19,7 +19,8 @@ const Home = () => {
<
div
className
=
"
content-block
"
>
<
div
className
=
"
content-block
"
>
<
p
className
=
"
text-md lg:text-lg
"
>
<
p
className
=
"
text-md lg:text-lg
"
>
<
strong
>
Zasedání
CF
se
bude
konat
v
&
nbsp
;
Praze
v
termínu
9
.
&
nbsp
;
listopadu
2024
.
<
/strong><br/
><
br
/>
<
strong
>
Zasedání
CF
se
bude
konat
v
prostorách
Masarykovy
koleje
v
&
nbsp
;
Praze
v
termínu
9
.
&
nbsp
;
listopadu
2024
od
9
do
18
hodin
.
<
/strong><br/
><
br
/>
Bližší
informace
zde
budou
zveřejňovány
postupně
.
<
/p
>
<
/p
>
<
/div
>
<
/div
>
...
@@ -47,8 +48,9 @@ const Home = () => {
...
@@ -47,8 +48,9 @@ const Home = () => {
/>
/>
))}
))}
</div>
</div>
*/
}
{
/*
<div className="content-block alert alert--yellow-400 flex-col p-8 md:p-16">
<div className="content-block alert alert--yellow-400 flex-col p-8 md:p-16">
<h3 className="head-alt-md">Online registrace účastníků zasedání CF byla spuštěna</h3>
<h3 className="head-alt-md">Online registrace účastníků zasedání CF byla spuštěna</h3>
<p className="text-md lg:text-lg">
<p className="text-md lg:text-lg">
...
@@ -71,6 +73,8 @@ const Home = () => {
...
@@ -71,6 +73,8 @@ const Home = () => {
</p>
</p>
</div>
</div>
*/
}
<
div
className
=
"
relative card elevation-10 flex flex-col lg:flex-row lg:items-center my-8 xl:-mx-16 container-padding--zero md:container-padding--auto overflow-hidden
"
>
<
div
className
=
"
relative card elevation-10 flex flex-col lg:flex-row lg:items-center my-8 xl:-mx-16 container-padding--zero md:container-padding--auto overflow-hidden
"
>
<
div
<
div
...
@@ -90,6 +94,7 @@ const Home = () => {
...
@@ -90,6 +94,7 @@ const Home = () => {
{
days
}
dní
a
{
hours
}
hodin
{
days
}
dní
a
{
hours
}
hodin
<
/h1
>
<
/h1
>
{
/*
<Button
<Button
className="md:text-xl btn--to-blue-300"
className="md:text-xl btn--to-blue-300"
bodyClassName="whitespace-no-wrap"
bodyClassName="whitespace-no-wrap"
...
@@ -110,10 +115,13 @@ const Home = () => {
...
@@ -110,10 +115,13 @@ const Home = () => {
>
>
Podklady
Podklady
</Button>
</Button>
*/
}
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
{
/*
<div className="grid md:grid-cols-3 gap-4 md:gap-8">
<div className="grid md:grid-cols-3 gap-4 md:gap-8">
{nav.map((navItem) => (
{nav.map((navItem) => (
<CrossroadCard
<CrossroadCard
...
@@ -156,6 +164,7 @@ const Home = () => {
...
@@ -156,6 +164,7 @@ const Home = () => {
</Button>
</Button>
</div>
</div>
*/
}
<
div
className
=
"
relative card elevation-10 flex flex-col lg:flex-row lg:items-center my-8 xl:-mx-16 container-padding--zero md:container-padding--auto overflow-hidden
"
>
<
div
className
=
"
relative card elevation-10 flex flex-col lg:flex-row lg:items-center my-8 xl:-mx-16 container-padding--zero md:container-padding--auto overflow-hidden
"
>
<
div
<
div
className
=
"
cf-hero
"
className
=
"
cf-hero
"
...
@@ -177,7 +186,7 @@ const Home = () => {
...
@@ -177,7 +186,7 @@ const Home = () => {
bodyClassName
=
"
whitespace-no-wrap
"
bodyClassName
=
"
whitespace-no-wrap
"
color
=
"
black
"
color
=
"
black
"
icon
=
"
ico--chevron-right
"
icon
=
"
ico--chevron-right
"
href="https://dary.pirati.cz/
podpor-piraty/cf-2024-pirati-rozhoduji-o-svem-smerovani
/"
href
=
"
https://dary.pirati.cz/
daruj-piratum/mimoradne-celostatni-forum-2024
/
"
rel
=
"
noreferrer noopener
"
rel
=
"
noreferrer noopener
"
target
=
"
_blank
"
target
=
"
_blank
"
>
>
...
@@ -186,7 +195,6 @@ const Home = () => {
...
@@ -186,7 +195,6 @@ const Home = () => {
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
*/
}
<
/article
>
<
/article
>
);
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment