From 623c82d18a10fe14327e68ee396287ee850c5fc7 Mon Sep 17 00:00:00 2001 From: Mohammed-Anwar-Uddin Date: Mon, 20 Jan 2025 17:08:38 +0530 Subject: [PATCH 1/2] feat: added route for contact page in app.jsx - added contact page (responsive) --- src/App.jsx | 5 ++++ src/components/ContactUs.jsx | 47 ++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 src/components/ContactUs.jsx diff --git a/src/App.jsx b/src/App.jsx index 9174876..44056e1 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -10,6 +10,7 @@ import About from './pages/About'; import Landing from './pages/Home'; import Student from './pages/Student'; import Album_Image from './pages/Album_Image'; +import ContactUs from './components/ContactUs'; const App = () => { return ( <> @@ -27,6 +28,10 @@ const App = () => { path='/about' element={} > + } + > } diff --git a/src/components/ContactUs.jsx b/src/components/ContactUs.jsx new file mode 100644 index 0000000..ae13688 --- /dev/null +++ b/src/components/ContactUs.jsx @@ -0,0 +1,47 @@ +import React from 'react' + +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. +

+ + +

Location

+

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

+ +

Our Principle

+

Muhammad Muneeb and vice Principle Sammer Khan

+ +

Phone Number

+

+92 315 4488695

+ + +

Social Media Accounts

+
+ insta, facebook +
+
+ + +
+

Feel free to ask any query

+

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

+
+ + + + + + + + +
+
+
+ ) +} + +export default ContactUs \ No newline at end of file From e78490024d48f2421f563cd85afd8d47bf41045d Mon Sep 17 00:00:00 2001 From: Abhishek Gupta Date: Tue, 21 Jan 2025 00:12:03 +0530 Subject: [PATCH 2/2] feat: update ContactUs component layout and styling for improved responsiveness --- src/components/ContactUs.jsx | 40 ++++++++++++++++++------------------ src/components/Navbar.jsx | 2 +- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/components/ContactUs.jsx b/src/components/ContactUs.jsx index ae13688..9cad4bc 100644 --- a/src/components/ContactUs.jsx +++ b/src/components/ContactUs.jsx @@ -2,42 +2,42 @@ import React from 'react' 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. +

+
+

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.

-

Location

-

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

+

Location

+

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

-

Our Principle

-

Muhammad Muneeb and vice Principle Sammer Khan

+

Our Principle

+

Muhammad Muneeb and vice Principle Sammer Khan

-

Phone Number

-

+92 315 4488695

+

Phone Number

+

+92 315 4488695

-

Social Media Accounts

+

Social Media Accounts

insta, facebook
-
-

Feel free to ask any query

-

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

-
- - - +
+

Feel free to ask any query

+

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

+ + + + - + - +
diff --git a/src/components/Navbar.jsx b/src/components/Navbar.jsx index 8cd08fb..f2155af 100644 --- a/src/components/Navbar.jsx +++ b/src/components/Navbar.jsx @@ -58,7 +58,7 @@ const Navbar = () => { ref={menu} className='mobile-menu w-full h-screen bg-[#333] text-[6vw] font-semibold text-white hidden max-[599px]:block -translate-y-[100%] fixed top-0 left-0 z-[99]' > -