Skip to content

Commit

Permalink
create router in app , and format style #40
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammedsalah7 committed Nov 7, 2021
1 parent 8358748 commit f506223
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 21 deletions.
11 changes: 10 additions & 1 deletion client/src/App.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
import { BrowserRouter as Router } from 'react-router-dom';
import NavBar from './components/Navbar';

function App() {
return (
<div className="App" />
<div className="App">

<Router>
<NavBar />

</Router>
</div>

);
}
Expand Down
35 changes: 15 additions & 20 deletions client/src/components/Navbar/style.css
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
.container{
display: flex;
flex-direction: row;
justify-content: space-around;

.container {
display: flex;
flex-direction: row;
justify-content: space-around;
}
.img-logo{
width: 90px;
height: 80px;

.img-logo {
width: 90px;
height: 80px;
}
.list{
display: flex ;
align-self: center;

.list {
display: flex;
align-self: center;
}
.agent {
display: flex;
flex-direction: row;
align-self: center;
}
.agent{

display: flex ;
flex-direction: row ;
align-self: center;

}

0 comments on commit f506223

Please sign in to comment.