2021-08-24 19:43:46 +03:00
|
|
|
<script>
|
2023-07-14 19:54:59 +01:00
|
|
|
import { stores, goto } from '@sapper/app';
|
2021-08-24 19:43:46 +03:00
|
|
|
const { page } = stores();
|
2023-07-14 19:54:59 +01:00
|
|
|
import PrimaryButton from '../components/PrimaryButton/index.svelte';
|
|
|
|
|
const src = './bg-404.png';
|
2021-08-24 19:43:46 +03:00
|
|
|
|
2023-07-14 19:54:59 +01:00
|
|
|
$: console.log('route', $page);
|
2021-08-24 19:43:46 +03:00
|
|
|
</script>
|
2023-07-13 16:17:01 +01:00
|
|
|
|
|
|
|
|
<div
|
|
|
|
|
style="background-image:url({src});
|
|
|
|
|
background-size:contain"
|
|
|
|
|
class="error flex items-center justify-center w-screen overflow-hidden"
|
|
|
|
|
>
|
|
|
|
|
<div
|
|
|
|
|
class="error flex items-center justify-center gap-20 bg-gray-200 dark:bg-transparent"
|
|
|
|
|
>
|
|
|
|
|
<div class=" dark:text-white gap-3 w-2/5">
|
|
|
|
|
<p class="text-3xl dark:text-white font-semibold mb-5">
|
|
|
|
|
Oops😕,where did the page go?
|
|
|
|
|
</p>
|
|
|
|
|
<p class="text-base text-gray-600 dark:text-white mb-5">
|
|
|
|
|
We're sorry, but something went wrong and we can't show you the page
|
|
|
|
|
you're looking for. In the meantime, here's a joke to make you laugh:<br
|
|
|
|
|
/>
|
|
|
|
|
What do you call a fish with no eyes? Fsh!
|
|
|
|
|
</p>
|
|
|
|
|
<PrimaryButton
|
|
|
|
|
label="Go to Home"
|
|
|
|
|
className="rounded-md"
|
2023-07-14 19:54:59 +01:00
|
|
|
onClick={() => goto('/')}
|
2023-07-13 16:17:01 +01:00
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
<img src="/classroom-404.png" alt="classroomio_error_image" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
.error {
|
|
|
|
|
height: calc(100vh - 57px);
|
|
|
|
|
}
|
|
|
|
|
</style>
|