diff options
author | Matt Strapp <matt@mattstrapp.net> | 2023-09-29 10:21:15 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2023-09-29 10:21:15 -0500 |
commit | d1613866761a7296238b8269b9abede1de702352 (patch) | |
tree | dbe22bd485e0a22b8aebccfb55b3426dbf825dbd /app/src/lib | |
parent | Formatting (diff) | |
download | trinkets-d1613866761a7296238b8269b9abede1de702352.tar trinkets-d1613866761a7296238b8269b9abede1de702352.tar.gz trinkets-d1613866761a7296238b8269b9abede1de702352.tar.bz2 trinkets-d1613866761a7296238b8269b9abede1de702352.tar.lz trinkets-d1613866761a7296238b8269b9abede1de702352.tar.xz trinkets-d1613866761a7296238b8269b9abede1de702352.tar.zst trinkets-d1613866761a7296238b8269b9abede1de702352.zip |
Add title to missing nav
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '')
-rw-r--r-- | app/src/lib/svelte/Navigation.svelte | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/app/src/lib/svelte/Navigation.svelte b/app/src/lib/svelte/Navigation.svelte index fa9182f..231ae04 100644 --- a/app/src/lib/svelte/Navigation.svelte +++ b/app/src/lib/svelte/Navigation.svelte @@ -15,7 +15,9 @@ drawerStore.close() } - // Hamburgers + /** + * If the menu prop is true, then the close menu button will be rendered. + */ export let menu = false </script> @@ -30,7 +32,12 @@ </AppRailAnchor> {/if} </svelte:fragment> - <AppRailAnchor href="/" selected={$page.url.pathname === '/'} on:click={drawerClose} title="Home"> + <AppRailAnchor + href="/" + selected={$page.url.pathname === '/'} + on:click={drawerClose} + title="Homepage" + > <svelte:fragment slot="lead"> <Icon icon={homeIcon} width="35" /> </svelte:fragment> @@ -40,7 +47,7 @@ href="/truncate" selected={$page.url.pathname === '/truncate'} on:click={drawerClose} - title="Truncate" + title="Truncate Files" > <svelte:fragment slot="lead"> <Icon icon={pageBreak} width="35" /> @@ -52,7 +59,7 @@ href="https://github.com/rosstheross/rosstheross.github.io" rel="noreferrer" on:click={drawerClose} - title="" + title="Source Code" > <svelte:fragment slot="lead"> <Icon icon={logoGithub} width="35" /> |