first attempt at making a UI (clickdummy)

This commit is contained in:
kritzl 2026-05-09 21:03:49 +02:00
commit b80e3fe4f0
Signed by: kritzl
SSH key fingerprint: SHA256:5BmINP9VjZWaUk5Z+2CTut1KFhwLtd0ZynMekKbtViM
13 changed files with 4775 additions and 0 deletions

26
app/src/pages/index.astro Normal file
View file

@ -0,0 +1,26 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width"/>
<link rel="icon" type="image/svg+xml" href="/favicon.svg"/>
<link rel="icon" href="/favicon.ico"/>
<meta name="generator" content={Astro.generator}/>
<title>dooris</title>
<script>
const userLang = new Intl.Locale(navigator.language).language;
const urls: Record<string, string> = {
'en': './en',
'de': './de',
};
const url = urls[userLang] ?? urls.en;
document.location.href = url;
</script>
</head>
<body>
</body>
</html>