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 = ` `; const links = [ { href: "/", label: "Home" }, { href: "/newsletter/", label: "Newsletter" }, { href: STORE_URL, label: "Store", external: true }, { href: "/write/", label: "Become a writer" }, { href: "/rss.xml", label: "RSS" } ]; const navLinks = (cls = "") => links .map( (l) => `${l.label}` ) .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" }) => ` ${title} ${url ? `` : ""} ${image ? `` : ""} ${url ? `` : ""} `; export const nav = `
${logo}

apophenia.news

for pattern seekers

`; export const footer = ` `;