From 284f28425640904dc384d9bdba73315202e67ee3 Mon Sep 17 00:00:00 2001 From: Manuel Brandstetter Date: Mon, 4 Dec 2023 14:08:27 +0100 Subject: [PATCH] Changes --- src/pages/[lang]/Legal/Cookies.astro | 10 +++++++++- src/pages/[lang]/Legal/Privacy.astro | 10 +++++++++- src/pages/[lang]/Legal/Terms.astro | 10 +++++++++- src/views/ReachNewHeights/ReachNewHeights.astro | 4 ++-- src/views/ReachNewHeights/ReachNewHeights.scss | 7 +++---- 5 files changed, 32 insertions(+), 9 deletions(-) diff --git a/src/pages/[lang]/Legal/Cookies.astro b/src/pages/[lang]/Legal/Cookies.astro index 990adb3..dc0e56b 100644 --- a/src/pages/[lang]/Legal/Cookies.astro +++ b/src/pages/[lang]/Legal/Cookies.astro @@ -1,6 +1,14 @@ --- -import LegalLayout from "../../layouts/LegalLayout.astro"; +import type {GetStaticPaths} from "astro"; +import LegalLayout from "../../../layouts/LegalLayout.astro"; import "./legal.scss"; + +export const getStaticPaths = (() => { + return [ + {params: {lang: "en"}}, + {params: {lang: "de"}}, + ]; +}) satisfies GetStaticPaths; --- diff --git a/src/pages/[lang]/Legal/Privacy.astro b/src/pages/[lang]/Legal/Privacy.astro index 82acd4b..7807581 100644 --- a/src/pages/[lang]/Legal/Privacy.astro +++ b/src/pages/[lang]/Legal/Privacy.astro @@ -1,6 +1,14 @@ --- -import LegalLayout from "../../layouts/LegalLayout.astro"; +import type {GetStaticPaths} from "astro"; +import LegalLayout from "../../../layouts/LegalLayout.astro"; import "./legal.scss"; + +export const getStaticPaths = (() => { + return [ + {params: {lang: "en"}}, + {params: {lang: "de"}}, + ]; +}) satisfies GetStaticPaths; --- diff --git a/src/pages/[lang]/Legal/Terms.astro b/src/pages/[lang]/Legal/Terms.astro index 7d10bf7..1e078e3 100644 --- a/src/pages/[lang]/Legal/Terms.astro +++ b/src/pages/[lang]/Legal/Terms.astro @@ -1,6 +1,14 @@ --- -import LegalLayout from "../../layouts/LegalLayout.astro"; +import type { GetStaticPaths } from "astro"; +import LegalLayout from "../../../layouts/LegalLayout.astro"; import "./legal.scss"; + +export const getStaticPaths = (() => { + return [ + {params: {lang: "en"}}, + {params: {lang: "de"}}, + ]; +}) satisfies GetStaticPaths; --- diff --git a/src/views/ReachNewHeights/ReachNewHeights.astro b/src/views/ReachNewHeights/ReachNewHeights.astro index 4b0738b..8fef5ab 100644 --- a/src/views/ReachNewHeights/ReachNewHeights.astro +++ b/src/views/ReachNewHeights/ReachNewHeights.astro @@ -23,12 +23,12 @@ const content = await getTranslatedContent("Hero_Section", lang!); Reach new heights Reach new heights
diff --git a/src/views/ReachNewHeights/ReachNewHeights.scss b/src/views/ReachNewHeights/ReachNewHeights.scss index b0f7ef1..26290f4 100644 --- a/src/views/ReachNewHeights/ReachNewHeights.scss +++ b/src/views/ReachNewHeights/ReachNewHeights.scss @@ -99,10 +99,6 @@ flex-direction: column; align-items: center; - > .information-item__icon--dark { - display: none; - } - > h2 { color: var(--black); font-size: 16px; @@ -127,6 +123,9 @@ } } } +.information-item__icon--dark { + display: none; +} @media (min-width: 768px) { .reach-new-heights__headline > h1 {