From 76a5829af8580934520a847452c915f6e1fe99c7 Mon Sep 17 00:00:00 2001 From: Chris Basham Date: Tue, 31 Oct 2023 17:21:40 -0400 Subject: [PATCH] Work on article --- src/components/Figure.astro | 28 ++++ src/components/ImpactMapFigure.astro | 27 +++- src/content/writings/2023-11-14-practice.mdx | 141 +++++++++++++++++++ src/styles/global.css | 16 +++ 4 files changed, 208 insertions(+), 4 deletions(-) create mode 100644 src/components/Figure.astro create mode 100644 src/content/writings/2023-11-14-practice.mdx diff --git a/src/components/Figure.astro b/src/components/Figure.astro new file mode 100644 index 0000000..0959caf --- /dev/null +++ b/src/components/Figure.astro @@ -0,0 +1,28 @@ +--- +const { label } = Astro.props; +--- + +
+ {label &&
{label}
} +
+ +
+
+ + diff --git a/src/components/ImpactMapFigure.astro b/src/components/ImpactMapFigure.astro index b5c333e..a81fc9c 100644 --- a/src/components/ImpactMapFigure.astro +++ b/src/components/ImpactMapFigure.astro @@ -1,14 +1,33 @@ -
- +--- +const { label } = Astro.props; +--- + +
+ {label &&
{label}
} +
+ +
- +