diff options
Diffstat (limited to 'src/App.tsx')
| -rw-r--r-- | src/App.tsx | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/App.tsx b/src/App.tsx deleted file mode 100644 index 0d4b55e..0000000 --- a/src/App.tsx +++ /dev/null @@ -1,27 +0,0 @@ -import { Routes, Route } from 'react-router-dom'; -import Navbar from './components/Navbar'; -import Home from './pages/Home'; -import Footer from './components/Footer'; -import NotFound from './pages/404'; -import Blog from './pages/Blog'; -import Post from './pages/Post'; - -function App() { - - return ( - <> - <Navbar /> - <section className="max-w-4xl mx-auto py-5 px-4"> - <Routes> - <Route path="/" element={<Home />} /> - <Route path='/blog' element={<Blog />} /> - <Route path='/blog/:slug' element={<Post />} /> - <Route path='*' element={<NotFound />} /> - </Routes> - </section> - <Footer /> - </> - ); -} - -export default App |
