Add new naviagtion icons
This commit is contained in:
parent
20ec12510c
commit
2ef13e7b54
@ -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>
|
||||
|
Before Width: | Height: | Size: 648 B After Width: | Height: | Size: 648 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Loading…
Reference in New Issue
Block a user