use new sveltekit project

This commit is contained in:
2025-01-07 13:30:55 +01:00
parent 872b3768a2
commit 2131df26b2
58 changed files with 4908 additions and 8063 deletions

View File

@@ -0,0 +1,12 @@
<script lang="ts">
import '../app.css';
</script>
<nav class="flex justify-around">
<div><a href="/">Stan Runge</a></div>
<div>
<a href="/progress">Progress</a>
</div>
</nav>
<slot />

View File

@@ -0,0 +1,10 @@
// import { db } from '$lib/db/db.server';
// import { myTable } from '$lib/db/schema';
import type { PageServerLoad } from './$types';
export const load = (async () => {
// const result = await db.select().from(myTable);
return {
message: 'Hi :4888829383991292222244343434'
};
}) satisfies PageServerLoad;

View File

@@ -0,0 +1,8 @@
<script lang="ts">
export let data;
</script>
<h1>Welcome to SvelteKit</h1>
<p>Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation</p>
<p>Message: {data.message}</p>