1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-28 09:19:37 +02:00

feat: Add "Planner" button to Navbar component

The code changes include adding a "Planner" button to the Navbar component. This button allows users to navigate to the Planner page. The changes involve modifying the Navbar component in the src/lib/components/Navbar.svelte file.
This commit is contained in:
Sean Morley 2024-05-04 15:00:02 +00:00
parent 3127784632
commit 716323657b
6 changed files with 424 additions and 2 deletions

View file

@ -76,6 +76,20 @@
></iconify-icon></button
>
{/if}
{#if type == "planner"}
<button class="btn btn-primary" on:click={moreInfo}
><iconify-icon icon="mdi:launch" class="text-2xl"
></iconify-icon></button
>
<button class="btn btn-primary" on:click={edit}
><iconify-icon icon="mdi:file-document-edit" class="text-2xl"
></iconify-icon></button
>
<button class="btn btn-secondary" on:click={remove}
><iconify-icon icon="mdi:trash-can-outline" class="text-2xl"
></iconify-icon></button
>
{/if}
{#if type == "featured"}
<button class="btn btn-primary" on:click={add}
><iconify-icon icon="mdi:plus" class="text-2xl"