This commit is contained in:
dbroqua 2021-03-21 18:42:57 +01:00
parent 4dc1d30012
commit ba536a3d78

View file

@ -40,9 +40,7 @@ class App extends Component {
<Router> <Router>
<div className="App"> <div className="App">
<Navbar color="dark" dark expand="md"> <Navbar color="dark" dark expand="md">
<NavbarBrand href="/"> <NavbarBrand href="/">Car tools</NavbarBrand>
Car tools
</NavbarBrand>
<NavbarToggler onClick={this.toggle} /> <NavbarToggler onClick={this.toggle} />
<Collapse isOpen={this.state.isOpen} navbar> <Collapse isOpen={this.state.isOpen} navbar>
<Nav className="ml-auto" navbar> <Nav className="ml-auto" navbar>
@ -57,6 +55,9 @@ Car tools
<DropdownItem tag={Link} to="/Gearbox"> <DropdownItem tag={Link} to="/Gearbox">
Boîte de vitesse Boîte de vitesse
</DropdownItem> </DropdownItem>
<DropdownItem tag={Link} to="/Spokes">
Calcul longueur rayons
</DropdownItem>
</DropdownMenu> </DropdownMenu>
</UncontrolledDropdown> </UncontrolledDropdown>
<UncontrolledDropdown nav inNavbar> <UncontrolledDropdown nav inNavbar>
@ -77,6 +78,7 @@ Car tools
<Route exact path="/wheels" component={Wheels} /> <Route exact path="/wheels" component={Wheels} />
<Route exact path="/Gearbox" component={Gearbox} /> <Route exact path="/Gearbox" component={Gearbox} />
<Route exact path="/Resistor" component={Resistor} /> <Route exact path="/Resistor" component={Resistor} />
<Route exact path="/Spokes" component={Wheels} />
</div> </div>
</div> </div>
</Router> </Router>