From 2e61bb15eea25146e14e3450f19a56c17db8ee4f Mon Sep 17 00:00:00 2001 From: Naitik Patel Date: Sat, 20 Jul 2024 23:13:04 +0530 Subject: [PATCH 1/2] hover effect over mentor section --- client/src/components/mentor/mentor-card-item.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/src/components/mentor/mentor-card-item.tsx b/client/src/components/mentor/mentor-card-item.tsx index b31e659..877ffc7 100644 --- a/client/src/components/mentor/mentor-card-item.tsx +++ b/client/src/components/mentor/mentor-card-item.tsx @@ -22,6 +22,11 @@ const MentorCardItem: FC = ({ item }) => { borderRadius: 8, boxShadow: 6, backgroundColor: 'white', + transition: 'transform 0.3s, box-shadow 0.3s', + '&:hover': { + transform: 'scale(1.05)', + boxShadow: 4, + }, }} > Date: Sat, 20 Jul 2024 23:54:00 +0530 Subject: [PATCH 2/2] made logo clickable --- client/src/components/logo/logo.tsx | 23 +++++++++++-------- .../components/navigation/navigation.data.ts | 2 +- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/client/src/components/logo/logo.tsx b/client/src/components/logo/logo.tsx index 4e46318..c5ed3c7 100644 --- a/client/src/components/logo/logo.tsx +++ b/client/src/components/logo/logo.tsx @@ -1,4 +1,5 @@ import React, { FC } from 'react' +import Link from 'next/link' import { Box, Typography } from '@mui/material' interface Props { @@ -8,15 +9,19 @@ interface Props { const Logo: FC = ({ onClick, variant }) => { return ( - - - BigOhhh - - + + + + BigOhhh + + + ) } diff --git a/client/src/components/navigation/navigation.data.ts b/client/src/components/navigation/navigation.data.ts index 89e88a7..b371a70 100644 --- a/client/src/components/navigation/navigation.data.ts +++ b/client/src/components/navigation/navigation.data.ts @@ -3,7 +3,7 @@ import type { Navigation } from '@/interfaces/navigation' export const navigations: Navigation[] = [ { label: 'Home', - path: '#', // '/', + path: '/', // '/', }, { label: 'Courses',