From 5409d4a248b46c7c2fc953049e1673144621d0d1 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Mon, 5 Aug 2024 00:37:17 +0200 Subject: [PATCH] Redo some Startpage :D --- src/layouts/Redirect.astro | 16 ++++++++++++++++ src/pages/index.astro | 30 ++++++++++++++++++++++++------ src/styles/button.css | 6 ++++++ 3 files changed, 46 insertions(+), 6 deletions(-) create mode 100644 src/layouts/Redirect.astro diff --git a/src/layouts/Redirect.astro b/src/layouts/Redirect.astro new file mode 100644 index 0000000..5f42903 --- /dev/null +++ b/src/layouts/Redirect.astro @@ -0,0 +1,16 @@ +--- +import {astroI18n} from "astro-i18n"; +const { url } = Astro.props; +--- + + + + + + + +

Redirecting to {url}

+ + diff --git a/src/pages/index.astro b/src/pages/index.astro index 75bf770..d8452e5 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -45,8 +45,8 @@ function mapMap(i: Map, fn: (key: T, value: K) => J): J[] { style="height: calc(100vh + 1rem)" draggable="false" loading="eager"/>

- {t("home.title.first")} + {t("home.title.first")}{t("home.title.second")}

@@ -56,10 +56,28 @@ function mapMap(i: Map, fn: (key: T, value: K) => J): J[] {

{t("home.subtitle.3")}

- {t("home.join")} + {t("home.join")} +