From 864005cb44e198aa555c81b98d07d475db5b39a0 Mon Sep 17 00:00:00 2001 From: Narendra Date: Sat, 18 May 2024 12:14:52 +0530 Subject: [PATCH 1/2] Making website logo clickable. Whenever user click on the logo they will be land on the homepage of the website. --- client/src/components/logo/logo.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/client/src/components/logo/logo.tsx b/client/src/components/logo/logo.tsx index 4e46318..26914c1 100644 --- a/client/src/components/logo/logo.tsx +++ b/client/src/components/logo/logo.tsx @@ -6,16 +6,19 @@ interface Props { variant?: 'primary' | 'secondary' } -const Logo: FC = ({ onClick, variant }) => { +const Logo: FC = ({ variant }) => { return ( - + + + > BigOhhh - + + + ) } From bc3afcceba1614d266d1a48343e99cf92b337086 Mon Sep 17 00:00:00 2001 From: Narendra Date: Sun, 19 May 2024 20:00:25 +0530 Subject: [PATCH 2/2] Space removed. --- client/src/components/logo/logo.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/client/src/components/logo/logo.tsx b/client/src/components/logo/logo.tsx index 26914c1..37e1eb9 100644 --- a/client/src/components/logo/logo.tsx +++ b/client/src/components/logo/logo.tsx @@ -18,7 +18,6 @@ const Logo: FC = ({ variant }) => { BigOhhh - ) }