diff --git a/src/components/flash.astro b/src/components/flash.astro index 2bd9082..125aa67 100644 --- a/src/components/flash.astro +++ b/src/components/flash.astro @@ -1,4 +1,6 @@ --- +import FullscreenButton from "./fullscreen-button.astro"; + interface Props { gamePath: string; } @@ -6,12 +8,28 @@ interface Props { const { gamePath } = Astro.props; --- -
-
+
+
Loading game...
+
+ +
+ + + + diff --git a/src/pages/games/[slug].astro b/src/pages/games/[slug].astro index aa90725..0d84c69 100644 --- a/src/pages/games/[slug].astro +++ b/src/pages/games/[slug].astro @@ -1,6 +1,7 @@ --- import Layout from "../../layout/layout.astro"; import Flash from "../../components/flash.astro"; +import FullscreenButton from "../../components/fullscreen-button.astro"; import { gamesMap } from "../../data/game-seo"; export async function getStaticPaths() { @@ -18,8 +19,13 @@ const seo = gamesMap[slug]; ) : slug === "run-3" ? ( <> -
-
+
+
+
+
+
+ +
) : slug === "webtris" ? ( -
-