Skip to content

Commit

Permalink
Redoing for students (#143)
Browse files Browse the repository at this point in the history
* Update expected knowledge for developer interviews

* changed email on file and fixed header

* changed member roles

* changed taglien

* ne tagline

* added collapsible sections to the 'for students' page

* fixed linting

---------

Co-authored-by: Justin Yao Du <[email protected]>
  • Loading branch information
navidboloorian and justinyaodu authored Aug 16, 2023
1 parent aaa40a7 commit b70fe40
Show file tree
Hide file tree
Showing 7 changed files with 125 additions and 45 deletions.
4 changes: 1 addition & 3 deletions components/AboutTabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ function Members() {
}

function Alumni() {
let yearsAndAlumni = groupBy(allAlumni, (alumnus) => alumnus.graduation).reverse();
// TODO: dirty hack to move TEST to the bottom for now
yearsAndAlumni = [...yearsAndAlumni.slice(1), yearsAndAlumni[0]];
const yearsAndAlumni = groupBy(allAlumni, (alumnus) => alumnus.graduation).reverse();
return (
<>
{yearsAndAlumni.map(([graduation, alumni]) => (
Expand Down
27 changes: 27 additions & 0 deletions components/CollapsibleSection.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
.title {
display: flex;
align-items: center;
height: 60px;
cursor: pointer;
}

.title h2 {
display: inline;
padding: 0px;
margin: 0px;
margin-left: 10px;
}

.facingDown {
transform: rotate(90deg);
}

.collapsed {
height: 0px;
overflow: hidden;
}

.arrow {
font-size: 100;
transition: 300ms ease all;
}
31 changes: 31 additions & 0 deletions components/CollapsibleSection.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import classNames from "classnames";
import React, { useState } from "react";
import { BsArrowRightCircle } from "react-icons/bs";

import styles from "./CollapsibleSection.module.scss";

interface CollapsibleSectionProps {
title: string;
children: React.ReactNode;
}

export default function CollapsibleSection({ title, children }: CollapsibleSectionProps) {
const [isOpen, setIsOpen] = useState(false);

const toggle = () => {
setIsOpen(!isOpen);
};

return (
<>
<div className={styles.title} onClick={toggle} onKeyDown={toggle} role="presentation">
<BsArrowRightCircle
className={classNames(styles.arrow, isOpen ? styles.facingDown : null)}
size={40}
/>
<h2>{title}</h2>
</div>
<div className={classNames(isOpen ? null : styles.collapsed)}>{children}</div>
</>
);
}
50 changes: 37 additions & 13 deletions data/people.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ const constPeople = [
{
name: "Anoushka Dave",
roles: ["Developer", "VP Operations", "President"],
graduation: 2023,
},
{
name: "Reyna Abhyankar",
Expand Down Expand Up @@ -309,10 +310,12 @@ const constPeople = [
{
name: "Rachel Blumin",
roles: ["Designer"],
graduation: 2023,
},
{
name: "Rickie Chen",
roles: ["Designer", "TEST Design Lead"],
graduation: 2023,
},
{
name: "Thomas Li",
Expand All @@ -337,6 +340,7 @@ const constPeople = [
{
name: "Aksharan Saravanan",
roles: ["Developer"],
graduation: 2023,
},
{
name: "Alejandro Rodriguez Pascual",
Expand Down Expand Up @@ -427,7 +431,7 @@ const constPeople = [
},
{
name: "Navid Boloorian",
roles: ["Developer", "Engineering Manager"],
roles: ["Developer", "Engineering Manager", "President"],
},
{
name: "Nicholas Vanny",
Expand All @@ -442,6 +446,7 @@ const constPeople = [
{
name: "Nirmal Agnihotri",
roles: ["Developer", "Engineering Manager"],
graduation: 2023,
},
{
name: "Patrick Brown",
Expand All @@ -455,6 +460,7 @@ const constPeople = [
{
name: "Rohan Puthukudy",
roles: ["Developer", "TEST Developer Lead"],
graduation: 2023,
},
{
name: "Rohith Kasar",
Expand All @@ -474,6 +480,7 @@ const constPeople = [
{
name: "Shravan Konduru",
roles: ["Developer", "VP Operations"],
graduation: 2023,
},
{
name: "Stephen Tan",
Expand Down Expand Up @@ -516,6 +523,7 @@ const constPeople = [
{
name: "Alex Zhang",
roles: ["Developer", "Engineering Manager"],
hidden: true,
},
{
name: "Kevin Fu",
Expand Down Expand Up @@ -576,10 +584,12 @@ const constPeople = [
{
name: "Nishant Balaji",
roles: ["Developer"],
hidden: true,
},
{
name: "Aman Aggarwal",
roles: ["Developer", "Engineering Manager"],
graduation: 2023,
},
{
name: "Parth Patel",
Expand All @@ -588,6 +598,7 @@ const constPeople = [
{
name: "Assaf Cohen-Arazi",
roles: ["Developer", "Engineering Manager"],
graduation: 2023,
},
{
name: "Ryan Hung",
Expand Down Expand Up @@ -616,14 +627,17 @@ const constPeople = [
{
name: "Jonathan Lum",
roles: ["Designer"],
graduation: 2023,
},
{
name: "Juliet Zhuang",
roles: ["Designer", "Marketing Lead"],
graduation: 2023,
},
{
name: "Tracey Du",
roles: ["Designer"],
hidden: true,
},
{
name: "Mrinal Sharma",
Expand All @@ -636,42 +650,42 @@ const constPeople = [
},
{
name: "Annie Wen",
roles: ["Product Manager"],
roles: ["Product Manager", "Designer"],
},
{
name: " Casey Toy",
name: "Casey Toy",
roles: ["TEST Developer"],
graduation: "TEST",
graduation: 2022,
},
{
name: "Sage Amon",
roles: ["TEST Developer"],
graduation: "TEST",
graduation: 2022,
},
{
name: "Abel Seyoum",
roles: ["TEST Developer"],
graduation: "TEST",
graduation: 2022,
},
{
name: "Garrett Lam",
roles: ["TEST Developer"],
graduation: "TEST",
graduation: 2022,
},
{
name: "Eric Shults",
roles: ["TEST Developer"],
graduation: "TEST",
graduation: 2022,
},
{
name: "Alicia Danielle",
roles: ["TEST Developer"],
graduation: "TEST",
graduation: 2022,
},
{
name: "Frances Sy",
roles: ["TEST Designer"],
graduation: "TEST",
graduation: 2022,
},
{
name: "Aska Kunita Demirci",
Expand All @@ -680,7 +694,7 @@ const constPeople = [
{
name: "Annie Ye",
roles: ["TEST Designer"],
graduation: "TEST",
graduation: 2022,
},
{
name: "Nhu Luong",
Expand Down Expand Up @@ -742,6 +756,7 @@ const constPeople = [
{
name: "Fatima Dong",
roles: ["TEST Developer"],
graduation: 2023,
},
{
name: "Harsh Gurnani",
Expand All @@ -758,10 +773,12 @@ const constPeople = [
{
name: "Jared Rosas",
roles: ["TEST Developer"],
graduation: 2023,
},
{
name: "Jennifer Chen",
roles: ["Developer"],
graduation: 2023,
},
{
name: "Jennifer Tanurdjaja",
Expand All @@ -778,6 +795,7 @@ const constPeople = [
{
name: "Kacy Umana",
roles: ["TEST Developer"],
graduation: 2023,
},
{
name: "Kevin Do",
Expand All @@ -786,6 +804,7 @@ const constPeople = [
{
name: "Laura Liu",
roles: ["TEST Designer"],
graduation: 2023,
},
{
name: "Lillian Ho",
Expand Down Expand Up @@ -833,7 +852,7 @@ const constPeople = [
},
{
name: "Vivian Liu",
roles: ["Developer"],
roles: ["Developer", "VP Operations"],
},
{
name: "Yash Ravipati",
Expand All @@ -842,22 +861,26 @@ const constPeople = [
{
name: "Madison Plotkin",
roles: ["TEST Designer"],
graduation: 2023,
},
{
name: "Mandy Lai",
roles: ["Designer"],
roles: ["Designer", "Marketing Lead"],
},
{
name: "Melanie Haro",
roles: ["TEST Developer"],
graduation: 2023,
},
{
name: "Omar Khalil",
roles: ["TEST Designer"],
graduation: 2023,
},
{
name: "Rosario Ortiz",
roles: ["TEST Developer"],
graduation: 2023,
},
{
name: "Shana Chen",
Expand All @@ -874,6 +897,7 @@ const constPeople = [
{
name: "Yoto Kim",
roles: ["TEST Developer"],
graduation: 2023,
},
] as const;
type PersonName = typeof constPeople[number]["name"];
Expand Down
2 changes: 1 addition & 1 deletion images/all-images.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Do not edit. Automatically generated by generate.ts
const allImages = {
"clients/alum_for_northwood": { width: 100, height: 100, maxSize: 128, extension: ".png" },
"clients/call_blackline": { width: 512, height: 67, maxSize: 640, extension: ".jpg" },
"clients/call_blackline": { width: 1460, height: 186, maxSize: 1920, extension: ".png" },
"clients/center_for_community_health": { width: 940, height: 192, maxSize: 1080, extension: ".png" },
"clients/dynamics_performance_team": { width: 1312, height: 1312, maxSize: 1920, extension: ".jpg" },
"clients/feeding_san_diego": { width: 2550, height: 1220, maxSize: 1920, extension: ".png" },
Expand Down
2 changes: 1 addition & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default function Home() {
{markdown`
# Triton Software Engineering
Crafting digital solutions for the community around us.
Crafting digital solutions for nonprofit organizations in our community.
`}
</div>
</Hero>
Expand Down
Loading

0 comments on commit b70fe40

Please sign in to comment.