From da5954217c8343a72cb1128496f697cf80441a12 Mon Sep 17 00:00:00 2001 From: Yash Suthar Date: Wed, 22 Jan 2025 01:11:16 +0530 Subject: [PATCH 1/2] fixed contact us page design #45 Co-authored-by: Abhishek Kumar --- src/components/ContactUs.jsx | 68 +++++++++++------------------------- src/components/Footer.jsx | 10 +++--- 2 files changed, 25 insertions(+), 53 deletions(-) diff --git a/src/components/ContactUs.jsx b/src/components/ContactUs.jsx index 2a0ffa8..8f9ee33 100644 --- a/src/components/ContactUs.jsx +++ b/src/components/ContactUs.jsx @@ -44,41 +44,27 @@ const ContactUs = () => { return ( -
-
+
+

About Us

-

- Welcome to [Institute Name], - an institution dedicated to - fostering innovation, - knowledge, and personal - growth. Our mission is to - shape tomorrow’s leaders by - offering exceptional - educational opportunities and - encouraging intellectual - exploration. +

+ Welcome to [Institute Name], an institution dedicated to fostering innovation, knowledge, and personal growth. Our mission is to shape tomorrow’s leaders by offering exceptional educational opportunities and encouraging intellectual exploration.

-

+

Location

-

- Welcome to [Institute Name], - an institution dedicated to - fostering innovation, - knowledge, and personal - growth. O +

+ Welcome to [Institute Name], an institution dedicated to fostering innovation, knowledge, and personal growth.

-

+

Our Principle

- Muhammad Muneeb and vice - Principle Sammer Khan + Muhammad Muneeb and vice Principle Sammer Khan

@@ -96,43 +82,31 @@ const ContactUs = () => {

-
+

Feel free to ask any query

-

- - Welcome to [Institute Name], - an institution dedicated to - fostering innovation, - knowledge, and personal - growth. +

+ Welcome to [Institute Name], an institution dedicated to fostering innovation, knowledge, and personal growth.

-
- - - + {errors.cName &&

{errors.cName.message}

} - {errors.cEmail &&

{errors.cEmail.message}

} + {errors.cEmail &&

{errors.cEmail.message}

} - -{errors.cNumber &&

{errors.cNumber.message}

} + {errors.cNumber &&

{errors.cNumber.message}

} { placeholder='Phone Number:' /> - {errors.cMessage &&

{errors.cMessage.message}

} - + {errors.cMessage &&

{errors.cMessage.message}

} -
diff --git a/src/components/Footer.jsx b/src/components/Footer.jsx index a3299a2..a7f44e1 100644 --- a/src/components/Footer.jsx +++ b/src/components/Footer.jsx @@ -5,7 +5,7 @@ import { Link } from 'react-router-dom'; const Footer = () => { return (