mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-16 03:40:37 +08:00
Organise files more consistently
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user