[REPO REFACTOR]: changed to a better git repository structure with branches
This commit is contained in:
19
src/App.jsx
Normal file
19
src/App.jsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import NavBar from '@/components/NavBar.jsx';
|
||||
import { Route, Routes, useLocation } from 'react-router-dom'
|
||||
import Home from '@/pages/Home.jsx'
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<>
|
||||
<NavBar />
|
||||
<div className="fill d-flex flex-column">
|
||||
<Routes>
|
||||
<Route path="/" element={<Home />} />
|
||||
<Route path="/:paste_key" element={<Home />} />
|
||||
</Routes>
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
export default App
|
||||
Reference in New Issue
Block a user