Skip to content

Commit

Permalink
change anchor tag to link tag for app btn in navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
juancwu committed Apr 1, 2024
1 parent e61c7c2 commit 088ca7a
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/components/Navbar/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { useEffect, useState } from 'react';
import { NavItems, Menu, Button } from '@components';
import { HawkHacksLogo } from '@assets';
import Hamburger from 'hamburger-react';
import { Link } from 'react-router-dom';

const Navbar = () => {
const [showMenu, setShowMenu] = useState(false);
Expand All @@ -14,7 +15,7 @@ const Navbar = () => {
}, [showMenu]);

return (
<nav className="navbar fixed top-0 z-50 flex h-fit w-full items-center justify-between p-3 px-10 | lg:justify-normal">
<nav className="navbar | fixed top-0 z-50 flex h-fit w-full items-center justify-between p-3 px-10 lg:justify-normal">
<div className="logo lg:mr-8">
<img
className="h-14 w-14"
Expand All @@ -29,11 +30,7 @@ const Navbar = () => {

<div className="portal-btn hidden transition-all duration-500 ease-in-out lg:mr-32 lg:block">
<Button className="xl:px-6 xl:py-3">
<a
href="/coming-soon"
>
Application Portal
</a>
<Link to="/coming-soon">Application Portal</Link>
</Button>
</div>

Expand Down

0 comments on commit 088ca7a

Please sign in to comment.