You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
608 B
22 lines
608 B
<script lang="ts">
|
|
import "bootstrap/dist/css/bootstrap.min.css";
|
|
import Tailwind from "./Tailwind.svelte";
|
|
|
|
import { Router, Link, Route } from "svelte-routing";
|
|
import Home from "./routes/Home.svelte";
|
|
|
|
export let url = "";
|
|
</script>
|
|
|
|
<Tailwind />
|
|
<main class="flex w-full h-full">
|
|
<Router {url}>
|
|
<nav class="bg-gray-700 text-gray-300 w-1/8 py-5 px-2 shadow-md">
|
|
<Link to="/">Home</Link>
|
|
</nav>
|
|
<div class="flex-column py-5 px-5 w-full h-full overflow-y-auto">
|
|
<Route path="/" component={Home} />
|
|
</div>
|
|
</Router>
|
|
</main>
|