From 0fa1a9b6f389be46f5a185918727229cbb5b8490 Mon Sep 17 00:00:00 2001 From: iMax Date: Fri, 6 Dec 2024 06:34:45 +0100 Subject: [PATCH] Hot Fix: Reactor routeur --- front/src/components/FstSection.tsx | 54 +++++++++++++++++++++++++++-- front/src/components/NavBar.tsx | 7 ++-- 2 files changed, 55 insertions(+), 6 deletions(-) diff --git a/front/src/components/FstSection.tsx b/front/src/components/FstSection.tsx index 40afbcc..7cf827b 100644 --- a/front/src/components/FstSection.tsx +++ b/front/src/components/FstSection.tsx @@ -1,5 +1,6 @@ -import Button from "./Button"; + import NavBar from "./NavBar"; +import { Link } from "react-router"; export default function FstSection () { return ( @@ -31,8 +32,55 @@ export default function FstSection () { >Help us to save our oceans
-
) diff --git a/front/src/components/NavBar.tsx b/front/src/components/NavBar.tsx index a2a3fab..d868b75 100644 --- a/front/src/components/NavBar.tsx +++ b/front/src/components/NavBar.tsx @@ -1,4 +1,4 @@ -import ClickableLink from './ClickableLink.tsx'; +import { Link } from 'react-router'; import RoundButton from './RoundButton.tsx'; export default function NavBar(){ @@ -8,8 +8,9 @@ export default function NavBar(){ {/* */} sailing - - + Home + Game + Articles