Further Code Cleanup

This commit is contained in:
Neshura 2025-04-04 23:22:25 +02:00
parent c7d3c27a30
commit d7c7db0ef9
Signed by: Neshura
GPG key ID: 4E2D47B1374C297D

View file

@ -3,17 +3,8 @@
<script>
import '../app.pcss';
import Header from './Header.svelte';
import { beforeNavigate } from '$app/navigation';
import Footer from './Footer.svelte';
$effect(() => {
beforeNavigate((navigation) => {
const servers =
navigation.to.url.pathname === '/servers' || navigation.from.url.pathname === '/servers';
const services =
navigation.to.url.pathname === '/services' || navigation.from.url.pathname === '/services';
});
});
</script>
<Header />