From 34923713f5329a6f9b6ee172fd277ed491951073 Mon Sep 17 00:00:00 2001 From: Alfred Melch Date: Fri, 13 Mar 2020 13:30:37 +0100 Subject: [PATCH] Change Layout --- src/App.js | 24 ++++++++++++++++++++---- src/components/Offset.js | 7 +++++++ src/components/Options.js | 6 ++---- src/components/RsvpReader.js | 23 ++--------------------- src/components/RsvpWidget.js | 25 +++++++++++++++++++++++++ src/components/Segment.js | 7 +++++++ src/components/TextInput.css | 3 ++- src/components/TotalTime.js | 7 +------ src/store/index.js | 4 ++-- src/styles/Flex.js | 8 ++++++-- 10 files changed, 74 insertions(+), 40 deletions(-) create mode 100644 src/components/RsvpWidget.js diff --git a/src/App.js b/src/App.js index f7f8098..d472817 100644 --- a/src/App.js +++ b/src/App.js @@ -1,7 +1,6 @@ import React from 'react' import { useTranslation } from 'react-i18next' -import { RsvpReader } from './components/RsvpReader' import { SearchBar } from './components/SearchBar' import './App.css' @@ -9,6 +8,11 @@ import { LangSelect } from './components/LangSelect' import { Container } from './styles/Container' import { Flex, FlexMain } from './styles/Flex' +import { RsvpWidget } from 'components/RsvpWidget' +import { Options } from 'components/Options' +import { TextInput } from 'components/TextInput' +import { TextOutput } from 'components/TextOutput' +import { TotalTime } from 'components/TotalTime' export const App = () => { const { t } = useTranslation() @@ -28,9 +32,21 @@ export const App = () => {

Widget

- -

Text input

-

Options

+ + + +

Options

+ +
+ +

Text input

+ +
+
+

Text Output

+ +

Time needed

+