From 88e75511d77d7ee9439ad03d2ce8049199716d78 Mon Sep 17 00:00:00 2001 From: Timothy Armes Date: Fri, 7 Jul 2023 09:34:05 +0200 Subject: [PATCH] Code tidy --- app/[lang]/components/Navbar.tsx | 40 ++++++++++-------------- app/[lang]/components/TestableLayout.tsx | 3 +- app/[lang]/layout.tsx | 3 +- {app => css}/globals.css | 0 4 files changed, 20 insertions(+), 26 deletions(-) rename {app => css}/globals.css (100%) diff --git a/app/[lang]/components/Navbar.tsx b/app/[lang]/components/Navbar.tsx index 810e10f..fb28091 100644 --- a/app/[lang]/components/Navbar.tsx +++ b/app/[lang]/components/Navbar.tsx @@ -6,6 +6,12 @@ import Hamburger from "./Hamburger"; export default function Navbar() { const t = useTranslations("Nav"); + const links = [ + { title: t("tournaments"), route: "/tournois" }, + { title: t("about"), route: "/qui-sommes-nous" }, + { title: t("contact"), route: "/contactez-nous" }, + ]; + return (