Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make contact us page "Request a call" form responsive ISSUE #236 #309

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions site/pages/contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ const Contact = () => {
</h2>
<div className="flex flex-wrap justify-center gap-6"> {/* Center the boxes with gap */}
{/* Request a Call Box */}

<div className={`${styles.box} w-full sm:w-2/3 lg:w-1/3 p-4 text-center`}> {/* Modified width */}
<h3 className="font-semibold text-xl mb-4">Request a Call</h3>
<form onSubmit={handleRequestCall} className="flex flex-col gap-4">
<input
type="text"
Expand Down Expand Up @@ -91,11 +92,12 @@ const Contact = () => {
</button>
</form>
</div>

{/* Support and Feedback Box */}
<div className="w-full sm:w-2/3 lg:w-1/3 flex flex-col gap-4">
<div className={`${styles.box} p-7 md:mb-5`}>
<h3 className="font-bold text-xl mb-4 text-[#15616d]">Support</h3>
<div className="w-full sm:w-2/3 lg:w-1/3 flex flex-col gap-4"> {/* Same width for mobile */}
<div className={`${styles.box} p-7 mb-5`}>
<h3 className="font-semibold text-xl mb-4">Support</h3>

<p>Phone: (123) 456-7890</p>
<p>Email: [email protected]</p>
</div>
Expand All @@ -118,7 +120,7 @@ const Contact = () => {
</div>
</div>
</div>
);
);
};

export default Contact;