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
No related branches found
No related tags found
No related merge requests found
Pipeline #19832 passed
......@@ -9,7 +9,7 @@ import cfLogo from "../cf2023_kormidlo_lod.svg";
import cfPattern from "./gingerbread-pattern-colourful-384px.svg";
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 hours = Math.floor((delta - days * 86_400) / 3_600) % 24;
......@@ -19,7 +19,8 @@ const Home = () => {
<div className="content-block">
<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>
</div>
......@@ -47,8 +48,9 @@ const Home = () => {
/>
))}
</div>
*/}
{/*
<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>
<p className="text-md lg:text-lg">
......@@ -71,6 +73,8 @@ const Home = () => {
</p>
</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
......@@ -90,6 +94,7 @@ const Home = () => {
{days} dní a {hours} hodin
</h1>
{/*
<Button
className="md:text-xl btn--to-blue-300"
bodyClassName="whitespace-no-wrap"
......@@ -110,10 +115,13 @@ const Home = () => {
>
Podklady
</Button>
*/}
</div>
</div>
</div>
{/*
<div className="grid md:grid-cols-3 gap-4 md:gap-8">
{nav.map((navItem) => (
<CrossroadCard
......@@ -156,6 +164,7 @@ const Home = () => {
</Button>
</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="cf-hero"
......@@ -177,7 +186,7 @@ const Home = () => {
bodyClassName="whitespace-no-wrap"
color="black"
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"
target="_blank"
>
......@@ -186,7 +195,6 @@ const Home = () => {
</div>
</div>
</div>
*/}
</article>
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment