🐛 Excludes models files for other variants when building

This commit is contained in:
Rune Harlyk
2025-07-12 12:43:07 +02:00
parent 98f3fc674b
commit f21ce92d43
2 changed files with 60 additions and 30 deletions
+4 -11
View File
@@ -1,15 +1,8 @@
<script lang="ts">
import { goto } from '$app/navigation';
import { onMount } from 'svelte';
onMount(() => {
setTimeout(() => {
goto('/');
}, 3000);
});
import { page } from '$app/state'
</script>
<div class="flex justify-center items-center w-full h-full">
<h1 class="text-4xl">404 - Page not found</h1>
<p>You will be redirected to the home page in 3 seconds</p>
</div>
<h1>{page.status} {page.error?.message}</h1>
<span>Go to <a class="btn btn-primary" href="/">Home page</a></span>
</div>