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