Organise files more consistently

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
Rūdolfs Ošiņš
2022-12-22 16:46:08 +01:00
parent e86accafae
commit caa83db480
130 changed files with 720 additions and 707 deletions
+23
View File
@@ -0,0 +1,23 @@
<script lang="ts">
import * as router from "@app/lib/router";
import { twemoji } from "@app/lib/utils";
import Button from "@app/components/Button.svelte";
import Modal from "@app/components/Modal.svelte";
export let title = "";
export let subtitle = "";
</script>
<Modal subtle>
<span slot="title" use:twemoji>🏜️</span>
<span slot="body">
<p class="txt-medium txt-highlight">
<span class="txt-bold">{title}</span>
</p>
<p>{subtitle}</p>
</span>
<span slot="actions">
<Button variant="foreground" on:click={router.pop}>Back</Button>
</span>
</Modal>