---
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>
