Update PIS Icon from numbers to dialpad

This commit is contained in:
Fred Boniface 2024-04-19 20:46:34 +01:00
parent ee8b547a19
commit 7dcf0c8b1b

View File

@ -8,7 +8,7 @@
{ {
title: 'PIS Finder', title: 'PIS Finder',
path: '/pis/', path: '/pis/',
icon: IconNumbers icon: IconDialpad
}, },
{ {
title: 'Menu', title: 'Menu',
@ -17,13 +17,13 @@
} }
]; ];
import { page } from '$app/stores'; import { page } from '$app/stores';
import { IconHome, IconMenu2, IconNumbers } from '@tabler/icons-svelte'; import { IconHome, IconMenu2, IconDialpad } from '@tabler/icons-svelte';
</script> </script>
<footer> <footer>
{#each links as item} {#each links as item}
<a href={item.path} class:active={$page.url.pathname == item.path}> <a href={item.path} class:active={$page.url.pathname == item.path || $page.url.pathname == item.path + "/"}>
<svelte:component this={item.icon} /> <svelte:component this={item.icon} />
<br /> <br />
<span>{item.title}</span> <span>{item.title}</span>