Skip to content
Snippets Groups Projects
Commit 02948031 authored by xaralis's avatar xaralis
Browse files

feat: add accommodation perex, semantic tags

parent 4d266510
No related branches found
No related tags found
No related merge requests found
Pipeline #5984 passed
...@@ -49,7 +49,7 @@ function BaseApp() { ...@@ -49,7 +49,7 @@ function BaseApp() {
</Helmet> </Helmet>
<div className="container container--default my-4 md:my-16 space-y-8 md:space-y-16"> <div className="container container--default my-4 md:my-16 space-y-8 md:space-y-16">
<div className="md:flex items-center text-center md:text-left"> <header className="md:flex items-center text-center md:text-left">
<h1 className="head-alt-xl"> <h1 className="head-alt-xl">
<Link to="/" className="no-underline hover:no-underline"> <Link to="/" className="no-underline hover:no-underline">
{basics.appTitle} {basics.appTitle}
...@@ -60,7 +60,7 @@ function BaseApp() { ...@@ -60,7 +60,7 @@ function BaseApp() {
<h2>{process.env.REACT_APP_CF_EVENT_CITY}</h2> <h2>{process.env.REACT_APP_CF_EVENT_CITY}</h2>
<h2>{process.env.REACT_APP_CF_EVENT_VENUE}</h2> <h2>{process.env.REACT_APP_CF_EVENT_VENUE}</h2>
</div> </div>
</div> </header>
<Switch> <Switch>
<Route path="/registrace"> <Route path="/registrace">
...@@ -93,10 +93,10 @@ function BaseApp() { ...@@ -93,10 +93,10 @@ function BaseApp() {
</Route> </Route>
</Switch> </Switch>
<div className="border-t border-grey-125 pt-4 flex flex-col md:flex-row items-center md:justify-between space-y-4 text-center md:text-left"> <footer className="border-t border-grey-125 pt-4 flex flex-col md:flex-row items-center md:justify-between space-y-4 text-center md:text-left">
<img src={partyLogo} className="w-32" alt="Pirátská strana" /> <img src={partyLogo} className="w-32" alt="Pirátská strana" />
<p>Piráti, {year}. Všechna práva vyhlazena.</p> <p>Piráti, {year}. Všechna práva vyhlazena.</p>
</div> </footer>
</div> </div>
</Router> </Router>
); );
......
...@@ -10,7 +10,7 @@ const VNav = ({ className, ...props }) => { ...@@ -10,7 +10,7 @@ const VNav = ({ className, ...props }) => {
); );
return ( return (
<div className={cls} {...props}> <nav className={cls} {...props}>
<ul className="vertical-navbar__items"> <ul className="vertical-navbar__items">
<li> <li>
<NavLink to="/">Rozcestník</NavLink> <NavLink to="/">Rozcestník</NavLink>
...@@ -29,7 +29,7 @@ const VNav = ({ className, ...props }) => { ...@@ -29,7 +29,7 @@ const VNav = ({ className, ...props }) => {
</li> </li>
))} ))}
</ul> </ul>
</div> </nav>
); );
}; };
......
No preview for this file type
...@@ -20,15 +20,28 @@ const Accommodation = () => { ...@@ -20,15 +20,28 @@ const Accommodation = () => {
}); });
}; };
const perex =
"Jedete na CF 2022 a nechcete každý večer pendlovat trasu domov - Pardubice? Využijte ubytování, které jsme pro vás zařídili nedaleko Ideonu! Nabízíme vám šest osvědčených hotelů v centru Pardubic, ze kterých si vybere každý. Heslo pro ubytování je: PIRÁTI.";
return ( return (
<div className="space-y-8 w-full"> <article className="space-y-8 w-full">
<PageTitle>Ubytování</PageTitle> <PageTitle>Ubytování</PageTitle>
<Helmet> <Helmet>
<title>Ubytování | {basics.appTitle}</title> <title>Ubytování | {basics.appTitle}</title>
<meta name="description" content={perex} />
<meta property="og:title" content="Ubytování" /> <meta property="og:title" content="Ubytování" />
<meta property="og:description" content={perex} />
</Helmet> </Helmet>
<p className="leading-normal">
Jedete na CF 2022 a nechcete každý večer pendlovat trasu domov -
Pardubice? Využijte ubytování, které jsme pro vás zařídili nedaleko
Ideonu! Nabízíme vám šest osvědčených hotelů v centru Pardubic, ze
kterých si vybere každý. Heslo pro ubytování je: <strong>PIRÁTI</strong>
.
</p>
<div className="grid lg:grid-cols-2 gap-4 md:gap-8 container-padding--zero md:container-padding--auto"> <div className="grid lg:grid-cols-2 gap-4 md:gap-8 container-padding--zero md:container-padding--auto">
{accommodation.map((place) => ( {accommodation.map((place) => (
<Card key={place.title} className="relative"> <Card key={place.title} className="relative">
...@@ -78,7 +91,7 @@ const Accommodation = () => { ...@@ -78,7 +91,7 @@ const Accommodation = () => {
</Card> </Card>
))} ))}
</div> </div>
</div> </article>
); );
}; };
......
...@@ -12,7 +12,7 @@ const Home = () => { ...@@ -12,7 +12,7 @@ const Home = () => {
const hours = Math.floor((delta - days * 86_400) / 3_600) % 24; const hours = Math.floor((delta - days * 86_400) / 3_600) % 24;
return ( return (
<> <article className="space-y-8 md:space-y-16">
<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"> <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">
<div <div
className="absolute w-full h-full flex bg-blur" className="absolute w-full h-full flex bg-blur"
...@@ -54,7 +54,7 @@ const Home = () => { ...@@ -54,7 +54,7 @@ const Home = () => {
/> />
))} ))}
</div> </div>
</> </article>
); );
}; };
......
...@@ -25,7 +25,7 @@ const Map = () => { ...@@ -25,7 +25,7 @@ const Map = () => {
}; };
return ( return (
<div className="space-y-8 w-full"> <article className="space-y-8 w-full">
<PageTitle>Mapa</PageTitle> <PageTitle>Mapa</PageTitle>
<Helmet> <Helmet>
<title>Mapa | {basics.appTitle}</title> <title>Mapa | {basics.appTitle}</title>
...@@ -70,7 +70,7 @@ const Map = () => { ...@@ -70,7 +70,7 @@ const Map = () => {
))} ))}
</MapContainer> </MapContainer>
</div> </div>
</div> </article>
); );
}; };
......
...@@ -7,7 +7,7 @@ import { basics } from "config"; ...@@ -7,7 +7,7 @@ import { basics } from "config";
const Registration = () => { const Registration = () => {
return ( return (
<div className="space-y-8 w-full"> <article className="space-y-8 w-full">
<PageTitle>Registrace</PageTitle> <PageTitle>Registrace</PageTitle>
<Helmet> <Helmet>
...@@ -142,7 +142,7 @@ const Registration = () => { ...@@ -142,7 +142,7 @@ const Registration = () => {
</CardBody> </CardBody>
</Card> </Card>
</div> </div>
</div> </article>
); );
}; };
......
...@@ -2,18 +2,21 @@ import React from "react"; ...@@ -2,18 +2,21 @@ import React from "react";
import { Helmet } from "react-helmet"; import { Helmet } from "react-helmet";
import Badge from "components/Badge"; import Badge from "components/Badge";
import PageTitle from "components/PageTitle";
import { basics, organisers } from "config"; import { basics, organisers } from "config";
const Team = () => { const Team = () => {
const isLastItem = (idx) => organisers.length - 1 === idx; const isLastItem = (idx) => organisers.length - 1 === idx;
return ( return (
<div className="space-y-8 w-full"> <article className="space-y-8 w-full">
<Helmet> <Helmet>
<title>Organizátoři | {basics.appTitle}</title> <title>Organizátoři | {basics.appTitle}</title>
<meta property="og:title" content="Organizátoři" /> <meta property="og:title" content="Organizátoři" />
</Helmet> </Helmet>
<PageTitle>Organizátoři</PageTitle>
{organisers.map((team, idx) => ( {organisers.map((team, idx) => (
<React.Fragment key={team.title}> <React.Fragment key={team.title}>
<section key={team.title}> <section key={team.title}>
...@@ -34,7 +37,7 @@ const Team = () => { ...@@ -34,7 +37,7 @@ const Team = () => {
{!isLastItem(idx) && <hr className="hr--big" />} {!isLastItem(idx) && <hr className="hr--big" />}
</React.Fragment> </React.Fragment>
))} ))}
</div> </article>
); );
}; };
......
...@@ -5,7 +5,7 @@ import { basics } from "config"; ...@@ -5,7 +5,7 @@ import { basics } from "config";
const Volunteers = () => { const Volunteers = () => {
return ( return (
<div className="w-full"> <article className="w-full">
<PageTitle>Pro dobrovolníky</PageTitle> <PageTitle>Pro dobrovolníky</PageTitle>
<Helmet> <Helmet>
...@@ -55,7 +55,7 @@ const Volunteers = () => { ...@@ -55,7 +55,7 @@ const Volunteers = () => {
Jiráskova 1963, Pardubice Jiráskova 1963, Pardubice
</p> </p>
</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