From 2317a3683ec9805db50e80beca86407dc8bca61a Mon Sep 17 00:00:00 2001 From: ChenNux Date: Thu, 5 Dec 2024 23:25:37 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=09modifi=C3=A9=C2=A0:=20=20=20=20=20=20=20?= =?UTF-8?q?=20=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/LogoButt?= =?UTF-8?q?on.tsx=20=09modifi=C3=A9=C2=A0:=20=20=20=20=20=20=20=20=20front?= =?UTF-8?q?/src/components/NavBar.tsx=20=09front/src/components/RoundButto?= =?UTF-8?q?n.tsx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/components/ClickableLink.tsx | 28 +++++++++++++++++++------- front/src/components/LogoButton.tsx | 8 +------- front/src/components/NavBar.tsx | 15 ++++++++++---- 3 files changed, 33 insertions(+), 18 deletions(-) diff --git a/front/src/components/ClickableLink.tsx b/front/src/components/ClickableLink.tsx index 9a9bbdb..ee88b3b 100644 --- a/front/src/components/ClickableLink.tsx +++ b/front/src/components/ClickableLink.tsx @@ -1,11 +1,25 @@ -function Link ({text}){ - return( - - ) -} - export default function ClickableLink({url, text}) { return (
- +
) } \ No newline at end of file diff --git a/front/src/components/LogoButton.tsx b/front/src/components/LogoButton.tsx index b4da75b..5fcf29c 100644 --- a/front/src/components/LogoButton.tsx +++ b/front/src/components/LogoButton.tsx @@ -1,11 +1,5 @@ -function Logo({logo}){ - return ( - - ) - } - export default function LogoButton ({url, logo}) { return ( - + ) } \ No newline at end of file diff --git a/front/src/components/NavBar.tsx b/front/src/components/NavBar.tsx index 84499b8..7f8ab2f 100644 --- a/front/src/components/NavBar.tsx +++ b/front/src/components/NavBar.tsx @@ -1,10 +1,17 @@ import LogoButton from '../components/LogoButton.tsx' import ClickableLink from './ClickableLink.tsx'; +import RoundButton from './RoundButton.tsx'; export default function NavBar(){ return ( - <> - - - ); + ); } \ No newline at end of file From b3d966e0aee60b62ef54bfc4090d2e1b5a03c2bf Mon Sep 17 00:00:00 2001 From: ChenNux Date: Thu, 5 Dec 2024 23:28:56 +0100 Subject: [PATCH 2/2] =?UTF-8?q?=09nouveau=20fichier=C2=A0:=20front/src/com?= =?UTF-8?q?ponents/RoundButton.tsx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/components/RoundButton.tsx | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 front/src/components/RoundButton.tsx diff --git a/front/src/components/RoundButton.tsx b/front/src/components/RoundButton.tsx new file mode 100644 index 0000000..8c2e092 --- /dev/null +++ b/front/src/components/RoundButton.tsx @@ -0,0 +1,26 @@ +export default function RoundButton({url, bgcolor, text}) { + return (
+ +
) +} \ No newline at end of file