first commit
This commit is contained in:
24
src/App.jsx
Normal file
24
src/App.jsx
Normal file
@@ -0,0 +1,24 @@
|
||||
import { Route, Routes } from "react-router-dom";
|
||||
import Home from "./pages/Home";
|
||||
import "./styles/index.css";
|
||||
import AppLayout from "./ui/AppLayout";
|
||||
import Instruction from "./pages/Instruction";
|
||||
|
||||
function App() {
|
||||
|
||||
return (
|
||||
// <AppLayout>
|
||||
// <Home/>
|
||||
// </AppLayout>
|
||||
<Routes>
|
||||
<Route element={<AppLayout/>}>
|
||||
<Route path="/" element={<Home/>}/>
|
||||
</Route>
|
||||
<Route element={<AppLayout showSidebar={false}/>}>
|
||||
<Route path="/instruction" element={<Instruction/>}/>
|
||||
</Route>
|
||||
</Routes>
|
||||
)
|
||||
}
|
||||
|
||||
export default App
|
||||
Reference in New Issue
Block a user