{description}
+ {details.length > 0 && ( +-
+ {details.map((detail, index) => (
+
- + {detail} + + ))} +
{availability}
+ + {linkText} + +diff --git a/astro/src/components/EscapeRoomPanels.astro b/astro/src/components/EscapeRoomPanels.astro
new file mode 100644
index 00000000..43ce39e2
--- /dev/null
+++ b/astro/src/components/EscapeRoomPanels.astro
@@ -0,0 +1,38 @@
+---
+import { getCollection } from "astro:content";
+import { sortBy } from "lodash-es";
+import RoomPanel from "@components/RoomPanel.astro";
+import RoomPanelGrid from "@components/RoomPanelGrid.astro";
+
+interface Props {
+ headingLevel?: "h1" | "h2";
+}
+
+const { headingLevel } = Astro.props;
+const panelHeadingLevel = headingLevel === "h1" ? "h2" : "h3";
+const rooms = sortBy(await getCollection("escapeRoomThemes"), (room) => room.data.title);
+---
+
+
{description}
+ {details.length > 0 && ( +{availability}
+ + {linkText} + +{description}
} +
- Requests for the
- If you would like to bring one of our accessible escape rooms to your business - or venue, we now offer the following themes:
- -- If you are interested in purchasing, please email us at escaperoom@accessiblecommunity.org. -
-