From 958dc373f1c8050e7bb01a78963f9bd8a5a6ff58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Katri=20Lotam=C3=B5is?= Date: Wed, 29 Oct 2025 12:57:39 +0200 Subject: [PATCH] Create separate section for farewell message, change message placement to top of home page --- src/app/[locale]/page.tsx | 39 +++++++++++++++++++++++---------------- translations/en.json | 3 ++- translations/et.json | 3 ++- 3 files changed, 27 insertions(+), 18 deletions(-) diff --git a/src/app/[locale]/page.tsx b/src/app/[locale]/page.tsx index 791cf23..41711a2 100644 --- a/src/app/[locale]/page.tsx +++ b/src/app/[locale]/page.tsx @@ -44,6 +44,28 @@ export default async function Home({ + + {/* Farewell message */} +
+
+
+

+ {t("home.sections.reserveSpot")} +

+ + arrow_right_alt + +
+

+ {t("home.sections.farewellMessage")} +

+
+
+ {/* Grid of buttons */}
{/* Date */} - -
-

- {t("home.sections.reserveSpot")} -

- - arrow_right_alt - -
-

- {t("home.sections.dateAndLocation")} -

- + {/* Sponsors */} diff --git a/translations/en.json b/translations/en.json index 1b4f5b2..280e2a5 100644 --- a/translations/en.json +++ b/translations/en.json @@ -51,7 +51,8 @@ }, "reserveSpot": "Reserve your spot today!", "poweredBy": "TipiLAN is powered by...", - "dateAndLocation": "Thank you for participating in TipiLAN 2025! We hope to see you again next time!" + "dateAndLocation": "24th-26th Oct. @ TalTech main building", + "farewellMessage": "Thank you for participating in TipiLAN 2025! We hope to see you again next time!" } }, "tickets": { diff --git a/translations/et.json b/translations/et.json index 44581ea..7f335c5 100644 --- a/translations/et.json +++ b/translations/et.json @@ -51,7 +51,8 @@ }, "reserveSpot": "Broneeri oma koht juba täna!", "poweredBy": "TipiLANi tõmbab käima...", - "dateAndLocation": "Aitäh, et olite osa 2025 TipiLANist! Ootame teid tagasi järgmisel!" + "dateAndLocation": "24.-26. okt. TalTechi peahoones", + "farewellMessage": "Aitäh, et olite osa 2025 TipiLANist! Ootame teid tagasi järgmisele!" } }, "tickets": {