Skip to content

Commit 80a6937

Browse files
committed
Point HOMEPAGE at the GitHub Pages URL; relative llms.txt discovery links
1 parent a9ad7b9 commit 80a6937

7 files changed

Lines changed: 216 additions & 216 deletions

File tree

build/build.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import { buildSnippet } from './snippet.js';
1010
import { validateAll, validate, loadEffectSchema } from './validate.mjs';
1111
import { readFileSync } from 'node:fs';
1212

13-
// homepage: edit here. No trailing slash.
14-
const HOMEPAGE = 'https://fx-lab.example';
13+
// homepage: edit here. No trailing slash. (GitHub Pages project site; host is lowercased.)
14+
const HOMEPAGE = 'https://rosuh.github.io/fx-lab';
1515

1616
const ROOT = join(dirname(fileURLToPath(import.meta.url)), '..');
1717
const SITE = join(ROOT, 'site');

site/fx-index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "fx-lab",
33
"version": "0.1.0",
4-
"homepage": "https://fx-lab.example/",
4+
"homepage": "https://rosuh.github.io/fx-lab/",
55
"sections": [
66
{
77
"id": "generative",

site/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<title>FX Lab — 99 zero-dependency web effects</title>
77
<meta name="description" content="99 paste-anywhere web effects (WebGL2 / Canvas2D / DOM). Find one by vibe, copy a self-contained snippet.">
88
<!-- LLM/agent discovery: a slim, vibe-first catalog lives at /llms.txt -->
9-
<link rel="alternate" type="text/markdown" href="/llms.txt">
10-
<meta name="llms-txt" content="/llms.txt">
9+
<link rel="alternate" type="text/markdown" href="./llms.txt">
10+
<meta name="llms-txt" content="./llms.txt">
1111
<style>
1212
:root { --bg:#0a0b0d; --panel:#101216; --line:#23262d; --fg:#e7e9ee; --dim:#9aa3b2; --accent:#CDE85A; }
1313
* { box-sizing:border-box; }

site/llms-full.txt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
## Drop-in snippet
1414

15-
See full GLSL + drop-in snippet in [gradient.json](https://fx-lab.example/effects/gradient.json).
15+
See full GLSL + drop-in snippet in [gradient.json](https://rosuh.github.io/fx-lab/effects/gradient.json).
1616

1717
## Runtime notes
1818

@@ -39,7 +39,7 @@ WebGL2 fragment shader compiled against the shared PRE preamble (uniforms iResol
3939

4040
## Drop-in snippet
4141

42-
See full GLSL + drop-in snippet in [dots.json](https://fx-lab.example/effects/dots.json).
42+
See full GLSL + drop-in snippet in [dots.json](https://rosuh.github.io/fx-lab/effects/dots.json).
4343

4444
## Runtime notes
4545

@@ -66,7 +66,7 @@ WebGL2 fragment shader compiled against the shared PRE preamble (uniforms iResol
6666

6767
## Drop-in snippet
6868

69-
See full GLSL + drop-in snippet in [metaballs.json](https://fx-lab.example/effects/metaballs.json).
69+
See full GLSL + drop-in snippet in [metaballs.json](https://rosuh.github.io/fx-lab/effects/metaballs.json).
7070

7171
## Runtime notes
7272

@@ -93,7 +93,7 @@ WebGL2 fragment shader compiled against the shared PRE preamble (uniforms iResol
9393

9494
## Drop-in snippet
9595

96-
See full GLSL + drop-in snippet in [aurora.json](https://fx-lab.example/effects/aurora.json).
96+
See full GLSL + drop-in snippet in [aurora.json](https://rosuh.github.io/fx-lab/effects/aurora.json).
9797

9898
## Runtime notes
9999

@@ -120,7 +120,7 @@ WebGL2 fragment shader compiled against the shared PRE preamble (uniforms iResol
120120

121121
## Drop-in snippet
122122

123-
See full GLSL + drop-in snippet in [ripple.json](https://fx-lab.example/effects/ripple.json).
123+
See full GLSL + drop-in snippet in [ripple.json](https://rosuh.github.io/fx-lab/effects/ripple.json).
124124

125125
## Runtime notes
126126

@@ -147,7 +147,7 @@ WebGL2 fragment shader compiled against the shared PRE preamble (uniforms iResol
147147

148148
## Drop-in snippet
149149

150-
See full GLSL + drop-in snippet in [voronoi.json](https://fx-lab.example/effects/voronoi.json).
150+
See full GLSL + drop-in snippet in [voronoi.json](https://rosuh.github.io/fx-lab/effects/voronoi.json).
151151

152152
## Runtime notes
153153

@@ -174,7 +174,7 @@ WebGL2 fragment shader compiled against the shared PRE preamble (uniforms iResol
174174

175175
## Drop-in snippet
176176

177-
See full GLSL + drop-in snippet in [truchet.json](https://fx-lab.example/effects/truchet.json).
177+
See full GLSL + drop-in snippet in [truchet.json](https://rosuh.github.io/fx-lab/effects/truchet.json).
178178

179179
## Runtime notes
180180

@@ -201,7 +201,7 @@ WebGL2 fragment shader compiled against the shared PRE preamble (uniforms iResol
201201

202202
## Drop-in snippet
203203

204-
See full GLSL + drop-in snippet in [kaleido.json](https://fx-lab.example/effects/kaleido.json).
204+
See full GLSL + drop-in snippet in [kaleido.json](https://rosuh.github.io/fx-lab/effects/kaleido.json).
205205

206206
## Runtime notes
207207

@@ -228,7 +228,7 @@ WebGL2 fragment shader compiled against the shared PRE preamble (uniforms iResol
228228

229229
## Drop-in snippet
230230

231-
See full GLSL + drop-in snippet in [raymarch.json](https://fx-lab.example/effects/raymarch.json).
231+
See full GLSL + drop-in snippet in [raymarch.json](https://rosuh.github.io/fx-lab/effects/raymarch.json).
232232

233233
## Runtime notes
234234

@@ -255,7 +255,7 @@ WebGL2 fragment shader compiled against the shared PRE preamble (uniforms iResol
255255

256256
## Drop-in snippet
257257

258-
See full GLSL + drop-in snippet in [vapor.json](https://fx-lab.example/effects/vapor.json).
258+
See full GLSL + drop-in snippet in [vapor.json](https://rosuh.github.io/fx-lab/effects/vapor.json).
259259

260260
## Runtime notes
261261

@@ -282,7 +282,7 @@ WebGL2 fragment shader compiled against the shared PRE preamble (uniforms iResol
282282

283283
## Drop-in snippet
284284

285-
See full GLSL + drop-in snippet in [glitch.json](https://fx-lab.example/effects/glitch.json).
285+
See full GLSL + drop-in snippet in [glitch.json](https://rosuh.github.io/fx-lab/effects/glitch.json).
286286

287287
## Runtime notes
288288

0 commit comments

Comments
 (0)