mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-15 11:20:36 +08:00
43 lines
770 B
Svelte
43 lines
770 B
Svelte
<script lang="ts">
|
|
import { twemoji } from "@app/lib/utils";
|
|
|
|
import Button from "@app/components/Button.svelte";
|
|
|
|
export let title: string;
|
|
export let subtitle: string;
|
|
</script>
|
|
|
|
<style>
|
|
.container {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.emoji {
|
|
display: flex;
|
|
font-size: var(--font-size-xx-large);
|
|
}
|
|
|
|
.title {
|
|
color: var(--color-secondary);
|
|
}
|
|
|
|
.actions {
|
|
margin-top: 1rem;
|
|
}
|
|
</style>
|
|
|
|
<div class="container">
|
|
<div class="emoji" use:twemoji>🏜️</div>
|
|
<div class="title txt-medium txt-bold">{title}</div>
|
|
<div>{subtitle}</div>
|
|
|
|
<div class="actions">
|
|
<Button variant="foreground" on:click={() => window.history.back()}>
|
|
Back
|
|
</Button>
|
|
</div>
|
|
</div>
|