Skip to content

Commit

Permalink
address change
Browse files Browse the repository at this point in the history
  • Loading branch information
a19hu committed Oct 10, 2024
1 parent 3dedd66 commit 847646f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/src/component/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ function Navbar({ error }) {
close ? null :
<div className='phonenavebar'>
<div className="phonenavebar_container">
<Link to="/" style={window.location.pathname === 'https://devluplabs.iitj.ac.in/' ? { color: 'black' } : null}>
<Link to="/" style={window.location.pathname === 'https://devluplabs.iitj.ac.in/familytree/' ? { color: 'black' } : null}>
Home
</Link>
<Link to="/ImageTree" style={window.location.pathname === 'https://devluplabs.iitj.ac.in/ImageTree' ? { color: 'black' } : null}>
<Link to="/ImageTree" style={window.location.pathname === 'https://devluplabs.iitj.ac.in/familytree/ImageTree' ? { color: 'black' } : null}>
ImageTree
</Link>
</div>
Expand All @@ -68,12 +68,12 @@ function Navbar({ error }) {
</div>
<div className="app_link">
<div className="treeD">
<Link to="/" style={window.location.pathname === '/' ? { color: 'black' } : null}>
<Link to="/" style={window.location.pathname === 'https://devluplabs.iitj.ac.in/familytree/' ? { color: 'black' } : null}>
Home
</Link>
</div>
<div className="treeD">
<Link to="/ImageTree" style={window.location.pathname === '/ImageTree' ? { color: 'black' } : null}>
<Link to="/ImageTree" style={window.location.pathname === 'https://devluplabs.iitj.ac.in/familytree/ImageTree' ? { color: 'black' } : null}>
ImageTree
</Link>
</div>
Expand Down

0 comments on commit 847646f

Please sign in to comment.