Skip to content

Commit d10ca77

Browse files
committed
fix(ContactPage): adjust order of contact information and forms for better mobile display
1 parent 28f3bcb commit d10ca77

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

frontend/src/pages/ContactPage.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,8 @@ const ContactPage = () => {
295295
</div>
296296

297297
<div className="grid grid-cols-1 lg:grid-cols-3 gap-12">
298-
{/* Enhanced Contact Information */}
299-
<div className="lg:col-span-1">
298+
{/* Enhanced Contact Information - Shown after forms on mobile */}
299+
<div className="lg:col-span-1 order-2 lg:order-1">
300300
<div className="bg-white rounded-lg shadow-xl p-8 sticky top-24">
301301
<h2 className="heading-1 mb-6 text-dark">Get in Touch</h2>
302302

@@ -430,8 +430,8 @@ const ContactPage = () => {
430430
</div>
431431
</div>
432432

433-
{/* Contact Forms */}
434-
<div className="lg:col-span-2">
433+
{/* Contact Forms - Shown first on mobile */}
434+
<div className="lg:col-span-2 order-1 lg:order-2">
435435
{activeTab === 'contact' && (
436436
<div className="bg-white rounded-lg shadow-md p-8">
437437
<h2 className="heading-1 mb-6">Talk to Us</h2>

0 commit comments

Comments
 (0)