fixed the image
This commit is contained in:
parent
08cbc49d8b
commit
f2ecccdfd5
@ -1,19 +1,24 @@
|
||||
<script>
|
||||
import * as conf from '$lib/js/conf.js';
|
||||
import { page } from '$app/stores';
|
||||
import * as conf from "$lib/js/conf.js";
|
||||
import { page } from "$app/stores";
|
||||
let path;
|
||||
|
||||
$: path = $page.url.pathname;
|
||||
</script>
|
||||
|
||||
<nav>
|
||||
<div>
|
||||
<img src="/img.jpg" alt="Kukfest logo" on:click={conf.fireAll} class="rounded-lg" />
|
||||
<p class="krona">Kukfest</p>
|
||||
</div>
|
||||
<img
|
||||
src="/img.jpg"
|
||||
alt="Kukfest logo"
|
||||
on:click={conf.fireAll}
|
||||
class="rounded-lg"
|
||||
/>
|
||||
<p class="krona">Kukfest</p>
|
||||
<ul id="nav-pc">
|
||||
<li class={path === '/' ? 'active' : ''}><a href="/">Home</a></li>
|
||||
<li class={path.includes("/images") ? 'active' : ''}><a href="/images/23">Images</a></li>
|
||||
<li class={path === "/" ? "active" : ""}><a href="/">Home</a></li>
|
||||
<li class={path.includes("/images") ? "active" : ""}>
|
||||
<a href="/images/23">Images</a>
|
||||
</li>
|
||||
<li><a href="https://boofdev.eu/#contact">Contact</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user