Skip to content

Commit

Permalink
Merge pull request #42 from UTDNebula/contact-page
Browse files Browse the repository at this point in the history
Basic contact page
  • Loading branch information
TyHil authored Apr 27, 2024
2 parents 17a3899 + 0ae7a82 commit 4ebb805
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 2 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.
2 changes: 1 addition & 1 deletion src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ 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="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
54 changes: 53 additions & 1 deletion src/pages/contact.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import Header from '@/components/Header';
import Footer from '@/components/Footer';
import Head from 'next/head';
import Image from 'next/image';
import Link from 'next/link';

const linkClasses = 'text-2xl underline decoration-transparent hover:decoration-inherit transition';

const Contact = () => (
<>
Expand All @@ -9,7 +13,55 @@ 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-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
className="hover:scale-105 transition"
href="https://discord.gg/tcpcnfxmeQ"
target="_blank"
>
<Image src="/join-discord-black.svg" alt="discord" width="200" height="60" />
</a>
</div>
<div className="flex flex-col items-center gap-8">
<h2 className="text-2xl">You can also find us on these platforms:</h2>
<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>
</div>
<Footer />
</>
);
Expand Down

0 comments on commit 4ebb805

Please sign in to comment.