An open source design system that's fully customizable and agent ready
TypeScript
Self-host lookaside CDN images under /public (#3973)
Xinzi Zhoub68ee614fb0f
diff --git a/.changeset/self-host-lookaside-images.md b/.changeset/self-host-lookaside-images.mdnew file mode 100644index 0000000000..b6f085b65c--- /dev/null+++ b/.changeset/self-host-lookaside-images.md@@ -0,0 +1,16 @@+---+'@astryxdesign/cli': patch+---++[chore] Self-host template demo imagery in the repo instead of streaming it+from the internal `lookaside.facebook.com` CDN.++- Template demo images are now committed under+ `apps/docsite/public/template-assets/` and referenced by root-relative+ `/template-assets/*` paths (previously Meta-internal CDN URLs invisible to+ external contributors).+- `stripTemplateAssetRefs` still swaps these paths for the inline `data:` URI+ placeholder on scaffold, so generated projects render with zero setup and no+ network dependency — no image is ever copied into a scaffolded project.++@imdreamrunnerdiff --git a/.github/instructions/templates.instructions.md b/.github/instructions/templates.instructions.mdindex f52b5cc405..6a2ffe4676 100644--- a/.github/instructions/templates.instructions.md+++ b/.github/instructions/templates.instructions.md@@ -71,11 +71,18 @@ layout change → full structure pass`.missing fields, a wrong `aspectRatio`, `componentsUsed` drift, and missing`scale` for tiny components (Badge/StatusDot/single Icon/Spinner → `2` or`3`).-6. **Image handling (5)** — images only from the astryx CDN via the permanent- lookaside URL (`https://lookaside.facebook.com/assets/astryx/<asset>.png`)- with an asset-name comment. Flag external URLs (unsplash/placehold/picsum),- checked-in image files, data URIs, and expiring signed `scontent…fbcdn.net`- URLs.+6. **Image handling (5)** — demo imagery is referenced by a root-relative path+ under `/template-assets/<asset>.png`, self-hosted in the repo under+ `apps/docsite/public/template-assets/` (mirrored into the sandbox preview at+ generate time). To use an existing image, browse that directory and reference+ it by name with an asset-name comment; to add a new one, drop the file into+ that same directory and reference it the same way. On scaffold,+ `stripTemplateAssetRefs` swaps these paths for an inline placeholder so a+ generated project renders with zero setup. Flag external URLs+ (unsplash/placehold/picsum), expiring signed `scontent…fbcdn.net` URLs, and+ inline data URIs. Image-backed Thumbnail examples are the one exception: they+ inline a same-origin, samplable `data:` URI (required by `useImageMode` — see+ `scripts/check-demo-media.mjs`).7. **Code quality (10)** — `'use client';` first line; `export default`;self-contained imports (`@astryxdesign/core/*`, `@heroicons/react/*`, orlocal only); realistic mock data (real names/values, neverdiff --git a/apps/docsite/public/images/Astryx-Banner.png b/apps/docsite/public/images/Astryx-Banner.pngnew file mode 100644index 0000000000..46f435a7e7Binary files /dev/null and b/apps/docsite/public/images/Astryx-Banner.png differdiff --git a/apps/docsite/public/images/avatars/DATA-Ami-Pena.png b/apps/docsite/public/images/avatars/DATA-Ami-Pena.pngnew file mode 100644index 0000000000..753c9a7625Binary files /dev/null and b/apps/docsite/public/images/avatars/DATA-Ami-Pena.png differdiff --git a/apps/docsite/public/images/avatars/[email protected] b/apps/docsite/public/images/avatars/[email protected]new file mode 100644index 0000000000..8e5407916eBinary files /dev/null and b/apps/docsite/public/images/avatars/[email protected] differdiff --git a/apps/docsite/public/images/butter/preview-backpack.png b/apps/docsite/public/images/butter/preview-backpack.pngnew file mode 100644index 0000000000..6810c289a2Binary files /dev/null and b/apps/docsite/public/images/butter/preview-backpack.png differdiff --git a/apps/docsite/public/images/butter/[email protected] b/apps/docsite/public/images/butter/[email protected]new file mode 100644index 0000000000..104cc9b9aaBinary files /dev/null and b/apps/docsite/public/images/butter/[email protected] differdiff --git a/apps/docsite/public/images/butter/preview-headphones.png b/apps/docsite/public/images/butter/preview-headphones.pngnew file mode 100644index 0000000000..c7490ecd20Binary files /dev/null and b/apps/docsite/public/images/butter/preview-headphones.png differdiff --git a/apps/docsite/public/images/butter/[email protected] b/apps/docsite/public/images/butter/[email protected]new file mode 100644index 0000000000..57d62b190aBinary files /dev/null and b/apps/docsite/public/images/butter/[email protected] differdiff --git a/apps/docsite/public/images/butter/preview-throw.png b/apps/docsite/public/images/butter/preview-throw.pngnew file mode 100644index 0000000000..de6101e8eeBinary files /dev/null and b/apps/docsite/public/images/butter/preview-throw.png differdiff --git a/apps/docsite/public/images/butter/[email protected] b/apps/docsite/public/images/butter/[email protected]new file mode 100644index 0000000000..d8ed5228feBinary files /dev/null and b/apps/docsite/public/images/butter/[email protected] differdiff --git a/apps/docsite/public/images/butter/preview-tumbler.png b/apps/docsite/public/images/butter/preview-tumbler.pngnew file mode 100644index 0000000000..46701204f1Binary files /dev/null and b/apps/docsite/public/images/butter/preview-tumbler.png differdiff --git a/apps/docsite/public/images/butter/[email protected] b/apps/docsite/public/images/butter/[email protected]new file mode 100644index 0000000000..cbe7ed40adBinary files /dev/null and b/apps/docsite/public/images/butter/[email protected] differdiff --git a/apps/docsite/public/images/butter/preview-wallet.png b/apps/docsite/public/images/butter/preview-wallet.pngnew file mode 100644index 0000000000..ad026a69a5Binary files /dev/null and b/apps/docsite/public/images/butter/preview-wallet.png differdiff --git a/apps/docsite/public/images/butter/[email protected] b/apps/docsite/public/images/butter/[email protected]new file mode 100644index 0000000000..5f6c02bd95Binary files /dev/null and b/apps/docsite/public/images/butter/[email protected] differdiff --git a/apps/docsite/public/images/butter/preview-watch.png b/apps/docsite/public/images/butter/preview-watch.pngnew file mode 100644index 0000000000..de6101e8eeBinary files /dev/null and b/apps/docsite/public/images/butter/preview-watch.png differdiff --git a/apps/docsite/public/images/butter/[email protected] b/apps/docsite/public/images/butter/[email protected]new file mode 100644index 0000000000..d8ed5228feBinary files /dev/null and b/apps/docsite/public/images/butter/[email protected] differdiff --git a/apps/docsite/public/images/gothic/preview-backpack.png b/apps/docsite/public/images/gothic/preview-backpack.pngnew file mode 100644index 0000000000..b7523f9a6bBinary files /dev/null and b/apps/docsite/public/images/gothic/preview-backpack.png differdiff --git a/apps/docsite/public/images/gothic/[email protected] b/apps/docsite/public/images/gothic/[email protected]new file mode 100644index 0000000000..74de4da88cBinary files /dev/null and b/apps/docsite/public/images/gothic/[email protected] differdiff --git a/apps/docsite/public/images/gothic/preview-headphones.png b/apps/docsite/public/images/gothic/preview-headphones.pngnew file mode 100644index 0000000000..273c761221Binary files /dev/null and b/apps/docsite/public/images/gothic/preview-headphones.png differdiff --git a/apps/docsite/public/images/gothic/[email protected] b/apps/docsite/public/images/gothic/[email protected]new file mode 100644index 0000000000..62de712020Binary files /dev/null and b/apps/docsite/public/images/gothic/[email protected] differdiff --git a/apps/docsite/public/images/gothic/preview-throw.png b/apps/docsite/public/images/gothic/preview-throw.pngnew file mode 100644index 0000000000..848f00e00bBinary files /dev/null and b/apps/docsite/public/images/gothic/preview-throw.png differdiff --git a/apps/docsite/public/images/gothic/[email protected] b/apps/docsite/public/images/gothic/[email protected]new file mode 100644index 0000000000..8626b9d6acBinary files /dev/null and b/apps/docsite/public/images/gothic/[email protected] differdiff --git a/apps/docsite/public/images/gothic/preview-tumbler.png b/apps/docsite/public/images/gothic/preview-tumbler.pngnew file mode 100644index 0000000000..456fe4cca8Binary files /dev/null and b/apps/docsite/public/images/gothic/preview-tumbler.png differdiff --git a/apps/docsite/public/images/gothic/[email protected] b/apps/docsite/public/images/gothic/[email protected]new file mode 100644index 0000000000..305c530212Binary files /dev/null and b/apps/docsite/public/images/gothic/[email protected] differdiff --git a/apps/docsite/public/images/gothic/preview-wallet.png b/apps/docsite/public/images/gothic/preview-wallet.pngnew file mode 100644index 0000000000..fe59a43326Binary files /dev/null and b/apps/docsite/public/images/gothic/preview-wallet.png differdiff --git a/apps/docsite/public/images/gothic/[email protected] b/apps/docsite/public/images/gothic/[email protected]new file mode 100644index 0000000000..d925a3e0e3Binary files /dev/null and b/apps/docsite/public/images/gothic/[email protected] differdiff --git a/apps/docsite/public/images/gothic/preview-watch.png b/apps/docsite/public/images/gothic/preview-watch.pngnew file mode 100644index 0000000000..40431654b8Binary files /dev/null and b/apps/docsite/public/images/gothic/preview-watch.png differdiff --git a/apps/docsite/public/images/gothic/[email protected] b/apps/docsite/public/images/gothic/[email protected]new file mode 100644index 0000000000..a080664e81Binary files /dev/null and b/apps/docsite/public/images/gothic/[email protected] differdiff --git a/apps/docsite/public/images/matcha/preview-backpack.png b/apps/docsite/public/images/matcha/preview-backpack.pngnew file mode 100644index 0000000000..bb1261b677Binary files /dev/null and b/apps/docsite/public/images/matcha/preview-backpack.png differdiff --git a/apps/docsite/public/images/matcha/preview-headphones.png b/apps/docsite/public/images/matcha/preview-headphones.pngnew file mode 100644index 0000000000..752c29b9eeBinary files /dev/null and b/apps/docsite/public/images/matcha/preview-headphones.png differdiff --git a/apps/docsite/public/images/matcha/preview-throw.png b/apps/docsite/public/images/matcha/preview-throw.pngnew file mode 100644index 0000000000..990f80a6d0Binary files /dev/null and b/apps/docsite/public/images/matcha/preview-throw.png differdiff --git a/apps/docsite/public/images/matcha/preview-tumbler.png b/apps/docsite/public/images/matcha/preview-tumbler.pngnew file mode 100644index 0000000000..dd5715e4c1Binary files /dev/null and b/apps/docsite/public/images/matcha/preview-tumbler.png differdiff --git a/apps/docsite/public/images/matcha/preview-wallet.png b/apps/docsite/public/images/matcha/preview-wallet.pngnew file mode 100644index 0000000000..0a44fbed71Binary files /dev/null and b/apps/docsite/public/images/matcha/preview-wallet.png differdiff --git a/apps/docsite/public/images/matcha/preview-watch.png b/apps/docsite/public/images/matcha/preview-watch.pngnew file mode 100644index 0000000000..1b9c843a9aBinary files /dev/null and b/apps/docsite/public/images/matcha/preview-watch.png differdiff --git a/apps/docsite/public/images/stone/preview-backpack.png b/apps/docsite/public/images/stone/preview-backpack.pngnew file mode 100644index 0000000000..91bedf7a10Binary files /dev/null and b/apps/docsite/public/images/stone/preview-backpack.png differdiff --git a/apps/docsite/public/images/stone/[email protected] b/apps/docsite/public/images/stone/[email protected]new file mode 100644index 0000000000..15780580c7Binary files /dev/null and b/apps/docsite/public/images/stone/[email protected] differdiff --git a/apps/docsite/public/images/stone/preview-headphones.png b/apps/docsite/public/images/stone/preview-headphones.pngnew file mode 100644index 0000000000..d368c423eaBinary files /dev/null and b/apps/docsite/public/images/stone/preview-headphones.png differdiff --git a/apps/docsite/public/images/stone/[email protected] b/apps/docsite/public/images/stone/[email protected]new file mode 100644index 0000000000..d5852835b7Binary files /dev/null and b/apps/docsite/public/images/stone/[email protected] differdiff --git a/apps/docsite/public/images/stone/preview-throw.png b/apps/docsite/public/images/stone/preview-throw.pngnew file mode 100644index 0000000000..2b038f1f3cBinary files /dev/null and b/apps/docsite/public/images/stone/preview-throw.png differdiff --git a/apps/docsite/public/images/stone/[email protected] b/apps/docsite/public/images/stone/[email protected]new file mode 100644index 0000000000..21f41f02eeBinary files /dev/null and b/apps/docsite/public/images/stone/[email protected] differdiff --git a/apps/docsite/public/images/stone/preview-tumbler.png b/apps/docsite/public/images/stone/preview-tumbler.pngnew file mode 100644index 0000000000..912d76bf32Binary files /dev/null and b/apps/docsite/public/images/stone/preview-tumbler.png differdiff --git a/apps/docsite/public/images/stone/[email protected] b/apps/docsite/public/images/stone/[email protected]new file mode 100644index 0000000000..ba99dbb4c4Binary files /dev/null and b/apps/docsite/public/images/stone/[email protected] differdiff --git a/apps/docsite/public/images/stone/preview-wallet.png b/apps/docsite/public/images/stone/preview-wallet.pngnew file mode 100644index 0000000000..33b701328eBinary files /dev/null and b/apps/docsite/public/images/stone/preview-wallet.png differdiff --git a/apps/docsite/public/images/stone/[email protected] b/apps/docsite/public/images/stone/[email protected]new file mode 100644index 0000000000..0d5c5b225fBinary files /dev/null and b/apps/docsite/public/images/stone/[email protected] differdiff --git a/apps/docsite/public/images/stone/preview-watch.png b/apps/docsite/public/images/stone/preview-watch.pngnew file mode 100644index 0000000000..1ca26f7b0dBinary files /dev/null and b/apps/docsite/public/images/stone/preview-watch.png differdiff --git a/apps/docsite/public/images/stone/[email protected] b/apps/docsite/public/images/stone/[email protected]new file mode 100644index 0000000000..48eca7f122Binary files /dev/null and b/apps/docsite/public/images/stone/[email protected] differdiff --git a/apps/docsite/public/images/theme-butter-picker.png b/apps/docsite/public/images/theme-butter-picker.pngnew file mode 100644index 0000000000..a36fda009bBinary files /dev/null and b/apps/docsite/public/images/theme-butter-picker.png differdiff --git a/apps/docsite/public/images/[email protected] b/apps/docsite/public/images/[email protected]new file mode 100644index 0000000000..286b5013b4Binary files /dev/null and b/apps/docsite/public/images/[email protected] differdiff --git a/apps/docsite/public/images/theme-gothic-picker.png b/apps/docsite/public/images/theme-gothic-picker.pngnew file mode 100644index 0000000000..574199bb68Binary files /dev/null and b/apps/docsite/public/images/theme-gothic-picker.png differdiff --git a/apps/docsite/public/images/[email protected] b/apps/docsite/public/images/[email protected]new file mode 100644index 0000000000..2d9ed52bb1Binary files /dev/null and b/apps/docsite/public/images/[email protected] differdiff --git a/apps/docsite/public/images/theme-matcha-picker.png b/apps/docsite/public/images/theme-matcha-picker.pngnew file mode 100644index 0000000000..7462bded0bBinary files /dev/null and b/apps/docsite/public/images/theme-matcha-picker.png differdiff --git a/apps/docsite/public/images/[email protected] b/apps/docsite/public/images/[email protected]new file mode 100644index 0000000000..437c5ef12cBinary files /dev/null and b/apps/docsite/public/images/[email protected] differdiff --git a/apps/docsite/public/images/theme-neutral-picker.png b/apps/docsite/public/images/theme-neutral-picker.pngnew file mode 100644index 0000000000..2408bea4f1Binary files /dev/null and b/apps/docsite/public/images/theme-neutral-picker.png differdiff --git a/apps/docsite/public/images/[email protected] b/apps/docsite/public/images/[email protected]new file mode 100644index 0000000000..2b2dcc5b88Binary files /dev/null and b/apps/docsite/public/images/[email protected] differdiff --git a/apps/docsite/public/images/theme-stone-picker.png b/apps/docsite/public/images/theme-stone-picker.pngnew file mode 100644index 0000000000..6b839fe924Binary files /dev/null and b/apps/docsite/public/images/theme-stone-picker.png differdiff --git a/apps/docsite/public/images/[email protected] b/apps/docsite/public/images/[email protected]new file mode 100644index 0000000000..3427fd2a9bBinary files /dev/null and b/apps/docsite/public/images/[email protected] differdiff --git a/apps/docsite/public/images/theme-y2k-picker.png b/apps/docsite/public/images/theme-y2k-picker.pngnew file mode 100644index 0000000000..75eead7b70Binary files /dev/null and b/apps/docsite/public/images/theme-y2k-picker.png differdiff --git a/apps/docsite/public/images/[email protected] b/apps/docsite/public/images/[email protected]new file mode 100644index 0000000000..3312d24790Binary files /dev/null and b/apps/docsite/public/images/[email protected] differdiff --git a/apps/docsite/public/images/y2k/preview-backpack.png b/apps/docsite/public/images/y2k/preview-backpack.pngnew file mode 100644index 0000000000..5ad0e318d0Binary files /dev/null and b/apps/docsite/public/images/y2k/preview-backpack.png differdiff --git a/apps/docsite/public/images/y2k/[email protected] b/apps/docsite/public/images/y2k/[email protected]new file mode 100644index 0000000000..3b95ec6d6bBinary files /dev/null and b/apps/docsite/public/images/y2k/[email protected] differdiff --git a/apps/docsite/public/images/y2k/preview-headphones.png b/apps/docsite/public/images/y2k/preview-headphones.pngnew file mode 100644index 0000000000..61717ec6f9Binary files /dev/null and b/apps/docsite/public/images/y2k/preview-headphones.png differdiff --git a/apps/docsite/public/images/y2k/[email protected] b/apps/docsite/public/images/y2k/[email protected]new file mode 100644index 0000000000..e57a618617Binary files /dev/null and b/apps/docsite/public/images/y2k/[email protected] differdiff --git a/apps/docsite/public/images/y2k/preview-throw.png b/apps/docsite/public/images/y2k/preview-throw.pngnew file mode 100644index 0000000000..b94a1c51e8Binary files /dev/null and b/apps/docsite/public/images/y2k/preview-throw.png differdiff --git a/apps/docsite/public/images/y2k/[email protected] b/apps/docsite/public/images/y2k/[email protected]new file mode 100644index 0000000000..8328404d0fBinary files /dev/null and b/apps/docsite/public/images/y2k/[email protected] differdiff --git a/apps/docsite/public/images/y2k/preview-tumbler.png b/apps/docsite/public/images/y2k/preview-tumbler.pngnew file mode 100644index 0000000000..1f2bc00b3dBinary files /dev/null and b/apps/docsite/public/images/y2k/preview-tumbler.png differdiff --git a/apps/docsite/public/images/y2k/[email protected] b/apps/docsite/public/images/y2k/[email protected]new file mode 100644index 0000000000..37df885c61Binary files /dev/null and b/apps/docsite/public/images/y2k/[email protected] differdiff --git a/apps/docsite/public/images/y2k/preview-wallet.png b/apps/docsite/public/images/y2k/preview-wallet.pngnew file mode 100644index 0000000000..95bd875aefBinary files /dev/null and b/apps/docsite/public/images/y2k/preview-wallet.png differdiff --git a/apps/docsite/public/images/y2k/[email protected] b/apps/docsite/public/images/y2k/[email protected]new file mode 100644index 0000000000..7b336e9b41Binary files /dev/null and b/apps/docsite/public/images/y2k/[email protected] differdiff --git a/apps/docsite/public/images/y2k/preview-watch.png b/apps/docsite/public/images/y2k/preview-watch.pngnew file mode 100644index 0000000000..6bfeb5c701Binary files /dev/null and b/apps/docsite/public/images/y2k/preview-watch.png differdiff --git a/apps/docsite/public/images/y2k/[email protected] b/apps/docsite/public/images/y2k/[email protected]new file mode 100644index 0000000000..a4ea088fc1Binary files /dev/null and b/apps/docsite/public/images/y2k/[email protected] differdiff --git a/apps/docsite/public/template-assets/AppleLogo.png b/apps/docsite/public/template-assets/AppleLogo.pngnew file mode 100644index 0000000000..31fa44e6eeBinary files /dev/null and b/apps/docsite/public/template-assets/AppleLogo.png differdiff --git a/apps/docsite/public/template-assets/DATA-Ami-Pena.png b/apps/docsite/public/template-assets/DATA-Ami-Pena.pngnew file mode 100644index 0000000000..753c9a7625Binary files /dev/null and b/apps/docsite/public/template-assets/DATA-Ami-Pena.png differdiff --git a/apps/docsite/public/template-assets/[email protected] b/apps/docsite/public/template-assets/[email protected]new file mode 100644index 0000000000..8e5407916eBinary files /dev/null and b/apps/docsite/public/template-assets/[email protected] differdiff --git a/apps/docsite/public/template-assets/DATA-Ana-Thomas.png b/apps/docsite/public/template-assets/DATA-Ana-Thomas.pngnew file mode 100644index 0000000000..5311cdcb1dBinary files /dev/null and b/apps/docsite/public/template-assets/DATA-Ana-Thomas.png differdiff --git a/apps/docsite/public/template-assets/[email protected] b/apps/docsite/public/template-assets/[email protected]new file mode 100644index 0000000000..4a29b1a47fBinary files /dev/null and b/apps/docsite/public/template-assets/[email protected] differdiff --git a/apps/docsite/public/template-assets/DATA-Daniela-Gimenez.png b/apps/docsite/public/template-assets/DATA-Daniela-Gimenez.pngnew file mode 100644index 0000000000..8ab98629aeBinary files /dev/null and b/apps/docsite/public/template-assets/DATA-Daniela-Gimenez.png differdiff --git a/apps/docsite/public/template-assets/[email protected] b/apps/docsite/public/template-assets/[email protected]new file mode 100644index 0000000000..a53bb7c4f9Binary files /dev/null and b/apps/docsite/public/template-assets/[email protected] differdiff --git a/apps/docsite/public/template-assets/DATA-Drew-Young.png b/apps/docsite/public/template-assets/DATA-Drew-Young.pngnew file mode 100644index 0000000000..17a6d33893Binary files /dev/null and b/apps/docsite/public/template-assets/DATA-Drew-Young.png differdiff --git a/apps/docsite/public/template-assets/[email protected] b/apps/docsite/public/template-assets/[email protected]new file mode 100644index 0000000000..44beed242aBinary files /dev/null and b/apps/docsite/public/template-assets/[email protected] differdiff --git a/apps/docsite/public/template-assets/DATA-Gabriela-Fernandez.png b/apps/docsite/public/template-assets/DATA-Gabriela-Fernandez.pngnew file mode 100644index 0000000000..1d960703cdBinary files /dev/null and b/apps/docsite/public/template-assets/DATA-Gabriela-Fernandez.png differdiff --git a/apps/docsite/public/template-assets/[email protected] b/apps/docsite/public/template-assets/[email protected]new file mode 100644index 0000000000..435ee0bd90Binary files /dev/null and b/apps/docsite/public/template-assets/[email protected] differdiff --git a/apps/docsite/public/template-assets/DATA-Itai-Jordaan.png b/apps/docsite/public/template-assets/DATA-Itai-Jordaan.pngnew file mode 100644index 0000000000..3269475fa4Binary files /dev/null and b/apps/docsite/public/template-assets/DATA-Itai-Jordaan.png differdiff --git a/apps/docsite/public/template-assets/[email protected] b/apps/docsite/public/template-assets/[email protected]new file mode 100644index 0000000000..37894a9a8bBinary files /dev/null and b/apps/docsite/public/template-assets/[email protected] differdiff --git a/apps/docsite/public/template-assets/DATA-Jihoo-Song.png b/apps/docsite/public/template-assets/DATA-Jihoo-Song.pngnew file mode 100644index 0000000000..f5e5ad2806Binary files /dev/null and b/apps/docsite/public/template-assets/DATA-Jihoo-Song.png differdiff --git a/apps/docsite/public/template-assets/[email protected] b/apps/docsite/public/template-assets/[email protected]new file mode 100644index 0000000000..095a5a8165Binary files /dev/null and b/apps/docsite/public/template-assets/[email protected] differdiff --git a/apps/docsite/public/template-assets/DATA-Margot-Schroder.png b/apps/docsite/public/template-assets/DATA-Margot-Schroder.pngnew file mode 100644index 0000000000..84128e641dBinary files /dev/null and b/apps/docsite/public/template-assets/DATA-Margot-Schroder.png differdiff --git a/apps/docsite/public/template-assets/[email protected] b/apps/docsite/public/template-assets/[email protected]new file mode 100644index 0000000000..db8bc2d511Binary files /dev/null and b/apps/docsite/public/template-assets/[email protected] differdiff --git a/apps/docsite/public/template-assets/DATA-Nam-Tran.png b/apps/docsite/public/template-assets/DATA-Nam-Tran.pngnew file mode 100644index 0000000000..45a56d2aa7Binary files /dev/null and b/apps/docsite/public/template-assets/DATA-Nam-Tran.png differdiff --git a/apps/docsite/public/template-assets/[email protected] b/apps/docsite/public/template-assets/[email protected]new file mode 100644index 0000000000..865fe6a7d7Binary files /dev/null and b/apps/docsite/public/template-assets/[email protected] differdiff --git a/apps/docsite/public/template-assets/DATA-Pablo-Morales.png b/apps/docsite/public/template-assets/DATA-Pablo-Morales.pngnew file mode 100644index 0000000000..f0fc1db7f4Binary files /dev/null and b/apps/docsite/public/template-assets/DATA-Pablo-Morales.png differdiff --git a/apps/docsite/public/template-assets/[email protected] b/apps/docsite/public/template-assets/[email protected]new file mode 100644index 0000000000..fec9450014Binary files /dev/null and b/apps/docsite/public/template-assets/[email protected] differdiff --git a/apps/docsite/public/template-assets/GoogleLogo.png b/apps/docsite/public/template-assets/GoogleLogo.pngnew file mode 100644index 0000000000..6171bacf9fBinary files /dev/null and b/apps/docsite/public/template-assets/GoogleLogo.png differdiff --git a/apps/docsite/public/template-assets/Nature-1.mp4 b/apps/docsite/public/template-assets/Nature-1.mp4new file mode 100644index 0000000000..9cacecd46eBinary files /dev/null and b/apps/docsite/public/template-assets/Nature-1.mp4 differdiff --git a/apps/docsite/public/template-assets/Neutral-Backpack.png b/apps/docsite/public/template-assets/Neutral-Backpack.pngnew file mode 100644index 0000000000..d6123b6e87Binary files /dev/null and b/apps/docsite/public/template-assets/Neutral-Backpack.png differdiff --git a/apps/docsite/public/template-assets/[email protected] b/apps/docsite/public/template-assets/[email protected]new file mode 100644index 0000000000..4418855a57Binary files /dev/null and b/apps/docsite/public/template-assets/[email protected] differdiff --git a/apps/docsite/public/template-assets/Neutral-Blanket.png b/apps/docsite/public/template-assets/Neutral-Blanket.pngnew file mode 100644index 0000000000..e866b174d9Binary files /dev/null and b/apps/docsite/public/template-assets/Neutral-Blanket.png differdiff --git a/apps/docsite/public/template-assets/[email protected] b/apps/docsite/public/template-assets/[email protected]new file mode 100644index 0000000000..d3de7e45c6Binary files /dev/null and b/apps/docsite/public/template-assets/[email protected] differdiff --git a/apps/docsite/public/template-assets/Neutral-Headphones.png b/apps/docsite/public/template-assets/Neutral-Headphones.pngnew file mode 100644index 0000000000..48a0a06a84Binary files /dev/null and b/apps/docsite/public/template-assets/Neutral-Headphones.png differdiff --git a/apps/docsite/public/template-assets/[email protected] b/apps/docsite/public/template-assets/[email protected]new file mode 100644index 0000000000..525a753dcfBinary files /dev/null and b/apps/docsite/public/template-assets/[email protected] differdiff --git a/apps/docsite/public/template-assets/Neutral-Tumbler.png b/apps/docsite/public/template-assets/Neutral-Tumbler.pngnew file mode 100644index 0000000000..6c7bf6ccb9Binary files /dev/null and b/apps/docsite/public/template-assets/Neutral-Tumbler.png differdiff --git a/apps/docsite/public/template-assets/[email protected] b/apps/docsite/public/template-assets/[email protected]new file mode 100644index 0000000000..c52c9024f0Binary files /dev/null and b/apps/docsite/public/template-assets/[email protected] differdiff --git a/apps/docsite/public/template-assets/Neutral-Wallet.png b/apps/docsite/public/template-assets/Neutral-Wallet.pngnew file mode 100644index 0000000000..474d81a446Binary files /dev/null and b/apps/docsite/public/template-assets/Neutral-Wallet.png differdiff --git a/apps/docsite/public/template-assets/[email protected] b/apps/docsite/public/template-assets/[email protected]new file mode 100644index 0000000000..efc941ebdbBinary files /dev/null and b/apps/docsite/public/template-assets/[email protected] differdiff --git a/apps/docsite/public/template-assets/Neutral-Watch.png b/apps/docsite/public/template-assets/Neutral-Watch.pngnew file mode 100644index 0000000000..2e6a5ba21dBinary files /dev/null and b/apps/docsite/public/template-assets/Neutral-Watch.png differdiff --git a/apps/docsite/public/template-assets/[email protected] b/apps/docsite/public/template-assets/[email protected]new file mode 100644index 0000000000..4f7628ac50Binary files /dev/null and b/apps/docsite/public/template-assets/[email protected] differdiff --git a/apps/docsite/public/template-assets/building.png b/apps/docsite/public/template-assets/building.pngnew file mode 100644index 0000000000..0ab9b78a8dBinary files /dev/null and b/apps/docsite/public/template-assets/building.png differdiff --git a/apps/docsite/public/template-assets/colorful-home-horizontal-1.png b/apps/docsite/public/template-assets/colorful-home-horizontal-1.pngnew file mode 100644index 0000000000..ca1ba87a8eBinary files /dev/null and b/apps/docsite/public/template-assets/colorful-home-horizontal-1.png differdiff --git a/apps/docsite/public/template-assets/colorful-home-horizontal-2.png b/apps/docsite/public/template-assets/colorful-home-horizontal-2.pngnew file mode 100644index 0000000000..368349cbf1Binary files /dev/null and b/apps/docsite/public/template-assets/colorful-home-horizontal-2.png differdiff --git a/apps/docsite/public/template-assets/colorful-home-vertical-1.png b/apps/docsite/public/template-assets/colorful-home-vertical-1.pngnew file mode 100644index 0000000000..4589250816Binary files /dev/null and b/apps/docsite/public/template-assets/colorful-home-vertical-1.png differdiff --git a/apps/docsite/public/template-assets/colorful-home-vertical-2.png b/apps/docsite/public/template-assets/colorful-home-vertical-2.pngnew file mode 100644index 0000000000..eda7ec93c4Binary files /dev/null and b/apps/docsite/public/template-assets/colorful-home-vertical-2.png differdiff --git a/apps/docsite/public/template-assets/colorful-home-vertical-3.png b/apps/docsite/public/template-assets/colorful-home-vertical-3.pngnew file mode 100644index 0000000000..43eaedf07aBinary files /dev/null and b/apps/docsite/public/template-assets/colorful-home-vertical-3.png differdiff --git a/apps/docsite/public/template-assets/colorful-lifestyle-horizontal-1.png b/apps/docsite/public/template-assets/colorful-lifestyle-horizontal-1.pngnew file mode 100644index 0000000000..5bbb059232Binary files /dev/null and b/apps/docsite/public/template-assets/colorful-lifestyle-horizontal-1.png differdiff --git a/apps/docsite/public/template-assets/colorful-lifestyle-horizontal-2.png b/apps/docsite/public/template-assets/colorful-lifestyle-horizontal-2.pngnew file mode 100644index 0000000000..36b05c1e2eBinary files /dev/null and b/apps/docsite/public/template-assets/colorful-lifestyle-horizontal-2.png differdiff --git a/apps/docsite/public/template-assets/colorful-lifestyle-vertical-1.png b/apps/docsite/public/template-assets/colorful-lifestyle-vertical-1.pngnew file mode 100644index 0000000000..7c0189d527Binary files /dev/null and b/apps/docsite/public/template-assets/colorful-lifestyle-vertical-1.png differdiff --git a/apps/docsite/public/template-assets/colorful-lifestyle-vertical-2.png b/apps/docsite/public/template-assets/colorful-lifestyle-vertical-2.pngnew file mode 100644index 0000000000..eccf83ae72Binary files /dev/null and b/apps/docsite/public/template-assets/colorful-lifestyle-vertical-2.png differdiff --git a/apps/docsite/public/template-assets/colorful-lifestyle-vertical-3.png b/apps/docsite/public/template-assets/colorful-lifestyle-vertical-3.pngnew file mode 100644index 0000000000..83a5464666Binary files /dev/null and b/apps/docsite/public/template-assets/colorful-lifestyle-vertical-3.png differdiff --git a/apps/docsite/public/template-assets/colorful-lifestyle-vertical-4.png b/apps/docsite/public/template-assets/colorful-lifestyle-vertical-4.pngnew file mode 100644index 0000000000..e199813254Binary files /dev/null and b/apps/docsite/public/template-assets/colorful-lifestyle-vertical-4.png differdiff --git a/apps/docsite/public/template-assets/colorful-product-1.png b/apps/docsite/public/template-assets/colorful-product-1.pngnew file mode 100644index 0000000000..ef70bb7b53Binary files /dev/null and b/apps/docsite/public/template-assets/colorful-product-1.png differdiff --git a/apps/docsite/public/template-assets/colorful-product-2.png b/apps/docsite/public/template-assets/colorful-product-2.pngnew file mode 100644index 0000000000..50bfe70c03Binary files /dev/null and b/apps/docsite/public/template-assets/colorful-product-2.png differdiff --git a/apps/docsite/public/template-assets/colorful-working-horizontal-1.png b/apps/docsite/public/template-assets/colorful-working-horizontal-1.pngnew file mode 100644index 0000000000..249000dea6Binary files /dev/null and b/apps/docsite/public/template-assets/colorful-working-horizontal-1.png differdiff --git a/apps/docsite/public/template-assets/colorful-working-horizontal-2.png b/apps/docsite/public/template-assets/colorful-working-horizontal-2.pngnew file mode 100644index 0000000000..101be335ceBinary files /dev/null and b/apps/docsite/public/template-assets/colorful-working-horizontal-2.png differdiff --git a/apps/docsite/public/template-assets/colorful-working-horizontal-3.png b/apps/docsite/public/template-assets/colorful-working-horizontal-3.pngnew file mode 100644index 0000000000..d79e47fcbfBinary files /dev/null and b/apps/docsite/public/template-assets/colorful-working-horizontal-3.png differdiff --git a/apps/docsite/public/template-assets/illustrative-horizontal-1.png b/apps/docsite/public/template-assets/illustrative-horizontal-1.pngnew file mode 100644index 0000000000..e587aba53dBinary files /dev/null and b/apps/docsite/public/template-assets/illustrative-horizontal-1.png differdiff --git a/apps/docsite/public/template-assets/illustrative-horizontal-2.png b/apps/docsite/public/template-assets/illustrative-horizontal-2.pngnew file mode 100644index 0000000000..e2158c5c90Binary files /dev/null and b/apps/docsite/public/template-assets/illustrative-horizontal-2.png differdiff --git a/apps/docsite/public/template-assets/illustrative-horizontal-3.png b/apps/docsite/public/template-assets/illustrative-horizontal-3.pngnew file mode 100644index 0000000000..9767141cf1Binary files /dev/null and b/apps/docsite/public/template-assets/illustrative-horizontal-3.png differdiff --git a/apps/docsite/public/template-assets/illustrative-horizontal-4.png b/apps/docsite/public/template-assets/illustrative-horizontal-4.pngnew file mode 100644index 0000000000..e77033618bBinary files /dev/null and b/apps/docsite/public/template-assets/illustrative-horizontal-4.png differdiff --git a/apps/docsite/public/template-assets/illustrative-horizontal-5.png b/apps/docsite/public/template-assets/illustrative-horizontal-5.pngnew file mode 100644index 0000000000..fc67323009Binary files /dev/null and b/apps/docsite/public/template-assets/illustrative-horizontal-5.png differdiff --git a/apps/docsite/public/template-assets/illustrative-vertical-1.png b/apps/docsite/public/template-assets/illustrative-vertical-1.pngnew file mode 100644index 0000000000..7af6ff664eBinary files /dev/null and b/apps/docsite/public/template-assets/illustrative-vertical-1.png differdiff --git a/apps/docsite/public/template-assets/illustrative-vertical-2.png b/apps/docsite/public/template-assets/illustrative-vertical-2.pngnew file mode 100644index 0000000000..1d982a7d79Binary files /dev/null and b/apps/docsite/public/template-assets/illustrative-vertical-2.png differdiff --git a/apps/docsite/public/template-assets/illustrative-vertical-3.png b/apps/docsite/public/template-assets/illustrative-vertical-3.pngnew file mode 100644index 0000000000..27445e7bf7Binary files /dev/null and b/apps/docsite/public/template-assets/illustrative-vertical-3.png differdiff --git a/apps/docsite/public/template-assets/illustrative-vertical-4.png b/apps/docsite/public/template-assets/illustrative-vertical-4.pngnew file mode 100644index 0000000000..84c7e03dd9Binary files /dev/null and b/apps/docsite/public/template-assets/illustrative-vertical-4.png differdiff --git a/apps/docsite/public/template-assets/illustrative-vertical-5.png b/apps/docsite/public/template-assets/illustrative-vertical-5.pngnew file mode 100644index 0000000000..d0fa519853Binary files /dev/null and b/apps/docsite/public/template-assets/illustrative-vertical-5.png differdiff --git a/apps/docsite/public/template-assets/light-home-horizontal-1.png b/apps/docsite/public/template-assets/light-home-horizontal-1.pngnew file mode 100644index 0000000000..4d904c3167Binary files /dev/null and b/apps/docsite/public/template-assets/light-home-horizontal-1.png differdiff --git a/apps/docsite/public/template-assets/light-home-square-1.png b/apps/docsite/public/template-assets/light-home-square-1.pngnew file mode 100644index 0000000000..b71c02024dBinary files /dev/null and b/apps/docsite/public/template-assets/light-home-square-1.png differdiff --git a/apps/docsite/public/template-assets/light-lifestyle-horizontal-1.png b/apps/docsite/public/template-assets/light-lifestyle-horizontal-1.pngnew file mode 100644index 0000000000..5fa30ee29dBinary files /dev/null and b/apps/docsite/public/template-assets/light-lifestyle-horizontal-1.png differdiff --git a/apps/docsite/public/template-assets/light-product-1.png b/apps/docsite/public/template-assets/light-product-1.pngnew file mode 100644index 0000000000..f946ffa716Binary files /dev/null and b/apps/docsite/public/template-assets/light-product-1.png differdiff --git a/apps/docsite/public/template-assets/light-product-2.png b/apps/docsite/public/template-assets/light-product-2.pngnew file mode 100644index 0000000000..8360fff1d2Binary files /dev/null and b/apps/docsite/public/template-assets/light-product-2.png differdiff --git a/apps/docsite/public/template-assets/light-product-3.png b/apps/docsite/public/template-assets/light-product-3.pngnew file mode 100644index 0000000000..73384c7a27Binary files /dev/null and b/apps/docsite/public/template-assets/light-product-3.png differdiff --git a/apps/docsite/public/template-assets/light-product-4.png b/apps/docsite/public/template-assets/light-product-4.pngnew file mode 100644index 0000000000..5c8eac05fdBinary files /dev/null and b/apps/docsite/public/template-assets/light-product-4.png differdiff --git a/apps/docsite/public/template-assets/light-product-5.png b/apps/docsite/public/template-assets/light-product-5.pngnew file mode 100644index 0000000000..a98d44f309Binary files /dev/null and b/apps/docsite/public/template-assets/light-product-5.png differdiff --git a/apps/docsite/public/template-assets/light-scene-horizontal-1.png b/apps/docsite/public/template-assets/light-scene-horizontal-1.pngnew file mode 100644index 0000000000..c9d63bb0acBinary files /dev/null and b/apps/docsite/public/template-assets/light-scene-horizontal-1.png differdiff --git a/apps/docsite/public/template-assets/light-working-horizontal-1.png b/apps/docsite/public/template-assets/light-working-horizontal-1.pngnew file mode 100644index 0000000000..32b406ca7aBinary files /dev/null and b/apps/docsite/public/template-assets/light-working-horizontal-1.png differdiff --git a/apps/docsite/public/template-assets/light-working-horizontal-2.png b/apps/docsite/public/template-assets/light-working-horizontal-2.pngnew file mode 100644index 0000000000..b8a7e91f34Binary files /dev/null and b/apps/docsite/public/template-assets/light-working-horizontal-2.png differdiff --git a/apps/docsite/public/template-assets/light-working-horizontal-3.png b/apps/docsite/public/template-assets/light-working-horizontal-3.pngnew file mode 100644index 0000000000..58c50a45faBinary files /dev/null and b/apps/docsite/public/template-assets/light-working-horizontal-3.png differdiff --git a/apps/docsite/public/template-assets/light-working-horizontal-4.png b/apps/docsite/public/template-assets/light-working-horizontal-4.pngnew file mode 100644index 0000000000..f98512c5f6Binary files /dev/null and b/apps/docsite/public/template-assets/light-working-horizontal-4.png differdiff --git a/apps/docsite/public/template-assets/light-working-vertical-1.png b/apps/docsite/public/template-assets/light-working-vertical-1.pngnew file mode 100644index 0000000000..175e700cacBinary files /dev/null and b/apps/docsite/public/template-assets/light-working-vertical-1.png differdiff --git a/apps/docsite/public/template-assets/light-working-vertical-2.png b/apps/docsite/public/template-assets/light-working-vertical-2.pngnew file mode 100644index 0000000000..c7c46086d1Binary files /dev/null and b/apps/docsite/public/template-assets/light-working-vertical-2.png differdiff --git a/apps/docsite/public/template-assets/matcha-product-1.png b/apps/docsite/public/template-assets/matcha-product-1.pngnew file mode 100644index 0000000000..1b9c843a9aBinary files /dev/null and b/apps/docsite/public/template-assets/matcha-product-1.png differdiff --git a/apps/docsite/public/template-assets/matcha-product-2.png b/apps/docsite/public/template-assets/matcha-product-2.pngnew file mode 100644index 0000000000..752c29b9eeBinary files /dev/null and b/apps/docsite/public/template-assets/matcha-product-2.png differdiff --git a/apps/docsite/public/template-assets/matcha-product-3.png b/apps/docsite/public/template-assets/matcha-product-3.pngnew file mode 100644index 0000000000..bb1261b677Binary files /dev/null and b/apps/docsite/public/template-assets/matcha-product-3.png differdiff --git a/apps/docsite/public/template-assets/matcha-product-4.png b/apps/docsite/public/template-assets/matcha-product-4.pngnew file mode 100644index 0000000000..dd5715e4c1Binary files /dev/null and b/apps/docsite/public/template-assets/matcha-product-4.png differdiff --git a/apps/docsite/public/template-assets/matcha-product-5.png b/apps/docsite/public/template-assets/matcha-product-5.pngnew file mode 100644index 0000000000..0a44fbed71Binary files /dev/null and b/apps/docsite/public/template-assets/matcha-product-5.png differdiff --git a/apps/docsite/public/template-assets/matcha-product-6.png b/apps/docsite/public/template-assets/matcha-product-6.pngnew file mode 100644index 0000000000..990f80a6d0Binary files /dev/null and b/apps/docsite/public/template-assets/matcha-product-6.png differdiff --git a/apps/docsite/public/template-assets/moody-home-horizontal-1.png b/apps/docsite/public/template-assets/moody-home-horizontal-1.pngnew file mode 100644index 0000000000..081613ced5Binary files /dev/null and b/apps/docsite/public/template-assets/moody-home-horizontal-1.png differdiff --git a/apps/docsite/public/template-assets/moody-home-horizontal-2.png b/apps/docsite/public/template-assets/moody-home-horizontal-2.pngnew file mode 100644index 0000000000..df121ca927Binary files /dev/null and b/apps/docsite/public/template-assets/moody-home-horizontal-2.png differdiff --git a/apps/docsite/public/template-assets/moody-home-vertical-1.png b/apps/docsite/public/template-assets/moody-home-vertical-1.pngnew file mode 100644index 0000000000..d2cafd3a2aBinary files /dev/null and b/apps/docsite/public/template-assets/moody-home-vertical-1.png differdiff --git a/apps/docsite/public/template-assets/moody-home-vertical-2.png b/apps/docsite/public/template-assets/moody-home-vertical-2.pngnew file mode 100644index 0000000000..b077d5cf0bBinary files /dev/null and b/apps/docsite/public/template-assets/moody-home-vertical-2.png differdiff --git a/apps/docsite/public/template-assets/moody-lifestyle-horizontal-1.png b/apps/docsite/public/template-assets/moody-lifestyle-horizontal-1.pngnew file mode 100644index 0000000000..af704857a0Binary files /dev/null and b/apps/docsite/public/template-assets/moody-lifestyle-horizontal-1.png differdiff --git a/apps/docsite/public/template-assets/moody-lifestyle-horizontal-2.png b/apps/docsite/public/template-assets/moody-lifestyle-horizontal-2.pngnew file mode 100644index 0000000000..3a8263766aBinary files /dev/null and b/apps/docsite/public/template-assets/moody-lifestyle-horizontal-2.png differdiff --git a/apps/docsite/public/template-assets/moody-lifestyle-vertical-1.png b/apps/docsite/public/template-assets/moody-lifestyle-vertical-1.pngnew file mode 100644index 0000000000..5e3ede9a62Binary files /dev/null and b/apps/docsite/public/template-assets/moody-lifestyle-vertical-1.png differdiff --git a/apps/docsite/public/template-assets/moody-lifestyle-vertical-2.png b/apps/docsite/public/template-assets/moody-lifestyle-vertical-2.pngnew file mode 100644index 0000000000..0198a2dc2fBinary files /dev/null and b/apps/docsite/public/template-assets/moody-lifestyle-vertical-2.png differdiff --git a/apps/docsite/public/template-assets/moody-scene-horizontal-1.png b/apps/docsite/public/template-assets/moody-scene-horizontal-1.pngnew file mode 100644index 0000000000..05115dd7bcBinary files /dev/null and b/apps/docsite/public/template-assets/moody-scene-horizontal-1.png differdiff --git a/apps/docsite/public/template-assets/moody-scene-horizontal-2.png b/apps/docsite/public/template-assets/moody-scene-horizontal-2.pngnew file mode 100644index 0000000000..e51d32de3bBinary files /dev/null and b/apps/docsite/public/template-assets/moody-scene-horizontal-2.png differdiff --git a/apps/docsite/public/template-assets/moody-scene-vertical-1.png b/apps/docsite/public/template-assets/moody-scene-vertical-1.pngnew file mode 100644index 0000000000..1a3548dbe2Binary files /dev/null and b/apps/docsite/public/template-assets/moody-scene-vertical-1.png differdiff --git a/apps/docsite/public/template-assets/moody-scene-vertical-2.png b/apps/docsite/public/template-assets/moody-scene-vertical-2.pngnew file mode 100644index 0000000000..ded1d3119bBinary files /dev/null and b/apps/docsite/public/template-assets/moody-scene-vertical-2.png differdiff --git a/apps/docsite/public/template-assets/moody-working-horizontal-1.png b/apps/docsite/public/template-assets/moody-working-horizontal-1.pngnew file mode 100644index 0000000000..fe60e424b1Binary files /dev/null and b/apps/docsite/public/template-assets/moody-working-horizontal-1.png differdiff --git a/apps/docsite/public/template-assets/moody-working-horizontal-2.png b/apps/docsite/public/template-assets/moody-working-horizontal-2.pngnew file mode 100644index 0000000000..4acd6feeeaBinary files /dev/null and b/apps/docsite/public/template-assets/moody-working-horizontal-2.png differdiff --git a/apps/docsite/public/template-assets/moody-working-horizontal-3.png b/apps/docsite/public/template-assets/moody-working-horizontal-3.pngnew file mode 100644index 0000000000..4df4c24300Binary files /dev/null and b/apps/docsite/public/template-assets/moody-working-horizontal-3.png differdiff --git a/apps/docsite/public/template-assets/texture-beige-horizontal-1.png b/apps/docsite/public/template-assets/texture-beige-horizontal-1.pngnew file mode 100644index 0000000000..13d742b892Binary files /dev/null and b/apps/docsite/public/template-assets/texture-beige-horizontal-1.png differdiff --git a/apps/docsite/public/template-assets/texture-beige-horizontal-2.png b/apps/docsite/public/template-assets/texture-beige-horizontal-2.pngnew file mode 100644index 0000000000..c99d68141dBinary files /dev/null and b/apps/docsite/public/template-assets/texture-beige-horizontal-2.png differdiff --git a/apps/docsite/src/__tests__/data-extraction.test.ts b/apps/docsite/src/__tests__/data-extraction.test.tsindex 1439523521..25719dc6e6 100644--- a/apps/docsite/src/__tests__/data-extraction.test.ts+++ b/apps/docsite/src/__tests__/data-extraction.test.ts@@ -319,7 +319,7 @@ describe('componentRegistry', () => {expect(lightbox!.playground?.defaults).toMatchObject({isOpen: false,media: {- src: expect.stringContaining('https://'),+ src: expect.stringContaining('/template-assets/'),alt: expect.any(String),},});diff --git a/apps/docsite/src/app/(site)/_landing/hero/HeroFloatingCards.tsx b/apps/docsite/src/app/(site)/_landing/hero/HeroFloatingCards.tsxindex 639b55fa45..0265cdff5b 100644--- a/apps/docsite/src/app/(site)/_landing/hero/HeroFloatingCards.tsx+++ b/apps/docsite/src/app/(site)/_landing/hero/HeroFloatingCards.tsx@@ -30,9 +30,8 @@ import type {HeroThemeContent} from './heroThemeContent';// One recurring member across every theme slide (the per-theme `member` copy is// intentionally not used here).-const CDN = 'https://lookaside.facebook.com/assets/astryx';const REWARD_MEMBER_NAME = 'Ami Pena';-const REWARD_MEMBER_AVATAR = `${CDN}/DATA-Ami-Pena.png`;+const REWARD_MEMBER_AVATAR = '/images/avatars/DATA-Ami-Pena.png';const styles = stylex.create({// Desktop overlap stage: fixed, viewport-centered 1200px box (shared with thediff --git a/apps/docsite/src/app/(site)/_landing/hero/heroThemeContent.ts b/apps/docsite/src/app/(site)/_landing/hero/heroThemeContent.tsindex a390ef22a4..bf480f008e 100644--- a/apps/docsite/src/app/(site)/_landing/hero/heroThemeContent.ts+++ b/apps/docsite/src/app/(site)/_landing/hero/heroThemeContent.ts@@ -21,11 +21,6 @@ import {BRAND_BLUE} from '@/constants';// Sentinel for the docsite's local brand theme (not an @astryxdesign/theme-* package).const ASTRYX = 'astryx';-// Shared Astryx asset CDN. The per-theme reel cards pull the same product photos-// the /themes showcase uses (see themeShowcaseContent.ts) so the hero and the-// gallery stay in sync.-const IMAGE_CDN = 'https://lookaside.facebook.com/assets/astryx';-export interface HeroThemeContent {/** Product card (image + title/description + price). */product: {@@ -158,18 +153,18 @@ const CONTENT_BY_THEME: Record<string, HeroThemeContent> = {},'@astryxdesign/theme-butter': {product: {- image: `${IMAGE_CDN}/Butter-Croissant.png`,+ image: '/images/butter/preview-watch.png',title: 'Butter croissant',description: 'Flaky, laminated layers baked golden each morning.',price: '$6',},feature: {- image: `${IMAGE_CDN}/Butter-Waffle.png`,+ image: '/images/butter/preview-backpack.png',title: 'Belgian waffle',price: '$8',},mini: {- image: `${IMAGE_CDN}/Butter-Pancake.png`,+ image: '/images/butter/preview-headphones.png',title: 'Pancakes',description: 'Stacked tall with melting butter.',},@@ -179,18 +174,18 @@ const CONTENT_BY_THEME: Record<string, HeroThemeContent> = {},'@astryxdesign/theme-matcha': {product: {- image: `${IMAGE_CDN}/matcha-product-1.png`,+ image: '/images/matcha/preview-watch.png',title: 'Matcha',description: 'Stone-ground ceremonial matcha over cold milk.',price: '$6',},feature: {- image: `${IMAGE_CDN}/matcha-product-2.png`,+ image: '/images/matcha/preview-headphones.png',title: 'Strawberry matcha',price: '$7',},mini: {- image: `${IMAGE_CDN}/matcha-product-4.png`,+ image: '/images/matcha/preview-tumbler.png',title: 'Ube matcha',description: 'Ube and cream matcha.',},@@ -205,18 +200,18 @@ const CONTENT_BY_THEME: Record<string, HeroThemeContent> = {},'@astryxdesign/theme-gothic': {product: {- image: `${IMAGE_CDN}/Gothic-1.png`,+ image: '/images/gothic/preview-watch.png',title: 'Sea holly',description: 'A single preserved thistle stem with a steely bloom.',price: '$24',},feature: {- image: `${IMAGE_CDN}/Gothic-2.png`,+ image: '/images/gothic/preview-headphones.png',title: 'Garden rose',price: '$18',},mini: {- image: `${IMAGE_CDN}/Gothic-3.png`,+ image: '/images/gothic/preview-backpack.png',title: 'Ranunculus',description: 'Layered petals in a soft mauve.',},@@ -226,18 +221,18 @@ const CONTENT_BY_THEME: Record<string, HeroThemeContent> = {},'@astryxdesign/theme-y2k': {product: {- image: `${IMAGE_CDN}/Y2K-Phone.png`,+ image: '/images/y2k/preview-watch.png',title: 'Phone',description: 'Iridescent clamshell with a rainbow screen.',price: '$18',},feature: {- image: `${IMAGE_CDN}/Y2K-Star.png`,+ image: '/images/y2k/preview-headphones.png',title: 'Glow star set',price: '$12',},mini: {- image: `${IMAGE_CDN}/Y2K-Butterfly.png`,+ image: '/images/y2k/preview-backpack.png',title: 'Butterfly',description: 'Sparkly stick-on in pastel chrome.',},diff --git a/apps/docsite/src/app/blog/[slug]/page.tsx b/apps/docsite/src/app/blog/[slug]/page.tsxindex 92849d77ec..1a9b149e2d 100644--- a/apps/docsite/src/app/blog/[slug]/page.tsx+++ b/apps/docsite/src/app/blog/[slug]/page.tsx@@ -32,7 +32,7 @@ export async function generateMetadata({// (images are not inherited), so the fallback must be explicit here.const ogImage =post.coverImage ??- 'https://lookaside.facebook.com/assets/astryx/Astryx-Banner.png';+ '/images/Astryx-Banner.png';const ogAlt = post.coverImage ? (post.coverAlt ?? post.title) : post.title;return {diff --git a/apps/docsite/src/app/blog/page.tsx b/apps/docsite/src/app/blog/page.tsxindex dd5e82f54b..4f17cf0a7a 100644--- a/apps/docsite/src/app/blog/page.tsx+++ b/apps/docsite/src/app/blog/page.tsx@@ -26,13 +26,13 @@ export const metadata: Metadata = {title: `${BLOG_TITLE} · Astryx`,description: BLOG_DESCRIPTION,url: '/blog',- images: ['https://lookaside.facebook.com/assets/astryx/Astryx-Banner.png'],+ images: ['/images/Astryx-Banner.png'],},twitter: {card: 'summary_large_image',title: `${BLOG_TITLE} · Astryx`,description: BLOG_DESCRIPTION,- images: ['https://lookaside.facebook.com/assets/astryx/Astryx-Banner.png'],+ images: ['/images/Astryx-Banner.png'],},};diff --git a/apps/docsite/src/app/layout.tsx b/apps/docsite/src/app/layout.tsxindex 44716c395f..3973909c28 100644--- a/apps/docsite/src/app/layout.tsx+++ b/apps/docsite/src/app/layout.tsx@@ -27,7 +27,7 @@ import {// uses for its cover. Reusing the same branded banner keeps the shared-link// preview consistent with the launch creative across the site and the post.const OG_IMAGE =- 'https://lookaside.facebook.com/assets/astryx/Astryx-Banner.png';+ '/images/Astryx-Banner.png';export const metadata: Metadata = {metadataBase: new URL(SITE_URL),diff --git a/apps/docsite/src/components/ThemePackagePage.tsx b/apps/docsite/src/components/ThemePackagePage.tsxindex 36777521ce..2a2e910e94 100644--- a/apps/docsite/src/components/ThemePackagePage.tsx+++ b/apps/docsite/src/components/ThemePackagePage.tsx@@ -40,9 +40,8 @@ import commandBlockStyles from './ThemeCommandBlock.module.css';const THEME_SHOWCASE_SOURCE =templates.find(t => t.slug === 'theme-showcase')?.source ?? '';-// CDN host for the per-theme picker banners (same host as the showcase-// product photos), so the artwork can be updated without a code change.-const PICKER_CDN = 'https://lookaside.facebook.com/assets/astryx';+// Per-theme picker banners are self-hosted under the docsite's /public/images+// dir (same location as the showcase product photos).// Gallery order — themes are listed in the same canonical visual-// closeness order used elsewhere (most restrained → most expressive).@@ -296,8 +295,8 @@ const styles = stylex.create({// Per-theme bespoke picker artwork — one rule per theme that// has a custom photo (vs. the multi-radial-gradient default).// Each rule sets the picker card's background to a dedicated- // theme-<slug>-picker.png banner hosted on the Astryx asset CDN- // (see PICKER_CDN). These are SEPARATE files from the+ // theme-<slug>-picker.png banner self-hosted under /public/images.+ // These are SEPARATE files from the// theme-<slug>-preview.png images used on the /themes overview +// detail page hero — these picker assets are sized and// art-directed for the small 120px-tall picker card.@@ -305,42 +304,42 @@ const styles = stylex.create({// regardless of the source's intrinsic dimensions.surfaceButter: {backgroundColor: 'transparent',- backgroundImage: `url(${PICKER_CDN}/theme-butter-picker.png)`,+ backgroundImage: `url(/images/theme-butter-picker.png)`,backgroundSize: 'cover',backgroundPosition: 'center',backgroundRepeat: 'no-repeat',},surfaceGothic: {backgroundColor: 'transparent',- backgroundImage: `url(${PICKER_CDN}/theme-gothic-picker.png)`,+ backgroundImage: `url(/images/theme-gothic-picker.png)`,backgroundSize: 'cover',backgroundPosition: 'center',backgroundRepeat: 'no-repeat',},surfaceY2k: {backgroundColor: 'transparent',- backgroundImage: `url(${PICKER_CDN}/theme-y2k-picker.png)`,+ backgroundImage: `url(/images/theme-y2k-picker.png)`,backgroundSize: 'cover',backgroundPosition: 'center',backgroundRepeat: 'no-repeat',},surfaceStone: {backgroundColor: 'transparent',- backgroundImage: `url(${PICKER_CDN}/theme-stone-picker.png)`,+ backgroundImage: `url(/images/theme-stone-picker.png)`,backgroundSize: 'cover',backgroundPosition: 'center',backgroundRepeat: 'no-repeat',},surfaceNeutral: {backgroundColor: 'transparent',- backgroundImage: `url(${PICKER_CDN}/theme-neutral-picker.png)`,+ backgroundImage: `url(/images/theme-neutral-picker.png)`,backgroundSize: 'cover',backgroundPosition: 'center',backgroundRepeat: 'no-repeat',},surfaceMatcha: {backgroundColor: 'transparent',- backgroundImage: `url(${PICKER_CDN}/theme-matcha-picker.png)`,+ backgroundImage: `url(/images/theme-matcha-picker.png)`,backgroundSize: 'cover',backgroundPosition: 'center',backgroundRepeat: 'no-repeat',@@ -500,8 +499,8 @@ const styles = stylex.create({// can swap the card's `surface` (background image) and the `label`// color (most use labelAccent so the wordmark reads as a brand// signature on top of the photo). Adding artwork for a new theme-// is a two-step addition: upload a theme-<slug>-picker.png banner to-// the asset CDN (PICKER_CDN) + add a `surface<Name>` rule into the+// is a two-step addition: add a theme-<slug>-picker.png banner under+// /public/images + add a `surface<Name>` rule into the// styles block above, then reference both here.const PICKER_OVERRIDES: Record<string,diff --git a/apps/docsite/src/components/themeShowcaseContent.ts b/apps/docsite/src/components/themeShowcaseContent.tsindex b07d44974c..0b0be880bc 100644--- a/apps/docsite/src/components/themeShowcaseContent.ts+++ b/apps/docsite/src/components/themeShowcaseContent.ts@@ -24,16 +24,15 @@ export interface ThemeShowcaseContent {inventory: InventoryRow[];}-const IMAGE_CDN = 'https://lookaside.facebook.com/assets/astryx';// Matcha café — matcha-drink photos.const MATCHA_IMAGES: Record<string, string> = {- watch: `${IMAGE_CDN}/matcha-product-1.png`,- headphones: `${IMAGE_CDN}/matcha-product-2.png`,- backpack: `${IMAGE_CDN}/matcha-product-3.png`,- wallet: `${IMAGE_CDN}/matcha-product-5.png`,- tumbler: `${IMAGE_CDN}/matcha-product-4.png`,- throw_: `${IMAGE_CDN}/matcha-product-6.png`,+ watch: '/images/matcha/preview-watch.png',+ headphones: '/images/matcha/preview-headphones.png',+ backpack: '/images/matcha/preview-backpack.png',+ wallet: '/images/matcha/preview-wallet.png',+ tumbler: '/images/matcha/preview-tumbler.png',+ throw_: '/images/matcha/preview-throw.png',};const MATCHA_CONTENT: ThemeShowcaseContent = {@@ -131,12 +130,12 @@ const MATCHA_CONTENT: ThemeShowcaseContent = {// Butter bakery — butter/breakfast photos. Only five Butter assets exist, so// the croissant is reused for the sixth slot.const BUTTER_IMAGES: Record<string, string> = {- watch: `${IMAGE_CDN}/Butter-Croissant.png`,- headphones: `${IMAGE_CDN}/Butter-Pancake.png`,- backpack: `${IMAGE_CDN}/Butter-Waffle.png`,- wallet: `${IMAGE_CDN}/Butter-Toast.png`,- tumbler: `${IMAGE_CDN}/Butter-Stick.png`,- throw_: `${IMAGE_CDN}/Butter-Croissant.png`,+ watch: '/images/butter/preview-watch.png',+ headphones: '/images/butter/preview-headphones.png',+ backpack: '/images/butter/preview-backpack.png',+ wallet: '/images/butter/preview-wallet.png',+ tumbler: '/images/butter/preview-tumbler.png',+ throw_: '/images/butter/preview-throw.png',};const BUTTER_CONTENT: ThemeShowcaseContent = {@@ -233,12 +232,12 @@ const BUTTER_CONTENT: ThemeShowcaseContent = {// Stone homeware — stoneware photos on stone plinths.const STONE_IMAGES: Record<string, string> = {- watch: `${IMAGE_CDN}/Stone-bowl.png`,- headphones: `${IMAGE_CDN}/Stone-cup.png`,- backpack: `${IMAGE_CDN}/Stone-plate.png`,- wallet: `${IMAGE_CDN}/Stone-servingbowl.png`,- tumbler: `${IMAGE_CDN}/Stone-teapot.png`,- throw_: `${IMAGE_CDN}/Stone-vase.png`,+ watch: '/images/stone/preview-watch.png',+ headphones: '/images/stone/preview-headphones.png',+ backpack: '/images/stone/preview-backpack.png',+ wallet: '/images/stone/preview-wallet.png',+ tumbler: '/images/stone/preview-tumbler.png',+ throw_: '/images/stone/preview-throw.png',};const STONE_CONTENT: ThemeShowcaseContent = {@@ -335,12 +334,12 @@ const STONE_CONTENT: ThemeShowcaseContent = {// Y2K trinkets — iridescent/holo objects.const Y2K_IMAGES: Record<string, string> = {- watch: `${IMAGE_CDN}/Y2K-Phone.png`,- headphones: `${IMAGE_CDN}/Y2K-Star.png`,- backpack: `${IMAGE_CDN}/Y2K-Butterfly.png`,- wallet: `${IMAGE_CDN}/Y2K-Heart.png`,- tumbler: `${IMAGE_CDN}/Y2K-Flower.png`,- throw_: `${IMAGE_CDN}/Y2K-Couch.png`,+ watch: '/images/y2k/preview-watch.png',+ headphones: '/images/y2k/preview-headphones.png',+ backpack: '/images/y2k/preview-backpack.png',+ wallet: '/images/y2k/preview-wallet.png',+ tumbler: '/images/y2k/preview-tumbler.png',+ throw_: '/images/y2k/preview-throw.png',};const Y2K_CONTENT: ThemeShowcaseContent = {@@ -437,12 +436,12 @@ const Y2K_CONTENT: ThemeShowcaseContent = {// Gothic botanicals — moody single-stem floral photos.const GOTHIC_IMAGES: Record<string, string> = {- watch: `${IMAGE_CDN}/Gothic-1.png`,- headphones: `${IMAGE_CDN}/Gothic-2.png`,- backpack: `${IMAGE_CDN}/Gothic-3.png`,- wallet: `${IMAGE_CDN}/Gothic-4.png`,- tumbler: `${IMAGE_CDN}/Gothic-5.png`,- throw_: `${IMAGE_CDN}/Gothic-6.png`,+ watch: '/images/gothic/preview-watch.png',+ headphones: '/images/gothic/preview-headphones.png',+ backpack: '/images/gothic/preview-backpack.png',+ wallet: '/images/gothic/preview-wallet.png',+ tumbler: '/images/gothic/preview-tumbler.png',+ throw_: '/images/gothic/preview-throw.png',};const GOTHIC_CONTENT: ThemeShowcaseContent = {diff --git a/apps/docsite/src/content/blog/posts/introducing-astryx.md b/apps/docsite/src/content/blog/posts/introducing-astryx.mdindex a9d6a3bc22..6e51627246 100644--- a/apps/docsite/src/content/blog/posts/introducing-astryx.md+++ b/apps/docsite/src/content/blog/posts/introducing-astryx.md@@ -9,7 +9,7 @@ tags:- 'Release'- 'AI'- 'Design systems'-coverImage: 'https://lookaside.facebook.com/assets/astryx/Astryx-Banner.png'+coverImage: '/images/Astryx-Banner.png'coverAlt: 'Introducing Astryx by Meta'relatedDocs:- title: 'Getting started'diff --git a/apps/docsite/src/lib/pageMetadata.ts b/apps/docsite/src/lib/pageMetadata.tsindex c22f93a22d..d379c668d8 100644--- a/apps/docsite/src/lib/pageMetadata.ts+++ b/apps/docsite/src/lib/pageMetadata.ts@@ -21,7 +21,7 @@ import {SITE_NAME} from './siteConfig';/** Branded launch banner that matches the root layout + blog fallback card. */const DEFAULT_OG_IMAGE =- 'https://lookaside.facebook.com/assets/astryx/Astryx-Banner.png';+ '/images/Astryx-Banner.png';export interface PageMetadataInput {/** Plain page title; rendered as "<title> · Astryx" via the root template. */diff --git a/packages/cli/api/template/template.test.mjs b/packages/cli/api/template/template.test.mjsindex 750f957c02..bff793cfc8 100644--- a/packages/cli/api/template/template.test.mjs+++ b/packages/cli/api/template/template.test.mjs@@ -4,36 +4,35 @@ import {describe, it, expect} from 'vitest';import {stripTemplateAssetRefs, template} from './template.mjs';describe('stripTemplateAssetRefs', () => {- it('replaces a lookaside astryx image URL with an inline data URI', () => {+ it('replaces a /template-assets image path with an inline data URI', () => {const src =- "const hero = 'https://lookaside.facebook.com/assets/astryx/colorful-home-horizontal-1.png';";+ "const hero = '/template-assets/colorful-home-horizontal-1.png';";const out = stripTemplateAssetRefs(src);- expect(out).not.toContain('lookaside.facebook.com');+ expect(out).not.toContain('/template-assets/');expect(out).toContain('data:image/svg+xml,');});- it('replaces a lookaside block-avatar image URL', () => {- const src =- 'src="https://lookaside.facebook.com/assets/astryx/avatar-profile-05.jpg"';+ it('replaces a /template-assets block-avatar image path', () => {+ const src = 'src="/template-assets/avatar-profile-05.jpg"';const out = stripTemplateAssetRefs(src);- expect(out).not.toContain('lookaside.facebook.com');+ expect(out).not.toContain('/template-assets/');expect(out).toContain('data:image/svg+xml,');});- it('replaces every lookaside reference, not just the first', () => {+ it('replaces every /template-assets reference, not just the first', () => {const src = [- "'https://lookaside.facebook.com/assets/astryx/colorful-home-horizontal-1.png'",- "'https://lookaside.facebook.com/assets/astryx/illustrative-horizontal-3.png'",- "'https://lookaside.facebook.com/assets/astryx/moody-scene-horizontal-1.png'",+ "'/template-assets/colorful-home-horizontal-1.png'",+ "'/template-assets/illustrative-horizontal-3.png'",+ "'/template-assets/moody-scene-horizontal-1.png'",].join('\n');const out = stripTemplateAssetRefs(src);- expect(out).not.toContain('lookaside.facebook.com');+ expect(out).not.toContain('/template-assets/');expect(out.match(/data:image\/svg\+xml,/g)).toHaveLength(3);});it('preserves surrounding source structure', () => {const src =- "const data = [{src: 'https://lookaside.facebook.com/assets/astryx/x.png', alt: 'X'}];";+ "const data = [{src: '/template-assets/x.png', alt: 'X'}];";const out = stripTemplateAssetRefs(src);expect(out).toContain("alt: 'X'");expect(out).toContain('const data = [{src:');diff --git a/packages/cli/assets/templates/blocks/components/AspectRatio/AspectRatioCircleImage.tsx b/packages/cli/assets/templates/blocks/components/AspectRatio/AspectRatioCircleImage.tsxindex b41dbe8721..7ed0c14880 100644--- a/packages/cli/assets/templates/blocks/components/AspectRatio/AspectRatioCircleImage.tsx+++ b/packages/cli/assets/templates/blocks/components/AspectRatio/AspectRatioCircleImage.tsx@@ -10,7 +10,7 @@ export default function AspectRatioCircleImage() {<Center width={300}><AspectRatio ratio={1} shape="ellipse" fit="cover"><img- src="https://lookaside.facebook.com/assets/astryx/light-home-square-1.png"+ src="/template-assets/light-home-square-1.png"alt="Circular image"/></AspectRatio>diff --git a/packages/cli/assets/templates/blocks/components/AspectRatio/AspectRatioImageGallery.tsx b/packages/cli/assets/templates/blocks/components/AspectRatio/AspectRatioImageGallery.tsxindex f94880e594..3ea3206116 100644--- a/packages/cli/assets/templates/blocks/components/AspectRatio/AspectRatioImageGallery.tsx+++ b/packages/cli/assets/templates/blocks/components/AspectRatio/AspectRatioImageGallery.tsx@@ -27,7 +27,7 @@ export default function AspectRatioImageGallery() {{images.map(({id, alt}) => (<AspectRatio key={id} ratio={4 / 3} fit="cover"><img- src="https://lookaside.facebook.com/assets/astryx/illustrative-horizontal-1.png"+ src="/template-assets/illustrative-horizontal-1.png"alt={alt}style={{borderRadius: 8}}/>diff --git a/packages/cli/assets/templates/blocks/components/AspectRatio/AspectRatioShowcase.tsx b/packages/cli/assets/templates/blocks/components/AspectRatio/AspectRatioShowcase.tsxindex a5ec90026e..a51fac74c2 100644--- a/packages/cli/assets/templates/blocks/components/AspectRatio/AspectRatioShowcase.tsx+++ b/packages/cli/assets/templates/blocks/components/AspectRatio/AspectRatioShowcase.tsx@@ -10,19 +10,19 @@ const items = [{ratio: 1,label: '1 : 1',- src: 'https://lookaside.facebook.com/assets/astryx/light-home-square-1.png',+ src: '/template-assets/light-home-square-1.png',alt: '1:1 square',},{ratio: 4 / 3,label: '4 : 3',- src: 'https://lookaside.facebook.com/assets/astryx/illustrative-horizontal-1.png',+ src: '/template-assets/illustrative-horizontal-1.png',alt: '4:3 standard',},{ratio: 16 / 9,label: '16 : 9',- src: 'https://lookaside.facebook.com/assets/astryx/light-scene-horizontal-1.png',+ src: '/template-assets/light-scene-horizontal-1.png',alt: '16:9 widescreen',},];diff --git a/packages/cli/assets/templates/blocks/components/AspectRatio/AspectRatioSquareImage.tsx b/packages/cli/assets/templates/blocks/components/AspectRatio/AspectRatioSquareImage.tsxindex b2565a766b..70fc394144 100644--- a/packages/cli/assets/templates/blocks/components/AspectRatio/AspectRatioSquareImage.tsx+++ b/packages/cli/assets/templates/blocks/components/AspectRatio/AspectRatioSquareImage.tsx@@ -10,7 +10,7 @@ export default function AspectRatioSquareImage() {<Center width={300}><AspectRatio ratio={1} fit="cover"><img- src="https://lookaside.facebook.com/assets/astryx/light-home-square-1.png"+ src="/template-assets/light-home-square-1.png"alt="1:1 square"/></AspectRatio>diff --git a/packages/cli/assets/templates/blocks/components/AspectRatio/AspectRatioWidescreen.tsx b/packages/cli/assets/templates/blocks/components/AspectRatio/AspectRatioWidescreen.tsxindex 4bd288fca1..b1bbb4066b 100644--- a/packages/cli/assets/templates/blocks/components/AspectRatio/AspectRatioWidescreen.tsx+++ b/packages/cli/assets/templates/blocks/components/AspectRatio/AspectRatioWidescreen.tsx@@ -10,7 +10,7 @@ export default function AspectRatioWidescreen() {<Center width={600}><AspectRatio ratio={16 / 9} fit="cover"><img- src="https://lookaside.facebook.com/assets/astryx/light-scene-horizontal-1.png"+ src="/template-assets/light-scene-horizontal-1.png"alt="16:9 widescreen"/></AspectRatio>diff --git a/packages/cli/assets/templates/blocks/components/Avatar/AvatarFallbackChain.tsx b/packages/cli/assets/templates/blocks/components/Avatar/AvatarFallbackChain.tsxindex 2a2410c637..690fa2ec7c 100644--- a/packages/cli/assets/templates/blocks/components/Avatar/AvatarFallbackChain.tsx+++ b/packages/cli/assets/templates/blocks/components/Avatar/AvatarFallbackChain.tsx@@ -11,7 +11,7 @@ export default function AvatarFallbackChain() {<VStack gap={4}><HStack gap={3} vAlign="center"><Avatar- src="https://lookaside.facebook.com/assets/astryx/DATA-Daniela-Gimenez.png"+ src="/template-assets/DATA-Daniela-Gimenez.png"name="Daniela Gimenez"size="lg"/>@@ -19,8 +19,8 @@ export default function AvatarFallbackChain() {</HStack><HStack gap={3} vAlign="center"><Avatar- src="https://lookaside.facebook.com/assets/astryx/does-not-exist-primary.jpg"- fallbackSrc="https://lookaside.facebook.com/assets/astryx/DATA-Ami-Pena.png"+ src="/template-assets/does-not-exist-primary.jpg"+ fallbackSrc="/template-assets/DATA-Ami-Pena.png"name="Invalid User"size="lg"/>@@ -28,8 +28,8 @@ export default function AvatarFallbackChain() {</HStack><HStack gap={3} vAlign="center"><Avatar- src="https://lookaside.facebook.com/assets/astryx/does-not-exist-primary.jpg"- fallbackSrc="https://lookaside.facebook.com/assets/astryx/does-not-exist-fallback.jpg"+ src="/template-assets/does-not-exist-primary.jpg"+ fallbackSrc="/template-assets/does-not-exist-fallback.jpg"name="Test User"size="lg"/>@@ -37,7 +37,7 @@ export default function AvatarFallbackChain() {</HStack><HStack gap={3} vAlign="center"><Avatar- src="https://lookaside.facebook.com/assets/astryx/does-not-exist-primary.jpg"+ src="/template-assets/does-not-exist-primary.jpg"size="lg"/><Text type="supporting">All invalid, no name</Text>diff --git a/packages/cli/assets/templates/blocks/components/Avatar/AvatarGroup.tsx b/packages/cli/assets/templates/blocks/components/Avatar/AvatarGroup.tsxindex df309ca637..1db91b81b9 100644--- a/packages/cli/assets/templates/blocks/components/Avatar/AvatarGroup.tsx+++ b/packages/cli/assets/templates/blocks/components/Avatar/AvatarGroup.tsx@@ -10,23 +10,23 @@ import {Text} from '@astryxdesign/core/Text';const USERS = [{name: 'Ami Pena',- src: 'https://lookaside.facebook.com/assets/astryx/DATA-Ami-Pena.png',+ src: '/template-assets/DATA-Ami-Pena.png',},{name: 'Drew Young',- src: 'https://lookaside.facebook.com/assets/astryx/DATA-Drew-Young.png',+ src: '/template-assets/DATA-Drew-Young.png',},{name: 'Gabriela Fernandez',- src: 'https://lookaside.facebook.com/assets/astryx/DATA-Gabriela-Fernandez.png',+ src: '/template-assets/DATA-Gabriela-Fernandez.png',},{name: 'Jihoo Song',- src: 'https://lookaside.facebook.com/assets/astryx/DATA-Jihoo-Song.png',+ src: '/template-assets/DATA-Jihoo-Song.png',},{name: 'Nam Tran',- src: 'https://lookaside.facebook.com/assets/astryx/DATA-Nam-Tran.png',+ src: '/template-assets/DATA-Nam-Tran.png',},];diff --git a/packages/cli/assets/templates/blocks/components/Avatar/AvatarInteractive.tsx b/packages/cli/assets/templates/blocks/components/Avatar/AvatarInteractive.tsxindex aab69d94c9..09c3575a66 100644--- a/packages/cli/assets/templates/blocks/components/Avatar/AvatarInteractive.tsx+++ b/packages/cli/assets/templates/blocks/components/Avatar/AvatarInteractive.tsx@@ -11,7 +11,7 @@ export default function AvatarInteractive() {<Stack direction="horizontal" gap={6} vAlign="start"><Stack direction="vertical" gap={2} hAlign="center"><Avatar- src="https://lookaside.facebook.com/assets/astryx/DATA-Itai-Jordaan.png"+ src="/template-assets/DATA-Itai-Jordaan.png"name="Itai Jordaan"size="xl"href="https://example.com/people/itai-jordaan"@@ -22,7 +22,7 @@ export default function AvatarInteractive() {</Stack><Stack direction="vertical" gap={2} hAlign="center"><Avatar- src="https://lookaside.facebook.com/assets/astryx/DATA-Margot-Schroder.png"+ src="/template-assets/DATA-Margot-Schroder.png"name="Margot Schroder"size="xl"onClick={() => window.alert('Opening Margot Schroder’s profile')}diff --git a/packages/cli/assets/templates/blocks/components/Avatar/AvatarShowcase.tsx b/packages/cli/assets/templates/blocks/components/Avatar/AvatarShowcase.tsxindex 870a114645..0c691dbb5d 100644--- a/packages/cli/assets/templates/blocks/components/Avatar/AvatarShowcase.tsx+++ b/packages/cli/assets/templates/blocks/components/Avatar/AvatarShowcase.tsx@@ -9,23 +9,23 @@ export default function AvatarShowcase() {return (<Stack direction="horizontal" gap={4} vAlign="center"><Avatar- src="https://lookaside.facebook.com/assets/astryx/DATA-Ana-Thomas.png"+ src="/template-assets/DATA-Ana-Thomas.png"name="Ana Thomas"size="xl"status={<AvatarStatusDot variant="success" label="Online" />}/><Avatar- src="https://lookaside.facebook.com/assets/astryx/DATA-Drew-Young.png"+ src="/template-assets/DATA-Drew-Young.png"name="Drew Young"size="xl"/><Avatar- src="https://lookaside.facebook.com/assets/astryx/DATA-Jihoo-Song.png"+ src="/template-assets/DATA-Jihoo-Song.png"name="Jihoo Song"size="xl"/><Avatar- src="https://lookaside.facebook.com/assets/astryx/DATA-Nam-Tran.png"+ src="/template-assets/DATA-Nam-Tran.png"name="Nam Tran"size="xl"status={<AvatarStatusDot variant="error" label="Busy" />}diff --git a/packages/cli/assets/templates/blocks/components/Avatar/AvatarTooltip.tsx b/packages/cli/assets/templates/blocks/components/Avatar/AvatarTooltip.tsxindex ee0d840343..55e192379b 100644--- a/packages/cli/assets/templates/blocks/components/Avatar/AvatarTooltip.tsx+++ b/packages/cli/assets/templates/blocks/components/Avatar/AvatarTooltip.tsx@@ -15,17 +15,17 @@ export default function AvatarTooltip() {</Text><Stack direction="horizontal" gap={4} vAlign="center"><Avatar- src="https://lookaside.facebook.com/assets/astryx/DATA-Ana-Thomas.png"+ src="/template-assets/DATA-Ana-Thomas.png"name="Ana Thomas"size="xl"/><Avatar- src="https://lookaside.facebook.com/assets/astryx/DATA-Drew-Young.png"+ src="/template-assets/DATA-Drew-Young.png"name="Drew Young"size="xl"/><Avatar- src="https://lookaside.facebook.com/assets/astryx/DATA-Jihoo-Song.png"+ src="/template-assets/DATA-Jihoo-Song.png"name="Jihoo Song"size="xl"/>@@ -36,7 +36,7 @@ export default function AvatarTooltip() {Custom tooltip text</Text><Avatar- src="https://lookaside.facebook.com/assets/astryx/DATA-Itai-Jordaan.png"+ src="/template-assets/DATA-Itai-Jordaan.png"name="Itai Jordaan"size="xl"tooltip="Itai Jordaan · Engineering Lead"diff --git a/packages/cli/assets/templates/blocks/components/Avatar/AvatarUserCard.tsx b/packages/cli/assets/templates/blocks/components/Avatar/AvatarUserCard.tsxindex f54fcd2356..686f3a2d93 100644--- a/packages/cli/assets/templates/blocks/components/Avatar/AvatarUserCard.tsx+++ b/packages/cli/assets/templates/blocks/components/Avatar/AvatarUserCard.tsx@@ -9,19 +9,19 @@ import {Text} from '@astryxdesign/core/Text';const USERS = [{name: 'Itai Jordaan',- src: 'https://lookaside.facebook.com/assets/astryx/DATA-Itai-Jordaan.png',+ src: '/template-assets/DATA-Itai-Jordaan.png',role: 'Engineering Lead',variant: 'success' as const,},{name: 'Margot Schroder',- src: 'https://lookaside.facebook.com/assets/astryx/DATA-Margot-Schroder.png',+ src: '/template-assets/DATA-Margot-Schroder.png',role: 'Product Designer',variant: 'neutral' as const,},{name: 'Daniela Gimenez',- src: 'https://lookaside.facebook.com/assets/astryx/DATA-Daniela-Gimenez.png',+ src: '/template-assets/DATA-Daniela-Gimenez.png',role: 'Engineering Manager',variant: 'error' as const,},diff --git a/packages/cli/assets/templates/blocks/components/Avatar/AvatarWithImage.tsx b/packages/cli/assets/templates/blocks/components/Avatar/AvatarWithImage.tsxindex 023b028dc1..3869c6e2c1 100644--- a/packages/cli/assets/templates/blocks/components/Avatar/AvatarWithImage.tsx+++ b/packages/cli/assets/templates/blocks/components/Avatar/AvatarWithImage.tsx@@ -9,22 +9,22 @@ export default function AvatarWithImage() {return (<Stack direction="horizontal" gap={4} vAlign="center"><Avatar- src="https://lookaside.facebook.com/assets/astryx/DATA-Ami-Pena.png"+ src="/template-assets/DATA-Ami-Pena.png"name="Ami Pena"size="xsm"/><Avatar- src="https://lookaside.facebook.com/assets/astryx/DATA-Ana-Thomas.png"+ src="/template-assets/DATA-Ana-Thomas.png"name="Ana Thomas"size="md"/><Avatar- src="https://lookaside.facebook.com/assets/astryx/DATA-Daniela-Gimenez.png"+ src="/template-assets/DATA-Daniela-Gimenez.png"name="Daniela Gimenez"size="lg"/><Avatar- src="https://lookaside.facebook.com/assets/astryx/DATA-Gabriela-Fernandez.png"+ src="/template-assets/DATA-Gabriela-Fernandez.png"name="Gabriela Fernandez"size="xl"/>diff --git a/packages/cli/assets/templates/blocks/components/Avatar/AvatarWithStatus.tsx b/packages/cli/assets/templates/blocks/components/Avatar/AvatarWithStatus.tsxindex 052cac6527..f4b05d78cb 100644--- a/packages/cli/assets/templates/blocks/components/Avatar/AvatarWithStatus.tsx+++ b/packages/cli/assets/templates/blocks/components/Avatar/AvatarWithStatus.tsx@@ -9,19 +9,19 @@ export default function AvatarWithStatus() {return (<Stack direction="horizontal" gap={4} vAlign="center"><Avatar- src="https://lookaside.facebook.com/assets/astryx/DATA-Itai-Jordaan.png"+ src="/template-assets/DATA-Itai-Jordaan.png"name="Itai Jordaan"size="xl"status={<AvatarStatusDot variant="success" label="Online" />}/><Avatar- src="https://lookaside.facebook.com/assets/astryx/DATA-Margot-Schroder.png"+ src="/template-assets/DATA-Margot-Schroder.png"name="Margot Schroder"size="xl"status={<AvatarStatusDot variant="neutral" label="Offline" />}/><Avatar- src="https://lookaside.facebook.com/assets/astryx/DATA-Pablo-Morales.png"+ src="/template-assets/DATA-Pablo-Morales.png"name="Pablo Morales"size="xl"status={<AvatarStatusDot variant="error" label="Busy" />}diff --git a/packages/cli/assets/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerAttachments.tsx b/packages/cli/assets/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerAttachments.tsxindex c05fdb59ce..f48c21c66e 100644--- a/packages/cli/assets/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerAttachments.tsx+++ b/packages/cli/assets/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerAttachments.tsx@@ -11,31 +11,31 @@ import {Stack} from '@astryxdesign/core/Layout';const IMAGE_ATTACHMENTS = [{id: '1',- src: 'https://lookaside.facebook.com/assets/astryx/illustrative-vertical-1.png',+ src: '/template-assets/illustrative-vertical-1.png',alt: 'River through a valley',label: 'valley.jpg',},{id: '2',- src: 'https://lookaside.facebook.com/assets/astryx/illustrative-vertical-2.png',+ src: '/template-assets/illustrative-vertical-2.png',alt: 'Foggy mountain peak',label: 'mountain.jpg',},{id: '3',- src: 'https://lookaside.facebook.com/assets/astryx/illustrative-vertical-3.png',+ src: '/template-assets/illustrative-vertical-3.png',alt: 'Golden retriever puppy',label: 'puppy.jpg',},{id: '4',- src: 'https://lookaside.facebook.com/assets/astryx/illustrative-vertical-4.png',+ src: '/template-assets/illustrative-vertical-4.png',alt: 'Bridge at sunset',label: 'bridge.jpg',},{id: '5',- src: 'https://lookaside.facebook.com/assets/astryx/illustrative-vertical-5.png',+ src: '/template-assets/illustrative-vertical-5.png',alt: 'Lakeside at dusk',label: 'lakeside.jpg',},diff --git a/packages/cli/assets/templates/blocks/components/Lightbox/LightboxGallery.tsx b/packages/cli/assets/templates/blocks/components/Lightbox/LightboxGallery.tsxindex 84695631c2..f4bc7f35a4 100644--- a/packages/cli/assets/templates/blocks/components/Lightbox/LightboxGallery.tsx+++ b/packages/cli/assets/templates/blocks/components/Lightbox/LightboxGallery.tsx@@ -8,23 +8,23 @@ import {Thumbnail} from '@astryxdesign/core/Thumbnail';const PHOTOS = [{- src: 'https://lookaside.facebook.com/assets/astryx/Neutral-Backpack.png',+ src: '/template-assets/Neutral-Backpack.png',alt: 'Backpack',caption: 'A backpack displayed on a neutral background.',},{- src: 'https://lookaside.facebook.com/assets/astryx/building.png',+ src: '/template-assets/building.png',alt: 'Modern building',caption: 'A modern building with a contemporary architectural design.',},{- src: 'https://lookaside.facebook.com/assets/astryx/light-scene-horizontal-1.png',+ src: '/template-assets/light-scene-horizontal-1.png',alt: 'Coastal shoreline with ocean waves',caption:'A scenic coastline with waves rolling onto a sandy beach beneath a clear sky.',},{- src: 'https://lookaside.facebook.com/assets/astryx/illustrative-vertical-1.png',+ src: '/template-assets/illustrative-vertical-1.png',alt: 'Illustrated lakeside landscape at sunset',caption:'A stylized landscape illustration featuring pink clouds reflected over a calm lake at sunset.',diff --git a/packages/cli/assets/templates/blocks/components/Lightbox/LightboxShowcase.tsx b/packages/cli/assets/templates/blocks/components/Lightbox/LightboxShowcase.tsxindex 7ef01bdc82..d3b07eff67 100644--- a/packages/cli/assets/templates/blocks/components/Lightbox/LightboxShowcase.tsx+++ b/packages/cli/assets/templates/blocks/components/Lightbox/LightboxShowcase.tsx@@ -12,7 +12,7 @@ export default function LightboxShowcase() {isOpen={isOpen}onOpenChange={setIsOpen}media={{- src: 'https://lookaside.facebook.com/assets/astryx/light-scene-horizontal-1.png',+ src: '/template-assets/light-scene-horizontal-1.png',alt: 'Coastal shoreline with ocean waves',caption:'A scenic coastline with waves rolling onto a sandy beach beneath a clear sky.',diff --git a/packages/cli/assets/templates/blocks/components/Lightbox/LightboxVideo.tsx b/packages/cli/assets/templates/blocks/components/Lightbox/LightboxVideo.tsxindex 9954028fc6..d3f1880939 100644--- a/packages/cli/assets/templates/blocks/components/Lightbox/LightboxVideo.tsx+++ b/packages/cli/assets/templates/blocks/components/Lightbox/LightboxVideo.tsx@@ -16,7 +16,7 @@ export default function LightboxVideo() {isOpen={isOpen}onOpenChange={setIsOpen}media={{- src: 'https://lookaside.facebook.com/assets/?set=astryx&name=Nature-1&density=1',+ src: '/template-assets/Nature-1.mp4',alt: 'Flower blooming in time-lapse',type: 'video',caption: 'A flower blooming in time-lapse',diff --git a/packages/cli/assets/templates/blocks/components/Lightbox/LightboxZoom.tsx b/packages/cli/assets/templates/blocks/components/Lightbox/LightboxZoom.tsxindex 282508523c..9a4b6dcc87 100644--- a/packages/cli/assets/templates/blocks/components/Lightbox/LightboxZoom.tsx+++ b/packages/cli/assets/templates/blocks/components/Lightbox/LightboxZoom.tsx@@ -12,7 +12,7 @@ export default function LightboxZoom() {return (<><Thumbnail- src="https://lookaside.facebook.com/assets/astryx/light-scene-horizontal-1.png"+ src="/template-assets/light-scene-horizontal-1.png"alt="Coastal shoreline with ocean waves"label="Coastal shoreline with ocean waves"onClick={() => setIsOpen(true)}@@ -21,7 +21,7 @@ export default function LightboxZoom() {isOpen={isOpen}onOpenChange={setIsOpen}media={{- src: 'https://lookaside.facebook.com/assets/astryx/light-scene-horizontal-1.png',+ src: '/template-assets/light-scene-horizontal-1.png',alt: 'Coastal shoreline with ocean waves',caption:'A scenic coastline. Double-click to zoom in and drag to pan.',diff --git a/packages/cli/assets/templates/blocks/components/MediaTheme/MediaThemeImageOverlay.tsx b/packages/cli/assets/templates/blocks/components/MediaTheme/MediaThemeImageOverlay.tsxindex bbeae82d2c..25a54aac43 100644--- a/packages/cli/assets/templates/blocks/components/MediaTheme/MediaThemeImageOverlay.tsx+++ b/packages/cli/assets/templates/blocks/components/MediaTheme/MediaThemeImageOverlay.tsx@@ -10,7 +10,7 @@ import {Stack} from '@astryxdesign/core/Layout';import {Text} from '@astryxdesign/core/Text';const LANDSCAPE_IMAGE_URL =- 'https://lookaside.facebook.com/assets/astryx/light-scene-horizontal-1.png';+ '/template-assets/light-scene-horizontal-1.png';export default function MediaThemeImageOverlay() {return (diff --git a/packages/cli/assets/templates/blocks/components/MediaTheme/MediaThemeLightScrim.tsx b/packages/cli/assets/templates/blocks/components/MediaTheme/MediaThemeLightScrim.tsxindex 9c209a8b46..53d9f6e63d 100644--- a/packages/cli/assets/templates/blocks/components/MediaTheme/MediaThemeLightScrim.tsx+++ b/packages/cli/assets/templates/blocks/components/MediaTheme/MediaThemeLightScrim.tsx@@ -10,7 +10,7 @@ import {Stack} from '@astryxdesign/core/Layout';import {Text} from '@astryxdesign/core/Text';const BRIGHT_ROOM_IMAGE_URL =- 'https://lookaside.facebook.com/assets/astryx/light-home-square-1.png';+ '/template-assets/light-home-square-1.png';export default function MediaThemeLightScrim() {return (diff --git a/packages/cli/assets/templates/blocks/components/MediaTheme/MediaThemeShowcase.tsx b/packages/cli/assets/templates/blocks/components/MediaTheme/MediaThemeShowcase.tsxindex 727fe54c93..37c0cb0aaf 100644--- a/packages/cli/assets/templates/blocks/components/MediaTheme/MediaThemeShowcase.tsx+++ b/packages/cli/assets/templates/blocks/components/MediaTheme/MediaThemeShowcase.tsx@@ -11,7 +11,7 @@ import {Badge} from '@astryxdesign/core/Badge';import {Icon} from '@astryxdesign/core/Icon';const SHOWCASE_IMAGE_URL =- 'https://lookaside.facebook.com/assets/astryx/light-scene-horizontal-1.png';+ '/template-assets/light-scene-horizontal-1.png';export default function MediaThemeShowcase() {return (diff --git a/packages/cli/assets/templates/blocks/components/Overlay/OverlayBottomStrip.tsx b/packages/cli/assets/templates/blocks/components/Overlay/OverlayBottomStrip.tsxindex 6fd436fefb..97e89ce514 100644--- a/packages/cli/assets/templates/blocks/components/Overlay/OverlayBottomStrip.tsx+++ b/packages/cli/assets/templates/blocks/components/Overlay/OverlayBottomStrip.tsx@@ -33,7 +33,7 @@ export default function OverlayBottomStrip() {overflow: 'clip',}}><img- src="https://lookaside.facebook.com/assets/astryx/illustrative-horizontal-1.png"+ src="/template-assets/illustrative-horizontal-1.png"alt="Product highlight preview"style={{width: '100%', height: '100%', objectFit: 'cover'}}/>diff --git a/packages/cli/assets/templates/blocks/components/Overlay/OverlayHoverReveal.tsx b/packages/cli/assets/templates/blocks/components/Overlay/OverlayHoverReveal.tsxindex d0c6f97247..d797dc964b 100644--- a/packages/cli/assets/templates/blocks/components/Overlay/OverlayHoverReveal.tsx+++ b/packages/cli/assets/templates/blocks/components/Overlay/OverlayHoverReveal.tsx@@ -28,7 +28,7 @@ export default function OverlayHoverReveal() {content={<Button label="Quick view" variant="secondary" size="sm" />}><AspectRatio ratio={16 / 9} style={frame}><img- src="https://lookaside.facebook.com/assets/astryx/light-working-horizontal-1.png"+ src="/template-assets/light-working-horizontal-1.png"alt="Workspace preview"style={image}/>diff --git a/packages/cli/assets/templates/blocks/components/Overlay/OverlayShowcase.tsx b/packages/cli/assets/templates/blocks/components/Overlay/OverlayShowcase.tsxindex 16c37e0701..2ad320c75c 100644--- a/packages/cli/assets/templates/blocks/components/Overlay/OverlayShowcase.tsx+++ b/packages/cli/assets/templates/blocks/components/Overlay/OverlayShowcase.tsx@@ -29,7 +29,7 @@ export default function OverlayShowcase() {overflow: 'clip',}}><img- src="https://lookaside.facebook.com/assets/astryx/light-scene-horizontal-1.png"+ src="/template-assets/light-scene-horizontal-1.png"alt="Abstract landscape"style={{width: '100%', height: '100%', objectFit: 'cover'}}/>diff --git a/packages/cli/assets/templates/blocks/components/TopNav/TopNavMegaMenu.tsx b/packages/cli/assets/templates/blocks/components/TopNav/TopNavMegaMenu.tsxindex 933be4f5f6..ee80726f72 100644--- a/packages/cli/assets/templates/blocks/components/TopNav/TopNavMegaMenu.tsx+++ b/packages/cli/assets/templates/blocks/components/TopNav/TopNavMegaMenu.tsx@@ -75,7 +75,7 @@ export default function TopNavMegaMenuBlock() {<TopNavMegaMenuFeaturedCardtitle="What's new in v4.0"description="AI-powered analytics and real-time collaboration."- image="https://lookaside.facebook.com/assets/astryx/light-working-horizontal-1.png"+ image="/template-assets/light-working-horizontal-1.png"imageAlt="Team collaboration"linkLabel="Read the announcement"linkHref="#announcement"diff --git a/packages/cli/assets/templates/pages/centered-hero/page.tsx b/packages/cli/assets/templates/pages/centered-hero/page.tsxindex 8a00fee2ee..569afd24f8 100644--- a/packages/cli/assets/templates/pages/centered-hero/page.tsx+++ b/packages/cli/assets/templates/pages/centered-hero/page.tsx@@ -12,7 +12,7 @@ import {Section} from '@astryxdesign/core/Section';import {ArrowRightIcon} from '@heroicons/react/20/solid';const IMAGE_URL =- 'https://lookaside.facebook.com/assets/astryx/light-scene-horizontal-1.png';+ '/template-assets/light-scene-horizontal-1.png';const heroImage: CSSProperties = {width: '100%',diff --git a/packages/cli/assets/templates/pages/classic-gallery/page.tsx b/packages/cli/assets/templates/pages/classic-gallery/page.tsxindex f4ff478924..9a102eeb3c 100644--- a/packages/cli/assets/templates/pages/classic-gallery/page.tsx+++ b/packages/cli/assets/templates/pages/classic-gallery/page.tsx@@ -47,52 +47,52 @@ interface GalleryImage {const GALLERY_IMAGES: GalleryImage[] = [{- src: 'https://lookaside.facebook.com/assets/astryx/moody-scene-horizontal-1.png',+ src: '/template-assets/moody-scene-horizontal-1.png',alt: 'Moody scene landscape',category: 'scene',},{- src: 'https://lookaside.facebook.com/assets/astryx/moody-lifestyle-vertical-1.png',+ src: '/template-assets/moody-lifestyle-vertical-1.png',alt: 'Moody lifestyle portrait',category: 'lifestyle',},{- src: 'https://lookaside.facebook.com/assets/astryx/moody-home-vertical-1.png',+ src: '/template-assets/moody-home-vertical-1.png',alt: 'Moody home interior',category: 'home',},{- src: 'https://lookaside.facebook.com/assets/astryx/moody-scene-horizontal-2.png',+ src: '/template-assets/moody-scene-horizontal-2.png',alt: 'Moody scene vista',category: 'scene',},{- src: 'https://lookaside.facebook.com/assets/astryx/moody-lifestyle-vertical-2.png',+ src: '/template-assets/moody-lifestyle-vertical-2.png',alt: 'Moody lifestyle scene',category: 'lifestyle',},{- src: 'https://lookaside.facebook.com/assets/astryx/moody-lifestyle-horizontal-1.png',+ src: '/template-assets/moody-lifestyle-horizontal-1.png',alt: 'Moody lifestyle horizontal',category: 'lifestyle',},{- src: 'https://lookaside.facebook.com/assets/astryx/moody-scene-vertical-1.png',+ src: '/template-assets/moody-scene-vertical-1.png',alt: 'Moody scene vertical',category: 'scene',},{- src: 'https://lookaside.facebook.com/assets/astryx/moody-home-vertical-2.png',+ src: '/template-assets/moody-home-vertical-2.png',alt: 'Moody home vertical',category: 'home',},{- src: 'https://lookaside.facebook.com/assets/astryx/moody-home-horizontal-1.png',+ src: '/template-assets/moody-home-horizontal-1.png',alt: 'Moody home horizontal',category: 'home',},{- src: 'https://lookaside.facebook.com/assets/astryx/moody-scene-vertical-2.png',+ src: '/template-assets/moody-scene-vertical-2.png',alt: 'Moody scene vertical',category: 'scene',},diff --git a/packages/cli/assets/templates/pages/detail-page/page.tsx b/packages/cli/assets/templates/pages/detail-page/page.tsxindex 1564fd7f7f..40314412d0 100644--- a/packages/cli/assets/templates/pages/detail-page/page.tsx+++ b/packages/cli/assets/templates/pages/detail-page/page.tsx@@ -64,11 +64,11 @@ const itemsList: CSSProperties = {// ─── Product data ───────────────────────────────────────────────────────────const PRODUCT_IMAGES = [- 'https://lookaside.facebook.com/assets/astryx/light-product-1.png',- 'https://lookaside.facebook.com/assets/astryx/light-product-2.png',- 'https://lookaside.facebook.com/assets/astryx/light-product-3.png',- 'https://lookaside.facebook.com/assets/astryx/light-product-4.png',- 'https://lookaside.facebook.com/assets/astryx/light-product-5.png',+ '/template-assets/light-product-1.png',+ '/template-assets/light-product-2.png',+ '/template-assets/light-product-3.png',+ '/template-assets/light-product-4.png',+ '/template-assets/light-product-5.png',];const PRODUCTS = [diff --git a/packages/cli/assets/templates/pages/form-two-column/page.tsx b/packages/cli/assets/templates/pages/form-two-column/page.tsxindex 40cdc1058a..2f0c1e5434 100644--- a/packages/cli/assets/templates/pages/form-two-column/page.tsx+++ b/packages/cli/assets/templates/pages/form-two-column/page.tsx@@ -19,7 +19,7 @@ import {Card} from '@astryxdesign/core/Card';import {Selector} from '@astryxdesign/core/Selector';const ILLUSTRATION_URL =- 'https://lookaside.facebook.com/assets/astryx/light-working-vertical-2.png';+ '/template-assets/light-working-vertical-2.png';const INQUIRY_REASONS = ['New business',diff --git a/packages/cli/assets/templates/pages/gallery-hero/page.tsx b/packages/cli/assets/templates/pages/gallery-hero/page.tsxindex 3794fa12ae..e963c3ec85 100644--- a/packages/cli/assets/templates/pages/gallery-hero/page.tsx+++ b/packages/cli/assets/templates/pages/gallery-hero/page.tsx@@ -13,15 +13,15 @@ import {ArrowRightIcon} from '@heroicons/react/20/solid';const IMAGES = [{- src: 'https://lookaside.facebook.com/assets/astryx/colorful-home-horizontal-1.png',+ src: '/template-assets/colorful-home-horizontal-1.png',alt: 'Colorful home interior with vibrant decor',},{- src: 'https://lookaside.facebook.com/assets/astryx/colorful-lifestyle-horizontal-1.png',+ src: '/template-assets/colorful-lifestyle-horizontal-1.png',alt: 'Colorful lifestyle portrait with natural lighting',},{- src: 'https://lookaside.facebook.com/assets/astryx/colorful-lifestyle-horizontal-2.png',+ src: '/template-assets/colorful-lifestyle-horizontal-2.png',alt: 'Colorful lifestyle scene with warm tones',},];diff --git a/packages/cli/assets/templates/pages/library/page.tsx b/packages/cli/assets/templates/pages/library/page.tsxindex 3fada55f1f..a34ab0bef0 100644--- a/packages/cli/assets/templates/pages/library/page.tsx+++ b/packages/cli/assets/templates/pages/library/page.tsx@@ -37,7 +37,7 @@ const ITEMS: LibraryItem[] = [category: 'Layout',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/colorful-home-horizontal-1.png',+ '/template-assets/colorful-home-horizontal-1.png',},{id: '2',@@ -47,7 +47,7 @@ const ITEMS: LibraryItem[] = [category: 'Layout',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/illustrative-horizontal-3.png',+ '/template-assets/illustrative-horizontal-3.png',},{id: '3',@@ -57,7 +57,7 @@ const ITEMS: LibraryItem[] = [category: 'Layout',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/light-working-horizontal-2.png',+ '/template-assets/light-working-horizontal-2.png',},{id: '4',@@ -66,7 +66,7 @@ const ITEMS: LibraryItem[] = [category: 'Layout',type: 'Utility',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/moody-scene-horizontal-1.png',+ '/template-assets/moody-scene-horizontal-1.png',},{id: '5',@@ -75,7 +75,7 @@ const ITEMS: LibraryItem[] = [category: 'Layout',type: 'Pattern',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/colorful-lifestyle-horizontal-2.png',+ '/template-assets/colorful-lifestyle-horizontal-2.png',},{id: '6',@@ -84,7 +84,7 @@ const ITEMS: LibraryItem[] = [category: 'Layout',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/light-scene-horizontal-1.png',+ '/template-assets/light-scene-horizontal-1.png',},{id: '7',@@ -94,7 +94,7 @@ const ITEMS: LibraryItem[] = [category: 'Forms',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/moody-working-horizontal-1.png',+ '/template-assets/moody-working-horizontal-1.png',},{id: '8',@@ -103,7 +103,7 @@ const ITEMS: LibraryItem[] = [category: 'Forms',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/colorful-working-horizontal-3.png',+ '/template-assets/colorful-working-horizontal-3.png',},{id: '9',@@ -112,7 +112,7 @@ const ITEMS: LibraryItem[] = [category: 'Forms',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/illustrative-horizontal-1.png',+ '/template-assets/illustrative-horizontal-1.png',},{id: '10',@@ -121,7 +121,7 @@ const ITEMS: LibraryItem[] = [category: 'Forms',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/light-home-horizontal-1.png',+ '/template-assets/light-home-horizontal-1.png',},{id: '11',@@ -130,7 +130,7 @@ const ITEMS: LibraryItem[] = [category: 'Forms',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/moody-home-horizontal-2.png',+ '/template-assets/moody-home-horizontal-2.png',},{id: '12',@@ -140,7 +140,7 @@ const ITEMS: LibraryItem[] = [category: 'Forms',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/colorful-product-1.png',+ '/template-assets/colorful-product-1.png',},{id: '13',@@ -150,7 +150,7 @@ const ITEMS: LibraryItem[] = [category: 'Navigation',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/illustrative-horizontal-5.png',+ '/template-assets/illustrative-horizontal-5.png',},{id: '14',@@ -159,7 +159,7 @@ const ITEMS: LibraryItem[] = [category: 'Navigation',type: 'Pattern',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/light-working-horizontal-1.png',+ '/template-assets/light-working-horizontal-1.png',},{id: '15',@@ -169,7 +169,7 @@ const ITEMS: LibraryItem[] = [category: 'Navigation',type: 'Pattern',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/moody-lifestyle-horizontal-1.png',+ '/template-assets/moody-lifestyle-horizontal-1.png',},{id: '16',@@ -178,7 +178,7 @@ const ITEMS: LibraryItem[] = [category: 'Navigation',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/colorful-home-horizontal-2.png',+ '/template-assets/colorful-home-horizontal-2.png',},{id: '17',@@ -188,7 +188,7 @@ const ITEMS: LibraryItem[] = [category: 'Navigation',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/colorful-working-horizontal-1.png',+ '/template-assets/colorful-working-horizontal-1.png',},{id: '18',@@ -198,7 +198,7 @@ const ITEMS: LibraryItem[] = [category: 'Navigation',type: 'Pattern',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/light-working-horizontal-3.png',+ '/template-assets/light-working-horizontal-3.png',},{id: '19',@@ -208,7 +208,7 @@ const ITEMS: LibraryItem[] = [category: 'Feedback',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/moody-working-horizontal-2.png',+ '/template-assets/moody-working-horizontal-2.png',},{id: '20',@@ -218,7 +218,7 @@ const ITEMS: LibraryItem[] = [category: 'Feedback',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/illustrative-horizontal-2.png',+ '/template-assets/illustrative-horizontal-2.png',},{id: '21',@@ -227,7 +227,7 @@ const ITEMS: LibraryItem[] = [category: 'Feedback',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/colorful-lifestyle-horizontal-1.png',+ '/template-assets/colorful-lifestyle-horizontal-1.png',},{id: '22',@@ -236,7 +236,7 @@ const ITEMS: LibraryItem[] = [category: 'Feedback',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/light-lifestyle-horizontal-1.png',+ '/template-assets/light-lifestyle-horizontal-1.png',},{id: '23',@@ -246,7 +246,7 @@ const ITEMS: LibraryItem[] = [category: 'Feedback',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/moody-home-horizontal-1.png',+ '/template-assets/moody-home-horizontal-1.png',},{id: '24',@@ -256,7 +256,7 @@ const ITEMS: LibraryItem[] = [category: 'Feedback',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/colorful-working-horizontal-2.png',+ '/template-assets/colorful-working-horizontal-2.png',},{id: '25',@@ -266,7 +266,7 @@ const ITEMS: LibraryItem[] = [category: 'Data',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/illustrative-horizontal-4.png',+ '/template-assets/illustrative-horizontal-4.png',},{id: '26',@@ -276,7 +276,7 @@ const ITEMS: LibraryItem[] = [category: 'Data',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/light-working-horizontal-4.png',+ '/template-assets/light-working-horizontal-4.png',},{id: '27',@@ -286,7 +286,7 @@ const ITEMS: LibraryItem[] = [category: 'Data',type: 'Utility',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/moody-lifestyle-horizontal-2.png',+ '/template-assets/moody-lifestyle-horizontal-2.png',},{id: '28',@@ -295,7 +295,7 @@ const ITEMS: LibraryItem[] = [category: 'Data',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/moody-scene-horizontal-2.png',+ '/template-assets/moody-scene-horizontal-2.png',},{id: '29',@@ -305,7 +305,7 @@ const ITEMS: LibraryItem[] = [category: 'Data',type: 'Pattern',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/colorful-product-2.png',+ '/template-assets/colorful-product-2.png',},{id: '30',@@ -315,7 +315,7 @@ const ITEMS: LibraryItem[] = [category: 'Data',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/astryx/moody-working-horizontal-3.png',+ '/template-assets/moody-working-horizontal-3.png',},];diff --git a/packages/cli/assets/templates/pages/login-split/page.tsx b/packages/cli/assets/templates/pages/login-split/page.tsxindex 9e34f09265..9119959f71 100644--- a/packages/cli/assets/templates/pages/login-split/page.tsx+++ b/packages/cli/assets/templates/pages/login-split/page.tsx@@ -18,11 +18,11 @@ import {Link} from '@astryxdesign/core/Link';import {Divider} from '@astryxdesign/core/Divider';const COVER_IMAGE_URL =- 'https://lookaside.facebook.com/assets/astryx/light-working-vertical-1.png';+ '/template-assets/light-working-vertical-1.png';const APPLE_LOGO_URL =- 'https://lookaside.facebook.com/assets/astryx/AppleLogo.png';+ '/template-assets/AppleLogo.png';const GOOGLE_LOGO_URL =- 'https://lookaside.facebook.com/assets/astryx/GoogleLogo.png';+ '/template-assets/GoogleLogo.png';// Grid emits minmax(MIN, 1fr) where MIN is a hard floor, so MIN plus the// grid inset and page padding must fit the narrowest phone or the column isdiff --git a/packages/cli/assets/templates/pages/login-sso/page.tsx b/packages/cli/assets/templates/pages/login-sso/page.tsxindex 10a81745dd..df7515e8dc 100644--- a/packages/cli/assets/templates/pages/login-sso/page.tsx+++ b/packages/cli/assets/templates/pages/login-sso/page.tsx@@ -20,7 +20,7 @@ import {Avatar} from '@astryxdesign/core/Avatar';// Styles// ----------------------------------------------------------------------------const BG_URL = 'https://lookaside.facebook.com/assets/astryx/building.png';+const BG_URL = '/template-assets/building.png';const pageStyle: CSSProperties = {minHeight: '100%',diff --git a/packages/cli/assets/templates/pages/mixed-gallery/page.tsx b/packages/cli/assets/templates/pages/mixed-gallery/page.tsxindex d57a120aad..18e2e87c85 100644--- a/packages/cli/assets/templates/pages/mixed-gallery/page.tsx+++ b/packages/cli/assets/templates/pages/mixed-gallery/page.tsx@@ -66,23 +66,23 @@ interface GalleryImage {// All landscape photos so the uniform 3:2 / 3:1 tiles crop cleanly.const IMAGES: GalleryImage[] = [{- src: 'https://lookaside.facebook.com/assets/astryx/illustrative-horizontal-1.png',+ src: '/template-assets/illustrative-horizontal-1.png',title: 'Going places',},{- src: 'https://lookaside.facebook.com/assets/astryx/light-home-horizontal-1.png',+ src: '/template-assets/light-home-horizontal-1.png',title: 'Making memories',},{- src: 'https://lookaside.facebook.com/assets/astryx/light-lifestyle-horizontal-1.png',+ src: '/template-assets/light-lifestyle-horizontal-1.png',title: 'Being free',},{- src: 'https://lookaside.facebook.com/assets/astryx/light-working-horizontal-2.png',+ src: '/template-assets/light-working-horizontal-2.png',title: 'Getting it done',},{- src: 'https://lookaside.facebook.com/assets/astryx/light-scene-horizontal-1.png',+ src: '/template-assets/light-scene-horizontal-1.png',title: 'Finding calm',},];diff --git a/packages/cli/assets/templates/pages/payment-form/page.tsx b/packages/cli/assets/templates/pages/payment-form/page.tsxindex 07e1210ad1..df45510d97 100644--- a/packages/cli/assets/templates/pages/payment-form/page.tsx+++ b/packages/cli/assets/templates/pages/payment-form/page.tsx@@ -111,13 +111,13 @@ const US_STATES = [// docsite; the CLI swaps these for an inline placeholder on scaffold).const ITEM_IMAGES: Record<string, {src: string}> = {'1': {- src: 'https://lookaside.facebook.com/assets/astryx/light-product-1.png',+ src: '/template-assets/light-product-1.png',},'2': {- src: 'https://lookaside.facebook.com/assets/astryx/light-product-4.png',+ src: '/template-assets/light-product-4.png',},'3': {- src: 'https://lookaside.facebook.com/assets/astryx/light-product-5.png',+ src: '/template-assets/light-product-5.png',},};diff --git a/packages/cli/assets/templates/pages/product-detail/page.tsx b/packages/cli/assets/templates/pages/product-detail/page.tsxindex 65c6115430..68f23e9e82 100644--- a/packages/cli/assets/templates/pages/product-detail/page.tsx+++ b/packages/cli/assets/templates/pages/product-detail/page.tsx@@ -74,13 +74,13 @@ function StarRating({rating, count}: {rating: number; count: number}) {// ─── Image URLs ─────────────────────────────────────────────────────────────// IMAGES[0] = fallback hero; IMAGES[1..6] = thumbnails (first is selected by default)const IMAGES = [- 'https://lookaside.facebook.com/assets/astryx/light-product-1.png',- 'https://lookaside.facebook.com/assets/astryx/light-product-1.png',- 'https://lookaside.facebook.com/assets/astryx/light-product-2.png',- 'https://lookaside.facebook.com/assets/astryx/light-product-3.png',- 'https://lookaside.facebook.com/assets/astryx/light-product-4.png',- 'https://lookaside.facebook.com/assets/astryx/light-product-5.png',- 'https://lookaside.facebook.com/assets/astryx/light-product-3.png',+ '/template-assets/light-product-1.png',+ '/template-assets/light-product-1.png',+ '/template-assets/light-product-2.png',+ '/template-assets/light-product-3.png',+ '/template-assets/light-product-4.png',+ '/template-assets/light-product-5.png',+ '/template-assets/light-product-3.png',];// ─── Product Data ───────────────────────────────────────────────────────────diff --git a/packages/cli/assets/templates/pages/product-gallery/page.tsx b/packages/cli/assets/templates/pages/product-gallery/page.tsxindex e5c60ca9bc..5b15fbc8af 100644--- a/packages/cli/assets/templates/pages/product-gallery/page.tsx+++ b/packages/cli/assets/templates/pages/product-gallery/page.tsx@@ -40,7 +40,7 @@ const PRODUCTS: Product[] = ["Sometimes all it takes is one small thing to turn your whole day around. That's what good design is for.",price: 75.0,image:- 'https://lookaside.facebook.com/assets/astryx/illustrative-horizontal-1.png',+ '/template-assets/illustrative-horizontal-1.png',},{id: 2,@@ -49,7 +49,7 @@ const PRODUCTS: Product[] = ["Sometimes all it takes is one small thing to turn your whole day around. That's what good design is for.",price: 80.0,image:- 'https://lookaside.facebook.com/assets/astryx/illustrative-vertical-1.png',+ '/template-assets/illustrative-vertical-1.png',},{id: 3,@@ -58,7 +58,7 @@ const PRODUCTS: Product[] = ["Sometimes all it takes is one small thing to turn your whole day around. That's what good design is for.",price: 75.0,image:- 'https://lookaside.facebook.com/assets/astryx/illustrative-horizontal-3.png',+ '/template-assets/illustrative-horizontal-3.png',},{id: 4,@@ -67,7 +67,7 @@ const PRODUCTS: Product[] = ["Sometimes all it takes is one small thing to turn your whole day around. That's what good design is for.",price: 75.0,image:- 'https://lookaside.facebook.com/assets/astryx/illustrative-horizontal-4.png',+ '/template-assets/illustrative-horizontal-4.png',},{id: 5,@@ -76,7 +76,7 @@ const PRODUCTS: Product[] = ["Sometimes all it takes is one small thing to turn your whole day around. That's what good design is for.",price: 60.0,image:- 'https://lookaside.facebook.com/assets/astryx/illustrative-horizontal-5.png',+ '/template-assets/illustrative-horizontal-5.png',},{id: 6,@@ -85,7 +85,7 @@ const PRODUCTS: Product[] = ["Sometimes all it takes is one small thing to turn your whole day around. That's what good design is for.",price: 80.0,image:- 'https://lookaside.facebook.com/assets/astryx/illustrative-horizontal-2.png',+ '/template-assets/illustrative-horizontal-2.png',},];diff --git a/packages/cli/assets/templates/pages/shell-top-nav/page.tsx b/packages/cli/assets/templates/pages/shell-top-nav/page.tsxindex 4cc8304611..0809d25aff 100644--- a/packages/cli/assets/templates/pages/shell-top-nav/page.tsx+++ b/packages/cli/assets/templates/pages/shell-top-nav/page.tsx@@ -158,7 +158,7 @@ export default function ShellTopNav() {<MegaFeaturedtitle="The Autumn Edit"description="Layering staples in warm, earthy tones."- image="https://lookaside.facebook.com/assets/astryx/texture-beige-horizontal-1.png"+ image="/template-assets/texture-beige-horizontal-1.png"imageAlt="Autumn collection lookbook"linkLabel="Shop the edit"linkHref="#autumn-edit"@@ -172,7 +172,7 @@ export default function ShellTopNav() {<MegaFeaturedtitle="Meet Studio Mara"description="Modern tailoring, made to last."- image="https://lookaside.facebook.com/assets/astryx/texture-beige-horizontal-2.png"+ image="/template-assets/texture-beige-horizontal-2.png"imageAlt="Studio Mara lookbook"linkLabel="Discover the label"linkHref="#studio-mara"diff --git a/packages/cli/assets/templates/pages/side-gallery/page.tsx b/packages/cli/assets/templates/pages/side-gallery/page.tsxindex 0b91d9bc92..e8c6296e07 100644--- a/packages/cli/assets/templates/pages/side-gallery/page.tsx+++ b/packages/cli/assets/templates/pages/side-gallery/page.tsx@@ -25,39 +25,39 @@ const imageClip = {const IMAGES = [{- src: 'https://lookaside.facebook.com/assets/astryx/colorful-lifestyle-vertical-3.png',+ src: '/template-assets/colorful-lifestyle-vertical-3.png',alt: 'Colorful lifestyle scene',},{- src: 'https://lookaside.facebook.com/assets/astryx/colorful-lifestyle-horizontal-1.png',+ src: '/template-assets/colorful-lifestyle-horizontal-1.png',alt: 'Colorful lifestyle horizontal',},{- src: 'https://lookaside.facebook.com/assets/astryx/colorful-lifestyle-vertical-1.png',+ src: '/template-assets/colorful-lifestyle-vertical-1.png',alt: 'Colorful lifestyle vertical',},{- src: 'https://lookaside.facebook.com/assets/astryx/colorful-home-vertical-2.png',+ src: '/template-assets/colorful-home-vertical-2.png',alt: 'Colorful home interior',},{- src: 'https://lookaside.facebook.com/assets/astryx/colorful-home-vertical-3.png',+ src: '/template-assets/colorful-home-vertical-3.png',alt: 'Colorful home scene',},{- src: 'https://lookaside.facebook.com/assets/astryx/colorful-home-vertical-1.png',+ src: '/template-assets/colorful-home-vertical-1.png',alt: 'Colorful home vertical',},{- src: 'https://lookaside.facebook.com/assets/astryx/colorful-lifestyle-horizontal-2.png',+ src: '/template-assets/colorful-lifestyle-horizontal-2.png',alt: 'Colorful lifestyle wide',},{- src: 'https://lookaside.facebook.com/assets/astryx/colorful-lifestyle-vertical-2.png',+ src: '/template-assets/colorful-lifestyle-vertical-2.png',alt: 'Colorful lifestyle detail',},{- src: 'https://lookaside.facebook.com/assets/astryx/colorful-lifestyle-vertical-4.png',+ src: '/template-assets/colorful-lifestyle-vertical-4.png',alt: 'Colorful lifestyle portrait',},];diff --git a/packages/cli/assets/templates/pages/table-page-chart/page.tsx b/packages/cli/assets/templates/pages/table-page-chart/page.tsxindex d9a98f68f7..1cd064e8bc 100644--- a/packages/cli/assets/templates/pages/table-page-chart/page.tsx+++ b/packages/cli/assets/templates/pages/table-page-chart/page.tsx@@ -46,37 +46,37 @@ const PRODUCTS = [{name: 'Ceremonial Matcha Latte',category: 'Matcha' as ProductCategory,- image: 'https://lookaside.facebook.com/assets/astryx/matcha-product-1.png',+ image: '/template-assets/matcha-product-1.png',price: 6,},{name: 'Oat Milk Cappuccino',category: 'Coffee' as ProductCategory,- image: 'https://lookaside.facebook.com/assets/astryx/matcha-product-2.png',+ image: '/template-assets/matcha-product-2.png',price: 5,},{name: 'Jasmine Green Tea',category: 'Tea' as ProductCategory,- image: 'https://lookaside.facebook.com/assets/astryx/matcha-product-3.png',+ image: '/template-assets/matcha-product-3.png',price: 4,},{name: 'Mango Matcha Smoothie',category: 'Smoothie' as ProductCategory,- image: 'https://lookaside.facebook.com/assets/astryx/matcha-product-4.png',+ image: '/template-assets/matcha-product-4.png',price: 8,},{name: 'Hojicha Latte',category: 'Specialty' as ProductCategory,- image: 'https://lookaside.facebook.com/assets/astryx/matcha-product-5.png',+ image: '/template-assets/matcha-product-5.png',price: 7,},{name: 'Iced Yuzu Matcha',category: 'Matcha' as ProductCategory,- image: 'https://lookaside.facebook.com/assets/astryx/matcha-product-6.png',+ image: '/template-assets/matcha-product-6.png',price: 7,},];diff --git a/packages/cli/assets/templates/pages/theme-showcase/page.tsx b/packages/cli/assets/templates/pages/theme-showcase/page.tsxindex 047d3db6a1..1090469483 100644--- a/packages/cli/assets/templates/pages/theme-showcase/page.tsx+++ b/packages/cli/assets/templates/pages/theme-showcase/page.tsx@@ -283,13 +283,13 @@ const DEFAULT_PRODUCTS: ProductSpec[] = [// Neutral product photos, served from the shared astryx asset CDN so the// scaffolded template renders real imagery without needing local public assets.const DEFAULT_IMAGES: Record<string, string> = {- watch: 'https://lookaside.facebook.com/assets/astryx/Neutral-Watch.png',+ watch: '/template-assets/Neutral-Watch.png',headphones:- 'https://lookaside.facebook.com/assets/astryx/Neutral-Headphones.png',- backpack: 'https://lookaside.facebook.com/assets/astryx/Neutral-Backpack.png',- wallet: 'https://lookaside.facebook.com/assets/astryx/Neutral-Wallet.png',- tumbler: 'https://lookaside.facebook.com/assets/astryx/Neutral-Tumbler.png',- throw_: 'https://lookaside.facebook.com/assets/astryx/Neutral-Blanket.png',+ '/template-assets/Neutral-Headphones.png',+ backpack: '/template-assets/Neutral-Backpack.png',+ wallet: '/template-assets/Neutral-Wallet.png',+ tumbler: '/template-assets/Neutral-Tumbler.png',+ throw_: '/template-assets/Neutral-Blanket.png',};export interface ThemeShowcaseProps {diff --git a/packages/cli/foundation/discovery/template-adapter.mjs b/packages/cli/foundation/discovery/template-adapter.mjsindex 87f327d5a6..fbf362c370 100644--- a/packages/cli/foundation/discovery/template-adapter.mjs+++ b/packages/cli/foundation/discovery/template-adapter.mjs@@ -153,14 +153,18 @@ const PLACEHOLDER_IMAGE ='data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20400%20300%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Crect%20width%3D%22400%22%20height%3D%22300%22%20fill%3D%22%23f5f6f8%22%2F%3E%3Cg%20transform%3D%22translate%28200%20150%29%22%20fill%3D%22none%22%20stroke%3D%22%23c2cad6%22%20stroke-width%3D%225%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%22-44%22%20y%3D%22-44%22%20width%3D%2288%22%20height%3D%2288%22%20rx%3D%2216%22%2F%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%22-18%22%20r%3D%222.5%22%20fill%3D%22%23c2cad6%22%20stroke%3D%22none%22%2F%3E%3Cpath%20d%3D%22M-34%2030%20L-8%200%20L10%2018%20L20%208%20L34%2024%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E';/**- * Demo-image sources to strip from scaffolded projects — Meta's lookaside CDN- * (a Meta-only network dependency). Genuine third-party URLs (e.g. brand logos- * from paypalobjects.com) are intentionally left untouched.+ * Demo-image sources to strip from scaffolded projects. Template demo imagery+ * is self-hosted under the docsite's `/template-assets/*` dir (committed there,+ * mirrored into the sandbox preview by scripts/sync-templates.js). Those paths+ * only resolve inside the Astryx docsite/sandbox, so on scaffold they're+ * replaced with a self-contained placeholder — a scaffolded project has no+ * `/template-assets/` dir and would otherwise 404. Genuine third-party URLs+ * (e.g. brand logos from paypalobjects.com) are intentionally left untouched.** @type {RegExp[]}*/const DEMO_IMAGE_PATTERNS = [- /https?:\/\/(?:[\w-]+\.)*lookaside\.facebook\.com\/[^\s'"`)]+/g,+ /\/template-assets\/[\w-]+\.\w+/g,];/**diff --git a/packages/core/src/Lightbox/Lightbox.doc.mjs b/packages/core/src/Lightbox/Lightbox.doc.mjsindex 3739798b0a..f6edf5e133 100644--- a/packages/core/src/Lightbox/Lightbox.doc.mjs+++ b/packages/core/src/Lightbox/Lightbox.doc.mjs@@ -77,7 +77,7 @@ export const docs = {defaults: {isOpen: false,media: {- src: 'https://lookaside.facebook.com/assets/astryx/light-scene-horizontal-1.png',+ src: '/template-assets/light-scene-horizontal-1.png',alt: 'Coastal shoreline with ocean waves',caption: 'A scenic coastline with waves rolling onto a sandy beach beneath a clear sky.',},diff --git a/packages/core/src/hooks/useImageMode.test.ts b/packages/core/src/hooks/useImageMode.test.tsindex c46b260b1d..ddad57ce02 100644--- a/packages/core/src/hooks/useImageMode.test.ts+++ b/packages/core/src/hooks/useImageMode.test.ts@@ -105,7 +105,7 @@ describe('useImageMode', () => {stubCorsBlockedFetch();const {result} = renderHook(() =>useImageMode(- 'https://lookaside.facebook.com/assets/astryx/moody-scene-vertical-2.png',+ 'https://cdn.example.com/photos/moody-scene-vertical-2.png',{fallback: null},),);diff --git a/scripts/check-demo-media.mjs b/scripts/check-demo-media.mjsindex cf670ee6de..c2fbeda3e6 100644--- a/scripts/check-demo-media.mjs+++ b/scripts/check-demo-media.mjs@@ -6,11 +6,15 @@** Thumbnail's remove-button overlay uses useImageMode, which FETCHES the image* (`fetch(src, {mode: 'cors'})` -> createImageBitmap -> OffscreenCanvas- * getImageData) to sample pixels for APCA contrast. A cross-origin CDN URL+ * getImageData) to sample pixels for APCA contrast. Any cross-origin URL* without `Access-Control-Allow-Origin` cannot be fetched/sampled, so contrast* detection fails silently and logs CORS errors in hosted previews. These- * image-backed examples must use a self-contained, same-origin, samplable- * source (a data: URI) instead of a cross-origin lookaside URL.+ * image-backed examples must therefore use a self-contained, same-origin,+ * samplable source — a `data:` URI — rather than ANY remote `http(s)://` URL.+ *+ * (Other blocks self-host demo media under `/template-assets/*`, which is+ * same-origin and CORS-safe; Thumbnail examples go one step further and inline+ * a `data:` URI so the sample works with zero network dependency at all.)** Usage: node scripts/check-demo-media.mjs*/@@ -24,8 +28,9 @@ const THUMBNAIL_BLOCK_DIR = path.resolve('../packages/cli/assets/templates/blocks/components/Thumbnail',);-// Cross-origin demo CDN that cannot be CORS-sampled by useImageMode.-const CROSS_ORIGIN_MEDIA = 'lookaside.facebook.com';+// Thumbnail image-backed examples must inline a same-origin `data:` URI.+// Any remote http(s) src cannot be guaranteed CORS-sampleable by useImageMode.+const REMOTE_MEDIA_RE = /(?:src=|src:)\s*['"`]?\s*(https?:\/\/[^\s'"`)]+)/g;const errors = [];let checked = 0;@@ -43,10 +48,11 @@ for (const file of files) {if (!source.includes('src=') && !source.includes('src:')) continue;checked++;- if (source.includes(CROSS_ORIGIN_MEDIA)) {+ const remote = [...source.matchAll(REMOTE_MEDIA_RE)].map(m => m[1]);+ if (remote.length > 0) {errors.push({file,- issue: `references cross-origin ${CROSS_ORIGIN_MEDIA} media — useImageMode cannot CORS-sample it for the remove-button overlay`,+ issue: `references remote media (${remote[0]}) — useImageMode cannot guarantee CORS-sampling it for the remove-button overlay`,});}}