mirror of
https://github.com/artegoser/AnoPaper.git
synced 2024-12-23 09:23:45 +03:00
feat: title and menu at layout
This commit is contained in:
parent
ab4531064e
commit
2988809298
3 changed files with 7 additions and 1 deletions
0
src/lib/components/Menu.svelte
Normal file
0
src/lib/components/Menu.svelte
Normal file
|
@ -1,7 +1,9 @@
|
|||
<script>
|
||||
import '../app.css';
|
||||
import Menu from '$lib/components/Menu.svelte';
|
||||
</script>
|
||||
|
||||
<div class="text-black dark:text-white">
|
||||
<div class="text-black dark:text-white flex flex-col">
|
||||
<Menu />
|
||||
<slot />
|
||||
</div>
|
||||
|
|
|
@ -9,6 +9,10 @@
|
|||
}
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>AnoPaper main page</title>
|
||||
</svelte:head>
|
||||
|
||||
<h1 class="text-3xl font-bold underline">AnoPaper!</h1>
|
||||
|
||||
<Button onClick={handleClick} href="#">{text}</Button>
|
||||
|
|
Loading…
Add table
Reference in a new issue