Skip to content
Snippets Groups Projects
Commit 60274d2f authored by Xingan Zhao's avatar Xingan Zhao
Browse files
merge
parents fd5c6fe1 a8cd65af
No related branches found
No related tags found
No related merge requests found
Pipeline #460396 passed
...@@ -10,7 +10,7 @@ const SideNavbar: React.FC<SideNavbarProps> = ({ activeLink }) => { ...@@ -10,7 +10,7 @@ const SideNavbar: React.FC<SideNavbarProps> = ({ activeLink }) => {
return ( return (
<div className="side-navbar"> <div className="side-navbar">
<Nav className="flex-column"> <Nav className="flex-column">
<Nav.Link as={Link} to="section1" smooth={true} duration={500} className={activeLink === 'section1' ? 'active' : 'notActive'}>1.overview</Nav.Link> <Nav.Link as={Link} to="1.overview" smooth={true} duration={500} className={activeLink === '1.overview' ? 'active' : 'notActive'}>1.overview</Nav.Link>
<Nav.Link as={Link} to="section2" smooth={true} duration={500} className={activeLink === 'section2' ? 'active' : 'notActive'}>2.Production of science brochures</Nav.Link> <Nav.Link as={Link} to="section2" smooth={true} duration={500} className={activeLink === 'section2' ? 'active' : 'notActive'}>2.Production of science brochures</Nav.Link>
<Nav.Link as={Link} to="section3" smooth={true} duration={500} className={activeLink === 'section3' ? 'active' : 'notActive'}>3.Initial outreach on university campuses</Nav.Link> <Nav.Link as={Link} to="section3" smooth={true} duration={500} className={activeLink === 'section3' ? 'active' : 'notActive'}>3.Initial outreach on university campuses</Nav.Link>
<Nav.Link as={Link} to="section4" smooth={true} duration={500} className={activeLink === 'section4' ? 'active' : 'notActive'}>4.Community involvement</Nav.Link> <Nav.Link as={Link} to="section4" smooth={true} duration={500} className={activeLink === 'section4' ? 'active' : 'notActive'}>4.Community involvement</Nav.Link>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment