From a3899325b85465a5eed8b8f885c7b1843597e5ec Mon Sep 17 00:00:00 2001 From: oonyeje Date: Tue, 28 Nov 2023 23:01:23 -0500 Subject: [PATCH] - fixed form styling for contact form --- components/form/ContactForm/index.tsx | 40 ++++++++++++++++++++------- package.json | 1 + pages/index.tsx | 4 +-- 3 files changed, 33 insertions(+), 12 deletions(-) diff --git a/components/form/ContactForm/index.tsx b/components/form/ContactForm/index.tsx index 86f4fb6..91d7781 100644 --- a/components/form/ContactForm/index.tsx +++ b/components/form/ContactForm/index.tsx @@ -16,19 +16,39 @@ const ContactForm = () => { }; return ( -
-
+
+
-
- - - {errors.firstName &&

First name is required.

} - {errors.lastName &&

Last name is required.

} +
+
+ + {errors.firstName &&

First name is required.

} +
+
+ + {errors.lastName &&

Last name is required.

} +
-
-