Skip to content

Commit

Permalink
navigation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
axydavid committed Aug 9, 2023
1 parent 97186f8 commit 8d864d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export default function Main() {
</Navbar.Brand>
<Nav className="justify-content-end nav-bubble px-2">
<NavItem ><Link style={{ color: colorL }} onMouseDown={(e) => hideNav(e)} className={`nav-link ${page === 0 && 'nactive'}`} to="/" ><div className='d-none'>0</div>Home</Link></NavItem>
<NavItem ><Link style={{ color: colorL }} onMouseDown={(e) => hideNav(e)} className={`nav-link ${page === 1 && 'nactive'}`} to="/portofolio"><div className='d-none'>1</div>Portfolio</Link></NavItem>
<NavItem ><Link style={{ color: colorL }} onMouseDown={(e) => hideNav(e)} className={`nav-link ${page === 1 && 'nactive'}`} to="/portfolio"><div className='d-none'>1</div>Portfolio</Link></NavItem>
<NavItem ><Link style={{ color: colorL }} onMouseDown={(e) => hideNav(e)} className={`nav-link ${page === 2 && 'nactive'}`} to="/contact"><div className='d-none'>2</div>Contact</Link></NavItem>
{/* <NavItem ><Link style={{ color: colorL }} onClick={(e) => switchNav(false, e)} onMouseDown={hideNav} className="nav-link" to="/app">Labs</Link></NavItem> */}
</Nav>
Expand All @@ -109,7 +109,7 @@ export default function Main() {
<div className="cClass content" ref={hashRev}>
<Routes>
<Route path='/' element={<Home onChange={handleChange} />}></Route>
<Route path="/portofolio" element={<Portofolio onChange={handleChange} />}></Route>
<Route path="/portfolio" element={<Portofolio onChange={handleChange} />}></Route>
<Route path="/contact" element={<Contact onChange={handleChange} />}></Route>
<Route path="/adooboo" element={<Adooboo onChange={handleChange} />}></Route>
</Routes>
Expand Down

0 comments on commit 8d864d1

Please sign in to comment.