diff --git a/anwendung/src/components/DateElement.jsx b/anwendung/src/components/DateElement.jsx index 55338fa..2db3508 100644 --- a/anwendung/src/components/DateElement.jsx +++ b/anwendung/src/components/DateElement.jsx @@ -17,8 +17,8 @@ export default function DateElement(props){ const endDateString = `${endDate.getDate()}.${endDate.getMonth()+1}.${endDate.getFullYear()}`; return ( <> -
-

{startDateString} - {endDateString}

+
+

{startDateString} - {endDateString}

); diff --git a/anwendung/src/components/WeekSelector.jsx b/anwendung/src/components/WeekSelector.jsx new file mode 100644 index 0000000..64f3535 --- /dev/null +++ b/anwendung/src/components/WeekSelector.jsx @@ -0,0 +1,20 @@ +import Button from "@/components/Button"; +import DateElement from "@/components/DateElement"; +import { arrowLeft } from "./Icons" +import { arrowRight } from "./Icons" +import { useState } from 'react' + + + +export default function WeekSelector(){ + const [weeks, setWeeks] = useState(0) + return ( + <> +
+
+ + ) +} \ No newline at end of file diff --git a/anwendung/src/pages/index.js b/anwendung/src/pages/index.js index 511c076..6003fa7 100644 --- a/anwendung/src/pages/index.js +++ b/anwendung/src/pages/index.js @@ -3,6 +3,7 @@ import React, {useState} from "react"; import StatusBar from "@/components/StatusBar"; import Button from "@/components/Button"; import {arrowLeft, arrowRight} from "@/components/Icons"; +import WeekSelector from "@/components/WeekSelector"; const inter = Inter({subsets: ['latin']}) @@ -11,22 +12,6 @@ export default function Home(p) { const [pr, setPr] = useState(0) return ( -
-
+ ) } \ No newline at end of file diff --git a/anwendung/src/styles/globals.css b/anwendung/src/styles/globals.css index 1cd8048..c4493d0 100644 --- a/anwendung/src/styles/globals.css +++ b/anwendung/src/styles/globals.css @@ -124,3 +124,18 @@ Step Progress Bar background-color: #5d606e; z-index: -1; } + +.dateElement{ + display: flex; + margin-left: 20px; + margin-right: 20px; + height: 50px; + width: 200px; + align-items: center; + justify-content: center; + background-color: #0d52ce; +} + +.weekSelector{ + display: flex; +}