add home page and projects page
This commit is contained in:
+7
-12
@@ -1,20 +1,15 @@
|
||||
import './App.css'
|
||||
import Home from './components/Home.jsx'
|
||||
import Experiences from './components/Experiences.jsx'
|
||||
import Projects from './components/Projects.jsx'
|
||||
import Skills from './components/Skills.jsx'
|
||||
import Footer from './components/Footer.jsx'
|
||||
import { Routes, Route, Link } from 'react-router-dom';
|
||||
import HomePage from './pages/HomePage.jsx';
|
||||
import ProjectsPage from './pages/ProjectsPage';
|
||||
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<div className="App">
|
||||
<Home/>
|
||||
<Experiences />
|
||||
<Projects />
|
||||
<Skills />
|
||||
<Footer />
|
||||
</div>
|
||||
<Routes>
|
||||
<Route path="/" element={<HomePage />} />
|
||||
<Route path="/projets" element={<ProjectsPage />} />
|
||||
</Routes>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user