svelte is weird

This commit is contained in:
2026-01-30 14:51:11 +13:00
parent 7e574719f8
commit 66a5e41463
4 changed files with 25 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
<div class="flex w-full h-14 px-2 text-2xl rounded-xl mb-4 bg-[#009FB7] place-items-center">
<p>Memento</p>
</div>

View File

@@ -1,9 +1,13 @@
<script lang="ts"> <script lang="ts">
import './layout.css'; import './layout.css';
import favicon from '$lib/assets/favicon.svg'; import favicon from '$lib/assets/favicon.svg';
import Header from '$lib/components/header.svelte';
let { children } = $props(); let { children } = $props();
</script> </script>
<svelte:head><link rel="icon" href={favicon} /></svelte:head> <svelte:head><link rel="icon" href={favicon} /></svelte:head>
<Header />
{@render children()} {@render children()}

View File

@@ -1,2 +0,0 @@
<h1>Welcome to SvelteKit</h1>
<p>Visit <a href="https://svelte.dev/docs/kit">svelte.dev/docs/kit</a> to read the documentation</p>

View File

@@ -1,2 +1,20 @@
@import 'tailwindcss'; @import 'tailwindcss';
@plugin '@tailwindcss/forms'; @plugin '@tailwindcss/forms';
/*@import 'quill/dist/quill.core.css';
@import 'quill/dist/quill.bubble.css';
@import 'quill/dist/quill.snow.css';*/
html {
@apply py-3 px-4;
@apply bg-[#252525] text-white
}
html body {
@apply font-[AmericanTypewriter];
/* @apply w-full md:w-[68%] mx-auto h-full; */
}
button {
@apply py-2 px-3 bg-green-400 rounded-xl;
}