diff --git a/astro/src/components/PlayerQuote.astro b/astro/src/components/PlayerQuote.astro new file mode 100644 index 00000000..bac851b8 --- /dev/null +++ b/astro/src/components/PlayerQuote.astro @@ -0,0 +1,19 @@ +--- +interface Props { + text: string; +} + +const { text } = Astro.props; +--- + +
+

+

+ + diff --git a/astro/src/components/PlayerQuotes.astro b/astro/src/components/PlayerQuotes.astro new file mode 100644 index 00000000..e8c2eaa0 --- /dev/null +++ b/astro/src/components/PlayerQuotes.astro @@ -0,0 +1,18 @@ +--- +import FlexColumn from "./FlexColumn.astro"; +import PlayerQuote from "./PlayerQuote.astro"; +import ThemedSection from "./ThemedSection.astro"; + +const quotes = [ + "The puzzles were no joke! It was a perfect mix of frustrating and fun. I walked away feeling like I learned something, not just about the activity, but about myself.", + "I didn't expect to enjoy it as much as I did. It was genuiniely fun and I loved how much it made us think through problems.", + "I was surprised by how much I relied on my teammates. It reminded me that collaboration is such a huge part of problem-solving in our training and working with others every day.", +]; +--- + + +

What people say after playing

+ + {quotes.map(quote => )} + +
diff --git a/astro/src/pages/escape-room/how-it-works.astro b/astro/src/pages/escape-room/how-it-works.astro index fd380d98..f6e92daa 100644 --- a/astro/src/pages/escape-room/how-it-works.astro +++ b/astro/src/pages/escape-room/how-it-works.astro @@ -15,17 +15,9 @@ const crumbs: Breadcrumbs = [ }, ]; -const quotes = [ - "The puzzles were no joke! It was a perfect mix of frustrating and fun. I walked away feeling like I learned something, not just about the activity, but about myself.", - "I didn't expect to enjoy it as much as I did. It was genuiniely fun and I loved how much it made us think through problems.", - "I was surprised by how much I relied on my teammates. It reminded me that collaboration is such a huge part of problem-solving in our training and working with others every day.", -] - import Branding from "@components/Branding.astro"; import EscapeRoomLayout from "src/layouts/EscapeRoomLayout.astro"; import Hero from "@components/Hero.astro"; -import { Icon } from "astro-icon/components"; -import Row from "@components/Row.astro"; import ThemedSection from "@components/ThemedSection.astro"; import heroBg from "src/images/escape-room/shaded/puzzle-display.jpg"; @@ -55,26 +47,6 @@ import heroBg from "src/images/escape-room/shaded/puzzle-display.jpg";

- -

Quotes from our Customers

- - { - quotes.map(q => ( -
-
-
-

- -

-
-
-
- )) - } -
-
-

Frequently Asked Questions

@@ -136,12 +108,6 @@ import heroBg from "src/images/escape-room/shaded/puzzle-display.jpg"; h1 { font-weight: 500; } - [data-icon="quote-left"], - [data-icon="quote-right"] { - color: var(--bs-info); - height: 0.7em; - } - dl dd { padding-inline-start: 1em; } diff --git a/astro/src/pages/escape-room/index.astro b/astro/src/pages/escape-room/index.astro index 61c3eb8e..ae22eaa2 100644 --- a/astro/src/pages/escape-room/index.astro +++ b/astro/src/pages/escape-room/index.astro @@ -28,6 +28,7 @@ import FlexColumn from "@components/FlexColumn.astro"; import Row from "@components/Row.astro"; import ThemedSection from "@components/ThemedSection.astro"; import ImageCard from "@components/ImageCard.astro"; +import PlayerQuotes from "@components/PlayerQuotes.astro"; // TODO: Once the `peerDependencies are update, use the plugin. // import { YouTube } from 'astro-lazy-youtube-embed' import YouTube from "@components/YouTube.astro"; @@ -157,6 +158,7 @@ import woodenPuzzles from "src/images/escape-room/wooden-puzzles.png"; >.

+