mirror of
https://git.freecumextremist.com/grumbulon/pomme.git
synced 2024-12-22 11:10:43 +00:00
put home into overflow menu
Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
6f2907cdca
commit
17dd0ca5b7
2 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue