summaryrefslogtreecommitdiff
path: root/src/components/CommitteeList/CommitteeList.astro
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-10-13 21:26:13 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-10-13 21:26:13 +0100
commit796fdeed465f8a4f9d4aaaaf9ddf448f91e901e6 (patch)
tree689207e496fc25b7cb1d33004194bb9f9a14d102 /src/components/CommitteeList/CommitteeList.astro
parent8b2d91cb1cdff722bb4913c8f023c6cd16801e5c (diff)
Pulls out CommitteeList component
Diffstat (limited to 'src/components/CommitteeList/CommitteeList.astro')
-rw-r--r--src/components/CommitteeList/CommitteeList.astro8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/components/CommitteeList/CommitteeList.astro b/src/components/CommitteeList/CommitteeList.astro
new file mode 100644
index 0000000..f576c9a
--- /dev/null
+++ b/src/components/CommitteeList/CommitteeList.astro
@@ -0,0 +1,8 @@
+---
+import committee from '$data/committee';
+import CommitteeListItem from './CommitteeListItem.astro';
+---
+
+<ul>
+ {committee.map((committeeMember) => <CommitteeListItem committeeMember={committeeMember} />)}
+</ul>