Skip to content

Commit

Permalink
Merge pull request #278 from TreasureProject/feat/team-update
Browse files Browse the repository at this point in the history
  • Loading branch information
karelvuong authored Apr 2, 2024
2 parents fd61a43 + b490610 commit 58b3a4c
Show file tree
Hide file tree
Showing 16 changed files with 71 additions and 128 deletions.
104 changes: 54 additions & 50 deletions app/const.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,16 @@ import IconMagicImg from "../public/img/icons/Magic.svg";
import IconCommunityImg from "../public/img/icons/Community.svg";

// Team
import AndyImg from "../public/img/pfps/Andy.png";
import AnimenImg from "../public/img/pfps/Animen.png";
import AntlionImg from "../public/img/pfps/Antlion.png";
import BasImg from "../public/img/pfps/Bas.png";
import CrisisImg from "../public/img/pfps/Crisis.png";
import DanielImg from "../public/img/pfps/Daniel.png";
import DeathMonkeyImg from "../public/img/pfps/DeathMonkey.png";
import Ent1T7Img from "../public/img/pfps/ENT1T7.png";
import FrannyImg from "../public/img/pfps/Franny.png";
import GinaImg from "../public/img/pfps/Gina.png";
import JakeImg from "../public/img/pfps/Jake.png";
import JenImg from "../public/img/pfps/Jen.png";
import JohnImg from "../public/img/pfps/John.png";
import JoshImg from "../public/img/pfps/Josh.png";
Expand All @@ -109,17 +111,17 @@ import JustCheeseImg from "../public/img/pfps/JustCheese.png";
import KarelImg from "../public/img/pfps/Karel.png";
import MouseDevImg from "../public/img/pfps/MouseDev.webp";
import MulfImg from "../public/img/pfps/Mulf.png";
import NoisewarImg from "../public/img/pfps/Noisewar.png";
import PeitaImg from "../public/img/pfps/Peita.png";
import PeterImg from "../public/img/pfps/Peter.webp";
import PreeminentImg from "../public/img/pfps/Preeminent.png";
import RappzulaImg from "../public/img/pfps/Rappzula.png";
import SambinoImg from "../public/img/pfps/Sambino.png";
import T1DevImg from "../public/img/pfps/t1dev.png";
import RaeImg from "../public/img/pfps/Rae.png";
import VinnyImg from "../public/img/pfps/Vinny.png";
import XImg from "../public/img/pfps/X_.webp";
import ZakImg from "../public/img/pfps/Zak.png";
import RayhaanImg from "../public/img/pfps/Rayhaan.png";
import WagingBullImg from "../public/img/pfps/Wagingbull.png";
import YenImg from "../public/img/pfps/Yen.png";
import YuriImg from "../public/img/pfps/Yuri.png";
import DefaultImg from "../public/img/pfps/default.png";

Expand Down Expand Up @@ -204,7 +206,14 @@ export const teamMembers = [
discordLink: "https://discordapp.com/users/864206375492124702",
twitterLink: "https://twitter.com/GinaBlaster",
image: GinaImg,
team: "Core",
team: "Creative",
},
{
name: "Peter DiCicco",
title: "Narrative Director",
twitterLink: "https://twitter.com/PeterDiCicco",
image: PeterImg,
team: "Creative",
},
{
name: "Peita",
Expand All @@ -230,6 +239,12 @@ export const teamMembers = [
image: ZakImg,
team: "Creative",
},
{
name: "daniel",
title: "Brand Designer",
image: DanielImg,
team: "Creative",
},
{
name: "Jen Stuber",
title: "Community Manager",
Expand All @@ -254,25 +269,39 @@ export const teamMembers = [
image: XImg,
team: "Marketing",
},
{
name: "DeathMonkey",
title: "Social Content Creator",
discordLink: "https://discordapp.com/users/221421997488340993",
twitterLink: "https://twitter.com/deathorcrypto",
image: DeathMonkeyImg,
team: "Marketing",
},
{
name: "andy",
title: "Principal Artist",
image: AndyImg,
team: "Creative",
},
{
name: "Yen",
title: "Artist",
twitterLink: "https://twitter.com/YenLeeArt",
image: DefaultImg,
image: YenImg,
team: "Creative",
},
{
name: "Rae",
title: "People Operations Consultant",
image: RaeImg,
team: "Operations",
name: "noisewar",
title: "Executive Producer",
discordLink: "https://discordapp.com/users/344520580290052096",
twitterLink: "https://twitter.com/warandnoise",
image: NoisewarImg,
team: "Product & Engineering",
},
{
name: "Simmayor",
name: "jon",
title: "Product Manager",
discordLink: "https://discordapp.com/users/366404971354390533",
twitterLink: "https://twitter.com/SimMay0r",
image: JakeImg,
image: DefaultImg,
team: "Product & Engineering",
},
{
Expand All @@ -284,7 +313,7 @@ export const teamMembers = [
team: "Product & Engineering",
},
{
name: "Rappzula",
name: "rappzula",
title: "Full-Stack Engineer",
discordLink: "https://discordapp.com/users/690989750127165581",
twitterLink: "https://twitter.com/0xrappzula",
Expand All @@ -300,7 +329,7 @@ export const teamMembers = [
team: "Product & Engineering",
},
{
name: "Frannyverse",
name: "frannyverse",
title: "Front-End Engineer",
discordLink: "https://discordapp.com/users/766502243699523615",
twitterLink: "https://twitter.com/fr4nnyverse",
Expand All @@ -316,15 +345,7 @@ export const teamMembers = [
team: "Product & Engineering",
},
{
name: "t1dev",
title: "Solidity Developer",
discordLink: "https://discordapp.com/users/175078706136612864",
twitterLink: "https://twitter.com/pr0zy",
image: T1DevImg,
team: "Product & Engineering",
},
{
name: "Crisis",
name: "crisis",
title: "Full-Stack Engineer",
discordLink: "https://discordapp.com/users/351558969568788482",
twitterLink: "https://twitter.com/crisidot",
Expand Down Expand Up @@ -385,33 +406,16 @@ export const teamMembers = [
image: AnimenImg,
team: "Smol",
},
{
name: "Rayhaan",
title: "Community Manager",
discordLink: "https://discordapp.com/users/240658497207926784",
twitterLink: "https://twitter.com/rayhaan_jay",
image: RayhaanImg,
team: "Smol",
},
];

export const teamCore = teamMembers.filter((member) => member.team === "Core");
export const teamCreative = teamMembers.filter(
(member) => member.team === "Creative"
);
export const teamMarketing = teamMembers.filter(
(member) => member.team === "Marketing"
);
export const teamProduct = teamMembers.filter(
(member) => member.team === "Product & Engineering"
);
export const teamEcosystem = teamMembers.filter(
(member) => member.team === "Ecosystem"
);
export const teamSmol = teamMembers.filter((member) => member.team === "Smol");
export const teamOperations = teamMembers.filter(
(member) => member.team === "Operations"
);
export const teams = [
"Core",
"Creative",
"Marketing",
"Product & Engineering",
"Ecosystem",
"Smol",
];

export type MemberT = (typeof teamMembers)[number];

Expand Down
95 changes: 17 additions & 78 deletions app/routes/team.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,7 @@ import { Badge } from "~/components/Badge";
import { CTAButton } from "~/components/Button";
import { DiscordIcon, XIcon } from "~/components/Icons";
import type { MemberT } from "~/const";
import {
teamCore,
teamEcosystem,
teamCreative,
teamMarketing,
teamProduct,
teamSmol,
teamOperations,
} from "~/const";
import { teams, teamMembers } from "~/const";
import classNames from "clsx";
import TreasureTeamImg from "@/img/TreasureTeam.webp";
import DefaultPfpImg from "@/img/pfps/default.png";
Expand Down Expand Up @@ -125,76 +117,23 @@ export default function Team() {
</div>
</div>
<div className="relative space-y-16 bg-honey-100 py-16 sm:py-24">
<div className="mx-auto max-w-3xl px-8 sm:px-6 lg:max-w-9xl lg:px-12">
<p className="mb-4 text-left text-2xl font-bold text-night-900 sm:mt-0 sm:text-4xl md:mb-8">
Core
</p>
<div className="grid grid-cols-2 gap-4 md:grid-cols-3 md:gap-4 lg:grid-cols-5">
{teamCore.map((member) => (
<TeamCard key={member.name} member={member} />
))}
</div>
</div>
<div className="mx-auto max-w-3xl px-8 sm:px-6 lg:max-w-9xl lg:px-12">
<p className="mb-4 text-left text-2xl font-bold text-night-900 sm:mt-0 sm:text-4xl md:mb-8">
Ecosystem
</p>
<div className="grid grid-cols-2 gap-4 md:grid-cols-3 md:gap-4 lg:grid-cols-5">
{teamEcosystem.map((member) => (
<TeamCard key={member.name} member={member} />
))}
</div>
</div>
<div className="mx-auto max-w-3xl px-8 sm:px-6 lg:max-w-9xl lg:px-12">
<p className="mb-4 text-left text-2xl font-bold text-night-900 sm:mt-0 sm:text-4xl md:mb-8">
Creative
</p>
<div className="grid grid-cols-2 gap-4 md:grid-cols-3 md:gap-4 lg:grid-cols-5">
{teamCreative.map((member) => (
<TeamCard key={member.name} member={member} />
))}
</div>
</div>
<div className="mx-auto max-w-3xl px-8 sm:px-6 lg:max-w-9xl lg:px-12">
<p className="mb-4 text-left text-2xl font-bold text-night-900 sm:mt-0 sm:text-4xl md:mb-8">
Product & Engineering
</p>
<div className="grid grid-cols-2 gap-4 md:grid-cols-3 md:gap-4 lg:grid-cols-5">
{teamProduct.map((member) => (
<TeamCard key={member.name} member={member} />
))}
</div>
</div>
<div className="mx-auto max-w-3xl px-8 sm:px-6 lg:max-w-9xl lg:px-12">
<p className="mb-4 text-left text-2xl font-bold text-night-900 sm:mt-0 sm:text-4xl md:mb-8">
Marketing
</p>
<div className="grid grid-cols-2 gap-4 md:grid-cols-3 md:gap-4 lg:grid-cols-5">
{teamMarketing.map((member) => (
<TeamCard key={member.name} member={member} />
))}
</div>
</div>
<div className="mx-auto max-w-3xl px-8 sm:px-6 lg:max-w-9xl lg:px-12">
<p className="mb-4 text-left text-2xl font-bold text-night-900 sm:mt-0 sm:text-4xl md:mb-8">
Smol
</p>
<div className="grid grid-cols-2 gap-4 md:grid-cols-3 md:gap-4 lg:grid-cols-5">
{teamSmol.map((member) => (
<TeamCard key={member.name} member={member} />
))}
</div>
</div>
<div className="mx-auto max-w-3xl px-8 sm:px-6 lg:max-w-9xl lg:px-12">
<p className="mb-4 text-left text-2xl font-bold text-night-900 sm:mt-0 sm:text-4xl md:mb-8">
Operations
</p>
<div className="grid grid-cols-2 gap-4 md:grid-cols-3 md:gap-4 lg:grid-cols-5">
{teamOperations.map((member) => (
<TeamCard key={member.name} member={member} />
))}
{teams.map((team) => (
<div
key={team}
className="mx-auto max-w-3xl px-8 sm:px-6 lg:max-w-9xl lg:px-12"
>
<p className="mb-4 text-left text-2xl font-bold text-night-900 sm:mt-0 sm:text-4xl md:mb-8">
{team}
</p>
<div className="grid grid-cols-2 gap-4 md:grid-cols-3 md:gap-4 lg:grid-cols-5">
{teamMembers
.filter((member) => member.team === team)
.map((member) => (
<TeamCard key={member.name} member={member} />
))}
</div>
</div>
</div>
))}
</div>
<div className="relative bg-honey-200 py-16 sm:py-24">
<div className="mx-auto max-w-3xl px-8 sm:px-6 lg:max-w-9xl lg:px-12">
Expand Down
Binary file added public/img/pfps/Andy.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 removed public/img/pfps/Archang.png
Binary file not shown.
Binary file removed public/img/pfps/Bahama.png
Binary file not shown.
Binary file added public/img/pfps/Daniel.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/img/pfps/DeathMonkey.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 removed public/img/pfps/Jake.png
Binary file not shown.
Binary file added public/img/pfps/Noisewar.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/img/pfps/Peter.webp
Binary file not shown.
Binary file removed public/img/pfps/Pixelmat.png
Binary file not shown.
Binary file removed public/img/pfps/PurpleSnow.png
Binary file not shown.
Binary file removed public/img/pfps/Rae.png
Binary file not shown.
Binary file removed public/img/pfps/Rayhaan.png
Binary file not shown.
Binary file added public/img/pfps/Yen.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 removed public/img/pfps/t1dev.png
Binary file not shown.

0 comments on commit 58b3a4c

Please sign in to comment.