aboutsummaryrefslogtreecommitdiff
path: root/fe/src/App.svelte
blob: 11eb217c82bb8ec95cc38a172c326a0109b15bea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<script lang="ts">
  import Layout from "./lib/Layout.svelte";
  import { LoginForm } from './lib/forms';
  import DataView from "./lib/DataView.svelte";
  import { authenticated } from "./stores/auth";
</script>

<main>
  <Layout>
    {#if !$authenticated}
      <LoginForm />
    {:else}
      <DataView />
    {/if}
  </Layout>
</main>