Skip to content
Snippets Groups Projects
Commit df6c1585 authored by Pan Zhao's avatar Pan Zhao
Browse files

修改了主页的文本

parent 39a02f74
No related branches found
No related tags found
No related merge requests found
Pipeline #524064 passed
......@@ -21,8 +21,8 @@ const SideNavbar: React.FC<SideNavbarProps> = ({ activeLink }) => {
<div className="side-navbar">
<Nav className="flex-column">
<Nav.Link as={Link} to="section1" smooth={true} duration={500} className={activeLink === 'section1' ? 'active' : 'notActive'}>Parts</Nav.Link>
<Nav.Link as={Link} to="section2" smooth={true} duration={500} className={activeLink === 'section2' ? 'active' : 'notActive'}>Section 2</Nav.Link>
<Nav.Link as={Link} to="section3" smooth={true} duration={500} className={activeLink === 'section3' ? 'active' : 'notActive'}>Section 3</Nav.Link>
<Nav.Link as={Link} to="section2" smooth={true} duration={500} className={activeLink === 'section2' ? 'active' : 'notActive'}>Model</Nav.Link>
<Nav.Link as={Link} to="section3" smooth={true} duration={500} className={activeLink === 'section3' ? 'active' : 'notActive'}>Product</Nav.Link>
{/* 添加更多导航链接 */}
</Nav>
......
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