From 79e60f73cd3cea20e50a673b5f6282a7a612b51b Mon Sep 17 00:00:00 2001 From: Manuel Brandstetter Date: Tue, 5 Dec 2023 21:33:16 +0100 Subject: [PATCH] Move Choices section from components to views folder --- src/pages/[lang]/index.astro | 2 +- src/{components => views/Choices}/Choices.scss | 0 src/{components => views/Choices}/Choices.tsx | 8 ++++---- 3 files changed, 5 insertions(+), 5 deletions(-) rename src/{components => views/Choices}/Choices.scss (100%) rename src/{components => views/Choices}/Choices.tsx (95%) diff --git a/src/pages/[lang]/index.astro b/src/pages/[lang]/index.astro index 468b63f..fb93fd4 100644 --- a/src/pages/[lang]/index.astro +++ b/src/pages/[lang]/index.astro @@ -1,7 +1,7 @@ --- import type { GetStaticPaths } from "astro"; import ReachNewHeights from "../../views/ReachNewHeights/ReachNewHeights.astro"; -import Choices from "../../components/Choices"; +import Choices from "../../views/Choices/Choices"; import Uniqueness from "../../views/Uniqueness/Uniqueness.astro"; import Mobile from "../../views/Mobile/Mobile.astro"; import Layout from "../../layouts/Layout.astro"; diff --git a/src/components/Choices.scss b/src/views/Choices/Choices.scss similarity index 100% rename from src/components/Choices.scss rename to src/views/Choices/Choices.scss diff --git a/src/components/Choices.tsx b/src/views/Choices/Choices.tsx similarity index 95% rename from src/components/Choices.tsx rename to src/views/Choices/Choices.tsx index e006e65..a7dde1a 100644 --- a/src/components/Choices.tsx +++ b/src/views/Choices/Choices.tsx @@ -1,9 +1,9 @@ import { useEffect, useState } from "react"; +import ProgressButton from "../../components/ProgressButton"; +import useMediaQuery from "../../hooks/useMediaQuery"; +import Video from "../../components/Video"; +import Icon from "../../components/Icon"; import "./Choices.scss"; -import ProgressButton from "./ProgressButton"; -import useMediaQuery from "../hooks/useMediaQuery"; -import Video from "./Video"; -import Icon from "./Icon"; const Choices = () => { const [position, setPosition] = useState(0);