Skip to content

Commit b14ce13

Browse files
committed
feat: integrate Vercel Analytics across the playground application and move HTML pages
1 parent 61e86fa commit b14ce13

80 files changed

Lines changed: 357 additions & 3 deletions

Some content is hidden

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

package-lock.json

Lines changed: 46 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

playground/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"@codemirror/state": "^6.5.0",
1717
"@codemirror/view": "^6.36.1",
1818
"@lezer/highlight": "^1.2.1",
19+
"@vercel/analytics": "^2.0.1",
1920
"posecode-language": "0.1.0",
2021
"posecode-parser": "0.1.0",
2122
"posecode-render": "0.1.0",

playground/public/llm-guide.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@
9999
@media(max-width:600px){.wrap{padding:0 18px}}
100100
</style>
101101

102+
<script>
103+
window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); };
104+
</script>
105+
<script defer src="/_vercel/insights/script.js"></script>
102106
</head>
103107
<body>
104108
<header class="site-nav">

playground/public/moves/arm-circles.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@
9999
@media(max-width:600px){.wrap{padding:0 18px}}
100100
</style>
101101
<script type="application/ld+json">{"@context":"https://schema.org","@type":"HowTo","name":"How to do a Arm circles","description":"How to do the arm circles (warm-up): 3 phases targeting the deltoids, body weight, beginner level. Animated 3D guide generated from Posecode, a text-to-motion language for LLMs.","step":[{"@type":"HowToStep","name":"Up & forward","text":"Sweep the arms up and forward"},{"@type":"HowToStep","name":"Out to sides","text":"Open the arms out wide to the sides"},{"@type":"HowToStep","name":"Down & round","text":"Lower and continue the circle back to the start"}]}</script>
102+
<script>
103+
window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); };
104+
</script>
105+
<script defer src="/_vercel/insights/script.js"></script>
102106
</head>
103107
<body>
104108
<header class="site-nav">

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@
9999
@media(max-width:600px){.wrap{padding:0 18px}}
100100
</style>
101101
<script type="application/ld+json">{"@context":"https://schema.org","@type":"HowTo","name":"How to do a Bent-over row","description":"How to do the bent-over row (fitness): 4 phases targeting the lats, body weight, intermediate level. Animated 3D guide generated from Posecode, a text-to-motion language for LLMs.","step":[{"@type":"HowToStep","name":"Set the hinge","text":"Hinge to a flat back, let the arms hang straight down"},{"@type":"HowToStep","name":"Row","text":"Drive the elbows up past the ribs, squeeze the shoulder blades"},{"@type":"HowToStep","name":"Lower","text":"Lower the bar under control, keep the back flat"},{"@type":"HowToStep","name":"Stand","text":"Stand up tall between sets"}]}</script>
102+
<script>
103+
window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); };
104+
</script>
105+
<script defer src="/_vercel/insights/script.js"></script>
102106
</head>
103107
<body>
104108
<header class="site-nav">

playground/public/moves/biceps.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@
9999
@media(max-width:600px){.wrap{padding:0 18px}}
100100
</style>
101101
<script type="application/ld+json">{"@context":"https://schema.org","@type":"HowTo","name":"How to do a Biceps curl","description":"How to do the biceps curl (fitness): 2 phases targeting the biceps, body weight, beginner level. Animated 3D guide generated from Posecode, a text-to-motion language for LLMs.","step":[{"@type":"HowToStep","name":"Curl","text":"Curl up, keep the elbows tucked at your sides"},{"@type":"HowToStep","name":"Lower","text":"Lower under control: don't swing"}]}</script>
102+
<script>
103+
window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); };
104+
</script>
105+
<script defer src="/_vercel/insights/script.js"></script>
102106
</head>
103107
<body>
104108
<header class="site-nav">

playground/public/moves/bicycle-crunch.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@
9999
@media(max-width:600px){.wrap{padding:0 18px}}
100100
</style>
101101
<script type="application/ld+json">{"@context":"https://schema.org","@type":"HowTo","name":"How to do a Bicycle crunch","description":"How to do the bicycle crunch (fitness): 4 phases targeting the obliques, body weight, intermediate level. Animated 3D guide generated from Posecode, a text-to-motion language for LLMs.","step":[{"@type":"HowToStep","name":"Set","text":"Hands by the ears, knees over the hips, shoulders lifted"},{"@type":"HowToStep","name":"Right to left","text":"Right elbow toward the left knee; the right leg extends long"},{"@type":"HowToStep","name":"Left to right","text":"Switch: left elbow toward the right knee"},{"@type":"HowToStep","name":"Center","text":"Return to center, knees stacked over the hips"}]}</script>
102+
<script>
103+
window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); };
104+
</script>
105+
<script defer src="/_vercel/insights/script.js"></script>
102106
</head>
103107
<body>
104108
<header class="site-nav">

playground/public/moves/bow.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@
9999
@media(max-width:600px){.wrap{padding:0 18px}}
100100
</style>
101101
<script type="application/ld+json">{"@context":"https://schema.org","@type":"HowTo","name":"How to do a Standing bow","description":"How to do the standing bow (martial arts): 2 phases targeting the hamstrings, body weight, beginner level. Animated 3D guide generated from Posecode, a text-to-motion language for LLMs.","step":[{"@type":"HowToStep","name":"Bow","text":"Hinge forward from the hips into a respectful bow, back flat"},{"@type":"HowToStep","name":"Rise","text":"Return smoothly to standing"}]}</script>
102+
<script>
103+
window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); };
104+
</script>
105+
<script defer src="/_vercel/insights/script.js"></script>
102106
</head>
103107
<body>
104108
<header class="site-nav">

playground/public/moves/box-squat.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@
9999
@media(max-width:600px){.wrap{padding:0 18px}}
100100
</style>
101101
<script type="application/ld+json">{"@context":"https://schema.org","@type":"HowTo","name":"How to do a Box squat","description":"How to do the box squat (fitness): 2 phases targeting the quadriceps, chair, beginner level. Animated 3D guide generated from Posecode, a text-to-motion language for LLMs.","step":[{"@type":"HowToStep","name":"Sit back","text":"Push the hips back and sit lightly onto the box"},{"@type":"HowToStep","name":"Stand","text":"Drive up to standing without bouncing off the box"}]}</script>
102+
<script>
103+
window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); };
104+
</script>
105+
<script defer src="/_vercel/insights/script.js"></script>
102106
</head>
103107
<body>
104108
<header class="site-nav">

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@
9999
@media(max-width:600px){.wrap{padding:0 18px}}
100100
</style>
101101
<script type="application/ld+json">{"@context":"https://schema.org","@type":"HowTo","name":"How to do a Box step taps","description":"How to do the box step taps (warm-up): 4 phases targeting the hip flexors, box, beginner level. Animated 3D guide generated from Posecode, a text-to-motion language for LLMs.","step":[{"@type":"HowToStep","name":"Right tap","text":"Tap the right foot lightly on top of the box"},{"@type":"HowToStep","name":"Right down","text":"Return the right foot to the floor"},{"@type":"HowToStep","name":"Left tap","text":"Tap the left foot on the box"},{"@type":"HowToStep","name":"Left down","text":"Back to the floor: keep a light, quick rhythm"}]}</script>
102+
<script>
103+
window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); };
104+
</script>
105+
<script defer src="/_vercel/insights/script.js"></script>
102106
</head>
103107
<body>
104108
<header class="site-nav">

0 commit comments

Comments
 (0)