From 53267b3b28cdf17094e13594db402f6613e1a6b3 Mon Sep 17 00:00:00 2001 From: tobiasschaeuble-eh Date: Sun, 29 Oct 2023 13:10:11 +0100 Subject: [PATCH] wip --- frontend/src/App.js | 3 --- frontend/src/Components/Scheduling.js | 17 +++++++++++++---- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/frontend/src/App.js b/frontend/src/App.js index d326849..dcf0d4c 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -6,7 +6,6 @@ import Login from './Components/Login'; import Navigation from './Components/Navigation'; // import { useNavigate, useDispatch } from "react-router-dom"; import Profile from './Components/Profile'; -import Status from './Components/Status'; import {useSelector} from 'react-redux'; // import useSelector from react-redux import { Route, Navigate, Routes, useNavigate } from 'react-router-dom'; // import Route and Navigate from react-router-dom import Scheduling from './Components/Scheduling'; @@ -70,8 +69,6 @@ function App() { onGroupSizeChange={handleGroupSizeChange} // Changed from props.onGroupSizeChange onTimeSlotChange={handleTimeSlotChange} /> - - ); } diff --git a/frontend/src/Components/Scheduling.js b/frontend/src/Components/Scheduling.js index 7919668..b7ed35c 100644 --- a/frontend/src/Components/Scheduling.js +++ b/frontend/src/Components/Scheduling.js @@ -1,5 +1,7 @@ import React from 'react'; import '../SCSS/scheduling.css'; +import Status from './Status'; + const Scheduling = (props) => { const generateTimeSlots = () => { let slots = []; @@ -17,6 +19,7 @@ const Scheduling = (props) => { window.alert('Feature coming soon!'); }; return ( + <>
Fancy having lunch together with interesting people? @@ -39,7 +42,10 @@ const Scheduling = (props) => {
-
+
+ +
+ {/*
Group Size: { /> {props.groupSize} Persons
-
+
*/} -
+ {/*

Use default settings for a quick match.

@@ -69,8 +75,11 @@ const Scheduling = (props) => {
-
+
*/}
+ + + ); }; export default Scheduling; \ No newline at end of file