Skip to content

Commit

Permalink
changed icon orientation and added optional header image
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaurya0108 committed Apr 27, 2024
1 parent b0233c4 commit 4c51933
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 39 deletions.
3 changes: 3 additions & 0 deletions public/gmail-black.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@ import Navbar from '@/components/Navbar';

interface Props {
text: string;
image?: JSX.Element,
}

const Header = (props: Props) => {
return (
<div className="bg-gradient-to-b from-royal to-white to-75%">
<Navbar />
<div className="px-8 h-[40vh] flex justify-center items-center">
<div className=" flex justify-center items-center">
{props.image}
</div>
<div className="px-8 h-[20vh] flex justify-center items-center">
<h1 className="text-6xl font-bold text-royal text-center">{props.text}</h1>
</div>
</div>
Expand Down
73 changes: 35 additions & 38 deletions src/pages/contact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ const Contact = () => (
<link rel="canonical" href="https://www.utdnebula.com/about/contact" key="canonical" />
<meta property="og:url" content="https://www.utdnebula.com/about/contact" />
</Head>
<Header text="Contact" />

<Header text="Contact Us" />
<div className="px-8 lg:px-16 xl:px-32 flex flex-col items-center gap-12">
<div className="flex flex-col items-center gap-4">
<h2 className="text-2xl">
<div className="flex flex-col items-center gap-12">
<h2 className="text-2xl gap-2">
Discord is the best place to stay up to date with our latest updates and events.
</h2>
<a
Expand All @@ -27,43 +28,39 @@ const Contact = () => (
<Image src="/join-discord-black.svg" alt="discord" width="200" height="60" />
</a>
</div>
<div className="flex flex-col items-center gap-4">
<div className="flex flex-col items-center gap-8">
<h2 className="text-2xl">You can also find us on these platforms:</h2>
<a
className={linkClasses + ' flex items-center gap-2'}
href="https://instagram.com/utdnebula"
target="_blank"
>
<Image src="/instagram-black.svg" alt="Instagram logo" width="30" height="30" />
Instagram
</a>
<a
className={linkClasses + ' flex items-center gap-2'}
href="https://linkedin.com/company/utdnebula"
target="_blank"
>
<Image src="/linkedin-black.svg" alt="LinkedIn logo" width="30" height="30" />
LinkedIn
</a>
<a
className={linkClasses + ' flex items-center gap-2'}
href="https://github.com/utdnebula"
target="_blank"
>
<Image src="/github-black.svg" alt="GitHub logo" width="30" height="30" />
GitHub
</a>
<div className="flex flex-row items-center gap-12">
<a
className={linkClasses + ' flex items-center gap-2'}
href="https://instagram.com/utdnebula"
target="_blank"
>
<Image src="/instagram-black.svg" alt="Instagram logo" width="30" height="30" />
</a>
<a
className={linkClasses + ' flex items-center gap-2'}
href="https://linkedin.com/company/utdnebula"
target="_blank"
>
<Image src="/linkedin-black.svg" alt="LinkedIn logo" width="30" height="30" />
</a>
<a
className={linkClasses + ' flex items-center gap-2'}
href="https://github.com/utdnebula"
target="_blank"
>
<Image src="/github-black.svg" alt="GitHub logo" width="30" height="30" />
</a>
<a
className={linkClasses + ' flex items-center gap-2'}
href="mailto:[email protected]"
target="_blank"
>
<Image src="/gmail-black.svg" alt="GitHub logo" width="30" height="30" />
</a>
</div>
</div>
<h2 className="text-2xl">
{'Contacts for our officers, division heads, and project leads can be found on the '}
<Link
href="/about/governance"
className="underline text-blue-600 hover:text-blue-800 visited:text-purple-600"
>
governance page
</Link>
.
</h2>
</div>
<Footer royalBg={false} />
</>
Expand Down

0 comments on commit 4c51933

Please sign in to comment.