diff --git a/src/app/[locale]/pages/[slug]/page.tsx b/src/app/[locale]/pages/[slug]/page.tsx
index 15ffbfc..d064e7e 100644
--- a/src/app/[locale]/pages/[slug]/page.tsx
+++ b/src/app/[locale]/pages/[slug]/page.tsx
@@ -37,6 +37,14 @@ export function generateStaticParams() {
locale: "en",
slug: "privacy",
},
+ {
+ locale: "pl",
+ slug: "rules",
+ },
+ {
+ locale: "en",
+ slug: "rules",
+ },
];
}
diff --git a/src/components/event-map.lazy.tsx b/src/components/event-map.lazy.tsx
index 2fc774e..5b8f391 100644
--- a/src/components/event-map.lazy.tsx
+++ b/src/components/event-map.lazy.tsx
@@ -20,7 +20,7 @@ export default function Map({ t }: {
/>
- {t.where.location}
+ {t.details.where.location}
diff --git a/src/components/landing-page.tsx b/src/components/landing-page.tsx
index 2baf9e0..03813c2 100644
--- a/src/components/landing-page.tsx
+++ b/src/components/landing-page.tsx
@@ -13,6 +13,48 @@ import { NewsletterPopup } from './newsletter-form';
import { useTheme } from "./providers";
import { Skeleton } from './ui/skeleton';
+function Heading({ children }: { children: ReactElement | string }) {
+ return
{children}
+}
+
+function Subheading({ children }: { children: ReactElement | string }) {
+ return {children}
+}
+
+function TinyHeading({ children }: { children: ReactElement | string }) {
+ return {children}
+}
+
+function TinyTextWrapper({ children }: { children: ReactElement }) {
+ return
+ {children}
+
+}
+
+
+function TextWrapper({ children }: { children: ReactElement }) {
+ return
+ {children}
+
+}
+
+function NewSection({
+ id,
+ children,
+ after
+}: {
+ id: string
+ children: ReactElement;
+ after?: ReactElement;
+}) {
+ return (
+
+ {children}
+ {after}
+
+ )
+}
+
function Section({
id,
title,
@@ -147,7 +189,6 @@ export default function LandingPage(
) {
const { theme } = useTheme()
-
return (
@@ -162,29 +203,110 @@ export default function LandingPage(
{t.hero.title}
{t.hero.subtitle}
-
{t.when.date}
-
+
{t.details.when.date}
+
+
+
- {t.about.description}} />
- {t.where.location}} after={} />
+
+ <>
+
+ {t.about.title}
+
+
+ {t.about.description}
+
+
+ {t.details.when.title}
+ {t.details.when.date}
+ {t.details.when.extra}
+
+
+ {t.details.where.title}
+ {t.details.where.location}
+
+
+ >
+
-
- {t.when.date}
- {t.when.extra}
>}
- />
- {t.tickets.status}} />
- {t.accommodation.description}} />
- {t.food.description}} />
-