change frontpage image and toast animation

This commit is contained in:
2023-04-28 22:34:50 -07:00
parent b761d3b493
commit e746963052
7 changed files with 190 additions and 911 deletions

View File

@ -1,10 +1,12 @@
<script>
import Link from './Link.svelte';
import Icon from './Icon.svelte';
export let position = "sticky";
</script>
<nav class="fixed top-0 grid grid-cols-2 w-full p-2">
<nav class="{position} top-0 bg-base-100 w-full flex justify-between items-center p-2">
<div>
<Link target="Home">
<button class="btn btn-square btn-ghost align-middle">
@ -13,7 +15,11 @@
</Link>
</div>
<div class="justify-self-end">
{#if $$slots.title}
<slot name="title"></slot>
{/if}
<div>
<Link target="Settings">
<button class="btn btn-square btn-ghost align-middle ">
<Icon name="cog-8-tooth" class="w-8 h-8 stroke-2" />