Files
sxchnge/website/src/components/AccountDialog.astro
T
Stephan D d9318053e8 Prepare product layout and reusable Flutter theme
Relocate the existing Astro website and preserve its assets and hosting configuration. Add the consumer/backend scaffold and themed Flutter package with consumer tests. Related to #1.
2026-09-11 15:36:58 +02:00

22 lines
644 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
import { copy, type Lang } from '../i18n/copy';
const { lang } = Astro.props as { lang: Lang };
const t = copy[lang];
---
<dialog
id="account-dialog"
aria-labelledby="account-title"
aria-describedby="account-description"
>
<button class="dialog-x" data-close aria-label={t.dialogClose}>×</button><span
class="dialog-symbol"
aria-hidden="true">↗</span
><p class="eyebrow">SXCHNGE / {t.demo}</p><h2 id="account-title">
{t.authTitle}
</h2><p id="account-description">{t.authBody}</p><button
class="button button-dark"
data-close
autofocus>{t.close}<span aria-hidden="true">↗</span></button>
</dialog>