diff --git a/app/not-found.tsx b/app/not-found.tsx index 6b33987..5c11739 100644 --- a/app/not-found.tsx +++ b/app/not-found.tsx @@ -4,7 +4,7 @@ import { buttonClassName } from "@/components/ui/Button"; export default function NotFound() { return (
-

TILT

+

TILT

TABLE NOT FOUND

diff --git a/components/RegisterServiceWorker.tsx b/components/RegisterServiceWorker.tsx index 5e9d812..1cca7ba 100644 --- a/components/RegisterServiceWorker.tsx +++ b/components/RegisterServiceWorker.tsx @@ -4,6 +4,10 @@ import { useEffect } from "react"; export default function RegisterServiceWorker() { useEffect(() => { + // sw.js precaches /404.html, which only exists as a static file after + // `next build`'s static export — under `next dev` it 404s and fails the + // whole cache.addAll(), so only register outside of development. + if (process.env.NODE_ENV !== "production") return; if (!("serviceWorker" in navigator)) return; navigator.serviceWorker.register("/sw.js").catch((err) => { console.error("Service worker registration failed:", err); diff --git a/components/landing/AttractHero.tsx b/components/landing/AttractHero.tsx index 0433dd1..f669930 100644 --- a/components/landing/AttractHero.tsx +++ b/components/landing/AttractHero.tsx @@ -33,7 +33,7 @@ export default function AttractHero() { return ( -
+
{/* Backglass glow — stands in for real playfield art; GI-lamp amber + a cyan tube accent. */}
diff --git a/components/landing/TableStaging.tsx b/components/landing/TableStaging.tsx index 891aa9d..eac4dab 100644 --- a/components/landing/TableStaging.tsx +++ b/components/landing/TableStaging.tsx @@ -30,7 +30,7 @@ export default function TableStaging({ vpxFile, onPlay, onCancel }: TableStaging }; return ( -
+

TABLE SELECTED

diff --git a/components/pinball/PinballCanvasImpl.tsx b/components/pinball/PinballCanvasImpl.tsx index 6d72ba2..e1229bb 100644 --- a/components/pinball/PinballCanvasImpl.tsx +++ b/components/pinball/PinballCanvasImpl.tsx @@ -68,7 +68,7 @@ export default function PinballCanvasImpl({ tableData, rom, tableInfo }: Pinball real coin-op cabinet — pressing 1 alone does nothing until a credit is added. Surfaced here since it's the first thing anyone hits and easy to mistake for the app not responding. */} -

+

If Start doesn't respond: press 4 to insert a coin, then{" "} 1 to start.