Skip to content

Commit

Permalink
feat: anvil champions update #3515 (#3521)
Browse files Browse the repository at this point in the history
  • Loading branch information
MillenniumFalconMechanic authored Jan 23, 2025
1 parent cf03ac7 commit b9f7141
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 7 deletions.
16 changes: 9 additions & 7 deletions components/Champions/champions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ export const Champions = (): JSX.Element => {
return (
<Grid2 {...GRID2_PROPS}>
{ANVIL_CHAMPIONS.map(({ media, secondaryText, title }, i) => (
<StyledCard key={i} component={RoundedPaper}>
{media && <StaticImage {...media} />}
<div>
<CardTitle>{title}</CardTitle>
<Typography {...TYPOGRAPHY_PROPS}>{secondaryText}</Typography>
</div>
</StyledCard>
<Grid2 size={{ sm: 6, xs: 12 }} key={i}>
<StyledCard component={RoundedPaper}>
{media && <StaticImage {...media} />}
<div>
<CardTitle>{title}</CardTitle>
<Typography {...TYPOGRAPHY_PROPS}>{secondaryText}</Typography>
</div>
</StyledCard>
</Grid2>
))}
</Grid2>
);
Expand Down
29 changes: 29 additions & 0 deletions components/Champions/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,33 @@ export const ANVIL_CHAMPIONS: CardProps[] = [
secondaryText: "Columbia University, eMERGE",
title: "Atlas Khan",
},
{
media: {
alt: "Christopher Doss",
src: "/consortia/team/christopherDoss.png",
width: 80,
},
secondaryText:
"North Carolina Agricultural and Technical State University, GRADS-4C",
title: "Christopher Doss",
},
{
media: {
alt: "Christopher Mancuso",
src: "/consortia/team/christopherMancuso.png",
width: 80,
},
secondaryText: "Colorado University, MONET",
title: "Christopher Mancuso",
},
{
media: {
alt: "Nuwan Goonasekera",
src: "/consortia/team/nuwanGoonasekera.png",
width: 80,
},
secondaryText:
"Melbourne Bioinformatics and University of Melbourne, Galaxy",
title: "Nuwan Goonasekera",
},
];
Binary file added public/consortia/team/christopherDoss.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/consortia/team/christopherMancuso.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/consortia/team/nuwanGoonasekera.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b9f7141

Please sign in to comment.