From e9617bf767f2adfa01c9b117e0a83f55f3e035a4 Mon Sep 17 00:00:00 2001 From: Parker Holcomb Date: Sun, 11 Apr 2021 13:46:36 -0500 Subject: [PATCH] prompt form style updates --- site/src/app.css | 4 +-- site/src/fragments/Nav.js | 4 +-- site/src/fragments/PromptForm.js | 45 +++++++++++++++----------------- site/src/pages/About.js | 7 +++-- 4 files changed, 30 insertions(+), 30 deletions(-) diff --git a/site/src/app.css b/site/src/app.css index a216d84..0aec290 100644 --- a/site/src/app.css +++ b/site/src/app.css @@ -133,8 +133,8 @@ td, th { .notification-container{ align-items: center; - margin-bottom: 10px; - color: #D63432 + margin-bottom: 5px; + font-size: 16px; } .hero { diff --git a/site/src/fragments/Nav.js b/site/src/fragments/Nav.js index f11ae71..d624120 100644 --- a/site/src/fragments/Nav.js +++ b/site/src/fragments/Nav.js @@ -26,9 +26,9 @@ export default function Menu() { MAP ABOUT {/* SEARCH */} - + {/* - + */} diff --git a/site/src/fragments/PromptForm.js b/site/src/fragments/PromptForm.js index e5af726..da7452c 100644 --- a/site/src/fragments/PromptForm.js +++ b/site/src/fragments/PromptForm.js @@ -8,7 +8,7 @@ export default class PromptForm extends Component { super(props); this.state = {}; this.state.phone = ''; - this.state.notification = ''; + this.state.notification = 'Updates when vaccines become avaiable in your area.'; this.handleFormInput = this.handleFormInput.bind(this) this.handleFormSubmit = this.handleFormSubmit.bind(this) @@ -56,33 +56,30 @@ export default class PromptForm extends Component { render() { return (
-
- {this.state.notification} -
+
-
-
- +
+ {this.state.notification} +
+
+ { this.handleFormInput('phone', e.target.value) }} /> + +
- { this.handleFormInput('phone', e.target.value) }} - /> - -
diff --git a/site/src/pages/About.js b/site/src/pages/About.js index 06eafd6..2f1f39e 100644 --- a/site/src/pages/About.js +++ b/site/src/pages/About.js @@ -36,14 +36,17 @@ class About extends Component {
- Made with love by Parker, Dwamian, and Scott.
- {/* */} + +
+ +
+
) }