Retro Cosmic Arcade has no single dedicatedDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/retro-cosmic-arcade/llms.txt
Use this file to discover all available pages before exploring further.
<Layout> wrapper component. Instead, every page follows a consistent four-layer convention assembled directly in each route component. Understanding this pattern is essential before adding or customising any page — it ensures the webring navigation, cursor effect, and footer remain uniform across the entire site.
The Layout Stack
Every page in the app composes the same four layers in the same order:WebringNav (top)
Renders the retro webring navigation bar that spans the full viewport width. It displays ◄ PREV and NEXT ► links to adjacent routes, the current page name in blinking lime text, and INDEX / RANDOM utility links at the bottom. Always place this as the very first element returned.
Main content area
A centred container that constrains content width and adds horizontal padding. Use
max-w-5xl mx-auto px-4 as the wrapping <main> or <div>. All page-specific components, headings, and body copy go here.CursorTrail (fixed overlay)
A fixed-position overlay component that renders the star/pixel trail following the user’s cursor. Because it is
position: fixed, it can be placed anywhere in the JSX tree — but by convention it appears after the main content block.Minimal Page Example
Global Body Background
The deep-space background colour#060010 is set globally in assets/main.css on the body element — you do not need to apply it per-page. All page components can assume a near-black purple background is already present.
Route-to-HTML-Shell Mapping
Each route is backed by a thin HTML shell that setswindow.__STATIC_PAGE_ROUTE__ and preloads the shared component bundle. The React app reads this variable to determine which route to render without a server.
How static routing works
Each
.html file sets window.__STATIC_PAGE_ROUTE__ to a path string (e.g. "/about"). The React bundle reads this on boot and initialises React Router at the correct route. The HTML shell also redirects to a hash URL (#/about) for compatibility with static hosts that don’t support client-side routing.Shared module preloads
Every HTML shell preloads the same set of component modules:
WebringNav.js, Footer.js, CursorTrail.js, HitCounter.js, MarqueeTicker.js, Polaroid.js, ChromeButton.js, and PixelHPBar.js. All pages therefore have instant access to all components without additional lazy loading.Conventions at a Glance
| Layer | Component | Tailwind / Notes |
|---|---|---|
| Top bar | <WebringNav /> | Full-width, border-b-2 border-y2k-cyan, font-silkscreen |
| Content | <main> wrapper | max-w-5xl mx-auto px-4 |
| Overlay | <CursorTrail /> | position: fixed, mount once at root |
| Bottom | <Footer /> | mt-16, includes badges and scanline toggle |
| Body bg | assets/main.css | background-color: #060010 (global) |