Skip to content

Commit

Permalink
Merge pull request #248 from TreasureProject/refresh-stale-info
Browse files Browse the repository at this point in the history
Update nav link + team title
  • Loading branch information
karelvuong authored Nov 10, 2023
2 parents 62dae17 + dc966c1 commit 881c2e3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 15 deletions.
8 changes: 4 additions & 4 deletions app/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ export const Header = () => {
to="https://app.treasure.lol"
rel="noopener noreferrer"
target="_blank"
className="inline-flex items-center space-x-2 rounded-lg border border-transparent bg-ruby-900 py-3.25 px-6.5 text-base font-bold text-white hover:bg-ruby-1000"
className="inline-flex items-center space-x-2 rounded-lg border border-transparent bg-ruby-900 py-3.25 px-6.5 text-lg font-bold text-white hover:bg-ruby-1000"
>
Start Playing!
Play Now
</Link>
</div>
</div>
Expand Down Expand Up @@ -317,9 +317,9 @@ export const Header = () => {
to="https://app.treasure.lol"
rel="noopener noreferrer"
target="_blank"
className="inline-flex w-full items-center justify-center space-x-2 rounded-lg border border-transparent bg-ruby-900 py-3.25 px-6.5 text-base font-bold text-white hover:bg-ruby-1000"
className="inline-flex w-full items-center justify-center space-x-2 rounded-lg border border-transparent bg-ruby-900 py-3.25 px-6.5 text-lg font-bold text-white hover:bg-ruby-1000"
>
Start Playing!
Play Now
</Link>
</div>
</div>
Expand Down
14 changes: 6 additions & 8 deletions app/const.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,39 +172,39 @@ export const teamMembers = [
discordLink: "https://discordapp.com/users/397537602988670977",
twitterLink: "https://twitter.com/karelvuong",
image: KarelImg,
team: "Leadership",
team: "Core",
},
{
name: "John Patten",
title: "Co-Founder",
discordLink: "https://discordapp.com/users/882718244920754238",
twitterLink: "https://twitter.com/jpatten__",
image: JohnImg,
team: "Leadership",
team: "Core",
},
{
name: "Yuri Visser",
title: "CTO",
discordLink: "https://discordapp.com/users/554674918562988072",
twitterLink: "https://twitter.com/aphexyuri",
image: YuriImg,
team: "Leadership",
team: "Core",
},
{
name: "Sam Udeschini",
title: "Head of Marketing",
discordLink: "https://discordapp.com/users/864206375492124702",
twitterLink: "https://twitter.com/sambino_eth",
image: SambinoImg,
team: "Leadership",
team: "Core",
},
{
name: "Gina Snoke",
title: "Head of Art",
discordLink: "https://discordapp.com/users/864206375492124702",
twitterLink: "https://twitter.com/GinaBlaster",
image: GinaImg,
team: "Leadership",
team: "Core",
},
{
name: "Peita",
Expand Down Expand Up @@ -395,9 +395,7 @@ export const teamMembers = [
},
];

export const teamLeadership = teamMembers.filter(
(member) => member.team === "Leadership"
);
export const teamCore = teamMembers.filter((member) => member.team === "Core");
export const teamCreative = teamMembers.filter(
(member) => member.team === "Creative"
);
Expand Down
6 changes: 3 additions & 3 deletions app/routes/team.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { CTAButton } from "~/components/Button";
import { DiscordIcon, XIcon } from "~/components/Icons";
import type { MemberT } from "~/const";
import {
teamLeadership,
teamCore,
teamEcosystem,
teamCreative,
teamMarketing,
Expand Down Expand Up @@ -127,10 +127,10 @@ export default function Team() {
<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">
Leadership
Core
</p>
<div className="grid grid-cols-2 gap-4 md:grid-cols-3 md:gap-4 lg:grid-cols-5">
{teamLeadership.map((member) => (
{teamCore.map((member) => (
<TeamCard key={member.name} member={member} />
))}
</div>
Expand Down

0 comments on commit 881c2e3

Please sign in to comment.