initial
This commit is contained in:
parent
7e032c5928
commit
98651de3fa
24 changed files with 6088 additions and 123 deletions
26
src/App.jsx
Normal file
26
src/App.jsx
Normal file
|
@ -0,0 +1,26 @@
|
|||
// src/App.jsx
|
||||
import React from 'react';
|
||||
|
||||
import { BrowserRouter as Router, Route, Routes } from 'react-router-dom';
|
||||
|
||||
import Header from './components/Header';
|
||||
import Footer from './components/Footer';
|
||||
import Home from './components/Home';
|
||||
import About from './components/About';
|
||||
import Roadmap from './components/Roadmap';
|
||||
|
||||
const App = () => (
|
||||
<Router>
|
||||
<Header />
|
||||
<main>
|
||||
<Routes>
|
||||
<Route path="/" element={<Home />} />
|
||||
<Route path="/about" element={<About />} />
|
||||
<Route path="/roadmap" element={<Roadmap />} />
|
||||
</Routes>
|
||||
</main>
|
||||
<Footer />
|
||||
</Router>
|
||||
);
|
||||
|
||||
export default App;
|
Loading…
Add table
Add a link
Reference in a new issue