mirror of
https://github.com/hazemKrimi/touch-programming.git
synced 2026-05-02 02:30:26 +00:00
Styling pages WIP
This commit is contained in:
+13
-6
@@ -5,14 +5,21 @@ import Languages from 'pages/Languages';
|
||||
import Typing from 'pages/Typing';
|
||||
import NotFound from 'pages/NotFound';
|
||||
|
||||
import Footer from 'components/Footer';
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<Routes>
|
||||
<Route index element={<Home />} />
|
||||
<Route path='languages' element={<Languages />} />
|
||||
<Route path='typing/:lang' element={<Typing />} />
|
||||
<Route path='*' element={<NotFound />} />
|
||||
</Routes>
|
||||
<>
|
||||
<div className='app'>
|
||||
<Routes>
|
||||
<Route index element={<Home />} />
|
||||
<Route path='languages' element={<Languages />} />
|
||||
<Route path='typing/:lang' element={<Typing />} />
|
||||
<Route path='*' element={<NotFound />} />
|
||||
</Routes>
|
||||
</div>
|
||||
<Footer />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user