An open source design system that's fully customizable and agent ready
TypeScript
feat(templates): localize template images + scaffold placeholder (#2454)
Ernest617842dccab7
diff --git a/apps/docsite/public/template-assets/amex.svg b/apps/docsite/public/template-assets/amex.svgnew file mode 100644index 0000000000..5d5d32b860--- /dev/null+++ b/apps/docsite/public/template-assets/amex.svg@@ -0,0 +1 @@+<svg width="780" height="500" enable-background="new 0 0 780 500" version="1.1" viewBox="0 0 780 500" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><rect width="780" height="500" fill="#2557D6"/><path d="m0.253 235.69h37.441l8.442-19.51h18.9l8.42 19.51h73.668v-14.915l6.576 14.98h38.243l6.576-15.202v15.138h183.08l-0.085-32.026h3.542c2.479 0.083 3.204 0.302 3.204 4.226v27.8h94.689v-7.455c7.639 3.92 19.518 7.455 35.148 7.455h39.836l8.525-19.51h18.9l8.337 19.51h76.765v-18.532l11.626 18.532h61.515v-122.51h-60.88v14.468l-8.522-14.468h-62.471v14.468l-7.828-14.468h-84.38c-14.123 0-26.539 1.889-36.569 7.153v-7.153h-58.229v7.153c-6.383-5.426-15.079-7.153-24.75-7.153h-212.74l-14.274 31.641-14.659-31.641h-67.005v14.468l-7.362-14.468h-57.145l-26.539 58.246v64.261h3e-3zm236.34-17.67h-22.464l-0.083-68.794-31.775 68.793h-19.24l-31.858-68.854v68.854h-44.57l-8.42-19.592h-45.627l-8.505 19.592h-23.801l39.241-87.837h32.559l37.269 83.164v-83.164h35.766l28.678 59.587 26.344-59.587h36.485l1e-3 87.838zm-165.9-37.823l-14.998-35.017-14.915 35.017h29.913zm255.3 37.821h-73.203v-87.837h73.203v18.291h-51.289v15.833h50.06v18.005h-50.061v17.542h51.289l1e-3 18.166zm103.16-64.18c0 14.004-9.755 21.24-15.439 23.412 4.794 1.748 8.891 4.838 10.84 7.397 3.094 4.369 3.628 8.271 3.628 16.116v17.255h-22.104l-0.083-11.077c0-5.285 0.528-12.886-3.458-17.112-3.202-3.09-8.083-3.76-15.973-3.76h-23.523v31.95h-21.914v-87.838h50.401c11.199 0 19.451 0.283 26.535 4.207 6.933 3.924 11.09 9.652 11.09 19.45zm-27.699 13.042c-3.013 1.752-6.573 1.81-10.841 1.81h-26.62v-19.51h26.982c3.818 0 7.804 0.164 10.393 1.584 2.842 1.28 4.601 4.003 4.601 7.765 0 3.84-1.674 6.929-4.515 8.351zm62.844 51.138h-22.358v-87.837h22.358v87.837zm259.56 0h-31.053l-41.535-65.927v65.927h-44.628l-8.527-19.592h-45.521l-8.271 19.592h-25.648c-10.649 0-24.138-2.257-31.773-9.715-7.701-7.458-11.708-17.56-11.708-33.533 0-13.027 2.395-24.936 11.812-34.347 7.085-7.01 18.18-10.242 33.28-10.242h21.215v18.821h-20.771c-7.997 0-12.514 1.14-16.862 5.203-3.735 3.699-6.298 10.69-6.298 19.897 0 9.41 1.951 16.196 6.023 20.628 3.373 3.476 9.506 4.53 15.272 4.53h9.842l30.884-69.076h32.835l37.102 83.081v-83.08h33.366l38.519 61.174v-61.174h22.445v87.833zm-133.2-37.82l-15.165-35.017-15.081 35.017h30.246zm189.04 178.08c-5.322 7.457-15.694 11.238-29.736 11.238h-42.319v-18.84h42.147c4.181 0 7.106-0.527 8.868-2.175 1.665-1.474 2.605-3.554 2.591-5.729 0-2.561-1.064-4.593-2.677-5.811-1.59-1.342-3.904-1.95-7.722-1.95-20.574-0.67-46.244 0.608-46.244-27.194 0-12.742 8.443-26.156 31.439-26.156h43.649v-17.479h-40.557c-12.237 0-21.129 2.81-27.425 7.174v-7.175h-59.985c-9.595 0-20.854 2.279-26.179 7.175v-7.175h-107.12v7.175c-8.524-5.892-22.908-7.175-29.549-7.175h-70.656v7.175c-6.745-6.258-21.742-7.175-30.886-7.175h-79.077l-18.094 18.764-16.949-18.764h-118.13v122.59h115.9l18.646-19.062 17.565 19.062 71.442 0.061v-28.838h7.021c9.479 0.14 20.66-0.228 30.523-4.312v33.085h58.928v-31.952h2.842c3.628 0 3.985 0.144 3.985 3.615v28.333h179.01c11.364 0 23.244-2.786 29.824-7.845v7.845h56.78c11.815 0 23.354-1.587 32.134-5.649l2e-3 -22.84zm-354.94-47.155c0 24.406-19.005 29.445-38.159 29.445h-27.343v29.469h-42.591l-26.984-29.086-28.042 29.086h-86.802v-87.859h88.135l26.961 28.799 27.875-28.799h70.021c17.389 0 36.929 4.613 36.929 28.945zm-174.22 40.434h-53.878v-17.48h48.11v-17.926h-48.11v-15.974h54.939l23.969 25.604-25.03 25.776zm86.81 10.06l-33.644-35.789 33.644-34.65v70.439zm49.757-39.066h-28.318v-22.374h28.572c7.912 0 13.404 3.09 13.404 10.772 0 7.599-5.238 11.602-13.658 11.602zm148.36-40.373h73.138v18.17h-51.315v15.973h50.062v17.926h-50.062v17.48l51.314 0.08v18.23h-73.139l2e-3 -87.859zm-28.119 47.029c4.878 1.725 8.865 4.816 10.734 7.375 3.095 4.291 3.542 8.294 3.631 16.037v17.418h-22.002v-10.992c0-5.286 0.531-13.112-3.542-17.198-3.201-3.147-8.083-3.899-16.076-3.899h-23.42v32.09h-22.02v-87.859h50.594c11.093 0 19.173 0.47 26.366 4.146 6.915 4.004 11.266 9.487 11.266 19.511-1e-3 14.022-9.764 21.178-15.531 23.371zm-12.385-11.107c-2.932 1.667-6.556 1.811-10.818 1.811h-26.622v-19.732h26.982c3.902 0 7.807 0.08 10.458 1.587 2.84 1.423 4.538 4.146 4.538 7.903 0 3.758-1.699 6.786-4.538 8.431zm197.82 5.597c4.27 4.229 6.554 9.571 6.554 18.613 0 18.9-12.322 27.723-34.425 27.723h-42.68v-18.84h42.51c4.157 0 7.104-0.525 8.95-2.175 1.508-1.358 2.589-3.333 2.589-5.729 0-2.561-1.17-4.592-2.675-5.811-1.675-1.34-3.986-1.949-7.803-1.949-20.493-0.67-46.157 0.609-46.157-27.192 0-12.744 8.355-26.158 31.33-26.158h43.932v18.7h-40.198c-3.984 0-6.575 0.145-8.779 1.587-2.4 1.422-3.29 3.534-3.29 6.319 0 3.314 2.037 5.57 4.795 6.546 2.311 0.77 4.795 0.995 8.526 0.995l11.797 0.306c11.895 0.276 20.061 2.248 25.024 7.065zm86.955-23.52h-39.938c-3.986 0-6.638 0.144-8.867 1.587-2.312 1.423-3.202 3.534-3.202 6.322 0 3.314 1.951 5.568 4.791 6.544 2.312 0.771 4.795 0.996 8.444 0.996l11.878 0.304c11.983 0.284 19.982 2.258 24.86 7.072 0.891 0.67 1.422 1.422 2.033 2.175v-25h1e-3z" fill="#fff"/></svg>diff --git a/apps/docsite/public/template-assets/building.jpg b/apps/docsite/public/template-assets/building.jpgnew file mode 100644index 0000000000..0ab9b78a8dBinary files /dev/null and b/apps/docsite/public/template-assets/building.jpg 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/google-pay-logo.svg b/apps/docsite/public/template-assets/google-pay-logo.svgnew file mode 100644index 0000000000..db0e9a9124--- /dev/null+++ b/apps/docsite/public/template-assets/google-pay-logo.svg@@ -0,0 +1,27 @@+<?xml version="1.0" encoding="utf-8"?>+<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"+ viewBox="0 0 80 38.1" style="enable-background:new 0 0 80 38.1;" xml:space="preserve">+<style type="text/css">+ .st0{fill:#5F6368;}+ .st1{fill:#4285F4;}+ .st2{fill:#34A853;}+ .st3{fill:#FBBC04;}+ .st4{fill:#EA4335;}+</style>+<path class="st0" d="M37.8,19.7V29h-3V6h7.8c1.9,0,3.7,0.7,5.1,2c1.4,1.2,2.1,3,2.1,4.9c0,1.9-0.7,3.6-2.1,4.9c-1.4,1.3-3.1,2-5.1,2+ L37.8,19.7L37.8,19.7z M37.8,8.8v8h5c1.1,0,2.2-0.4,2.9-1.2c1.6-1.5,1.6-4,0.1-5.5c0,0-0.1-0.1-0.1-0.1c-0.8-0.8-1.8-1.3-2.9-1.2+ L37.8,8.8L37.8,8.8z"/>+<path class="st0" d="M56.7,12.8c2.2,0,3.9,0.6,5.2,1.8s1.9,2.8,1.9,4.8V29H61v-2.2h-0.1c-1.2,1.8-2.9,2.7-4.9,2.7+ c-1.7,0-3.2-0.5-4.4-1.5c-1.1-1-1.8-2.4-1.8-3.9c0-1.6,0.6-2.9,1.8-3.9c1.2-1,2.9-1.4,4.9-1.4c1.8,0,3.2,0.3,4.3,1v-0.7+ c0-1-0.4-2-1.2-2.6c-0.8-0.7-1.8-1.1-2.9-1.1c-1.7,0-3,0.7-3.9,2.1l-2.6-1.6C51.8,13.8,53.9,12.8,56.7,12.8z M52.9,24.2+ c0,0.8,0.4,1.5,1,1.9c0.7,0.5,1.5,0.8,2.3,0.8c1.2,0,2.4-0.5,3.3-1.4c1-0.9,1.5-2,1.5-3.2c-0.9-0.7-2.2-1.1-3.9-1.1+ c-1.2,0-2.2,0.3-3,0.9C53.3,22.6,52.9,23.3,52.9,24.2z"/>+<path class="st0" d="M80,13.3l-9.9,22.7h-3l3.7-7.9l-6.5-14.7h3.2l4.7,11.3h0.1l4.6-11.3H80z"/>+<path class="st1" d="M25.9,17.7c0-0.9-0.1-1.8-0.2-2.7H13.2v5.1h7.1c-0.3,1.6-1.2,3.1-2.6,4v3.3H22C24.5,25.1,25.9,21.7,25.9,17.7z"+ />+<path class="st2" d="M13.2,30.6c3.6,0,6.6-1.2,8.8-3.2l-4.3-3.3c-1.2,0.8-2.7,1.3-4.5,1.3c-3.4,0-6.4-2.3-7.4-5.5H1.4v3.4+ C3.7,27.8,8.2,30.6,13.2,30.6z"/>+<path class="st3" d="M5.8,19.9c-0.6-1.6-0.6-3.4,0-5.1v-3.4H1.4c-1.9,3.7-1.9,8.1,0,11.9L5.8,19.9z"/>+<path class="st4" d="M13.2,9.4c1.9,0,3.7,0.7,5.1,2l0,0l3.8-3.8c-2.4-2.2-5.6-3.5-8.8-3.4c-5,0-9.6,2.8-11.8,7.3l4.4,3.4+ C6.8,11.7,9.8,9.4,13.2,9.4z"/>+</svg>diff --git a/apps/docsite/public/template-assets/illustration-horizontal-1.png b/apps/docsite/public/template-assets/illustration-horizontal-1.pngnew file mode 100644index 0000000000..9f26238f3bBinary files /dev/null and b/apps/docsite/public/template-assets/illustration-horizontal-1.png differdiff --git a/apps/docsite/public/template-assets/illustration-horizontal-3.png b/apps/docsite/public/template-assets/illustration-horizontal-3.pngnew file mode 100644index 0000000000..bece78478aBinary files /dev/null and b/apps/docsite/public/template-assets/illustration-horizontal-3.png differdiff --git a/apps/docsite/public/template-assets/illustration-horizontal-4.png b/apps/docsite/public/template-assets/illustration-horizontal-4.pngnew file mode 100644index 0000000000..acb6588bc5Binary files /dev/null and b/apps/docsite/public/template-assets/illustration-horizontal-4.png differdiff --git a/apps/docsite/public/template-assets/illustration-horizontal-5.png b/apps/docsite/public/template-assets/illustration-horizontal-5.pngnew file mode 100644index 0000000000..9a945c751dBinary files /dev/null and b/apps/docsite/public/template-assets/illustration-horizontal-5.png differdiff --git a/apps/docsite/public/template-assets/illustrative-horizontal-1.jpg b/apps/docsite/public/template-assets/illustrative-horizontal-1.jpgnew file mode 100644index 0000000000..e587aba53dBinary files /dev/null and b/apps/docsite/public/template-assets/illustrative-horizontal-1.jpg differdiff --git a/apps/docsite/public/template-assets/illustrative-horizontal-2.jpg b/apps/docsite/public/template-assets/illustrative-horizontal-2.jpgnew file mode 100644index 0000000000..e2158c5c90Binary files /dev/null and b/apps/docsite/public/template-assets/illustrative-horizontal-2.jpg differdiff --git a/apps/docsite/public/template-assets/illustrative-horizontal-3.jpg b/apps/docsite/public/template-assets/illustrative-horizontal-3.jpgnew file mode 100644index 0000000000..9767141cf1Binary files /dev/null and b/apps/docsite/public/template-assets/illustrative-horizontal-3.jpg differdiff --git a/apps/docsite/public/template-assets/illustrative-horizontal-4.jpg b/apps/docsite/public/template-assets/illustrative-horizontal-4.jpgnew file mode 100644index 0000000000..e77033618bBinary files /dev/null and b/apps/docsite/public/template-assets/illustrative-horizontal-4.jpg differdiff --git a/apps/docsite/public/template-assets/illustrative-horizontal-5.jpg b/apps/docsite/public/template-assets/illustrative-horizontal-5.jpgnew file mode 100644index 0000000000..fc67323009Binary files /dev/null and b/apps/docsite/public/template-assets/illustrative-horizontal-5.jpg differdiff --git a/apps/docsite/public/template-assets/illustrative-vertical-1.jpg b/apps/docsite/public/template-assets/illustrative-vertical-1.jpgnew file mode 100644index 0000000000..7af6ff664eBinary files /dev/null and b/apps/docsite/public/template-assets/illustrative-vertical-1.jpg 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-2.png b/apps/docsite/public/template-assets/light-home-square-2.pngnew file mode 100644index 0000000000..1ae9226f44Binary files /dev/null and b/apps/docsite/public/template-assets/light-home-square-2.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-lifestyle-vertical-1.png b/apps/docsite/public/template-assets/light-lifestyle-vertical-1.pngnew file mode 100644index 0000000000..7561823bcdBinary files /dev/null and b/apps/docsite/public/template-assets/light-lifestyle-vertical-1.png differdiff --git a/apps/docsite/public/template-assets/light-lifestyle-vertical-3.png b/apps/docsite/public/template-assets/light-lifestyle-vertical-3.pngnew file mode 100644index 0000000000..1e7e501943Binary files /dev/null and b/apps/docsite/public/template-assets/light-lifestyle-vertical-3.png differdiff --git a/apps/docsite/public/template-assets/light-lifestyle-vertical-4.png b/apps/docsite/public/template-assets/light-lifestyle-vertical-4.pngnew file mode 100644index 0000000000..5e793bfc61Binary files /dev/null and b/apps/docsite/public/template-assets/light-lifestyle-vertical-4.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/mastercard.svg b/apps/docsite/public/template-assets/mastercard.svgnew file mode 100644index 0000000000..41bea82c82--- /dev/null+++ b/apps/docsite/public/template-assets/mastercard.svg@@ -0,0 +1,14 @@+<svg width="780" height="500" viewBox="0 0 780 500" fill="none" xmlns="http://www.w3.org/2000/svg">+<g clip-path="url(#clip0_6278_125825)">+<path d="M780 0H0V500H780V0Z" fill="#253747"/>+<path d="M211.053 467.045V438.109C211.053 427.041 204.311 419.793 192.736 419.793C186.949 419.793 180.657 421.703 176.33 427.996C172.959 422.715 168.127 419.793 160.879 419.793C156.047 419.793 151.215 421.254 147.395 426.535V420.748H137.281V467.045H147.395V441.481C147.395 433.278 151.721 429.401 158.463 429.401C165.205 429.401 168.577 433.727 168.577 441.481V467.045H178.69V441.481C178.69 433.278 183.522 429.401 189.759 429.401C196.501 429.401 199.872 433.727 199.872 441.481V467.045H211.053ZM361.068 420.748H344.662V406.758H334.549V420.748H325.391V429.906H334.549V451.145C334.549 461.764 338.875 468 350.449 468C354.776 468 359.608 466.539 362.979 464.629L360.057 455.92C357.135 457.831 353.764 458.336 351.348 458.336C346.516 458.336 344.606 455.415 344.606 450.639V429.906H361.012V420.748H361.068ZM446.92 419.737C441.133 419.737 437.256 422.658 434.84 426.479V420.692H424.727V466.989H434.84V440.919C434.84 433.221 438.211 428.839 444.504 428.839C446.414 428.839 448.83 429.345 450.797 429.794L453.718 420.13C451.696 419.737 448.83 419.737 446.92 419.737ZM317.187 424.569C312.356 421.198 305.613 419.737 298.365 419.737C286.791 419.737 279.094 425.524 279.094 434.682C279.094 442.38 284.881 446.762 294.994 448.167L299.826 448.672C305.108 449.628 308.029 451.088 308.029 453.504C308.029 456.875 304.152 459.291 297.41 459.291C290.668 459.291 285.33 456.875 281.959 454.459L277.127 462.157C282.409 466.034 289.657 467.944 296.904 467.944C310.389 467.944 318.143 461.651 318.143 452.999C318.143 444.796 311.85 440.469 302.242 439.008L297.41 438.503C293.084 437.997 289.713 437.042 289.713 434.176C289.713 430.805 293.084 428.895 298.421 428.895C304.209 428.895 309.996 431.311 312.917 432.772L317.187 424.569ZM586.26 419.737C580.473 419.737 576.596 422.658 574.18 426.479V420.692H564.067V466.989H574.18V440.919C574.18 433.221 577.551 428.839 583.844 428.839C585.754 428.839 588.17 429.345 590.137 429.794L593.059 420.242C591.092 419.737 588.227 419.737 586.26 419.737ZM457.033 443.897C457.033 457.887 466.697 468 481.643 468C488.385 468 493.217 466.539 498.049 462.719L493.217 454.516C489.34 457.437 485.519 458.842 481.137 458.842C472.934 458.842 467.147 453.055 467.147 443.897C467.147 435.188 472.934 429.401 481.137 428.951C485.463 428.951 489.34 430.412 493.217 433.278L498.049 425.074C493.217 421.198 488.385 419.793 481.643 419.793C466.697 419.737 457.033 429.906 457.033 443.897ZM550.582 443.897V420.748H540.469V426.535C537.098 422.209 532.266 419.793 525.973 419.793C512.938 419.793 502.825 429.906 502.825 443.897C502.825 457.887 512.938 468 525.973 468C532.715 468 537.547 465.584 540.469 461.258V467.045H550.582V443.897ZM513.444 443.897C513.444 435.693 518.725 428.951 527.434 428.951C535.637 428.951 541.424 435.244 541.424 443.897C541.424 452.1 535.637 458.842 527.434 458.842C518.781 458.336 513.444 452.043 513.444 443.897ZM392.42 419.737C378.935 419.737 369.271 429.401 369.271 443.84C369.271 458.336 378.935 467.944 392.926 467.944C399.668 467.944 406.41 466.034 411.748 461.651L406.916 454.403C403.039 457.325 398.207 459.235 393.431 459.235C387.139 459.235 380.902 456.314 379.441 448.167H413.658C413.658 446.706 413.658 445.751 413.658 444.29C414.108 429.401 405.399 419.737 392.42 419.737ZM392.42 428.446C398.713 428.446 403.039 432.322 403.994 439.514H379.891C380.846 433.278 385.172 428.446 392.42 428.446ZM643.682 443.897V402.432H633.568V426.535C630.197 422.209 625.365 419.793 619.073 419.793C606.037 419.793 595.924 429.906 595.924 443.897C595.924 457.887 606.037 468 619.073 468C625.815 468 630.647 465.584 633.568 461.258V467.045H643.682V443.897ZM606.543 443.897C606.543 435.693 611.825 428.951 620.533 428.951C628.736 428.951 634.524 435.244 634.524 443.897C634.524 452.1 628.736 458.842 620.533 458.842C611.825 458.336 606.543 452.043 606.543 443.897ZM267.969 443.897V420.748H257.855V426.535C254.484 422.209 249.652 419.793 243.36 419.793C230.325 419.793 220.211 429.906 220.211 443.897C220.211 457.887 230.325 468 243.36 468C250.102 468 254.934 465.584 257.855 461.258V467.045H267.969V443.897ZM230.381 443.897C230.381 435.693 235.662 428.951 244.371 428.951C252.574 428.951 258.361 435.244 258.361 443.897C258.361 452.1 252.574 458.842 244.371 458.842C235.662 458.336 230.381 452.043 230.381 443.897Z" fill="white"/>+<path d="M465.738 69.1387H313.812V342.088H465.738V69.1387Z" fill="#FF5A00"/>+<path d="M323.926 205.613C323.926 150.158 349.996 100.94 390 69.1387C360.559 45.9902 323.42 32 282.91 32C186.945 32 109.297 109.648 109.297 205.613C109.297 301.578 186.945 379.227 282.91 379.227C323.42 379.227 360.559 365.237 390 342.088C349.94 310.737 323.926 261.069 323.926 205.613Z" fill="#EB001B"/>+<path d="M670.711 205.613C670.711 301.578 593.062 379.227 497.098 379.227C456.588 379.227 419.449 365.237 390.008 342.088C430.518 310.231 456.082 261.069 456.082 205.613C456.082 150.158 430.012 100.94 390.008 69.1387C419.393 45.9902 456.532 32 497.041 32C593.062 32 670.711 110.154 670.711 205.613Z" fill="#F79E1B"/>+</g>+<defs>+<clipPath id="clip0_6278_125825">+<rect width="780" height="500" fill="white"/>+</clipPath>+</defs>+</svg>diff --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/paypal-logo.png b/apps/docsite/public/template-assets/paypal-logo.pngnew file mode 100644index 0000000000..85b4e3f2b1Binary files /dev/null and b/apps/docsite/public/template-assets/paypal-logo.png differdiff --git a/apps/docsite/public/template-assets/placeholder.svg b/apps/docsite/public/template-assets/placeholder.svgnew file mode 100644index 0000000000..1416dc6872--- /dev/null+++ b/apps/docsite/public/template-assets/placeholder.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300" role="img" aria-label="Image placeholder" preserveAspectRatio="xMidYMid slice"><rect width="400" height="300" fill="var(--color-background-muted, #f5f6f8)"/><g transform="translate(200 150)" fill="none" stroke="var(--color-icon-muted, #c2cad6)" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"><rect x="-44" y="-44" width="88" height="88" rx="16"/><circle cx="18" cy="-18" r="2.5" fill="var(--color-icon-muted, #c2cad6)" stroke="none"/><path d="M-34 30 L-8 0 L10 18 L20 8 L34 24"/></g></svg>diff --git a/apps/docsite/public/template-assets/visa.svg b/apps/docsite/public/template-assets/visa.svgnew file mode 100644index 0000000000..618c5eb7f9--- /dev/null+++ b/apps/docsite/public/template-assets/visa.svg@@ -0,0 +1,11 @@+<svg width="780" height="500" viewBox="0 0 780 500" fill="none" xmlns="http://www.w3.org/2000/svg">+<g clip-path="url(#clip0_6278_125833)">+<path d="M780 0H0V500H780V0Z" fill="#1434CB"/>+<path d="M489.823 143.111C442.988 143.111 401.134 167.393 401.134 212.256C401.134 263.706 475.364 267.259 475.364 293.106C475.364 303.989 462.895 313.731 441.6 313.731C411.377 313.731 388.789 300.119 388.789 300.119L379.123 345.391C379.123 345.391 405.145 356.889 439.692 356.889C490.898 356.889 531.19 331.415 531.19 285.784C531.19 231.419 456.652 227.971 456.652 203.981C456.652 195.455 466.887 186.114 488.122 186.114C512.081 186.114 531.628 196.014 531.628 196.014L541.087 152.289C541.087 152.289 519.818 143.111 489.823 143.111ZM61.3294 146.411L60.1953 153.011C60.1953 153.011 79.8988 156.618 97.645 163.814C120.495 172.064 122.122 176.868 125.971 191.786L167.905 353.486H224.118L310.719 146.411H254.635L198.989 287.202L176.282 167.861C174.199 154.203 163.651 146.411 150.74 146.411H61.3294ZM333.271 146.411L289.275 353.486H342.756L386.598 146.411H333.271ZM631.554 146.411C618.658 146.411 611.825 153.318 606.811 165.386L528.458 353.486H584.542L595.393 322.136H663.72L670.318 353.486H719.805L676.633 146.411H631.554ZM638.848 202.356L655.473 280.061H610.935L638.848 202.356Z" fill="white"/>+</g>+<defs>+<clipPath id="clip0_6278_125833">+<rect width="780" height="500" fill="white"/>+</clipPath>+</defs>+</svg>diff --git a/packages/cli/src/api/template.mjs b/packages/cli/src/api/template.mjsindex 1d491c1e54..96554ccfc8 100644--- a/packages/cli/src/api/template.mjs+++ b/packages/cli/src/api/template.mjs@@ -15,6 +15,35 @@ import {loadConfig} from '../lib/config.mjs';const TEMPLATES_DIR = path.join(CLI_ROOT, 'templates');const PAGES_DIR = path.join(TEMPLATES_DIR, 'pages');const BLOCKS_DIR = path.join(TEMPLATES_DIR, 'blocks');++/**+ * Inline placeholder illustration used when scaffolding a template into a+ * user's project. Template `/template-assets/*` references only resolve on the+ * XDS docsite — when a builder runs `xds template <name> <path>`, those files+ * don't exist in their app. Rather than ship demo images the builder will+ * replace anyway, we strip the references and drop in a self-contained data-URI+ * placeholder so scaffolded pages render with zero setup.+ *+ * Neutral hex colors (not design tokens) so it renders in any project, themed+ * or not. Mirrors apps/docsite/public/template-assets/placeholder.svg.+ */+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";++/**+ * Replace docsite-local `/template-assets/<file>` image references with a+ * self-contained placeholder data URI. Only the docsite serves files from+ * `/template-assets`, so these paths would 404 in a scaffolded project.+ *+ * @param {string} source - Template source code.+ * @returns {string} Source with template-asset references replaced.+ */+export function stripTemplateAssetRefs(source) {+ return source.replace(+ /\/template-assets\/[A-Za-z0-9._-]+/g,+ PLACEHOLDER_IMAGE,+ );+}async function loadDocModule(docPath) {if (!fs.existsSync(docPath)) return null;const docModule = await import(`file://${docPath}`);@@ -503,7 +532,12 @@ export async function template(name, options = {}) {}fs.mkdirSync(outputDir, {recursive: true});- fs.copyFileSync(match.filePath, outputFilePath);++ // Strip docsite-only /template-assets references so the scaffolded file+ // renders in the user's project without copying demo images.+ const source = fs.readFileSync(match.filePath, 'utf-8');+ const outputSource = stripTemplateAssetRefs(source);+ fs.writeFileSync(outputFilePath, outputSource);const relOutput = path.relative(cwd, outputDir) || '.';return {diff --git a/packages/cli/src/api/template.test.mjs b/packages/cli/src/api/template.test.mjsnew file mode 100644index 0000000000..728e98465c--- /dev/null+++ b/packages/cli/src/api/template.test.mjs@@ -0,0 +1,44 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.++import {describe, it, expect} from 'vitest';+import {stripTemplateAssetRefs} from './template.mjs';++describe('stripTemplateAssetRefs', () => {+ it('replaces a /template-assets reference with an inline data URI', () => {+ const src = "const hero = '/template-assets/light-home-horizontal-1.png';";+ const out = stripTemplateAssetRefs(src);+ expect(out).not.toContain('/template-assets/');+ expect(out).toContain('data:image/svg+xml,');+ });++ it('replaces every reference, not just the first', () => {+ const src = [+ "'/template-assets/colorful-home-horizontal-1.png'",+ "'/template-assets/illustrative-horizontal-3.jpg'",+ "'/template-assets/moody-scene-horizontal-1.png'",+ ].join('\n');+ const out = stripTemplateAssetRefs(src);+ expect(out).not.toMatch(/\/template-assets\//);+ expect(out.match(/data:image\/svg\+xml,/g)).toHaveLength(3);+ });++ it('handles both .png and .jpg extensions', () => {+ const src = "'/template-assets/a.png' '/template-assets/b.jpg'";+ const out = stripTemplateAssetRefs(src);+ expect(out).not.toContain('.png');+ expect(out).not.toContain('.jpg');+ });++ it('leaves unrelated paths untouched', () => {+ const src = "import x from './local.png'; const y = '/public/logo.svg';";+ const out = stripTemplateAssetRefs(src);+ expect(out).toBe(src);+ });++ it('preserves surrounding source structure', () => {+ const src = "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/templates/pages/centered-hero/page.tsx b/packages/cli/templates/pages/centered-hero/page.tsxindex 151f046fbe..f9c789955d 100644--- a/packages/cli/templates/pages/centered-hero/page.tsx+++ b/packages/cli/templates/pages/centered-hero/page.tsx@@ -16,7 +16,7 @@ import {ArrowRightIcon} from '@heroicons/react/20/solid';// light-scene-horizontal-1 from xds_oss asset setconst IMAGE_URL =- 'https://lookaside.facebook.com/assets/xds_oss/light-scene-horizontal-1.png';+ '/template-assets/light-scene-horizontal-1.png';const styles = stylex.create({textCenter: {diff --git a/packages/cli/templates/pages/classic-gallery/page.tsx b/packages/cli/templates/pages/classic-gallery/page.tsxindex 23c7acd76a..76e41a1bcd 100644--- a/packages/cli/templates/pages/classic-gallery/page.tsx+++ b/packages/cli/templates/pages/classic-gallery/page.tsx@@ -51,61 +51,61 @@ interface GalleryImage {const GALLERY_IMAGES: GalleryImage[] = [{// moody-scene-horizontal-1 from xds_oss asset set- src: 'https://lookaside.facebook.com/assets/xds_oss/moody-scene-horizontal-1.png',+ src: '/template-assets/moody-scene-horizontal-1.png',alt: 'Moody scene landscape',category: 'scene',},{// moody-lifestyle-vertical-1 from xds_oss asset set- src: 'https://lookaside.facebook.com/assets/xds_oss/moody-lifestyle-vertical-1.png',+ src: '/template-assets/moody-lifestyle-vertical-1.png',alt: 'Moody lifestyle portrait',category: 'lifestyle',},{// moody-home-vertical-1 from xds_oss asset set- src: 'https://lookaside.facebook.com/assets/xds_oss/moody-home-vertical-1.png',+ src: '/template-assets/moody-home-vertical-1.png',alt: 'Moody home interior',category: 'home',},{// moody-scene-horizontal-2 from xds_oss asset set- src: 'https://lookaside.facebook.com/assets/xds_oss/moody-scene-horizontal-2.png',+ src: '/template-assets/moody-scene-horizontal-2.png',alt: 'Moody scene vista',category: 'scene',},{// moody-lifestyle-vertical-2 from xds_oss asset set- src: 'https://lookaside.facebook.com/assets/xds_oss/moody-lifestyle-vertical-2.png',+ src: '/template-assets/moody-lifestyle-vertical-2.png',alt: 'Moody lifestyle scene',category: 'lifestyle',},{// moody-lifestyle-horizontal-1 from xds_oss asset set- src: 'https://lookaside.facebook.com/assets/xds_oss/moody-lifestyle-horizontal-1.png',+ src: '/template-assets/moody-lifestyle-horizontal-1.png',alt: 'Moody lifestyle horizontal',category: 'lifestyle',},{// moody-scene-vertical-1 from xds_oss asset set- src: 'https://lookaside.facebook.com/assets/xds_oss/moody-scene-vertical-1.png',+ src: '/template-assets/moody-scene-vertical-1.png',alt: 'Moody scene vertical',category: 'scene',},{// moody-home-vertical-2 from xds_oss asset set- src: 'https://lookaside.facebook.com/assets/xds_oss/moody-home-vertical-2.png',+ src: '/template-assets/moody-home-vertical-2.png',alt: 'Moody home vertical',category: 'home',},{// moody-home-horizontal-1 from xds_oss asset set- src: 'https://lookaside.facebook.com/assets/xds_oss/moody-home-horizontal-1.png',+ src: '/template-assets/moody-home-horizontal-1.png',alt: 'Moody home horizontal',category: 'home',},{// moody-scene-vertical-2 from xds_oss asset set- src: 'https://lookaside.facebook.com/assets/xds_oss/moody-scene-vertical-2.png',+ src: '/template-assets/moody-scene-vertical-2.png',alt: 'Moody scene vertical',category: 'scene',},diff --git a/packages/cli/templates/pages/contact-form/page.tsx b/packages/cli/templates/pages/contact-form/page.tsxindex 41495863cc..b7118c1aa9 100644--- a/packages/cli/templates/pages/contact-form/page.tsx+++ b/packages/cli/templates/pages/contact-form/page.tsx@@ -24,11 +24,11 @@ import {colorVars} from '@xds/core/theme/tokens.stylex';const WHY_US_IMAGES = [// illustration-horizontal-3 from xds_oss asset set- 'https://lookaside.facebook.com/assets/xds_oss/illustration-horizontal-3.png',+ '/template-assets/illustration-horizontal-3.png',// illustration-horizontal-4 from xds_oss asset set- 'https://lookaside.facebook.com/assets/xds_oss/illustration-horizontal-4.png',+ '/template-assets/illustration-horizontal-4.png',// illustration-horizontal-5 from xds_oss asset set- 'https://lookaside.facebook.com/assets/xds_oss/illustration-horizontal-5.png',+ '/template-assets/illustration-horizontal-5.png',];const CAMPAIGN_GOALS = [diff --git a/packages/cli/templates/pages/detail-page/page.tsx b/packages/cli/templates/pages/detail-page/page.tsxindex 5716a613fa..ae43fd6e97 100644--- a/packages/cli/templates/pages/detail-page/page.tsx+++ b/packages/cli/templates/pages/detail-page/page.tsx@@ -56,15 +56,15 @@ const pageStyles = stylex.create({// Source: meta assets.file list -s xds_oss -g light-product-{1..5}const PRODUCT_IMAGES = [// light-product-1 from xds_oss asset set- 'https://lookaside.facebook.com/assets/xds_oss/light-product-1.png',+ '/template-assets/light-product-1.png',// light-product-2 from xds_oss asset set- 'https://lookaside.facebook.com/assets/xds_oss/light-product-2.png',+ '/template-assets/light-product-2.png',// light-product-3 from xds_oss asset set- 'https://lookaside.facebook.com/assets/xds_oss/light-product-3.png',+ '/template-assets/light-product-3.png',// light-product-4 from xds_oss asset set- 'https://lookaside.facebook.com/assets/xds_oss/light-product-4.png',+ '/template-assets/light-product-4.png',// light-product-5 from xds_oss asset set- 'https://lookaside.facebook.com/assets/xds_oss/light-product-5.png',+ '/template-assets/light-product-5.png',];const PRODUCTS = [diff --git a/packages/cli/templates/pages/form-two-column/page.tsx b/packages/cli/templates/pages/form-two-column/page.tsxindex 6b62e3cdeb..a3408025df 100644--- a/packages/cli/templates/pages/form-two-column/page.tsx+++ b/packages/cli/templates/pages/form-two-column/page.tsx@@ -22,7 +22,7 @@ import {colorVars} from '@xds/core/theme/tokens.stylex';// illustration-horizontal-1 from xds_oss asset setconst ILLUSTRATION_URL =- 'https://lookaside.facebook.com/assets/xds_oss/illustration-horizontal-1.png';+ '/template-assets/illustration-horizontal-1.png';// ─────────────────────────────────────────────────────────────// Constantsdiff --git a/packages/cli/templates/pages/gallery-hero/page.tsx b/packages/cli/templates/pages/gallery-hero/page.tsxindex 4d49ed546e..9229cc2932 100644--- a/packages/cli/templates/pages/gallery-hero/page.tsx+++ b/packages/cli/templates/pages/gallery-hero/page.tsx@@ -20,17 +20,17 @@ import {ArrowRightIcon} from '@heroicons/react/20/solid';const IMAGES = [{// colorful-home-horizontal-1 from xds_oss asset set- src: 'https://lookaside.facebook.com/assets/xds_oss/colorful-home-horizontal-1.png',+ src: '/template-assets/colorful-home-horizontal-1.png',alt: 'Colorful home interior with vibrant decor',},{// colorful-lifestyle-horizontal-1 from xds_oss asset set- src: 'https://lookaside.facebook.com/assets/xds_oss/colorful-lifestyle-horizontal-1.png',+ src: '/template-assets/colorful-lifestyle-horizontal-1.png',alt: 'Colorful lifestyle portrait with natural lighting',},{// colorful-lifestyle-horizontal-2 from xds_oss asset set- src: 'https://lookaside.facebook.com/assets/xds_oss/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/templates/pages/library/page.tsx b/packages/cli/templates/pages/library/page.tsxindex 0b0b7cf74f..4cdb5960a2 100644--- a/packages/cli/templates/pages/library/page.tsx+++ b/packages/cli/templates/pages/library/page.tsx@@ -38,7 +38,7 @@ const ITEMS: LibraryItem[] = [category: 'Layout',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/colorful-home-horizontal-1.png',+ '/template-assets/colorful-home-horizontal-1.png',},{id: '2',@@ -48,7 +48,7 @@ const ITEMS: LibraryItem[] = [category: 'Layout',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/illustrative-horizontal-3.jpg',+ '/template-assets/illustrative-horizontal-3.jpg',},{id: '3',@@ -58,7 +58,7 @@ const ITEMS: LibraryItem[] = [category: 'Layout',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/light-working-horizontal-2.png',+ '/template-assets/light-working-horizontal-2.png',},{id: '4',@@ -67,7 +67,7 @@ const ITEMS: LibraryItem[] = [category: 'Layout',type: 'Utility',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/moody-scene-horizontal-1.png',+ '/template-assets/moody-scene-horizontal-1.png',},{id: '5',@@ -76,7 +76,7 @@ const ITEMS: LibraryItem[] = [category: 'Layout',type: 'Pattern',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/colorful-lifestyle-horizontal-2.png',+ '/template-assets/colorful-lifestyle-horizontal-2.png',},{id: '6',@@ -85,7 +85,7 @@ const ITEMS: LibraryItem[] = [category: 'Layout',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/light-scene-horizontal-1.png',+ '/template-assets/light-scene-horizontal-1.png',},{id: '7',@@ -95,7 +95,7 @@ const ITEMS: LibraryItem[] = [category: 'Forms',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/moody-working-horizontal-1.png',+ '/template-assets/moody-working-horizontal-1.png',},{id: '8',@@ -104,7 +104,7 @@ const ITEMS: LibraryItem[] = [category: 'Forms',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/colorful-working-horizontal-3.png',+ '/template-assets/colorful-working-horizontal-3.png',},{id: '9',@@ -113,7 +113,7 @@ const ITEMS: LibraryItem[] = [category: 'Forms',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/illustrative-horizontal-1.jpg',+ '/template-assets/illustrative-horizontal-1.jpg',},{id: '10',@@ -122,7 +122,7 @@ const ITEMS: LibraryItem[] = [category: 'Forms',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/light-home-horizontal-1.png',+ '/template-assets/light-home-horizontal-1.png',},{id: '11',@@ -131,7 +131,7 @@ const ITEMS: LibraryItem[] = [category: 'Forms',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/moody-home-horizontal-2.png',+ '/template-assets/moody-home-horizontal-2.png',},{id: '12',@@ -141,7 +141,7 @@ const ITEMS: LibraryItem[] = [category: 'Forms',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/colorful-product-1.png',+ '/template-assets/colorful-product-1.png',},{id: '13',@@ -151,7 +151,7 @@ const ITEMS: LibraryItem[] = [category: 'Navigation',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/illustrative-horizontal-5.jpg',+ '/template-assets/illustrative-horizontal-5.jpg',},{id: '14',@@ -160,7 +160,7 @@ const ITEMS: LibraryItem[] = [category: 'Navigation',type: 'Pattern',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/light-working-horizontal-1.png',+ '/template-assets/light-working-horizontal-1.png',},{id: '15',@@ -170,7 +170,7 @@ const ITEMS: LibraryItem[] = [category: 'Navigation',type: 'Pattern',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/moody-lifestyle-horizontal-1.png',+ '/template-assets/moody-lifestyle-horizontal-1.png',},{id: '16',@@ -179,7 +179,7 @@ const ITEMS: LibraryItem[] = [category: 'Navigation',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/colorful-home-horizontal-2.png',+ '/template-assets/colorful-home-horizontal-2.png',},{id: '17',@@ -189,7 +189,7 @@ const ITEMS: LibraryItem[] = [category: 'Navigation',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/colorful-working-horizontal-1.png',+ '/template-assets/colorful-working-horizontal-1.png',},{id: '18',@@ -199,7 +199,7 @@ const ITEMS: LibraryItem[] = [category: 'Navigation',type: 'Pattern',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/light-working-horizontal-3.png',+ '/template-assets/light-working-horizontal-3.png',},{id: '19',@@ -209,7 +209,7 @@ const ITEMS: LibraryItem[] = [category: 'Feedback',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/moody-working-horizontal-2.png',+ '/template-assets/moody-working-horizontal-2.png',},{id: '20',@@ -219,7 +219,7 @@ const ITEMS: LibraryItem[] = [category: 'Feedback',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/illustrative-horizontal-2.jpg',+ '/template-assets/illustrative-horizontal-2.jpg',},{id: '21',@@ -228,7 +228,7 @@ const ITEMS: LibraryItem[] = [category: 'Feedback',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/colorful-lifestyle-horizontal-1.png',+ '/template-assets/colorful-lifestyle-horizontal-1.png',},{id: '22',@@ -237,7 +237,7 @@ const ITEMS: LibraryItem[] = [category: 'Feedback',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/light-lifestyle-horizontal-1.png',+ '/template-assets/light-lifestyle-horizontal-1.png',},{id: '23',@@ -247,7 +247,7 @@ const ITEMS: LibraryItem[] = [category: 'Feedback',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/moody-home-horizontal-1.png',+ '/template-assets/moody-home-horizontal-1.png',},{id: '24',@@ -257,7 +257,7 @@ const ITEMS: LibraryItem[] = [category: 'Feedback',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/colorful-working-horizontal-2.png',+ '/template-assets/colorful-working-horizontal-2.png',},{id: '25',@@ -267,7 +267,7 @@ const ITEMS: LibraryItem[] = [category: 'Data',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/illustrative-horizontal-4.jpg',+ '/template-assets/illustrative-horizontal-4.jpg',},{id: '26',@@ -277,7 +277,7 @@ const ITEMS: LibraryItem[] = [category: 'Data',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/light-working-horizontal-4.png',+ '/template-assets/light-working-horizontal-4.png',},{id: '27',@@ -287,7 +287,7 @@ const ITEMS: LibraryItem[] = [category: 'Data',type: 'Utility',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/moody-lifestyle-horizontal-2.png',+ '/template-assets/moody-lifestyle-horizontal-2.png',},{id: '28',@@ -296,7 +296,7 @@ const ITEMS: LibraryItem[] = [category: 'Data',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/moody-scene-horizontal-2.png',+ '/template-assets/moody-scene-horizontal-2.png',},{id: '29',@@ -306,7 +306,7 @@ const ITEMS: LibraryItem[] = [category: 'Data',type: 'Pattern',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/colorful-product-2.png',+ '/template-assets/colorful-product-2.png',},{id: '30',@@ -316,7 +316,7 @@ const ITEMS: LibraryItem[] = [category: 'Data',type: 'Component',imageUrl:- 'https://lookaside.facebook.com/assets/xds_oss/moody-working-horizontal-3.png',+ '/template-assets/moody-working-horizontal-3.png',},];diff --git a/packages/cli/templates/pages/login-split/page.tsx b/packages/cli/templates/pages/login-split/page.tsxindex 262321ecf4..b44b537c91 100644--- a/packages/cli/templates/pages/login-split/page.tsx+++ b/packages/cli/templates/pages/login-split/page.tsx@@ -24,7 +24,7 @@ import {// light-working-vertical-1 from xds_oss asset setconst COVER_IMAGE_URL =- 'https://lookaside.facebook.com/assets/xds_oss/light-working-vertical-1.png';+ '/template-assets/light-working-vertical-1.png';const AppleIcon = (props: React.SVGProps<SVGSVGElement>) => (<svg viewBox="0 0 24 24" fill="currentColor" width={16} height={16} aria-hidden="true" {...props}>diff --git a/packages/cli/templates/pages/login-sso/page.tsx b/packages/cli/templates/pages/login-sso/page.tsxindex 9e1514a682..4e047cdafe 100644--- a/packages/cli/templates/pages/login-sso/page.tsx+++ b/packages/cli/templates/pages/login-sso/page.tsx@@ -23,7 +23,7 @@ import {shadowVars} from '@xds/core/theme/tokens.stylex';// ---------------------------------------------------------------------------// building from xds_oss asset set-const BG_URL = 'https://lookaside.facebook.com/assets/xds_oss/building.jpg';+const BG_URL = '/template-assets/building.jpg';const styles = stylex.create({page: {diff --git a/packages/cli/templates/pages/mixed-gallery/page.tsx b/packages/cli/templates/pages/mixed-gallery/page.tsxindex 44a51a04b4..209391518d 100644--- a/packages/cli/templates/pages/mixed-gallery/page.tsx+++ b/packages/cli/templates/pages/mixed-gallery/page.tsx@@ -46,42 +46,42 @@ interface GalleryImage {const IMAGES: GalleryImage[] = [{// illustrative-horizontal-1 from xds_oss asset set- src: 'https://lookaside.facebook.com/assets/xds_oss/illustrative-horizontal-1.jpg',+ src: '/template-assets/illustrative-horizontal-1.jpg',title: 'Going places',},{// light-home-horizontal-1 from xds_oss asset set- src: 'https://lookaside.facebook.com/assets/xds_oss/light-home-horizontal-1.png',+ src: '/template-assets/light-home-horizontal-1.png',title: 'Making memories',},{// light-lifestyle-vertical-3 from xds_oss asset set- src: 'https://lookaside.facebook.com/assets/xds_oss/light-lifestyle-vertical-3.png',+ src: '/template-assets/light-lifestyle-vertical-3.png',title: 'Seeing things',},{// light-lifestyle-vertical-1 from xds_oss asset set- src: 'https://lookaside.facebook.com/assets/xds_oss/light-lifestyle-vertical-1.png',+ src: '/template-assets/light-lifestyle-vertical-1.png',title: 'Sharing ideas',},{// light-lifestyle-horizontal-1 from xds_oss asset set- src: 'https://lookaside.facebook.com/assets/xds_oss/light-lifestyle-horizontal-1.png',+ src: '/template-assets/light-lifestyle-horizontal-1.png',title: 'Being free',},{// light-home-square-2 from xds_oss asset set- src: 'https://lookaside.facebook.com/assets/xds_oss/light-home-square-2.png',+ src: '/template-assets/light-home-square-2.png',title: 'Feeling at home',},{// light-lifestyle-vertical-4 from xds_oss asset set- src: 'https://lookaside.facebook.com/assets/xds_oss/light-lifestyle-vertical-4.png',+ src: '/template-assets/light-lifestyle-vertical-4.png',title: 'Taking it easy',},{// light-working-horizontal-2 from xds_oss asset set- src: 'https://lookaside.facebook.com/assets/xds_oss/light-working-horizontal-2.png',+ src: '/template-assets/light-working-horizontal-2.png',title: 'Getting things done',},];diff --git a/packages/cli/templates/pages/payment-form/page.tsx b/packages/cli/templates/pages/payment-form/page.tsxindex ff0c703b48..e5d867cd56 100644--- a/packages/cli/templates/pages/payment-form/page.tsx+++ b/packages/cli/templates/pages/payment-form/page.tsx@@ -495,7 +495,7 @@ export default function PaymentFormPage() {borderColor: '#FFC439',}}><img- src="https://www.paypalobjects.com/webstatic/mktg/Logo/pp-logo-100px.png"+ src="/template-assets/paypal-logo.png"alt="PayPal"style={{height: 20, width: 'auto'}}/>@@ -511,7 +511,7 @@ export default function PaymentFormPage() {borderColor: '#000',}}><img- src="https://pay.google.com/about/static_kcs/images/logos/google-pay-logo.svg"+ src="/template-assets/google-pay-logo.svg"alt="Google Pay"style={{height: 22,@@ -541,7 +541,7 @@ export default function PaymentFormPage() {{/* Card type icons */}<XDSHStack gap={1.5} vAlign="center"><img- src="https://raw.githubusercontent.com/aaronfagan/svg-credit-card-payment-icons/main/flat/visa.svg"+ src="/template-assets/visa.svg"alt="Visa"style={{height: 'var(--spacing-7)',@@ -554,7 +554,7 @@ export default function PaymentFormPage() {}}/><img- src="https://raw.githubusercontent.com/aaronfagan/svg-credit-card-payment-icons/main/flat/mastercard.svg"+ src="/template-assets/mastercard.svg"alt="Mastercard"style={{height: 'var(--spacing-7)',@@ -567,7 +567,7 @@ export default function PaymentFormPage() {}}/><img- src="https://raw.githubusercontent.com/aaronfagan/svg-credit-card-payment-icons/main/flat/amex.svg"+ src="/template-assets/amex.svg"alt="Amex"style={{height: 'var(--spacing-7)',diff --git a/packages/cli/templates/pages/product-detail/page.tsx b/packages/cli/templates/pages/product-detail/page.tsxindex 850fb548af..054c8a7267 100644--- a/packages/cli/templates/pages/product-detail/page.tsx+++ b/packages/cli/templates/pages/product-detail/page.tsx@@ -84,19 +84,19 @@ function StarRating({rating, count}: {rating: number; count: number}) {// IMAGES[0] = fallback hero; IMAGES[1..6] = thumbnails (first is selected by default)const IMAGES = [// light-product-1 (fallback hero)- 'https://lookaside.facebook.com/assets/xds_oss/light-home-horizontal-1.png',+ '/template-assets/light-home-horizontal-1.png',// light-product-1 (thumbnail 1)- 'https://lookaside.facebook.com/assets/xds_oss/light-home-horizontal-1.png',+ '/template-assets/light-home-horizontal-1.png',// light-product-2- 'https://lookaside.facebook.com/assets/xds_oss/light-product-2.png',+ '/template-assets/light-product-2.png',// light-product-3- 'https://lookaside.facebook.com/assets/xds_oss/light-product-3.png',+ '/template-assets/light-product-3.png',// light-product-4- 'https://lookaside.facebook.com/assets/xds_oss/light-product-4.png',+ '/template-assets/light-product-4.png',// light-product-5- 'https://lookaside.facebook.com/assets/xds_oss/light-product-5.png',+ '/template-assets/light-product-5.png',// light-product-1 (gallery variety)- 'https://lookaside.facebook.com/assets/xds_oss/light-product-1.png',+ '/template-assets/light-product-1.png',];// ─── Product Data ───────────────────────────────────────────────────────────diff --git a/packages/cli/templates/pages/product-gallery/page.tsx b/packages/cli/templates/pages/product-gallery/page.tsxindex f4f2011425..13f5eecbe7 100644--- a/packages/cli/templates/pages/product-gallery/page.tsx+++ b/packages/cli/templates/pages/product-gallery/page.tsx@@ -43,7 +43,7 @@ const PRODUCTS: Product[] = [price: 75.0,// illustrative-horizontal-1 from xds_oss asset setimage:- 'https://lookaside.facebook.com/assets/xds_oss/illustrative-horizontal-1.jpg',+ '/template-assets/illustrative-horizontal-1.jpg',},{id: 2,@@ -53,7 +53,7 @@ const PRODUCTS: Product[] = [price: 80.0,// illustrative-vertical-1 from xds_oss asset setimage:- 'https://lookaside.facebook.com/assets/xds_oss/illustrative-vertical-1.jpg',+ '/template-assets/illustrative-vertical-1.jpg',},{id: 3,@@ -63,7 +63,7 @@ const PRODUCTS: Product[] = [price: 75.0,// illustrative-horizontal-3 from xds_oss asset setimage:- 'https://lookaside.facebook.com/assets/xds_oss/illustrative-horizontal-3.jpg',+ '/template-assets/illustrative-horizontal-3.jpg',},{id: 4,@@ -73,7 +73,7 @@ const PRODUCTS: Product[] = [price: 75.0,// illustrative-horizontal-4 from xds_oss asset setimage:- 'https://lookaside.facebook.com/assets/xds_oss/illustrative-horizontal-4.jpg',+ '/template-assets/illustrative-horizontal-4.jpg',},{id: 5,@@ -83,7 +83,7 @@ const PRODUCTS: Product[] = [price: 60.0,// illustrative-horizontal-5 from xds_oss asset setimage:- 'https://lookaside.facebook.com/assets/xds_oss/illustrative-horizontal-5.jpg',+ '/template-assets/illustrative-horizontal-5.jpg',},{id: 6,@@ -93,7 +93,7 @@ const PRODUCTS: Product[] = [price: 80.0,// illustrative-horizontal-2 from xds_oss asset setimage:- 'https://lookaside.facebook.com/assets/xds_oss/illustrative-horizontal-2.jpg',+ '/template-assets/illustrative-horizontal-2.jpg',},];diff --git a/packages/cli/templates/pages/side-gallery/page.tsx b/packages/cli/templates/pages/side-gallery/page.tsxindex 1bc0562c9b..6aafb60c8b 100644--- a/packages/cli/templates/pages/side-gallery/page.tsx+++ b/packages/cli/templates/pages/side-gallery/page.tsx@@ -44,47 +44,47 @@ const styles = stylex.create({const IMAGES = [// colorful-lifestyle-vertical-3 from xds_oss asset set{- src: 'https://lookaside.facebook.com/assets/xds_oss/colorful-lifestyle-vertical-3.png',+ src: '/template-assets/colorful-lifestyle-vertical-3.png',alt: 'Colorful lifestyle scene',},// colorful-lifestyle-horizontal-1 from xds_oss asset set{- src: 'https://lookaside.facebook.com/assets/xds_oss/colorful-lifestyle-horizontal-1.png',+ src: '/template-assets/colorful-lifestyle-horizontal-1.png',alt: 'Colorful lifestyle horizontal',},// colorful-lifestyle-vertical-1 from xds_oss asset set{- src: 'https://lookaside.facebook.com/assets/xds_oss/colorful-lifestyle-vertical-1.png',+ src: '/template-assets/colorful-lifestyle-vertical-1.png',alt: 'Colorful lifestyle vertical',},// colorful-home-vertical-2 from xds_oss asset set{- src: 'https://lookaside.facebook.com/assets/xds_oss/colorful-home-vertical-2.png',+ src: '/template-assets/colorful-home-vertical-2.png',alt: 'Colorful home interior',},// colorful-home-vertical-3 from xds_oss asset set{- src: 'https://lookaside.facebook.com/assets/xds_oss/colorful-home-vertical-3.png',+ src: '/template-assets/colorful-home-vertical-3.png',alt: 'Colorful home scene',},// colorful-home-vertical-1 from xds_oss asset set{- src: 'https://lookaside.facebook.com/assets/xds_oss/colorful-home-vertical-1.png',+ src: '/template-assets/colorful-home-vertical-1.png',alt: 'Colorful home vertical',},// colorful-lifestyle-horizontal-2 from xds_oss asset set{- src: 'https://lookaside.facebook.com/assets/xds_oss/colorful-lifestyle-horizontal-2.png',+ src: '/template-assets/colorful-lifestyle-horizontal-2.png',alt: 'Colorful lifestyle wide',},// colorful-lifestyle-vertical-2 from xds_oss asset set{- src: 'https://lookaside.facebook.com/assets/xds_oss/colorful-lifestyle-vertical-2.png',+ src: '/template-assets/colorful-lifestyle-vertical-2.png',alt: 'Colorful lifestyle detail',},// colorful-lifestyle-vertical-4 from xds_oss asset set{- src: 'https://lookaside.facebook.com/assets/xds_oss/colorful-lifestyle-vertical-4.png',+ src: '/template-assets/colorful-lifestyle-vertical-4.png',alt: 'Colorful lifestyle portrait',},];diff --git a/packages/cli/templates/pages/table-page-chart/page.tsx b/packages/cli/templates/pages/table-page-chart/page.tsxindex 9d3337608c..8a36aae814 100644--- a/packages/cli/templates/pages/table-page-chart/page.tsx+++ b/packages/cli/templates/pages/table-page-chart/page.tsx@@ -53,37 +53,37 @@ const PRODUCTS = [{name: 'Ceremonial Matcha Latte',category: 'Matcha' as ProductCategory,- image: 'https://lookaside.facebook.com/assets/xds_oss/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/xds_oss/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/xds_oss/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/xds_oss/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/xds_oss/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/xds_oss/matcha-product-6.png',+ image: '/template-assets/matcha-product-6.png',price: 7,},];