From a73fc6f0ace94bce6fb8ccff814bc8098290dd18 Mon Sep 17 00:00:00 2001 From: KeSha Smith <103616990+KeShaKreates@users.noreply.github.com> Date: Sun, 25 Sep 2022 10:44:22 -0700 Subject: [PATCH 1/3] feat : team page created --- src/pages/team.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/pages/team.tsx diff --git a/src/pages/team.tsx b/src/pages/team.tsx new file mode 100644 index 000000000..cb80f811f --- /dev/null +++ b/src/pages/team.tsx @@ -0,0 +1,12 @@ +import { FC } from 'react' +import SimpleLayout from '@layouts/Simple' + +const TeamPage: FC = () => { + return ( + +

Meet the Team

+
+ ) +} + +export default TeamPage From 78efda8fd7772842ce47108d1ef4663b147110a6 Mon Sep 17 00:00:00 2001 From: KeSha Smith <103616990+KeShaKreates@users.noreply.github.com> Date: Sun, 25 Sep 2022 10:45:45 -0700 Subject: [PATCH 2/3] feat : added my name to contributors --- CONTRIBUTORS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 222b4af75..b6bf1f021 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -21,3 +21,4 @@ By contributing to this project you agree to: - Anthony Van Ong - Jason Fritsche - Queen Raae +- KeSha Smith From 5618815c1b1d922f5e23e47b6eb3f0d65db5da9d Mon Sep 17 00:00:00 2001 From: KeSha Smith <103616990+KeShaKreates@users.noreply.github.com> Date: Sun, 25 Sep 2022 11:37:35 -0700 Subject: [PATCH 3/3] feat: member data added to team page --- src/pages/team.tsx | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/src/pages/team.tsx b/src/pages/team.tsx index cb80f811f..ac8d16a40 100644 --- a/src/pages/team.tsx +++ b/src/pages/team.tsx @@ -1,12 +1,46 @@ import { FC } from 'react' import SimpleLayout from '@layouts/Simple' +import { graphql } from 'gatsby' -const TeamPage: FC = () => { +type Props = { + data: { + allDaTeamMember: { + nodes: any[] + } + } +} +const TeamPage: FC = ({ data }) => { + const members = data.allDaTeamMember.nodes return (

Meet the Team

+
) } export default TeamPage + +export const pageQuery = graphql` + query TeamQuery { + allDaTeamMember { + nodes { + bio + name + pronouns + profilePhoto { + gatsbyImageData + } + } + } + } +`