diff --git a/TODO b/TODO index 57101ba..29e85fb 100644 --- a/TODO +++ b/TODO @@ -1,7 +1,7 @@ -footer - need a 'return to top' arrow button on smaller screens +muti-language i18n support + light/dark theme tests for tournois, testing the loading of map and table, then counting the markers @@ -17,8 +17,6 @@ error handling e2e tests for tournament page: - make sure number of markers = tournamentData.length -home page - about page contact page diff --git a/app/api/tournaments/france/route.ts b/app/api/tournaments/france/route.ts index f951478..8770226 100644 --- a/app/api/tournaments/france/route.ts +++ b/app/api/tournaments/france/route.ts @@ -15,6 +15,7 @@ export async function GET() { /** * Converts date from string into a date to allow ordering */ + // TODO add into a middleware? const data = await db .collection("tournaments") .aggregate([ diff --git a/app/contact/page.tsx b/app/contactez-nous/page.tsx similarity index 66% rename from app/contact/page.tsx rename to app/contactez-nous/page.tsx index 7a698c4..d83a8c4 100644 --- a/app/contact/page.tsx +++ b/app/contactez-nous/page.tsx @@ -3,10 +3,10 @@ import Layout from "@/components/Layout"; export default function Contact() { return ( -
+
-

Contact Page

+

Contactez-Nous

diff --git a/app/page.tsx b/app/page.tsx index 89475a0..f34ff90 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -4,16 +4,16 @@ import Layout from "@/components/Layout"; export default function Home() { return ( -
+

Echecs France

-

- Find chess tournaments in France on a map +

+ Trouvez Vos Tournois d'Echecs en France Sur Une Carte

- A visual representation of all the chess tournaments published by - the{" "} + Une représentation visuelle de tous les tournois d'échecs publiés + par la{" "} FFE @@ -22,7 +22,7 @@ export default function Home() { href="/tournois" className="text-white bg-gradient-to-r from-teal-400 via-teal-500 to-teal-600 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-teal-300 dark:focus:ring-teal-800 font-medium rounded-lg text-sm px-5 py-2.5 text-center mr-2 mb-2" > - Get Started + Voir La Carte

diff --git a/app/about/page.tsx b/app/qui-sommes-nous/page.tsx similarity index 66% rename from app/about/page.tsx rename to app/qui-sommes-nous/page.tsx index b0d1012..59afbe4 100644 --- a/app/about/page.tsx +++ b/app/qui-sommes-nous/page.tsx @@ -3,10 +3,10 @@ import Layout from "@/components/Layout"; export default function About() { return ( -
+
-

About Page

+

Qui Sommes-Nous

diff --git a/components/Footer.tsx b/components/Footer.tsx index 0428600..19aa1b5 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -3,11 +3,11 @@ import { FaGithub } from "react-icons/fa"; export default function Footer() { return ( -