Redo some Startpage :D

This commit is contained in:
2024-08-05 00:37:17 +02:00
parent 4778429452
commit 5409d4a248
3 changed files with 46 additions and 6 deletions

View File

@@ -0,0 +1,16 @@
---
import {astroI18n} from "astro-i18n";
const { url } = Astro.props;
---
<html lang={astroI18n.locale}>
<head data-redirect={url}>
<meta http-equiv="refresh" content={`0; URL=${url}`}/>
<script>
window.location.href = document.head.dataset["redirect"];
</script>
</head>
<body>
<p>Redirecting to <a href={url}>{url}</a></p>
</body>
</html>