Files
radicle-explorer/src/NotFound.svelte
T
Alexis Sellier 3f93c97e54 Improve 404 styles
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-02-09 10:34:19 +01:00

22 lines
437 B
Svelte

<script lang="ts">
import Modal from '@app/Modal.svelte';
export let title = "";
export let subtitle = "";
const back = () => window.history.back();
</script>
<Modal subtle>
<span slot="title">🏜️</span>
<span slot="body">
<p class="highlight text-medium"><strong>{title}</strong></p>
<p>{subtitle}</p>
</span>
<span slot="actions">
<button on:click={back}>
Back
</button>
</span>
</Modal>