Skip to content

Commit

Permalink
Merge pull request #246 from Suraj1089/main
Browse files Browse the repository at this point in the history
feat: Make django logo in navbar redirect to homepage
  • Loading branch information
DevilsAutumn authored Dec 8, 2024
2 parents 79deee0 + 2ab825b commit acecc53
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions frontend/src/sections/Navbar/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,17 +139,15 @@ const Navbar = () => {
<div className='flex h-12 w-full items-center justify-around md:h-20'>
{/* logo */}
<div className='hidden items-center justify-center md:flex'>
<Image
src='/whatIsDjango/Logo.svg'
width={121}
height={42}
alt='logo'
className=' object-center'
style={{
maxWidth: '100%',
height: 'auto',
}}
/>
<Link href='/' passHref>
<Image
src='/whatIsDjango/Logo.svg'
width={121}
height={42}
alt='logo'
className='h-full max-w-full object-center'
/>
</Link>
</div>

{/* menu */}
Expand Down

0 comments on commit acecc53

Please sign in to comment.