Add new naviagtion icons

This commit is contained in:
Fred Boniface committed 2023-06-15 12:23:39 +01:00
1 parent 20ec12510c
commit 2ef13e7b54
4 files changed
+6 -7

No files matched your search

+6 -7
View File
@@ -3,19 +3,19 @@
{
title: "Home",
path: "/",
svgPath: "/images/nav/home_icon.svg",
svgPath: "/images/navigation/home.svg",
pngPath: "/images/nav/home_icon-25.png"
},
{
title: "PIS Finder",
path: "/pis",
svgPath: "",
svgPath: "/images/navigation/info.svg",
pngPath: ""
},
{
title: "More",
path: "/more",
svgPath: "/images/nav/hamburger.svg",
svgPath: "/images/navigation/more.svg",
pngPath: "/images/nav/hamburger.svg"
}
]
@@ -25,10 +25,9 @@
<footer>
{#each links as item}
<a href={item.path} class:active={$page.url.pathname == item.path}>
<picture>
<source srcset={item.svgPath} type="svg+xml">
<img src="{item.pngPath}" alt="">
</picture><br><span>{item.title}</span>
<img src="{item.svgPath}" alt="">
<br>
<span>{item.title}</span>
</a>
{/each}
</footer>
File renamed without changes.
File renamed without changes.
File renamed without changes.