Skip to content
Snippets Groups Projects
Verified Commit b07ae100 authored by Andrej Ramašeuski's avatar Andrej Ramašeuski
Browse files

Upravy uvodni stranky

parent 4721e772
Branches
No related tags found
No related merge requests found
Pipeline #19832 passed
...@@ -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, 10, 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>
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment