put home into overflow menu

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2023-02-20 18:04:22 +01:00
parent 6f2907cdca
commit 17dd0ca5b7
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD
2 changed files with 3 additions and 3 deletions

View file

@ -1,14 +1,14 @@
<script lang="ts">
import 'carbon-components-svelte/css/g100.css';
import { Button, OverflowMenu, OverflowMenuItem } from 'carbon-components-svelte';
import { OverflowMenu, OverflowMenuItem } from 'carbon-components-svelte';
import Login from 'carbon-icons-svelte/lib/Login.svelte';
import Logout from 'carbon-icons-svelte/lib/Logout.svelte';
import Home from 'carbon-icons-svelte/lib/Home.svelte';
</script>
<nav id="login">
<a href="/"><Home /></a>
<OverflowMenu size="xl">
<OverflowMenuItem href="/"><Home />Home</OverflowMenuItem>
<OverflowMenuItem href="/login" hasDivider><Login />Login</OverflowMenuItem>
<OverflowMenuItem href="/logout"><Logout />Logout</OverflowMenuItem>
</OverflowMenu>

View file

@ -1,4 +1,4 @@
<title>Pomme</title>
<h1>Welcome to pomme!</h1>
<p>There will be something here one day :)</p>
<p>There will be more here someday :)</p>