Skip to content

Commit

Permalink
chore: change nkowa okwu logo to igbo api logo
Browse files Browse the repository at this point in the history
  • Loading branch information
ijemmao committed Nov 17, 2024
1 parent f117aa9 commit 3ce8b42
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions src/pages/components/Navbar/Navbar.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { Box, Button, Link as ChakraLink, Heading, Show } from '@chakra-ui/react';
import Image from 'next/image';
import { useRouter } from 'next/router';
import { Link } from 'react-scroll';
import NkowaokwuLogo from '../../assets/nkowaokwu.svg';
import NavigationMenu from './NavigationMenu';
import NavigationOptions from './NavigationOptions';

Expand All @@ -21,10 +19,19 @@ const Navbar = ({ to = '/' }: { to?: string }) => {
as="h1"
className="transition-element text-3xl font-extrabold hover:text-gray-700 text-gray-900"
pb="0"
color="black"
fontSize={{ base: '2xl', md: '3xl' }}
>
{to ? (
<ChakraLink href={to}>
<Image alt="Nkọwa okwu logo" src={NkowaokwuLogo} height={40} width={150} />
<ChakraLink
href={to}
color="black"
textDecoration="none"
_hover={{ textDecoration: 'none' }}
_active={{ textDecoration: 'none' }}
_focus={{ textDecoration: 'none' }}
>
Igbo API
</ChakraLink>
) : (
<Link
Expand All @@ -34,7 +41,7 @@ const Navbar = ({ to = '/' }: { to?: string }) => {
offset={-100}
duration={600}
>
<Image alt="Nkọwa okwu logo" src={NkowaokwuLogo} height={40} width={150} />
Igbo API
</Link>
)}
</Heading>
Expand Down

0 comments on commit 3ce8b42

Please sign in to comment.