Skip to content

Commit

Permalink
ajout router
Browse files Browse the repository at this point in the history
  • Loading branch information
ticoq971 committed Feb 4, 2025
1 parent 6d26a1b commit a0f2071
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 14 deletions.
6 changes: 0 additions & 6 deletions src/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,10 @@ import Favorites from './components/favorites';
import Footer from './components/footer';
import Home from './components/home';
import NavBar from './components/navbar';



import ProfilePage from './pages/profile-page';

function App() {
return (

<Routes>
<Route element={<NavBar />}>
<Route element={<Footer />}>
Expand All @@ -22,8 +18,6 @@ function App() {
</Route>
</Route>
</Routes>


);
}

Expand Down
1 change: 0 additions & 1 deletion src/components/footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Socials from './socials.jsx';

function Footer() {
return (

<>
<Outlet />

Expand Down
3 changes: 0 additions & 3 deletions src/components/navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ function Navbar() {
const [input, setInput] = useState('');

return (

<>
<header>
<nav>
Expand Down Expand Up @@ -36,8 +35,6 @@ function Navbar() {

<Outlet />
</>


);
}

Expand Down
2 changes: 0 additions & 2 deletions src/style/footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

background-color: #670208;
margin-top: 30px;


}

.footer > img {
Expand Down
2 changes: 0 additions & 2 deletions src/style/navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ nav {
/* padding:20 ; */
font-size: 22px;



color: white;
font-family: 'Aclonica', sans-serif;
margin-left: 20px;
Expand Down

0 comments on commit a0f2071

Please sign in to comment.