From 9fe54011c6ef1c5c8a169b025aeb497990b61a96 Mon Sep 17 00:00:00 2001 From: Manuel Brandstetter Date: Mon, 8 Jan 2024 15:43:05 +0100 Subject: [PATCH] Rename ReachNewHeights to Hero --- src/pages/[lang]/index.astro | 4 ++-- .../ReachNewHeights.astro => Hero/Hero.astro} | 6 +++--- .../ReachNewHeights.scss => Hero/Hero.scss} | 0 3 files changed, 5 insertions(+), 5 deletions(-) rename src/views/{ReachNewHeights/ReachNewHeights.astro => Hero/Hero.astro} (93%) rename src/views/{ReachNewHeights/ReachNewHeights.scss => Hero/Hero.scss} (100%) diff --git a/src/pages/[lang]/index.astro b/src/pages/[lang]/index.astro index c93323b..e0b4b3d 100644 --- a/src/pages/[lang]/index.astro +++ b/src/pages/[lang]/index.astro @@ -1,6 +1,6 @@ --- import type { GetStaticPaths } from "astro"; -import ReachNewHeights from "@views/ReachNewHeights/ReachNewHeights.astro"; +import Hero from "@views/Hero/Hero.astro"; import Choices from "@views/Choices/Choices.astro"; import Uniqueness from "@views/Uniqueness/Uniqueness.astro"; import Mobile from "@views/Mobile/Mobile.astro"; @@ -16,7 +16,7 @@ export const getStaticPaths = (() => { --- - + diff --git a/src/views/ReachNewHeights/ReachNewHeights.astro b/src/views/Hero/Hero.astro similarity index 93% rename from src/views/ReachNewHeights/ReachNewHeights.astro rename to src/views/Hero/Hero.astro index 0b921e9..894d5c2 100644 --- a/src/views/ReachNewHeights/ReachNewHeights.astro +++ b/src/views/Hero/Hero.astro @@ -1,7 +1,7 @@ --- -import { Link } from "../../components/Link/Link"; -import "./ReachNewHeights.scss"; -import getTranslatedContent from "../../utils/directus"; +import { Link } from "@components/Link/Link"; +import getTranslatedContent from "@utils/directus"; +import "./Hero.scss"; const {lang} = Astro.params; const content = await getTranslatedContent("Hero_Section", lang!); diff --git a/src/views/ReachNewHeights/ReachNewHeights.scss b/src/views/Hero/Hero.scss similarity index 100% rename from src/views/ReachNewHeights/ReachNewHeights.scss rename to src/views/Hero/Hero.scss