diff --git a/README.md b/README.md index 1f2a224..5e3b5af 100644 --- a/README.md +++ b/README.md @@ -148,3 +148,11 @@ Result on staging, 2026-10-07, 12 buyers at once: | Stock shown afterwards | 0 | | Square payments completed / authorisations left open | 1 / 0 | | Time until the last buyer heard "sold" | 53 s (queued behind one-at-a-time checkout) | + +## Related pottery projects + +Open-source tools built alongside the studio by Aaron Filson: + +- **Glaze & clay chemistry:** [Glazecalc](https://glazecalcapp.com) ([repo](https://github.com/AaronFilson/glazecalc)), modular libraries [`glazecalc-core`](https://github.com/AaronFilson/glazecalc-core) and [`glazecalc-catalog`](https://github.com/AaronFilson/glazecalc-catalog), [`glaze-vault`](https://github.com/AaronFilson/glaze-vault) (encrypted offline recipe vault), and [`detective-ceramic-ingredient-tailor`](https://github.com/AaronFilson/detective-ceramic-ingredient-tailor) (wild clay, rock, and ash oxide/UMF estimator) +- **Kiln engineering:** [`kilndesigner`](https://github.com/AaronFilson/kilndesigner) (heat loss, burner/element sizing, masonry checks, and CAD/PDF plans) and [`kilnscrub`](https://github.com/AaronFilson/kilnscrub) (exhaust scrubber designer, CAD/BOM exporter, and controller) +- **Community studio ops:** [`studiomanager`](https://github.com/AaronFilson/studiomanager) (pieces, kiln queues, firing fees, double-entry ledger, and shared glaze book) diff --git a/e2e/seo.spec.mjs b/e2e/seo.spec.mjs index b1d1185..9b90b2e 100644 --- a/e2e/seo.spec.mjs +++ b/e2e/seo.spec.mjs @@ -131,3 +131,22 @@ test.describe("without JavaScript", () => { await expect(page.locator(".shop-lede").first()).toContainText("One-of-a-kind porcelain and stoneware"); }); }); + +test("about, kilns, and terms cross-link the studio pottery tools and entity schema", async ({ page }) => { + await page.goto("/about.html"); + await expect(page.locator('#projects a[href="https://glazecalcapp.com"]')).toHaveCount(1); + const schema = JSON.parse(await page.locator('head script[type="application/ld+json"]').first().textContent()); + const person = schema["@graph"][0].mainEntity; + expect(person.sameAs).toContain("https://github.com/AaronFilson"); + expect(person.sameAs).toContain("https://glazecalcapp.com/about"); + const app = schema["@graph"].find((n) => n["@type"] === "WebApplication"); + expect(app).toMatchObject({ name: "Glazecalc", url: "https://glazecalcapp.com/" }); + expect(app.author["@id"]).toMatch(/\/about\.html#aaron$/); + + await page.goto("/kilns.html"); + await expect(page.locator('#soda-kiln a[href="https://github.com/AaronFilson/kilndesigner"]')).toHaveCount(1); + await expect(page.locator('#soda-kiln a[href="https://github.com/AaronFilson/kilnscrub"]')).toHaveCount(1); + + await page.goto("/terms.html"); + await expect(page.locator('dd a[href="https://glazecalcapp.com"]')).toHaveCount(1); +}); diff --git a/scripts/build.mjs b/scripts/build.mjs index 46a78c0..577d623 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -68,6 +68,7 @@ const mb = (bytes) => (bytes / 1048576).toFixed(1) + " MB"; const hash = (buf) => createHash("sha256").update(buf).digest("hex").slice(0, 8); const readData = async (file) => JSON.parse(await readFile(path.join(SRC, "data", file), "utf8")); const SAME_AS = ["https://www.instagram.com/aaronmakespottery/", "https://www.facebook.com/AaronFilsonCeramics/"]; +const PERSON_SAME_AS = [...SAME_AS, "https://github.com/AaronFilson", "https://glazecalcapp.com/about"]; // Turns a gallery photo's title into a readable URL slug without cutting mid-word, so Google Images // sees e.g. /img/archive/01-green-footed-bowl-800-HASH.webp instead of /img/archive/01-800-HASH.webp. @@ -498,7 +499,8 @@ function pageSchema(name, html, { ogs, icon512, email, meta, archive, terms, cat { "@type": "CollegeOrUniversity", name: "University of Puget Sound" }, { "@type": "CollegeOrUniversity", name: "Green River College" }, ], - sameAs: SAME_AS, + knowsAbout: ["Pottery", "Ceramics", "Glaze chemistry", "Soda-fired ceramics", "Kiln design"], + sameAs: PERSON_SAME_AS, }, }; } else if (name === "past-work.html") { @@ -607,7 +609,22 @@ function pageSchema(name, html, { ogs, icon512, email, meta, archive, terms, cat }; } const crumbs = crumbsSchema(name); - return { "@context": "https://schema.org", "@graph": crumbs ? [primary, crumbs] : [primary] }; + const extra = + name === "about.html" + ? [ + { + "@type": "WebApplication", + "@id": "https://glazecalcapp.com/#app", + name: "Glazecalc", + url: "https://glazecalcapp.com/", + applicationCategory: "DesignApplication", + operatingSystem: "Any", + isAccessibleForFree: true, + author: { "@id": personId }, + }, + ] + : []; + return { "@context": "https://schema.org", "@graph": [...(crumbs ? [primary, crumbs] : [primary]), ...extra] }; } // Head tags shared by every page; title and description are read from the page itself. diff --git a/site/about.html b/site/about.html index 8bab887..664ca85 100644 --- a/site/about.html +++ b/site/about.html @@ -49,6 +49,47 @@
Browse available pieces in the shop →
+ ++ Outside the kiln shed, I am a software engineer and build free, open-source tools for potters, kiln builders, and + community studios. +
+