From 5d1e1305119102c8360d880e9c8bade9534e5467 Mon Sep 17 00:00:00 2001 From: v4ltages Date: Thu, 10 Sep 2026 18:28:56 +0300 Subject: [PATCH] Add another button to main pg, hide universities --- src/app/[locale]/messiala/page.tsx | 2 +- src/app/[locale]/page.tsx | 29 +++++++++++++++++++++++++---- src/app/globals.css | 3 ++- src/components/Header.tsx | 2 +- 4 files changed, 29 insertions(+), 7 deletions(-) diff --git a/src/app/[locale]/messiala/page.tsx b/src/app/[locale]/messiala/page.tsx index 72e32a1..262032c 100644 --- a/src/app/[locale]/messiala/page.tsx +++ b/src/app/[locale]/messiala/page.tsx @@ -322,7 +322,7 @@ export default function Expo() { {/* Universities */} -
+
{t("expo.universities")}
{universities.map((uni) => ( diff --git a/src/app/[locale]/page.tsx b/src/app/[locale]/page.tsx index 2a0b3e8..01a4750 100644 --- a/src/app/[locale]/page.tsx +++ b/src/app/[locale]/page.tsx @@ -26,10 +26,10 @@ export default async function Home({ {/* Nav cards: Piletid + Ajakava + Turniirid */} -
+
+ +
+ + festival + +
+
+

+ {t("navigation.expo")} +

+ + arrow_right_alt + +
+ +
diff --git a/src/app/globals.css b/src/app/globals.css index 4143ae7..77f0270 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -45,6 +45,7 @@ @theme { --breakpoint-xs: 30rem; + --breakpoint-3xl: 112rem; } body { @@ -237,4 +238,4 @@ body { .tournament-page-scope ol { color: #ffffff; list-style-position: inside; -} \ No newline at end of file +} diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 4a31b57..0a5840d 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -49,7 +49,7 @@ const Header = ({ navItems }: HeaderProps) => { const dropdownNavItems = mainNavItems; const navIconByHref: Partial> = { - "/messiala": "weekend", + "/messiala": "festival", "/miniturniirid": "rewarded_ads", "/ajakava": "event_note", "/piletid": "local_activity",