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

Added Contacts page. #15

Open
wants to merge 1 commit 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
97 changes: 97 additions & 0 deletions src/app/contact/page.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
"use client";

import Image from "next/image";
import {useState, useEffect} from "react";

export default function Page() {
const committeeContacts = [
{
name: "Revanth Senthil",
title: "ARC Vice President",
email: "[email protected]"
},
{
name: "Aytaj Aslani",
title: "ARC Treasurer",
email: "[email protected]"
},
{
name: "Vijay Muthukumar",
title: "RISE Director",
email: "[email protected]"
},
{
name: "Mouli Sangita",
title: "ARC Operations Chair",
email: "[email protected]"
}
];
const developerContacts = [
{
name: "Edgar Babajanyan",
title: "Lead Software Engineer",
email: "[email protected]"
},
{
name: "Mikah Kainen",
title: "Software Engineer",
email: "[email protected]"
},
{
name: "Pranesh Monda",
title: "Software Engineer",
email: "[email protected]"
},
{
name: "Mert Karabulut",
title: "Software Engineer",
email: "[email protected]"
},
{
name: "Peter Kurto",
title: "Software Engineer",
email: "[email protected]"
}
];

return (
<div className="w-full h-screen bg-black">
<section className="container mx-auto py-12 text-center bg-black text-white">
<h1 className="text-3xl font-bold mb-8">CONTACT US</h1>
<div className="grid grid-cols-1 md:grid-cols-3 gap-8">
<div className="bg-gray-800 p-6 rounded">
<h2 className="text-2xl font-bold text-white underline mb-5">GENERAL INQUIRIES</h2>
<a href="mailto:[email protected]"
className="text-blue-500 underline text-lg">[email protected]</a>
</div>
<div className="bg-gray-800 p-6 rounded">
<h2 className="text-2xl font-bold text-white underline mb-5">COMMITTEE CONTACTS</h2>
{/* Loop over contacts and render each one */}
{committeeContacts.map((contact, index) => (
<div key={index} className="mb-4">
<h3 className="text-lg font-semibold text-white">{contact.name}</h3>
<p className="text-blue-400">{contact.title}</p>
<a href={`mailto:${contact.email}`} className="text-blue-500 underline text-lg">
{contact.email}
</a>
</div>
))}
</div>
<div className="bg-gray-800 p-6 rounded">
<h2 className="text-2xl font-bold text-white underline mb-5">DEVELOPER CONTACTS</h2>
{/* Loop over contacts and render each one */}
{developerContacts.map((contact, index) => (
<div key={index} className="mb-4">
<h3 className="text-lg font-semibold text-white">{contact.name}</h3>
<p className="text-blue-400">{contact.title}</p>
<a href={`mailto:${contact.email}`} className="text-blue-500 underline text-lg">
{contact.email}
</a>
</div>
))}
</div>
</div>
</section>
</div>
);
}