Update team name to Community Representatives (#478)
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
The "Community Coordinators", formerly the "Class Representatives", have requested to change their team name on the website to "Community Representatives". Co-authored-by: Amy <a258wang@uwaterloo.ca> Reviewed-on: #478 Reviewed-by: Shahan Neda <snedadah@csclub.uwaterloo.ca>
This commit is contained in:
parent
7f9706a1b5
commit
0a30564750
|
@ -16,13 +16,13 @@ import {
|
||||||
getMemberImagePath,
|
getMemberImagePath,
|
||||||
} from "@/lib/team";
|
} from "@/lib/team";
|
||||||
|
|
||||||
import coordinatorsData from "../../content/team/coordinators-team.json";
|
|
||||||
import designData from "../../content/team/design-team.json";
|
import designData from "../../content/team/design-team.json";
|
||||||
import discordData from "../../content/team/discord-team.json";
|
import discordData from "../../content/team/discord-team.json";
|
||||||
import eventsData from "../../content/team/events-team.json";
|
import eventsData from "../../content/team/events-team.json";
|
||||||
import externalData from "../../content/team/external-affairs-team.json";
|
import externalData from "../../content/team/external-affairs-team.json";
|
||||||
import marketingData from "../../content/team/marketing-team.json";
|
import marketingData from "../../content/team/marketing-team.json";
|
||||||
import photographyData from "../../content/team/photography-team.json";
|
import photographyData from "../../content/team/photography-team.json";
|
||||||
|
import repsData from "../../content/team/representatives-team.json";
|
||||||
import systemsData from "../../content/team/systems-committee.json";
|
import systemsData from "../../content/team/systems-committee.json";
|
||||||
import terminalData from "../../content/team/terminal-committee.json";
|
import terminalData from "../../content/team/terminal-committee.json";
|
||||||
import webData from "../../content/team/web-committee.json";
|
import webData from "../../content/team/web-committee.json";
|
||||||
|
@ -36,13 +36,13 @@ interface SerializedExec {
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
execs: SerializedExec[];
|
execs: SerializedExec[];
|
||||||
coordinators: Metadata[];
|
|
||||||
design: Metadata[];
|
design: Metadata[];
|
||||||
discord: Metadata[];
|
discord: Metadata[];
|
||||||
events: Metadata[];
|
events: Metadata[];
|
||||||
external: Metadata[];
|
external: Metadata[];
|
||||||
marketing: Metadata[];
|
marketing: Metadata[];
|
||||||
photography: Metadata[];
|
photography: Metadata[];
|
||||||
|
representatives: Metadata[];
|
||||||
website: Metadata[];
|
website: Metadata[];
|
||||||
systems: Metadata[];
|
systems: Metadata[];
|
||||||
terminal: Metadata[];
|
terminal: Metadata[];
|
||||||
|
@ -50,22 +50,22 @@ interface Props {
|
||||||
|
|
||||||
export default function Team({
|
export default function Team({
|
||||||
execs,
|
execs,
|
||||||
coordinators,
|
|
||||||
design,
|
design,
|
||||||
discord,
|
discord,
|
||||||
events,
|
events,
|
||||||
external,
|
external,
|
||||||
marketing,
|
marketing,
|
||||||
photography,
|
photography,
|
||||||
|
representatives,
|
||||||
website,
|
website,
|
||||||
systems,
|
systems,
|
||||||
terminal,
|
terminal,
|
||||||
}: Props) {
|
}: Props) {
|
||||||
const teams = [
|
const teams = [
|
||||||
{
|
{
|
||||||
id: "coordinators",
|
id: "reps",
|
||||||
name: "Community Coordinators",
|
name: "Community Representatives",
|
||||||
members: coordinators,
|
members: representatives,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "design",
|
id: "design",
|
||||||
|
@ -122,7 +122,7 @@ export default function Team({
|
||||||
<h1 className={styles.header}>Meet the Team!</h1>
|
<h1 className={styles.header}>Meet the Team!</h1>
|
||||||
<div className={styles.nav}>
|
<div className={styles.nav}>
|
||||||
<Link href="#execs">The Executives</Link>
|
<Link href="#execs">The Executives</Link>
|
||||||
<Link href="#coordinators">Community Coordinators</Link>
|
<Link href="#reps">Community Representatives</Link>
|
||||||
<Link href="#design">Design</Link>
|
<Link href="#design">Design</Link>
|
||||||
<Link href="#discord">Discord</Link>
|
<Link href="#discord">Discord</Link>
|
||||||
<Link href="#events">Events</Link>
|
<Link href="#events">Events</Link>
|
||||||
|
@ -233,35 +233,35 @@ export const getStaticProps: GetStaticProps<Props> = async () => {
|
||||||
)) as SerializedExec[];
|
)) as SerializedExec[];
|
||||||
|
|
||||||
let [
|
let [
|
||||||
coordinators,
|
|
||||||
design,
|
design,
|
||||||
discord,
|
discord,
|
||||||
events,
|
events,
|
||||||
external,
|
external,
|
||||||
marketing,
|
marketing,
|
||||||
photography,
|
photography,
|
||||||
|
representatives,
|
||||||
website,
|
website,
|
||||||
systems,
|
systems,
|
||||||
terminal,
|
terminal,
|
||||||
] = await Promise.all([
|
] = await Promise.all([
|
||||||
getTeamWithImages(coordinatorsData),
|
|
||||||
getTeamWithImages(designData),
|
getTeamWithImages(designData),
|
||||||
getTeamWithImages(discordData),
|
getTeamWithImages(discordData),
|
||||||
getTeamWithImages(eventsData),
|
getTeamWithImages(eventsData),
|
||||||
getTeamWithImages(externalData),
|
getTeamWithImages(externalData),
|
||||||
getTeamWithImages(marketingData),
|
getTeamWithImages(marketingData),
|
||||||
getTeamWithImages(photographyData),
|
getTeamWithImages(photographyData),
|
||||||
|
getTeamWithImages(repsData),
|
||||||
getTeamWithImages(webData),
|
getTeamWithImages(webData),
|
||||||
getTeamWithImages(systemsData),
|
getTeamWithImages(systemsData),
|
||||||
getTeamWithImages(terminalData),
|
getTeamWithImages(terminalData),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
coordinators = sortTeam(coordinators);
|
|
||||||
design = sortTeam(design);
|
design = sortTeam(design);
|
||||||
discord = sortTeam(discord);
|
discord = sortTeam(discord);
|
||||||
events = sortTeam(events);
|
events = sortTeam(events);
|
||||||
external = sortTeam(external);
|
external = sortTeam(external);
|
||||||
marketing = sortTeam(marketing);
|
marketing = sortTeam(marketing);
|
||||||
|
representatives = sortTeam(representatives);
|
||||||
photography = sortTeam(photography);
|
photography = sortTeam(photography);
|
||||||
website = sortTeam(website);
|
website = sortTeam(website);
|
||||||
systems = sortTeam(systems);
|
systems = sortTeam(systems);
|
||||||
|
@ -270,13 +270,13 @@ export const getStaticProps: GetStaticProps<Props> = async () => {
|
||||||
return {
|
return {
|
||||||
props: {
|
props: {
|
||||||
execs,
|
execs,
|
||||||
coordinators,
|
|
||||||
design,
|
design,
|
||||||
discord,
|
discord,
|
||||||
events,
|
events,
|
||||||
external,
|
external,
|
||||||
marketing,
|
marketing,
|
||||||
photography,
|
photography,
|
||||||
|
representatives,
|
||||||
website,
|
website,
|
||||||
systems,
|
systems,
|
||||||
terminal,
|
terminal,
|
||||||
|
|
Loading…
Reference in New Issue