From 73bf65a640c208784f0127c2943fbbe44d77684a Mon Sep 17 00:00:00 2001 From: chark1es Date: Sat, 21 Dec 2024 15:36:12 -0800 Subject: [PATCH] add annual projects component --- src/components/projects/ProjectSection.astro | 135 +++++++++++++++++++ 1 file changed, 135 insertions(+) create mode 100644 src/components/projects/ProjectSection.astro diff --git a/src/components/projects/ProjectSection.astro b/src/components/projects/ProjectSection.astro new file mode 100644 index 0000000..37f1720 --- /dev/null +++ b/src/components/projects/ProjectSection.astro @@ -0,0 +1,135 @@ +--- +import annualProjects from "../../data/annualProjects.json"; + +interface Props { + width?: string; +} + +const { width = "100%" } = Astro.props; +--- + +
+
+
+ { + Object.entries(annualProjects).map( + ([title, project], index) => ( + + {`${title} + +
+
+ + + +