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}
} +
+ +
- +