Skip to content

Commit 74472c2

Browse files
committed
do not use html extension
1 parent 2d838e1 commit 74472c2

8 files changed

Lines changed: 33 additions & 28 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.DS_Store

AGENTS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99

1010
## Build, Test, and Development Commands
1111
- Serve locally: `python3 -m http.server 8080` (from repo root). Visit `http://localhost:8080`.
12+
- Extensionless local routing: install `http-server` and use the `--ext` flag to resolve clean URLs without `.html` locally:
13+
- `npm install -g http-server`
14+
- `http-server -p 8000 --ext html`
15+
- Visit `http://localhost:8000` and navigate using links without `.html` (e.g., `/about-us`, `/games`).
1216
- Quick link check: open DevTools Console and verify no 404/JS errors when navigating each page.
1317
- Vendor updates: keep Bootstrap files in `dist/` and third‑party libs in their folders; do not edit minified vendor files directly.
1418

about-us.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
>
6767
<div class="container-39">
6868
<div class="navbar-wrapper-9">
69-
<a href="index.html" class="navbar-brand-8 w-nav-brand"
69+
<a href="/" class="navbar-brand-8 w-nav-brand"
7070
><img
7171
width="131"
7272
sizes="(max-width: 479px) 56vw, 131px"
@@ -95,16 +95,16 @@
9595
<div class="text-block-11">Our Core</div>
9696
</div>
9797
<article class="dropdown-list w-dropdown-list">
98-
<a href="games.html" class="dropdown-link w-dropdown-link"
98+
<a href="/games" class="dropdown-link w-dropdown-link"
9999
>Games</a
100100
>
101101
<a
102-
href="simulations.html"
102+
href="/simulations"
103103
class="dropdown-link-3 w-dropdown-link"
104104
>Simulations</a
105105
>
106106
<a
107-
href="extended-reality.html"
107+
href="/extended-reality"
108108
class="dropdown-link-3 w-dropdown-link"
109109
>Extended Reality</a
110110
>
@@ -114,7 +114,7 @@
114114
<li class="list-item-5">
115115
<div class="btn-nav">
116116
<a
117-
href="about-us.html"
117+
href="/about-us"
118118
aria-current="page"
119119
class="nav-link-15 w--current"
120120
>About us</a

extended-reality.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
>
8484
<div class="container-39">
8585
<div class="navbar-wrapper-9">
86-
<a href="index.html" class="navbar-brand-8 w-nav-brand"
86+
<a href="/" class="navbar-brand-8 w-nav-brand"
8787
><img
8888
width="131"
8989
sizes="(max-width: 479px) 56vw, 131px"
@@ -112,16 +112,16 @@
112112
<div class="text-block-11">Our Core</div>
113113
</div>
114114
<article class="dropdown-list w-dropdown-list">
115-
<a href="games.html" class="dropdown-link w-dropdown-link"
115+
<a href="/games" class="dropdown-link w-dropdown-link"
116116
>Games</a
117117
>
118118
<a
119-
href="simulations.html"
119+
href="/simulations"
120120
class="dropdown-link-3 w-dropdown-link"
121121
>Simulations</a
122122
>
123123
<a
124-
href="extended-reality.html"
124+
href="/extended-reality"
125125
aria-current="page"
126126
class="dropdown-link-3 w-dropdown-link w--current"
127127
>Extended Reality</a
@@ -131,7 +131,7 @@
131131
</li>
132132
<li class="list-item-5">
133133
<div class="btn-nav">
134-
<a href="about-us.html" class="nav-link-15">About us</a>
134+
<a href="/about-us" class="nav-link-15">About us</a>
135135
</div>
136136
</li>
137137
</ul>

games.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
>
8484
<div class="container-39">
8585
<div class="navbar-wrapper-9">
86-
<a href="index.html" class="navbar-brand-8 w-nav-brand"
86+
<a href="/" class="navbar-brand-8 w-nav-brand"
8787
><img
8888
width="131"
8989
sizes="(max-width: 479px) 56vw, 131px"
@@ -113,18 +113,18 @@
113113
</div>
114114
<article class="dropdown-list w-dropdown-list">
115115
<a
116-
href="games.html"
116+
href="/games"
117117
aria-current="page"
118118
class="dropdown-link w-dropdown-link w--current"
119119
>Games</a
120120
>
121121
<a
122-
href="simulations.html"
122+
href="/simulations"
123123
class="dropdown-link-3 w-dropdown-link"
124124
>Simulations</a
125125
>
126126
<a
127-
href="extended-reality.html"
127+
href="/extended-reality"
128128
class="dropdown-link-3 w-dropdown-link"
129129
>Extended Reality</a
130130
>
@@ -133,7 +133,7 @@
133133
</li>
134134
<li class="list-item-5">
135135
<div class="btn-nav">
136-
<a href="about-us.html" class="nav-link-15">About us</a>
136+
<a href="/about-us" class="nav-link-15">About us</a>
137137
</div>
138138
</li>
139139
</ul>

images/.DS_Store

-6 KB
Binary file not shown.

index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
<div class="container-39">
111111
<div class="navbar-wrapper-9">
112112
<a
113-
href="index.html"
113+
href="/"
114114
aria-current="page"
115115
class="navbar-brand-8 w-nav-brand w--current"
116116
><img
@@ -156,17 +156,17 @@
156156
class="dropdown-list w-dropdown-list"
157157
>
158158
<a
159-
href="games.html"
159+
href="/games"
160160
class="dropdown-link w-dropdown-link"
161161
>Games</a
162162
>
163163
<a
164-
href="simulations.html"
164+
href="/simulations"
165165
class="dropdown-link-3 w-dropdown-link"
166166
>Simulations</a
167167
>
168168
<a
169-
href="extended-reality.html"
169+
href="/extended-reality"
170170
class="dropdown-link-3 w-dropdown-link"
171171
>Extended Reality</a
172172
>
@@ -176,7 +176,7 @@
176176
<li class="list-item-5">
177177
<div class="btn-nav">
178178
<a
179-
href="about-us.html"
179+
href="/about-us"
180180
class="nav-link-15"
181181
>About us</a
182182
>
@@ -1149,7 +1149,7 @@ <h1 class="heading-28">Games</h1>
11491149
adaptive landscapes, unique characters, and ML-optimized
11501150
gameplay.
11511151
</p>
1152-
<a href="games.html" class="button-primary-32 w-button"
1152+
<a href="/games" class="button-primary-32 w-button"
11531153
>more</a
11541154
>
11551155
</div>
@@ -1184,7 +1184,7 @@ <h1 class="heading-26">Simulations</h1>
11841184
industry.
11851185
</p>
11861186
<a
1187-
href="simulations.html"
1187+
href="/simulations"
11881188
class="button-primary-29 w-button"
11891189
>more</a
11901190
>
@@ -1215,7 +1215,7 @@ <h1 class="heading-27">Extended Reality</h1>
12151215
interaction.
12161216
</p>
12171217
<a
1218-
href="extended-reality.html"
1218+
href="/extended-reality"
12191219
class="button-primary-30 w-button"
12201220
>more</a
12211221
>

simulations.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
>
8484
<div class="container-39">
8585
<div class="navbar-wrapper-9">
86-
<a href="index.html" class="navbar-brand-8 w-nav-brand"
86+
<a href="/" class="navbar-brand-8 w-nav-brand"
8787
><img
8888
width="131"
8989
sizes="(max-width: 479px) 56vw, 131px"
@@ -112,17 +112,17 @@
112112
<div class="text-block-11">Our Core</div>
113113
</div>
114114
<article class="dropdown-list w-dropdown-list">
115-
<a href="games.html" class="dropdown-link w-dropdown-link"
115+
<a href="/games" class="dropdown-link w-dropdown-link"
116116
>Games</a
117117
>
118118
<a
119-
href="simulations.html"
119+
href="/simulations"
120120
aria-current="page"
121121
class="dropdown-link-3 w-dropdown-link w--current"
122122
>Simulations</a
123123
>
124124
<a
125-
href="extended-reality.html"
125+
href="/extended-reality"
126126
class="dropdown-link-3 w-dropdown-link"
127127
>Extended Reality</a
128128
>
@@ -131,7 +131,7 @@
131131
</li>
132132
<li class="list-item-5">
133133
<div class="btn-nav">
134-
<a href="about-us.html" class="nav-link-15">About us</a>
134+
<a href="/about-us" class="nav-link-15">About us</a>
135135
</div>
136136
</li>
137137
</ul>

0 commit comments

Comments
 (0)