From b9b30014c75b3f6084b80aa1b6a35cfb2edc4c77 Mon Sep 17 00:00:00 2001 From: Sorrel Bri Date: Fri, 28 Feb 2020 18:41:42 -0800 Subject: [PATCH] stub #/latl route components --- src/PhonoChangeApplier.js | 4 ++-- src/PhonoChangeApplier.scss | 6 ++++++ src/components/Latl.js | 11 +++++++++-- src/components/Latl.scss | 3 +++ src/components/LatlOutput.js | 32 ++++++++++++++++++++++++++++++-- src/components/LatlOutput.scss | 9 +++++++++ 6 files changed, 59 insertions(+), 6 deletions(-) create mode 100644 src/components/Latl.scss create mode 100644 src/components/LatlOutput.scss diff --git a/src/PhonoChangeApplier.js b/src/PhonoChangeApplier.js index 1bae2dc..283addf 100644 --- a/src/PhonoChangeApplier.js +++ b/src/PhonoChangeApplier.js @@ -28,7 +28,7 @@ const PhonoChangeApplier = () => { Back to GUI -
+
@@ -36,7 +36,7 @@ const PhonoChangeApplier = () => { LATL -
+
diff --git a/src/PhonoChangeApplier.scss b/src/PhonoChangeApplier.scss index 214e1e6..7a05414 100644 --- a/src/PhonoChangeApplier.scss +++ b/src/PhonoChangeApplier.scss @@ -41,6 +41,12 @@ div.App { } } + div.PhonoChangeApplier--latl { + display: flex; + flex-flow: row wrap; + + } + button.form, input[type="submit"].form, input[type="button"].form { height: 2em; border-radius: 0.25em; diff --git a/src/components/Latl.js b/src/components/Latl.js index b2762f8..89f6962 100644 --- a/src/components/Latl.js +++ b/src/components/Latl.js @@ -1,9 +1,16 @@ import React from 'react'; +import './Latl.scss'; const Latl = ({latl, dispatch}) => { + const { innerWidth, innerHeight } = window; + console.log(innerWidth, innerHeight) return ( - <> - +
+

.LATL

+