From 83e35774d1484b990938ec8a7ccfbe12bf7ad0f7 Mon Sep 17 00:00:00 2001 From: multipleof4 Date: Mon, 10 Aug 2026 18:04:31 -0700 Subject: [PATCH] Feat: add Pattern Seeker merch CTA block Co-authored-by: Opus 5 --- scripts/lib/templates.mjs | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/scripts/lib/templates.mjs b/scripts/lib/templates.mjs index b467908..11c3087 100644 --- a/scripts/lib/templates.mjs +++ b/scripts/lib/templates.mjs @@ -2,6 +2,7 @@ import { SITE_URL } from "./constants.mjs"; import { escapeHtml } from "./utils.mjs"; const STORE_URL = "https://store.apophenia.news"; +const PRODUCT_URL = `${STORE_URL}/products/pattern-seeker`; const logo = ` @@ -36,6 +37,41 @@ const navLinks = (cls = "") => ) .join("\n "); +const merchShots = [ + { src: "/merch/apophenia_hoodie_front.avif", alt: "Pattern Seeker zip hoodie — chest mark", origin: "61%_29%", zoom: "2.4" }, + { src: "/merch/apophenia_hoodie_back.webp", alt: "Pattern Seeker zip hoodie — constellation back print", origin: "50%_38%", zoom: "2.1" } +]; + +export const merch = ` +
+
+
+

Merch

+

Wear the pattern

+

+ The Pattern Seeker heavy-blend zip hoodie — constellation print across the back, quiet mark on the chest. +

+ + Shop the hoodie + + +
+
+ ${merchShots + .map( + (m) => ` + ${escapeHtml(m.alt)} + ` + ) + .join("\n ")} +
+
+ +`; + export const shellHead = ({ title, desc, image, url, type = "website" }) => `