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

Features/meet the team page #30

Merged
merged 29 commits into from
Jun 2, 2024
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
35aa401
Ported MeetTheTeamPage and changed Bootstrap code to tailwind
andrewtarnavsky Feb 16, 2024
fde4d36
Updated MeetTheTeamPage
andrewtarnavsky Feb 24, 2024
321757d
Updated MeetTheTeamPage
andrewtarnavsky Feb 27, 2024
8142d8d
Revert "Updated MeetTheTeamPage"
andrewtarnavsky Feb 27, 2024
0b0718e
Updated MeetTheTeamPage
andrewtarnavsky Feb 27, 2024
3929ab6
fix styling
CooperW824 Feb 27, 2024
335003d
Updated MeetTheTeamPage
andrewtarnavsky Feb 27, 2024
fce52e9
Merge branch 'main' of https://github.com/hack-rpi/HackRPI-Website-20…
andrewtarnavsky Mar 12, 2024
e3d5c2b
Finished Up Team Page
andrewtarnavsky Mar 12, 2024
e9b4c4a
Prettified Code!
andrewtarnavsky Mar 15, 2024
ccb2ae4
Fixed Mobile Errors and Optimized
andrewtarnavsky Mar 26, 2024
cfbf46f
Prettified Code!
andrewtarnavsky Mar 26, 2024
cf9ae6b
Merge branch 'main' of https://github.com/hack-rpi/HackRPI-Website-20…
CooperW824 Apr 9, 2024
2eb7f7a
Merge branch 'main' of https://github.com/hack-rpi/HackRPI-Website-20…
CooperW824 May 10, 2024
74c8e33
Making the team into a component
CooperW824 May 10, 2024
17282e7
Starting Fresh
CooperW824 May 10, 2024
94d0069
starting the meet the team component
CooperW824 May 10, 2024
e1c0ef1
Prettified Code!
CooperW824 May 10, 2024
feb5594
directors carousel is working
CooperW824 May 13, 2024
690152a
the inital design is done
CooperW824 May 13, 2024
b205466
Prettified Code!
CooperW824 May 13, 2024
c8f3fda
fixing build
CooperW824 May 13, 2024
ff04f51
Merge branch 'features/MeetTheTeamPage' of https://github.com/hack-rp…
CooperW824 May 13, 2024
e1b9106
Rename Team.tsx to team.tsx
CooperW824 May 13, 2024
f957040
Meet the team final touches
CooperW824 May 23, 2024
2503bb6
Prettified Code!
CooperW824 May 23, 2024
7c616a1
Adding Director Photos
CooperW824 May 24, 2024
85a7d39
Remove organizers component, will add back in when we get organizers …
CooperW824 Jun 2, 2024
4602d5f
fix build
CooperW824 Jun 2, 2024
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
1 change: 1 addition & 0 deletions components/nav-bar/nav-bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export default function NavBar({ showOnScroll }: { showOnScroll: boolean }) {
const links: NavBarLinkType[] = [
{ href: "/", children: "Home" },
{ href: "/sponsor-us", children: "Sponsor Us" },
{ href: "/Team", children: "Team" },
];

const [showNav, setShowNav] = useState(false);
Expand Down
28 changes: 0 additions & 28 deletions package-lock.json

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

159 changes: 159 additions & 0 deletions pages/Team.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
import React from "react";
import "../app/globals.css";
import Footer from "@/components/footer";
import NavBar from "@/components/nav-bar/nav-bar";
import Image from "next/image";

const MeetTheTeamPage = () => {
const teamMembersFirstRow = [
{
name: "Maryellen Marino",
role: "President",
imagePath: "/TeamPics/mel image.jpeg",
},
{
name: "Raven Levitt",
role: "Vice President",
imagePath: "/TeamPics/raven image.jpg",
},
{
name: "John Kloepfer",
role: "Director of Technology",
imagePath: "/TeamPics/john image.jpg",
},
];

// Define other team member rows similarly
const teamMembersSecondRow = [
{
name: "Xenia Khusid",
role: "Director of Logistics",
imagePath: "/TeamPics/xenia image.jpg",
},
{
name: "Adwait Naware",
role: "Director of Finance",
imagePath: "/TeamPics/adwait image.jpg",
},
{
name: "Sanay Tralshawala",
role: "Director of Sponsorship",
imagePath: "/TeamPics/sanay image.png",
},
{
name: "Miranda Zheng",
role: "Director of Marketing",
imagePath: "/TeamPics/miranda image.jpg",
},
];

const jrTeamMembersFirstRow = [
{
name: "CJ Marino",
role: "Junior Director of Logistics",
imagePath: "/TeamPics/cj image.jpg",
},
{
name: "Grace Hui",
role: "Junior Director of Finance",
imagePath: "/TeamPics/grace image.jpg",
},
];

const jrTeamMembersSecondRow = [
{
name: "Heman Kolla",
role: "Junior Director of Sponsorship",
imagePath: "/TeamPics/heman image.jpg",
},
{
name: "Amanda Ruan",
role: "Junior Director of Marketing",
imagePath: "/TeamPics/amanda image.jpeg",
},
{
name: "Cooper Werner",
role: "Junior Director of Technology",
imagePath: "/TeamPics/cooper image.jpg",
},
];

return (
<div className="flex flex-col w-full justify-start items-center bg-gradient-to-b">
<NavBar showOnScroll={false} />
<br />
<br />
<div className="p-8">
CooperW824 marked this conversation as resolved.
Show resolved Hide resolved
<h1 className="my-5 text-white font-helvetica text-center text-4xl font-bold">Meet The Team!</h1>
<h2 className="my-5 text-white font-helvetica text-center text-2xl">MEET THE DIRECTORS</h2>
<div className="flex flex-wrap justify-center">
{teamMembersFirstRow.map((member, index) => (
<div key={index} className="flex flex-col items-center justify-center text-center mx-4 mb-4">
<Image
src={member.imagePath}
alt={member.name}
className="w-48 h-48 object-cover rounded-full" // Adjusted size
width={500} // Adjusted size
height={500} // Adjusted size
/>
<h3 className="text-lg text-white font-semibold">{member.name}</h3>
<p className="font-bold text-green-400">{member.role}</p>
</div>
))}
</div>

<div className="flex flex-wrap justify-center">
{teamMembersSecondRow.map((member, index) => (
<div key={index} className="flex flex-col items-center justify-center text-center mx-4 mb-4">
<Image
src={member.imagePath}
alt={member.name}
className="w-48 h-48 object-cover rounded-full" // Adjusted size
width={500} // Adjusted size
height={500} // Adjusted size
/>
<h3 className="text-lg text-white font-semibold">{member.name}</h3>
<p className="font-bold text-green-400">{member.role}</p>
</div>
))}
</div>

<h2 className="my-5 text-white font-helvetica text-center text-2xl">MEET THE JUNIOR DIRECTORS</h2>
<div className="flex flex-wrap justify-center">
{jrTeamMembersFirstRow.map((member, index) => (
<div key={index} className="flex flex-col items-center justify-center text-center mx-4 mb-4">
<Image
src={member.imagePath}
alt={member.name}
className="w-48 h-48 object-cover rounded-full" // Adjusted size
width={500} // Adjusted size
height={500} // Adjusted size
/>
<h3 className="text-lg text-white font-semibold">{member.name}</h3>
<p className="font-bold text-green-400">{member.role}</p>
</div>
))}
</div>

<div className="flex flex-wrap justify-center">
{jrTeamMembersSecondRow.map((member, index) => (
<div key={index} className="flex flex-col items-center justify-center text-center mx-4 mb-4">
<Image
src={member.imagePath}
alt={member.name}
className="w-48 h-48 object-cover rounded-full" // Adjusted size
width={500} // Adjusted size
height={500} // Adjusted size
/>
<h3 className="text-lg text-white font-semibold">{member.name}</h3>
<p className="font-bold text-green-500">{member.role}</p>
</div>
))}
</div>
</div>
<Footer />
</div>
);
};

export default MeetTheTeamPage;
Binary file added public/TeamAvatars/Adwait.png
CooperW824 marked this conversation as resolved.
Show resolved Hide resolved
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/TeamAvatars/John.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/TeamAvatars/Maryellen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/TeamAvatars/Miranda.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/TeamAvatars/Raven.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/TeamAvatars/Sanay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/TeamAvatars/Xenia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/TeamPics/adwait image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/TeamPics/amanda image.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/TeamPics/cj image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/TeamPics/cooper image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/TeamPics/grace image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/TeamPics/heman image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/TeamPics/john image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/TeamPics/mel image.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/TeamPics/miranda image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/TeamPics/raven image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/TeamPics/sanay image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/TeamPics/xenia image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.