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