Skip to content

Commit 14c41fd

Browse files
Merge pull request #33 from posecode-dev/codex/clean-playground-urls
Use clean playground URLs
2 parents 1dd20bc + afaa768 commit 14c41fd

86 files changed

Lines changed: 217 additions & 176 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

playground/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130

131131
<!-- Nav -->
132132
<header class="nav">
133-
<a class="brand" href="./index.html" aria-label="Posecode home">
133+
<a class="brand" href="/" aria-label="Posecode home">
134134
<svg class="logo" aria-hidden="true" viewBox="0 0 100 100" width="19" height="19" fill="none"><g stroke="currentColor" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"><path d="M50 34V55"/><path d="M50 35L34 26L23 15"/><path d="M50 35L66 26L77 15"/><path d="M50 54L36 72L28 88"/><path d="M50 54L64 72L72 88"/></g><circle cx="50" cy="20" r="10" fill="currentColor"/></svg>
135135
<span class="wordmark">Posecode</span>
136136
</a>
@@ -142,7 +142,7 @@
142142
<a href="mailto:hello@posecode.org?subject=Posecode%20Feedback">Feedback</a>
143143
<a href="https://github.com/posecode-dev/posecode" target="_blank" rel="noopener">GitHub</a>
144144
</nav>
145-
<a class="btn primary nav-cta" href="./play.html">Open playground&nbsp;→</a>
145+
<a class="btn primary nav-cta" href="/play">Open playground&nbsp;→</a>
146146
</header>
147147

148148
<!-- Hero -->
@@ -159,7 +159,7 @@ <h1 class="headline">
159159
is always anatomically plausible.
160160
</p>
161161
<div class="hero-cta">
162-
<a class="btn primary lg" href="./play.html">Open the playground&nbsp;→</a>
162+
<a class="btn primary lg" href="/play">Open the playground&nbsp;→</a>
163163
<button id="copy-prompt" class="btn ghost lg">
164164
<span class="lbl">Copy LLM prompt</span>
165165
</button>
@@ -265,7 +265,7 @@ <h3>Three.js renders it</h3>
265265
<h2>An open core you can build on</h2>
266266
</header>
267267
<div class="dev-grid">
268-
<a class="dev-card reveal" href="./play.html">
268+
<a class="dev-card reveal" href="/play">
269269
<h3>Playground →</h3>
270270
<p>Live editor, 3D viewport, syntax highlighting, inline range-of-motion diagnostics.</p>
271271
</a>

playground/play.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<div class="bg-fx" aria-hidden="true"></div>
5454

5555
<header class="topbar">
56-
<a class="brand" href="./index.html" aria-label="Posecode home">
56+
<a class="brand" href="/" aria-label="Posecode home">
5757
<svg class="logo" aria-hidden="true" viewBox="0 0 100 100" width="18" height="18" fill="none"><g stroke="currentColor" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"><path d="M50 34V55"/><path d="M50 35L34 26L23 15"/><path d="M50 35L66 26L77 15"/><path d="M50 54L36 72L28 88"/><path d="M50 54L64 72L72 88"/></g><circle cx="50" cy="20" r="10" fill="currentColor"/></svg>
5858
<span class="wordmark">Posecode</span>
5959
<span class="tag">playground</span>

playground/public/llm-guide.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
<div class="wrap">
110110
<a class="brand" href="/"><svg class="logo" aria-hidden="true" viewBox="0 0 100 100" width="18" height="18" fill="none"><g stroke="currentColor" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"><path d="M50 34V55"/><path d="M50 35L34 26L23 15"/><path d="M50 35L66 26L77 15"/><path d="M50 54L36 72L28 88"/><path d="M50 54L64 72L72 88"/></g><circle cx="50" cy="20" r="10" fill="currentColor"/></svg> Posecode</a>
111111
<nav class="links" aria-label="Primary">
112-
<a href="/play.html">Playground</a>
112+
<a href="/play">Playground</a>
113113
<a href="/moves/">Movement library</a>
114114
<a href="/spec.html">Language spec</a>
115115
<a href="/llm-guide.html">LLM guide</a>

playground/public/moves/arm-circles.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
<div class="wrap">
110110
<a class="brand" href="/"><svg class="logo" aria-hidden="true" viewBox="0 0 100 100" width="18" height="18" fill="none"><g stroke="currentColor" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"><path d="M50 34V55"/><path d="M50 35L34 26L23 15"/><path d="M50 35L66 26L77 15"/><path d="M50 54L36 72L28 88"/><path d="M50 54L64 72L72 88"/></g><circle cx="50" cy="20" r="10" fill="currentColor"/></svg> Posecode</a>
111111
<nav class="links" aria-label="Primary">
112-
<a href="/play.html">Playground</a>
112+
<a href="/play">Playground</a>
113113
<a href="/moves/">Movement library</a>
114114
<a href="/spec.html">Language spec</a>
115115
<a href="/llm-guide.html">LLM guide</a>
@@ -129,7 +129,7 @@ <h1>Arm circles</h1>
129129
that LLMs like ChatGPT, Claude, and Gemini can write to describe human movement as text.
130130
Every joint angle below is hard-clamped to a safe range of motion.</p>
131131

132-
<a class="btn" href="/play.html#doc=arm-circles">▶ Open Arm circles in the playground →</a>
132+
<a class="btn" href="/play/arm-circles">▶ Open Arm circles in the playground →</a>
133133

134134
<h2>How to do it</h2>
135135
<ol class="steps">

playground/public/moves/bent-over-row.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
<div class="wrap">
110110
<a class="brand" href="/"><svg class="logo" aria-hidden="true" viewBox="0 0 100 100" width="18" height="18" fill="none"><g stroke="currentColor" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"><path d="M50 34V55"/><path d="M50 35L34 26L23 15"/><path d="M50 35L66 26L77 15"/><path d="M50 54L36 72L28 88"/><path d="M50 54L64 72L72 88"/></g><circle cx="50" cy="20" r="10" fill="currentColor"/></svg> Posecode</a>
111111
<nav class="links" aria-label="Primary">
112-
<a href="/play.html">Playground</a>
112+
<a href="/play">Playground</a>
113113
<a href="/moves/">Movement library</a>
114114
<a href="/spec.html">Language spec</a>
115115
<a href="/llm-guide.html">LLM guide</a>
@@ -129,7 +129,7 @@ <h1>Bent-over row</h1>
129129
that LLMs like ChatGPT, Claude, and Gemini can write to describe human movement as text.
130130
Every joint angle below is hard-clamped to a safe range of motion.</p>
131131

132-
<a class="btn" href="/play.html#doc=bent-over-row">▶ Open Bent-over row in the playground →</a>
132+
<a class="btn" href="/play/bent-over-row">▶ Open Bent-over row in the playground →</a>
133133

134134
<h2>How to do it</h2>
135135
<ol class="steps">

playground/public/moves/biceps.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
<div class="wrap">
110110
<a class="brand" href="/"><svg class="logo" aria-hidden="true" viewBox="0 0 100 100" width="18" height="18" fill="none"><g stroke="currentColor" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"><path d="M50 34V55"/><path d="M50 35L34 26L23 15"/><path d="M50 35L66 26L77 15"/><path d="M50 54L36 72L28 88"/><path d="M50 54L64 72L72 88"/></g><circle cx="50" cy="20" r="10" fill="currentColor"/></svg> Posecode</a>
111111
<nav class="links" aria-label="Primary">
112-
<a href="/play.html">Playground</a>
112+
<a href="/play">Playground</a>
113113
<a href="/moves/">Movement library</a>
114114
<a href="/spec.html">Language spec</a>
115115
<a href="/llm-guide.html">LLM guide</a>
@@ -129,7 +129,7 @@ <h1>Biceps curl</h1>
129129
that LLMs like ChatGPT, Claude, and Gemini can write to describe human movement as text.
130130
Every joint angle below is hard-clamped to a safe range of motion.</p>
131131

132-
<a class="btn" href="/play.html#doc=biceps">▶ Open Biceps curl in the playground →</a>
132+
<a class="btn" href="/play/biceps">▶ Open Biceps curl in the playground →</a>
133133

134134
<h2>How to do it</h2>
135135
<ol class="steps">

playground/public/moves/bicycle-crunch.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
<div class="wrap">
110110
<a class="brand" href="/"><svg class="logo" aria-hidden="true" viewBox="0 0 100 100" width="18" height="18" fill="none"><g stroke="currentColor" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"><path d="M50 34V55"/><path d="M50 35L34 26L23 15"/><path d="M50 35L66 26L77 15"/><path d="M50 54L36 72L28 88"/><path d="M50 54L64 72L72 88"/></g><circle cx="50" cy="20" r="10" fill="currentColor"/></svg> Posecode</a>
111111
<nav class="links" aria-label="Primary">
112-
<a href="/play.html">Playground</a>
112+
<a href="/play">Playground</a>
113113
<a href="/moves/">Movement library</a>
114114
<a href="/spec.html">Language spec</a>
115115
<a href="/llm-guide.html">LLM guide</a>
@@ -129,7 +129,7 @@ <h1>Bicycle crunch</h1>
129129
that LLMs like ChatGPT, Claude, and Gemini can write to describe human movement as text.
130130
Every joint angle below is hard-clamped to a safe range of motion.</p>
131131

132-
<a class="btn" href="/play.html#doc=bicycle-crunch">▶ Open Bicycle crunch in the playground →</a>
132+
<a class="btn" href="/play/bicycle-crunch">▶ Open Bicycle crunch in the playground →</a>
133133

134134
<h2>How to do it</h2>
135135
<ol class="steps">

playground/public/moves/bow.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
<div class="wrap">
110110
<a class="brand" href="/"><svg class="logo" aria-hidden="true" viewBox="0 0 100 100" width="18" height="18" fill="none"><g stroke="currentColor" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"><path d="M50 34V55"/><path d="M50 35L34 26L23 15"/><path d="M50 35L66 26L77 15"/><path d="M50 54L36 72L28 88"/><path d="M50 54L64 72L72 88"/></g><circle cx="50" cy="20" r="10" fill="currentColor"/></svg> Posecode</a>
111111
<nav class="links" aria-label="Primary">
112-
<a href="/play.html">Playground</a>
112+
<a href="/play">Playground</a>
113113
<a href="/moves/">Movement library</a>
114114
<a href="/spec.html">Language spec</a>
115115
<a href="/llm-guide.html">LLM guide</a>
@@ -129,7 +129,7 @@ <h1>Standing bow</h1>
129129
that LLMs like ChatGPT, Claude, and Gemini can write to describe human movement as text.
130130
Every joint angle below is hard-clamped to a safe range of motion.</p>
131131

132-
<a class="btn" href="/play.html#doc=bow">▶ Open Standing bow in the playground →</a>
132+
<a class="btn" href="/play/bow">▶ Open Standing bow in the playground →</a>
133133

134134
<h2>How to do it</h2>
135135
<ol class="steps">

playground/public/moves/box-squat.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
<div class="wrap">
110110
<a class="brand" href="/"><svg class="logo" aria-hidden="true" viewBox="0 0 100 100" width="18" height="18" fill="none"><g stroke="currentColor" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"><path d="M50 34V55"/><path d="M50 35L34 26L23 15"/><path d="M50 35L66 26L77 15"/><path d="M50 54L36 72L28 88"/><path d="M50 54L64 72L72 88"/></g><circle cx="50" cy="20" r="10" fill="currentColor"/></svg> Posecode</a>
111111
<nav class="links" aria-label="Primary">
112-
<a href="/play.html">Playground</a>
112+
<a href="/play">Playground</a>
113113
<a href="/moves/">Movement library</a>
114114
<a href="/spec.html">Language spec</a>
115115
<a href="/llm-guide.html">LLM guide</a>
@@ -129,7 +129,7 @@ <h1>Box squat</h1>
129129
that LLMs like ChatGPT, Claude, and Gemini can write to describe human movement as text.
130130
Every joint angle below is hard-clamped to a safe range of motion.</p>
131131

132-
<a class="btn" href="/play.html#doc=box-squat">▶ Open Box squat in the playground →</a>
132+
<a class="btn" href="/play/box-squat">▶ Open Box squat in the playground →</a>
133133

134134
<h2>How to do it</h2>
135135
<ol class="steps">

playground/public/moves/box-step-taps.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
<div class="wrap">
110110
<a class="brand" href="/"><svg class="logo" aria-hidden="true" viewBox="0 0 100 100" width="18" height="18" fill="none"><g stroke="currentColor" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"><path d="M50 34V55"/><path d="M50 35L34 26L23 15"/><path d="M50 35L66 26L77 15"/><path d="M50 54L36 72L28 88"/><path d="M50 54L64 72L72 88"/></g><circle cx="50" cy="20" r="10" fill="currentColor"/></svg> Posecode</a>
111111
<nav class="links" aria-label="Primary">
112-
<a href="/play.html">Playground</a>
112+
<a href="/play">Playground</a>
113113
<a href="/moves/">Movement library</a>
114114
<a href="/spec.html">Language spec</a>
115115
<a href="/llm-guide.html">LLM guide</a>
@@ -129,7 +129,7 @@ <h1>Box step taps</h1>
129129
that LLMs like ChatGPT, Claude, and Gemini can write to describe human movement as text.
130130
Every joint angle below is hard-clamped to a safe range of motion.</p>
131131

132-
<a class="btn" href="/play.html#doc=box-step-taps">▶ Open Box step taps in the playground →</a>
132+
<a class="btn" href="/play/box-step-taps">▶ Open Box step taps in the playground →</a>
133133

134134
<h2>How to do it</h2>
135135
<ol class="steps">

0 commit comments

Comments
 (0)