Rename Postgres tables for better recognition and add additional routes in web app

This commit is contained in:
Thilo Hohlt
2024-07-31 10:29:46 +02:00
parent a7f2fdebf5
commit d21e00a0c3
13 changed files with 601 additions and 243 deletions

View File

@@ -0,0 +1,28 @@
<script lang="ts">
import { page } from "$app/stores";
const { data, children } = $props();
</script>
<nav>
<a href="/">archtika</a>
{#if data.user}
<a href="/account">Account</a>
{:else}
<a href="/register">Register</a>
<a href="/login">Login</a>
{/if}
</nav>
<header>
<h1>{$page.url.pathname}</h1>
</header>
<main>
{@render children()}
</main>
<footer>
<p>
<small>archtika</small>
</p>
</footer>