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

Fix Contact Page Heading Hidden Behind Navbar (#348) #373

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
31 changes: 27 additions & 4 deletions site/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 13 additions & 2 deletions site/pages/contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,20 @@ const Contact = () => {
};

return (
<div className="bg-white min-h-screen p-6">

<div className="bg-white min-h-screen p-6 mt-20">
{/* Added margin to adjust the layout, and this caused the entire contact page to shift downwards.
As a result, it no longer overlaps with the navbar and is positioned below it. */}

<h2 className="text-3xl font-bold text-center mb-6">
How would you like to contact Bio-branch?
</h2>
{/* <div className='contact-content flex justify-center gap-10'> */}

{/* The alignment issue might be resolved by placing both the contact and feedback forms within a single container div.
This change could help manage spacing and layout more effectively.
However, since this is not my assigned task, I’m leaving this as a suggestion for the appropriate team member. */}

<div className="flex flex-wrap justify-center gap-6"> {/* Center the boxes with gap */}
{/* Request a Call Box */}

Expand Down Expand Up @@ -116,8 +126,9 @@ const Contact = () => {
</form>
</div>
</div>
</div>
{/* </div> contact content div */}
</div>

);
};

Expand Down