import Image from "next/image"; import { Reveal } from "../ui/Reveal"; import type { Pillar } from "@/lib/games"; type Props = { pillars: Pillar[] }; /** * What the player does — one band per pillar, image and copy swapping sides. * * This is the block the game page was missing: it had a status, a fact sheet * and a gallery, but nowhere did it say what you actually *do*. Modelled on * the EmberWild site's pillar bands: one word, one sentence, one capture. The * screenshot carries the selling, so the copy never repeats what it shows. */ export function GamePillars({ pillars }: Props) { if (pillars.length === 0) return null; return (
{pillars.map((pillar, index) => { const flipped = index % 2 === 1; return (
{/* The capture enters from the side it sits on, so a run of pillars reads as a zig-zag rather than as four identical fade-ups. */}

{pillar.title}

{pillar.body}

); })}
); }