tangled
alpha
login
or
join now
zeu.dev
/
easytodo.link
3
fork
atom
Superpowered to do lists. No signup required.
3
fork
atom
overview
issues
1
pulls
pipelines
update Snippet type import
zeu.dev
1 year ago
58fd42c1
2dcaf4c6
+4
-3
1 changed file
expand all
collapse all
unified
split
src
routes
+layout.svelte
+4
-3
src/routes/+layout.svelte
···
1
1
<script lang="ts">
2
2
import "../app.css";
3
3
-
import { onMount } from "svelte";
3
3
+
import { onMount, type Snippet } from "svelte";
4
4
import { page } from "$app/state";
5
5
import { goto } from "$app/navigation";
6
6
import { fade } from "svelte/transition";
7
7
import toast, { Toaster } from "svelte-french-toast";
8
8
import { persisted, pinned_list } from "$lib/stores.svelte";
9
9
+
9
10
interface Props {
10
10
-
children?: import('svelte').Snippet;
11
11
+
children: Snippet
11
12
}
12
13
13
14
let { children }: Props = $props();
···
32
33
33
34
<div class={`${theme_style} font-apfel flex flex-col w-full h-full min-w-screen min-h-screen p-8 overflow-auto`}>
34
35
<section class="p-4 w-full h-full">
35
35
-
{@render children?.()}
36
36
+
{@render children()}
36
37
</section>
37
38
38
39
<aside class="z-50 fixed inset-x-0 bottom-0 !text-black flex w-full h-fit items-end justify-between p-8 pointer-events-none">