Skip to content

Commit

Permalink
fix: remove duplicate button
Browse files Browse the repository at this point in the history
  • Loading branch information
teoh4770 committed Mar 5, 2024
1 parent 9e7a433 commit 27a7ab2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/components/Navbar/Menu.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NavItems } from '@components';
import { NavItems, Button } from '@components';

interface MenuProp {
showMenu: boolean;
Expand All @@ -12,9 +12,9 @@ const Menu: React.FC<MenuProp> = ({ showMenu, hideMenu }) => {
<div className="oveflow-hidden fixed right-0 top-0 z-50 h-full w-full max-w-[65%] border px-10 py-24 backdrop-blur-xl">
<NavItems isHorizontal={false} handleClick={hideMenu} />

<div className="portal-btn mt-20">
<button>Application Portal</button>
</div>
<Button className="mt-20 block lg:hidden">
Application Portal
</Button>
</div>
);
};
Expand Down
4 changes: 1 addition & 3 deletions src/components/Navbar/NavItems.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { Button } from '@components';
import { Link } from 'react-scroll';

const links = [
Expand All @@ -20,7 +19,7 @@ const NavItems: React.FC<{
}> = ({ isHorizontal, handleClick }) => {
return (
<ul
className={`flex gap-7 text-deepMarine ${
className={`text-deepMarine flex gap-7 ${
isHorizontal ? rowStyle : colStyle
}`}
>
Expand All @@ -36,7 +35,6 @@ const NavItems: React.FC<{
</Link>
</li>
))}
<Button className="block lg:hidden">Application Portal</Button>
</ul>
);
};
Expand Down

0 comments on commit 27a7ab2

Please sign in to comment.