Skip to content

Commit 289132d

Browse files
committed
Replace root index with GameFoundryStudio home page - PR_26152_026-root-index-from-gamefoundrystudio
1 parent b6399c5 commit 289132d

2 files changed

Lines changed: 185 additions & 63 deletions

File tree

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Root Index From GameFoundryStudio Validation
2+
3+
PR: `PR_26152_026-root-index-from-gamefoundrystudio`
4+
5+
## Scope
6+
7+
- Replaced root `index.html` with the GameFoundryStudio Home markup.
8+
- Kept `GameFoundryStudio/index.html` unchanged as the authoritative staging/source version.
9+
- Added a root-only `<base href="GameFoundryStudio/">` path adjustment so root `/index.html` resolves GameFoundryStudio assets, CSS, JavaScript, partials, images, and navigation.
10+
- Did not migrate Admin, Account, Tools, Games, or Samples pages.
11+
- Did not add CSS outside `GameFoundryStudio/assets/css/theme/v2`.
12+
13+
## Validation Commands
14+
15+
1. Targeted Playwright static-server validation for `/index.html` and GameFoundryStudio Company footer pages.
16+
2. Normalized source check confirming root `index.html` matches `GameFoundryStudio/index.html` except for the root-only `<base href="GameFoundryStudio/">` element.
17+
3. Static HTML restriction check:
18+
`rg -n --pcre2 "<script\\b(?![^>]*\\bsrc=)|<style\\b|\\son[a-z]+\\s*=" index.html GameFoundryStudio\\index.html GameFoundryStudio\\assets\\partials\\header-nav.html GameFoundryStudio\\assets\\partials\\footer.html`
19+
4. Targeted whitespace check:
20+
`git diff --check -- index.html`
21+
22+
## Results
23+
24+
- PASS: `/index.html` renders the GameFoundryStudio Home with title `Game Foundry Studio - Build. Play. Share.` and H1 `Build. Play. Share.`
25+
- PASS: root `index.html` matches `GameFoundryStudio/index.html` except for the root-only `<base href="GameFoundryStudio/">` element.
26+
- PASS: legacy root Home copy `HTML JavaScript Gaming` is no longer rendered from `/index.html`.
27+
- PASS: `/index.html` resolves `GameFoundryStudio/assets/css/theme/v2/theme.css`.
28+
- PASS: `/index.html` resolves `GameFoundryStudio/assets/js/gamefoundry-partials.js`.
29+
- PASS: header and footer partials load from `GameFoundryStudio/assets/partials`.
30+
- PASS: GameFoundryStudio Home images load from `/index.html`.
31+
- PASS: `/index.html` Company footer links resolve into and load GameFoundryStudio pages: About, Vision, Mission, Roadmap, Release Notes, Contact.
32+
- PASS: no inline script blocks, style blocks, or inline event handlers were found in the affected root/GFS HTML and partial files.
33+
- PASS: `git diff --check -- index.html` completed with no whitespace errors.
34+
- WARN: Git reported the repository line-ending notice `LF will be replaced by CRLF the next time Git touches it` for `index.html`.
35+
36+
## Lanes
37+
38+
- lanes executed: runtime/static page validation for the affected root index and GameFoundryStudio-scoped company navigation.
39+
- lanes skipped: engine, samples, tools, Admin, Account, Games, and broader integration lanes because this PR only changes root Home routing to the existing GameFoundryStudio Home.
40+
- samples decision: SKIP because Samples are not in scope and the PR explicitly forbids full samples smoke testing.
41+
- blocker scope: root `index.html` and GameFoundryStudio-scoped Home/company navigation only.
42+
43+
## Manual Validation
44+
45+
1. Start a local static server from the repo root.
46+
2. Open `/index.html`.
47+
3. Confirm the page title/content is Game Foundry Studio Home, not the legacy HTML JavaScript Gaming hub.
48+
4. Confirm header and footer are visible.
49+
5. Confirm Home images render.
50+
6. In the footer Company group, open About, Vision, Mission, Roadmap, Release Notes, and Contact.
51+
7. Expected result: each link opens a GameFoundryStudio page under `/GameFoundryStudio/`.

index.html

Lines changed: 134 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,147 @@
1-
<!--
2-
Toolbox Aid
3-
David Quesenberry
4-
04/19/2026
5-
index.html
6-
-->
7-
<!DOCTYPE html>
1+
<!doctype html>
82
<html lang="en">
3+
94
<head>
10-
<meta charset="UTF-8" />
11-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
12-
<title>HTML JavaScript Gaming</title>
13-
<link rel="icon" href="favicon.ico" />
14-
<link rel="stylesheet" href="src/engine/theme/main.css" />
15-
<link rel="stylesheet" href="src/engine/ui/hubCommon.css" />
5+
<meta charset="utf-8">
6+
<base href="GameFoundryStudio/">
7+
<meta name="viewport" content="width=device-width, initial-scale=1">
8+
<title>Game Foundry Studio - Build. Play. Share.</title>
9+
<meta name="description" content="Build, play, publish, and share browser games with Game Foundry Studio.">
10+
<link rel="icon" href="assets/images/favicon.svg" type="image/svg+xml">
11+
<link rel="stylesheet" href="assets/css/theme/v2/theme.css">
1612
</head>
17-
<body class="hub-page-home hub-page-home--viewport">
18-
<div id="shared-theme-header"></div>
1913

20-
<main class="page-shell">
21-
<section class="page-intro">
22-
<h1>HTML JavaScript Gaming</h1>
23-
<p>
24-
A home base for playable arcade builds, sample-driven engine patterns, and shared tooling.
25-
Use the hub links below to open games, samples, and tools.
26-
</p>
14+
<body>
15+
<div data-partial="header-nav"></div>
16+
<main>
17+
<section class="hero" id="start">
18+
<div class="container hero-grid">
19+
<div class="hero-copy">
20+
<div class="kicker">Browser-native creator platform</div>
21+
<h1>Build. Play. Share.</h1>
22+
<p class="lede">Create browser games with visual tools, reusable assets, manifest-driven configuration, and
23+
publishing workflows that make Game Foundry Studio feel like a destination, not just an engine.</p>
24+
<div class="hero-cta"><a class="btn primary" href="tools/index.html">Start Building</a><a class="btn"
25+
href="arcade/index.html">Explore Games</a></div>
26+
<div class="dual-entry" aria-label="Primary entry points">
27+
<a class="entry-card" href="arcade/index.html"><span>Play</span><strong>Play Games</strong><small>Browse the
28+
Arcade</small></a>
29+
<a class="entry-card" href="tools/index.html"><span>Build</span><strong>Create Games</strong><small>Open the
30+
Studio</small></a>
31+
</div>
32+
</div>
33+
<aside class="hero-art" aria-label="Game Foundry Studio logo artwork">
34+
<img src="assets/images/game-foundry-studio-logo.png"
35+
alt="Game Foundry Studio forged logo with anvil, sword, die, and gear">
36+
</aside>
37+
</div>
2738
</section>
28-
29-
<section class="content-section">
30-
<h2>Arcade Games, Engine Samples, and Tools</h2>
31-
<p>
32-
HTML JavaScript Gaming is a browser-based game development hub with playable arcade projects,
33-
engine-focused sample phases, and practical tooling for rapid iteration.
34-
</p>
39+
<section class="section" id="trending">
40+
<div class="container">
41+
<div class="section-head">
42+
<div>
43+
<div class="kicker">Most played this week</div>
44+
<h2>Trending Games</h2>
45+
</div>
46+
<p>A top-of-home area that makes the site feel alive: featured games, new releases, seasonal events, and
47+
creator challenges.</p>
48+
</div>
49+
<div class="trending-grid">
50+
<article class="game-tile featured">
51+
<div class="game-art"><img src="assets/images/games/game-iceberg.svg" alt="King of the Iceberg sample art"></div>
52+
<div class="game-meta"><strong>King of the Iceberg</strong><span>Physics party brawler</span><em>12,543
53+
players - 4.9</em></div>
54+
</article>
55+
<article class="game-tile">
56+
<div class="game-art"><img src="assets/images/games/game-nebula.svg" alt="Nebula Runner sample art"></div>
57+
<div class="game-meta"><strong>Nebula Runner</strong><span>Arcade survival</span><em>8,234 players -
58+
4.8</em></div>
59+
</article>
60+
<article class="game-tile">
61+
<div class="game-art"><img src="assets/images/games/game-retrobot.svg" alt="RetroBot Rescue sample art"></div>
62+
<div class="game-meta"><strong>RetroBot Rescue</strong><span>Pixel platformer</span><em>6,887 players -
63+
4.7</em></div>
64+
</article>
65+
<article class="game-tile">
66+
<div class="game-art"><img src="assets/images/games/game-forgequest.svg" alt="Forge Quest sample art"></div>
67+
<div class="game-meta"><strong>Forge Quest</strong><span>Creator challenge</span><em>5,921 players -
68+
4.6</em></div>
69+
</article>
70+
</div>
71+
</div>
3572
</section>
36-
37-
<section class="content-section">
38-
<h2>Primary Hubs</h2>
39-
<p>Open the main launcher surfaces for gameplay, sample references, and tooling workflows.</p>
40-
<div class="card-grid">
41-
<a class="card-link" href="games/index.html">
42-
<h3>Games</h3>
43-
<p>Launch playable projects and review the current game progression lane.</p>
44-
</a>
45-
<a class="card-link" href="samples/index.html">
46-
<h3>Samples</h3>
47-
<p>Browse sample phases to inspect engine patterns and reference implementations.</p>
48-
</a>
49-
<a class="card-link" href="tools/index.html">
50-
<h3>Tools</h3>
51-
<p>Open the tool surfaces for asset and workflow support.</p>
52-
</a>
73+
<section class="section" id="what">
74+
<div class="container split">
75+
<div>
76+
<div class="kicker">What is Game Foundry Studio?</div>
77+
<h2>A complete place to create, test, publish, and play.</h2>
78+
<p class="lede small">No engine setup. No complicated installs. Create directly in the browser with clear
79+
tools, friendly guardrails, and reusable game-building pieces.</p>
80+
</div>
81+
<div class="check-panel">
82+
<div>Visual Editors</div>
83+
<div>Asset Creation Tools</div>
84+
<div>Tilemaps & Worlds</div>
85+
<div>Audio & Music Tools</div>
86+
<div>One-Click Publishing</div>
87+
<div>Community Sharing</div>
88+
</div>
5389
</div>
5490
</section>
55-
56-
<section class="content-section">
57-
<h2>Featured Games</h2>
58-
<div class="card-grid">
59-
<a class="card-link" href="games/GravityWell/index.html">
60-
<h3>Gravity Well</h3>
61-
<p>Vector-style orbital gameplay focused on gravity assists and beacon collection.</p>
62-
</a>
63-
<a class="card-link" href="games/Asteroids/index.html">
64-
<h3>Asteroids</h3>
65-
<p>Classic arcade combat with tuned handling and score-driven loops.</p>
66-
</a>
91+
<section class="section" id="tools">
92+
<div class="container">
93+
<div class="section-head">
94+
<div>
95+
<div class="kicker">Featured tools</div>
96+
<h2>Creator tools with guardrails.</h2>
97+
</div>
98+
<p>Each tool should use explicit manifest data, show safe empty states, and avoid hidden fallback behavior.
99+
</p>
100+
</div>
101+
<div class="card-grid">
102+
<article class="card">
103+
<div class="card-body">
104+
<h3>Asset Studio</h3>
105+
<p>Create sprites, animations, vectors, palettes, previews, and reusable game assets.</p>
106+
</div>
107+
</article>
108+
<article class="card">
109+
<div class="card-body">
110+
<h3>World Studio</h3>
111+
<p>Build maps, layers, object placement, world bounds, collisions, and camera rules.</p>
112+
</div>
113+
</article>
114+
<article class="card">
115+
<div class="card-body">
116+
<h3>Input Studio</h3>
117+
<p>Configure keyboard, mouse, gamepads, touch, pen, wheel, and custom controls.</p>
118+
</div>
119+
</article>
120+
</div>
121+
</div>
122+
</section>
123+
<section class="section mascot-section">
124+
<div class="container split reverse">
125+
<div class="image-panel"><img src="assets/images/game-foundry-mascot-sheet.png"
126+
alt="ForgeBot mascot"></div>
127+
<div>
128+
<div class="kicker">Mascot system</div>
129+
<h2>ForgeBot, Spark, Pixel Smith, and Foundry Bot.</h2>
130+
<p class="lede small">Use these characters for onboarding, tutorials, error states, achievements, learning
131+
content, and playful creator moments.</p><a class="btn primary" href="tools/index.html">View Tool Images</a>
132+
</div>
133+
</div>
134+
</section>
135+
<section class="section">
136+
<div class="container cta">
137+
<h2>Forge games for the open web.</h2>
138+
<p class="lede small">Game Foundry Studio can grow into Studio, Arcade, Marketplace, Cloud, and Learn without
139+
changing the core brand.</p><a class="btn primary" href="admin/branding.html">Open Brand Kit</a>
67140
</div>
68141
</section>
69-
70-
<div class="footer-note">
71-
Open this repo through a local web server for reliable module and asset loading.
72-
</div>
73142
</main>
74-
<script type="module" src="./src/engine/theme/mount-shared-header.js"></script>
143+
<div data-partial="footer"></div>
144+
<script src="assets/js/gamefoundry-partials.js" defer></script>
75145
</body>
146+
76147
</html>

0 commit comments

Comments
 (0)