fixed the image

This commit is contained in:
Boof 2023-09-15 12:07:40 +00:00
parent 08cbc49d8b
commit f2ecccdfd5

View File

@ -1,19 +1,24 @@
<script> <script>
import * as conf from '$lib/js/conf.js'; import * as conf from "$lib/js/conf.js";
import { page } from '$app/stores'; import { page } from "$app/stores";
let path; let path;
$: path = $page.url.pathname; $: path = $page.url.pathname;
</script> </script>
<nav> <nav>
<div> <img
<img src="/img.jpg" alt="Kukfest logo" on:click={conf.fireAll} class="rounded-lg" /> src="/img.jpg"
<p class="krona">Kukfest</p> alt="Kukfest logo"
</div> on:click={conf.fireAll}
class="rounded-lg"
/>
<p class="krona">Kukfest</p>
<ul id="nav-pc"> <ul id="nav-pc">
<li class={path === '/' ? 'active' : ''}><a href="/">Home</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 class={path.includes("/images") ? "active" : ""}>
<a href="/images/23">Images</a>
</li>
<li><a href="https://boofdev.eu/#contact">Contact</a></li> <li><a href="https://boofdev.eu/#contact">Contact</a></li>
</ul> </ul>
</nav> </nav>