From 3cdab2e3032be5a52cabd3e8ba73b6b823958f15 Mon Sep 17 00:00:00 2001 From: ChenNux Date: Thu, 5 Dec 2024 21:47:03 +0100 Subject: [PATCH] =?UTF-8?q?=09modifi=C3=A9=C2=A0:=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20front/src/components/ClickableLink.tsx=20=09modifi=C3=A9?= =?UTF-8?q?=C2=A0:=20=20=20=20=20=20=20=20=20front/src/components/NavBar.t?= =?UTF-8?q?sx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit C'est très moche (j'aimerais avoir le bouton lien pas une ligne en dessous le logo lien); --- front/src/components/ClickableLink.tsx | 14 ++++++++++---- front/src/components/NavBar.tsx | 9 ++++++--- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/front/src/components/ClickableLink.tsx b/front/src/components/ClickableLink.tsx index 9334e71..9a9bbdb 100644 --- a/front/src/components/ClickableLink.tsx +++ b/front/src/components/ClickableLink.tsx @@ -1,5 +1,11 @@ -export default function ClickableLink(){ -
- prout -
+function Link ({text}){ + return( + + ) +} + +export default function ClickableLink({url, text}) { + return (
+ +
) } \ No newline at end of file diff --git a/front/src/components/NavBar.tsx b/front/src/components/NavBar.tsx index 2980646..84499b8 100644 --- a/front/src/components/NavBar.tsx +++ b/front/src/components/NavBar.tsx @@ -1,7 +1,10 @@ import LogoButton from '../components/LogoButton.tsx' +import ClickableLink from './ClickableLink.tsx'; export default function NavBar(){ - return (
- -
); + return ( + <> + + + ); } \ No newline at end of file