From affb1405915bb8bb3156d14e7d4ac85262027e8f Mon Sep 17 00:00:00 2001 From: hosead6168 Date: Sun, 20 Mar 2022 13:36:30 -0500 Subject: [PATCH] fix(*): adjusted contact page and form --- src/Components/Footer/Footer.jsx | 4 + src/Components/Form/Contact.css | 28 ++-- src/Components/Form/ContactForm.jsx | 6 +- src/Pages/Contact/Contact.css | 196 ++++++++++++++++++++++++++++ src/Pages/Contact/Contact.jsx | 61 ++++++--- 5 files changed, 265 insertions(+), 30 deletions(-) create mode 100644 src/Pages/Contact/Contact.css mode change 100755 => 100644 src/Pages/Contact/Contact.jsx diff --git a/src/Components/Footer/Footer.jsx b/src/Components/Footer/Footer.jsx index 75582dc9..934ca1fe 100755 --- a/src/Components/Footer/Footer.jsx +++ b/src/Components/Footer/Footer.jsx @@ -1,5 +1,6 @@ import React from 'react'; import "./Footer.css"; +import {StyledHr} from '../../Layout/Hr/styledHr'; import SocialMediaTags from '../SocialMediaTags/SocialMediaTags'; @@ -8,6 +9,8 @@ const Footer = () => { const year = new Date().getFullYear() return ( + <> +
@@ -62,6 +65,7 @@ const Footer = () => {
+ ) }; diff --git a/src/Components/Form/Contact.css b/src/Components/Form/Contact.css index d0cd9871..93069c03 100755 --- a/src/Components/Form/Contact.css +++ b/src/Components/Form/Contact.css @@ -8,7 +8,7 @@ .contact-container form { display: flex; flex-direction: column; - width: 40% !important; + width: 80% !important; } .contact-input, @@ -16,20 +16,28 @@ width: 100% !important; } +.contact-input { + border: none; + border-bottom: 1px black solid; + margin-top: 4%; +} + .contact-input::placeholder, -.area::placeholder { - font-size: 1.5rem; +.contact-form-area::placeholder { + font-size: 1.8rem; } .contact-input, -.area { - width: 60vw; +.contact-form-area { height: 3rem; padding: 10px; margin-bottom: 5px; } -.area { +.contact-form-area { height: 8rem; + margin-top: 4%; + border: none; + border-bottom: 1px black solid; } .contact-container { @@ -37,14 +45,12 @@ flex-direction: column; justify-content: center; align-items: center; - background-color: #1a1e23; - height: 40vh; } -.contact-container p { - color: white; - font-size: 1.5rem; +.contact-form-container .info { + font-size: 1.8rem; opacity: 0.6; + width: 80%; } @media only screen and (max-width: 768px) { diff --git a/src/Components/Form/ContactForm.jsx b/src/Components/Form/ContactForm.jsx index bbf724b1..504dc067 100755 --- a/src/Components/Form/ContactForm.jsx +++ b/src/Components/Form/ContactForm.jsx @@ -25,12 +25,12 @@ const ContactForm = () => { } return (<> -
-

Have a question? I am available for hire and open to any ideas of cooperation.

+
+

Have a question? I am available for hire and open to any ideas of cooperation.

-