Re-add package-lock

This commit is contained in:
Fred Boniface 2024-04-17 10:16:54 +01:00
parent 70fb62fd6f
commit d107416bb0
3 changed files with 2608 additions and 13 deletions

2605
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -3,16 +3,17 @@
{ {
title: 'Home', title: 'Home',
path: '/', path: '/',
svgPath: '/images/navigation/home.svg' icon: IconHome
} }
]; ];
import { page } from '$app/stores'; import { page } from '$app/stores';
import { IconHome } from '@tabler/icons-svelte';
</script> </script>
<footer> <footer>
{#each links as item} {#each links as item}
<a class="footerLink" href={item.path} class:active={$page.url.pathname == item.path}> <a class="footerLink" href={item.path} class:active={$page.url.pathname == item.path}>
<img src={item.svgPath} alt={item.title} /> <svelte:component this={item.icon} />
<br /> <br />
<span>{item.title}</span> <span>{item.title}</span>
</a> </a>

View File

@ -3,19 +3,16 @@
{ {
title: 'Home', title: 'Home',
path: '/', path: '/',
svgPath: '/images/navigation/home.svg',
icon: IconHome icon: IconHome
}, },
{ {
title: 'PIS Finder', title: 'PIS Finder',
path: '/pis/', path: '/pis/',
svgPath: '/images/navigation/info.svg',
icon: IconNumbers icon: IconNumbers
}, },
{ {
title: 'Menu', title: 'Menu',
path: '/more/', path: '/more/',
svgPath: '/images/navigation/more.svg',
icon: IconMenu2 icon: IconMenu2
} }
]; ];
@ -65,14 +62,6 @@
background-color: transparent; background-color: transparent;
} }
img {
height: 20px;
width: 20px;
margin: 0;
margin-top: 3px;
padding: 0;
}
span { span {
margin: 0; margin: 0;
margin-bottom: 3px; margin-bottom: 3px;