2023-08-24 22:31:40 +00:00
|
|
|
import { Route, Routes } from "@solidjs/router";
|
2023-10-30 20:07:23 +00:00
|
|
|
import { type Component } from "solid-js";
|
2023-08-24 22:31:40 +00:00
|
|
|
import { Certs } from "./certs";
|
|
|
|
import { NavRail } from "./components/NavRail";
|
2023-09-21 21:06:31 +00:00
|
|
|
import { OnlineClassroom } from "./OnlineClassroom";
|
2023-11-13 19:29:14 +00:00
|
|
|
import { Scans } from "./Scans";
|
2023-08-24 22:31:40 +00:00
|
|
|
|
|
|
|
const App: Component = () => (
|
|
|
|
<div class="grid grid-cols-[5rem_auto]">
|
|
|
|
<NavRail />
|
|
|
|
<Routes>
|
2023-10-30 20:07:23 +00:00
|
|
|
<Route path="/" component={() => <Builder />} />
|
2023-08-24 22:31:40 +00:00
|
|
|
<Route path="/certs" component={Certs} />
|
2023-09-21 21:06:31 +00:00
|
|
|
<Route path="/accesos" component={OnlineClassroom} />
|
2023-11-13 19:29:14 +00:00
|
|
|
<Route path="/escaneo" component={Scans} />
|
2023-08-24 22:31:40 +00:00
|
|
|
</Routes>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
|
|
|
|
|
2023-10-30 20:07:23 +00:00
|
|
|
function Builder() {
|
|
|
|
return (
|
|
|
|
<div>
|
|
|
|
<p>En construccion</p>
|
|
|
|
<p>:D</p>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
2023-08-24 22:31:40 +00:00
|
|
|
export default App;
|