galley-cms 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1050) hide show
  1. package/README.md +76 -2
  2. package/bin/galley.js +29 -0
  3. package/dist/LICENSE +202 -0
  4. package/dist/NOTICE +19 -0
  5. package/dist/galley.mjs +168872 -0
  6. package/dist/overlay.js +60 -0
  7. package/dist/starters/README.md +257 -0
  8. package/dist/starters/astro-editorial/CONTENT-GUIDE.md +218 -0
  9. package/dist/starters/astro-editorial/LICENSE +21 -0
  10. package/dist/starters/astro-editorial/README.md +375 -0
  11. package/dist/starters/astro-editorial/astro.config.ts +50 -0
  12. package/dist/starters/astro-editorial/galley/photography/ART-DIRECTION.md +170 -0
  13. package/dist/starters/astro-editorial/galley/photography/LOG.md +77 -0
  14. package/dist/starters/astro-editorial/galley/photography/placeholders.json +1 -0
  15. package/dist/starters/astro-editorial/galley/photography/shots.json +721 -0
  16. package/dist/starters/astro-editorial/galley/previews/chalk.webp +0 -0
  17. package/dist/starters/astro-editorial/galley/previews/night.webp +0 -0
  18. package/dist/starters/astro-editorial/galley/previews/paper.webp +0 -0
  19. package/dist/starters/astro-editorial/galley/sections/campaign-hero.webp +0 -0
  20. package/dist/starters/astro-editorial/galley/sections/chapters.webp +0 -0
  21. package/dist/starters/astro-editorial/galley/sections/contact.webp +0 -0
  22. package/dist/starters/astro-editorial/galley/sections/credits.webp +0 -0
  23. package/dist/starters/astro-editorial/galley/sections/cta.webp +0 -0
  24. package/dist/starters/astro-editorial/galley/sections/film.webp +0 -0
  25. package/dist/starters/astro-editorial/galley/sections/form.webp +0 -0
  26. package/dist/starters/astro-editorial/galley/sections/gallery.webp +0 -0
  27. package/dist/starters/astro-editorial/galley/sections/image-band.webp +0 -0
  28. package/dist/starters/astro-editorial/galley/sections/journal-list.webp +0 -0
  29. package/dist/starters/astro-editorial/galley/sections/look.webp +0 -0
  30. package/dist/starters/astro-editorial/galley/sections/lookbook-grid.webp +0 -0
  31. package/dist/starters/astro-editorial/galley/sections/marquee.webp +0 -0
  32. package/dist/starters/astro-editorial/galley/sections/newsletter.webp +0 -0
  33. package/dist/starters/astro-editorial/galley/sections/pieces.webp +0 -0
  34. package/dist/starters/astro-editorial/galley/sections/quote.webp +0 -0
  35. package/dist/starters/astro-editorial/galley/sections/split-editorial.webp +0 -0
  36. package/dist/starters/astro-editorial/galley/sections/statement.webp +0 -0
  37. package/dist/starters/astro-editorial/galley/sections/stockists.webp +0 -0
  38. package/dist/starters/astro-editorial/galley/sections/story.webp +0 -0
  39. package/dist/starters/astro-editorial/galley/templates/about.md +47 -0
  40. package/dist/starters/astro-editorial/galley/templates/about.webp +0 -0
  41. package/dist/starters/astro-editorial/galley/templates/campaign.md +71 -0
  42. package/dist/starters/astro-editorial/galley/templates/campaign.webp +0 -0
  43. package/dist/starters/astro-editorial/galley/templates/contact.md +19 -0
  44. package/dist/starters/astro-editorial/galley/templates/contact.webp +0 -0
  45. package/dist/starters/astro-editorial/galley/templates/lookbook.md +47 -0
  46. package/dist/starters/astro-editorial/galley/templates/lookbook.webp +0 -0
  47. package/dist/starters/astro-editorial/galley/templates/stockists.md +19 -0
  48. package/dist/starters/astro-editorial/galley/templates/stockists.webp +0 -0
  49. package/dist/starters/astro-editorial/galley/templates/story.md +49 -0
  50. package/dist/starters/astro-editorial/galley/templates/story.webp +0 -0
  51. package/dist/starters/astro-editorial/galley.config.json +334 -0
  52. package/dist/starters/astro-editorial/gitignore +26 -0
  53. package/dist/starters/astro-editorial/netlify.toml +6 -0
  54. package/dist/starters/astro-editorial/package.json +46 -0
  55. package/dist/starters/astro-editorial/public/favicon.svg +5 -0
  56. package/dist/starters/astro-editorial/public/images/atelier/hands.webp +0 -0
  57. package/dist/starters/astro-editorial/public/images/atelier/weave.webp +0 -0
  58. package/dist/starters/astro-editorial/public/images/atelier/workroom.webp +0 -0
  59. package/dist/starters/astro-editorial/public/images/campaign/aw26-harbour-wall.webp +0 -0
  60. package/dist/starters/astro-editorial/public/images/campaign/ss26-plaster-steps.webp +0 -0
  61. package/dist/starters/astro-editorial/public/images/campaign/wall-shadow.webp +0 -0
  62. package/dist/starters/astro-editorial/public/images/film/the-long-afternoon.webp +0 -0
  63. package/dist/starters/astro-editorial/public/images/journal/a-pattern-is-a-letter.webp +0 -0
  64. package/dist/starters/astro-editorial/public/images/journal/eleven-tries-at-rust.webp +0 -0
  65. package/dist/starters/astro-editorial/public/images/journal/keeping-a-wool-coat.webp +0 -0
  66. package/dist/starters/astro-editorial/public/images/journal/why-we-make-forty.webp +0 -0
  67. package/dist/starters/astro-editorial/public/images/lookbooks/aw26/cover.webp +0 -0
  68. package/dist/starters/astro-editorial/public/images/lookbooks/aw26/look-01.webp +0 -0
  69. package/dist/starters/astro-editorial/public/images/lookbooks/aw26/look-02.webp +0 -0
  70. package/dist/starters/astro-editorial/public/images/lookbooks/aw26/look-03.webp +0 -0
  71. package/dist/starters/astro-editorial/public/images/lookbooks/aw26/look-04.webp +0 -0
  72. package/dist/starters/astro-editorial/public/images/lookbooks/aw26/look-05.webp +0 -0
  73. package/dist/starters/astro-editorial/public/images/lookbooks/aw26/look-06.webp +0 -0
  74. package/dist/starters/astro-editorial/public/images/lookbooks/aw26/look-07.webp +0 -0
  75. package/dist/starters/astro-editorial/public/images/lookbooks/aw26/look-08.webp +0 -0
  76. package/dist/starters/astro-editorial/public/images/lookbooks/ss26/cover.webp +0 -0
  77. package/dist/starters/astro-editorial/public/images/lookbooks/ss26/look-01.webp +0 -0
  78. package/dist/starters/astro-editorial/public/images/lookbooks/ss26/look-02.webp +0 -0
  79. package/dist/starters/astro-editorial/public/images/lookbooks/ss26/look-03.webp +0 -0
  80. package/dist/starters/astro-editorial/public/images/people/hesper-lowe.webp +0 -0
  81. package/dist/starters/astro-editorial/public/images/pieces/blanket-scarf.webp +0 -0
  82. package/dist/starters/astro-editorial/public/images/pieces/field-coat.webp +0 -0
  83. package/dist/starters/astro-editorial/public/images/pieces/gansey.webp +0 -0
  84. package/dist/starters/astro-editorial/public/images/pieces/rib-polo.webp +0 -0
  85. package/dist/starters/astro-editorial/public/images/share.jpg +0 -0
  86. package/dist/starters/astro-editorial/scripts/check-type.mjs +198 -0
  87. package/dist/starters/astro-editorial/scripts/gallery/gallery.astro +77 -0
  88. package/dist/starters/astro-editorial/scripts/gallery/integration.mjs +43 -0
  89. package/dist/starters/astro-editorial/scripts/gallery/sections.md +171 -0
  90. package/dist/starters/astro-editorial/scripts/ingest-photos.mjs +169 -0
  91. package/dist/starters/astro-editorial/scripts/lib/tokens.mjs +63 -0
  92. package/dist/starters/astro-editorial/scripts/make-placeholders.mjs +188 -0
  93. package/dist/starters/astro-editorial/scripts/make-thumbnails.mjs +249 -0
  94. package/dist/starters/astro-editorial/scripts/starter-notice.json +9 -0
  95. package/dist/starters/astro-editorial/src/components/Actions.astro +31 -0
  96. package/dist/starters/astro-editorial/src/components/Footer.astro +195 -0
  97. package/dist/starters/astro-editorial/src/components/Header.astro +340 -0
  98. package/dist/starters/astro-editorial/src/components/Icon.astro +39 -0
  99. package/dist/starters/astro-editorial/src/components/LookbookCard.astro +76 -0
  100. package/dist/starters/astro-editorial/src/components/LookbookEntry.astro +175 -0
  101. package/dist/starters/astro-editorial/src/components/Media.astro +37 -0
  102. package/dist/starters/astro-editorial/src/components/PageEntry.astro +64 -0
  103. package/dist/starters/astro-editorial/src/components/PieceList.astro +70 -0
  104. package/dist/starters/astro-editorial/src/components/PostCard.astro +101 -0
  105. package/dist/starters/astro-editorial/src/components/PostList.astro +103 -0
  106. package/dist/starters/astro-editorial/src/components/Section.astro +47 -0
  107. package/dist/starters/astro-editorial/src/components/SectionHeader.astro +70 -0
  108. package/dist/starters/astro-editorial/src/components/Sections.astro +81 -0
  109. package/dist/starters/astro-editorial/src/components/StarterNotice.astro +97 -0
  110. package/dist/starters/astro-editorial/src/components/Tags.astro +68 -0
  111. package/dist/starters/astro-editorial/src/components/sections/CampaignHero.astro +288 -0
  112. package/dist/starters/astro-editorial/src/components/sections/Chapters.astro +142 -0
  113. package/dist/starters/astro-editorial/src/components/sections/Contact.astro +136 -0
  114. package/dist/starters/astro-editorial/src/components/sections/Credits.astro +62 -0
  115. package/dist/starters/astro-editorial/src/components/sections/Cta.astro +105 -0
  116. package/dist/starters/astro-editorial/src/components/sections/Film.astro +110 -0
  117. package/dist/starters/astro-editorial/src/components/sections/FormSection.astro +81 -0
  118. package/dist/starters/astro-editorial/src/components/sections/Gallery.astro +82 -0
  119. package/dist/starters/astro-editorial/src/components/sections/ImageBand.astro +33 -0
  120. package/dist/starters/astro-editorial/src/components/sections/JournalList.astro +132 -0
  121. package/dist/starters/astro-editorial/src/components/sections/Look.astro +82 -0
  122. package/dist/starters/astro-editorial/src/components/sections/LookbookGrid.astro +139 -0
  123. package/dist/starters/astro-editorial/src/components/sections/Marquee.astro +164 -0
  124. package/dist/starters/astro-editorial/src/components/sections/Newsletter.astro +83 -0
  125. package/dist/starters/astro-editorial/src/components/sections/Pieces.astro +131 -0
  126. package/dist/starters/astro-editorial/src/components/sections/Quote.astro +112 -0
  127. package/dist/starters/astro-editorial/src/components/sections/SplitEditorial.astro +81 -0
  128. package/dist/starters/astro-editorial/src/components/sections/Statement.astro +178 -0
  129. package/dist/starters/astro-editorial/src/components/sections/Stockists.astro +139 -0
  130. package/dist/starters/astro-editorial/src/components/sections/Story.astro +96 -0
  131. package/dist/starters/astro-editorial/src/components/sections/Unknown.astro +37 -0
  132. package/dist/starters/astro-editorial/src/content/forms/contact.json +49 -0
  133. package/dist/starters/astro-editorial/src/content/forms/newsletter.json +30 -0
  134. package/dist/starters/astro-editorial/src/content/forms/stockist.json +35 -0
  135. package/dist/starters/astro-editorial/src/content/journal/a-pattern-is-a-letter.md +25 -0
  136. package/dist/starters/astro-editorial/src/content/journal/eleven-tries-at-rust.md +29 -0
  137. package/dist/starters/astro-editorial/src/content/journal/keeping-a-wool-coat.md +29 -0
  138. package/dist/starters/astro-editorial/src/content/journal/why-we-make-forty.md +29 -0
  139. package/dist/starters/astro-editorial/src/content/lookbooks/aw26-the-long-afternoon.md +126 -0
  140. package/dist/starters/astro-editorial/src/content/lookbooks/ss26-plaster.md +55 -0
  141. package/dist/starters/astro-editorial/src/content/pages/404.md +14 -0
  142. package/dist/starters/astro-editorial/src/content/pages/atelier.md +102 -0
  143. package/dist/starters/astro-editorial/src/content/pages/collections.md +15 -0
  144. package/dist/starters/astro-editorial/src/content/pages/contact.md +35 -0
  145. package/dist/starters/astro-editorial/src/content/pages/index.md +144 -0
  146. package/dist/starters/astro-editorial/src/content/pages/journal.md +9 -0
  147. package/dist/starters/astro-editorial/src/content/pages/privacy.md +25 -0
  148. package/dist/starters/astro-editorial/src/content/pages/stockists.md +32 -0
  149. package/dist/starters/astro-editorial/src/content.config.ts +464 -0
  150. package/dist/starters/astro-editorial/src/data/navigation.json +60 -0
  151. package/dist/starters/astro-editorial/src/data/scripts.json +29 -0
  152. package/dist/starters/astro-editorial/src/data/site.json +86 -0
  153. package/dist/starters/astro-editorial/src/data/stockists.json +81 -0
  154. package/dist/starters/astro-editorial/src/data/visibility.json +30 -0
  155. package/dist/starters/astro-editorial/src/galley/catalog-data.js +293 -0
  156. package/dist/starters/astro-editorial/src/galley/catalog.js +42 -0
  157. package/dist/starters/astro-editorial/src/galley/client/attribution.js +79 -0
  158. package/dist/starters/astro-editorial/src/galley/client/forms.js +580 -0
  159. package/dist/starters/astro-editorial/src/galley/client/providers/frame-post.js +77 -0
  160. package/dist/starters/astro-editorial/src/galley/client/providers/galley.js +53 -0
  161. package/dist/starters/astro-editorial/src/galley/client/providers/hubspot.js +110 -0
  162. package/dist/starters/astro-editorial/src/galley/client/providers/mailto.js +20 -0
  163. package/dist/starters/astro-editorial/src/galley/client/providers/marketo.js +133 -0
  164. package/dist/starters/astro-editorial/src/galley/client/providers/pardot.js +53 -0
  165. package/dist/starters/astro-editorial/src/galley/client/providers/salesforce.js +50 -0
  166. package/dist/starters/astro-editorial/src/galley/client/providers/webhook.js +40 -0
  167. package/dist/starters/astro-editorial/src/galley/client/registry.js +32 -0
  168. package/dist/starters/astro-editorial/src/galley/client/types.d.ts +80 -0
  169. package/dist/starters/astro-editorial/src/galley/components/ConsentBanner.astro +17 -0
  170. package/dist/starters/astro-editorial/src/galley/components/Form.astro +102 -0
  171. package/dist/starters/astro-editorial/src/galley/components/Scripts.astro +30 -0
  172. package/dist/starters/astro-editorial/src/galley/components/index.js +5 -0
  173. package/dist/starters/astro-editorial/src/galley/forms/forms.css +389 -0
  174. package/dist/starters/astro-editorial/src/galley/forms/free-email-domains.js +62 -0
  175. package/dist/starters/astro-editorial/src/galley/forms/logic.js +220 -0
  176. package/dist/starters/astro-editorial/src/galley/forms/messages.js +82 -0
  177. package/dist/starters/astro-editorial/src/galley/forms/render.js +490 -0
  178. package/dist/starters/astro-editorial/src/galley/integration.js +21 -0
  179. package/dist/starters/astro-editorial/src/galley/kit.d.ts +298 -0
  180. package/dist/starters/astro-editorial/src/galley/mailto/config.js +76 -0
  181. package/dist/starters/astro-editorial/src/galley/mailto/runtime.gen.js +5 -0
  182. package/dist/starters/astro-editorial/src/galley/runtime/site-config.js +50 -0
  183. package/dist/starters/astro-editorial/src/galley/schema.js +338 -0
  184. package/dist/starters/astro-editorial/src/galley/scripts/banner.js +80 -0
  185. package/dist/starters/astro-editorial/src/galley/scripts/plan.js +253 -0
  186. package/dist/starters/astro-editorial/src/galley/scripts/runtime.gen.js +5 -0
  187. package/dist/starters/astro-editorial/src/galley/scripts/snippets.js +245 -0
  188. package/dist/starters/astro-editorial/src/galley/settings.json +18 -0
  189. package/dist/starters/astro-editorial/src/galley/shared/glob.js +64 -0
  190. package/dist/starters/astro-editorial/src/galley/shared/markdown.js +120 -0
  191. package/dist/starters/astro-editorial/src/galley/visibility/config.js +223 -0
  192. package/dist/starters/astro-editorial/src/galley/visibility/content.js +176 -0
  193. package/dist/starters/astro-editorial/src/galley/visibility/crawlers.js +195 -0
  194. package/dist/starters/astro-editorial/src/galley/visibility/html.js +293 -0
  195. package/dist/starters/astro-editorial/src/galley/visibility/integration.js +528 -0
  196. package/dist/starters/astro-editorial/src/galley/visibility/markdown.js +498 -0
  197. package/dist/starters/astro-editorial/src/galley/visibility/page.js +146 -0
  198. package/dist/starters/astro-editorial/src/galley/visibility/site.js +583 -0
  199. package/dist/starters/astro-editorial/src/galley/visibility/structured.js +131 -0
  200. package/dist/starters/astro-editorial/src/layouts/Base.astro +98 -0
  201. package/dist/starters/astro-editorial/src/lib/journal.ts +45 -0
  202. package/dist/starters/astro-editorial/src/lib/lookbooks.ts +20 -0
  203. package/dist/starters/astro-editorial/src/lib/site.ts +181 -0
  204. package/dist/starters/astro-editorial/src/pages/404.astro +13 -0
  205. package/dist/starters/astro-editorial/src/pages/[...slug].astro +34 -0
  206. package/dist/starters/astro-editorial/src/pages/collections/[slug].astro +23 -0
  207. package/dist/starters/astro-editorial/src/pages/collections/index.astro +66 -0
  208. package/dist/starters/astro-editorial/src/pages/journal/[...page].astro +59 -0
  209. package/dist/starters/astro-editorial/src/pages/journal/[slug].astro +205 -0
  210. package/dist/starters/astro-editorial/src/pages/journal/tags/[tag]/[...page].astro +83 -0
  211. package/dist/starters/astro-editorial/src/styles/galley-kit.css +97 -0
  212. package/dist/starters/astro-editorial/src/styles/global.css +661 -0
  213. package/dist/starters/astro-editorial/src/styles/themes/chalk.css +181 -0
  214. package/dist/starters/astro-editorial/src/styles/themes/night.css +181 -0
  215. package/dist/starters/astro-editorial/src/styles/themes/paper.css +181 -0
  216. package/dist/starters/astro-editorial/src/styles/tokens.css +181 -0
  217. package/dist/starters/astro-editorial/starter.json +52 -0
  218. package/dist/starters/astro-editorial/tsconfig.json +8 -0
  219. package/dist/starters/astro-saas/CONTENT-GUIDE.md +273 -0
  220. package/dist/starters/astro-saas/LICENSE +21 -0
  221. package/dist/starters/astro-saas/README.md +365 -0
  222. package/dist/starters/astro-saas/astro.config.ts +77 -0
  223. package/dist/starters/astro-saas/galley/previews/home.webp +0 -0
  224. package/dist/starters/astro-saas/galley/previews/meridian.webp +0 -0
  225. package/dist/starters/astro-saas/galley/previews/night-shift.webp +0 -0
  226. package/dist/starters/astro-saas/galley/previews/sections.webp +0 -0
  227. package/dist/starters/astro-saas/galley/previews/signal.webp +0 -0
  228. package/dist/starters/astro-saas/galley/sections/awards.webp +0 -0
  229. package/dist/starters/astro-saas/galley/sections/case-studies.webp +0 -0
  230. package/dist/starters/astro-saas/galley/sections/changelog.webp +0 -0
  231. package/dist/starters/astro-saas/galley/sections/comparison.webp +0 -0
  232. package/dist/starters/astro-saas/galley/sections/contact.webp +0 -0
  233. package/dist/starters/astro-saas/galley/sections/cta.webp +0 -0
  234. package/dist/starters/astro-saas/galley/sections/faq.webp +0 -0
  235. package/dist/starters/astro-saas/galley/sections/feature-split.webp +0 -0
  236. package/dist/starters/astro-saas/galley/sections/feature-tabs.webp +0 -0
  237. package/dist/starters/astro-saas/galley/sections/features.webp +0 -0
  238. package/dist/starters/astro-saas/galley/sections/form.webp +0 -0
  239. package/dist/starters/astro-saas/galley/sections/hero-form.webp +0 -0
  240. package/dist/starters/astro-saas/galley/sections/hero-split.webp +0 -0
  241. package/dist/starters/astro-saas/galley/sections/hero.webp +0 -0
  242. package/dist/starters/astro-saas/galley/sections/integrations.webp +0 -0
  243. package/dist/starters/astro-saas/galley/sections/logos.webp +0 -0
  244. package/dist/starters/astro-saas/galley/sections/metrics.webp +0 -0
  245. package/dist/starters/astro-saas/galley/sections/newsletter.webp +0 -0
  246. package/dist/starters/astro-saas/galley/sections/posts.webp +0 -0
  247. package/dist/starters/astro-saas/galley/sections/pricing-table.webp +0 -0
  248. package/dist/starters/astro-saas/galley/sections/pricing.webp +0 -0
  249. package/dist/starters/astro-saas/galley/sections/rich-text.webp +0 -0
  250. package/dist/starters/astro-saas/galley/sections/screenshot.webp +0 -0
  251. package/dist/starters/astro-saas/galley/sections/security.webp +0 -0
  252. package/dist/starters/astro-saas/galley/sections/steps.webp +0 -0
  253. package/dist/starters/astro-saas/galley/sections/team.webp +0 -0
  254. package/dist/starters/astro-saas/galley/sections/testimonial.webp +0 -0
  255. package/dist/starters/astro-saas/galley/sections/testimonials.webp +0 -0
  256. package/dist/starters/astro-saas/galley/sections/use-cases.webp +0 -0
  257. package/dist/starters/astro-saas/galley/templates/about.md +50 -0
  258. package/dist/starters/astro-saas/galley/templates/about.webp +0 -0
  259. package/dist/starters/astro-saas/galley/templates/contact.md +30 -0
  260. package/dist/starters/astro-saas/galley/templates/contact.webp +0 -0
  261. package/dist/starters/astro-saas/galley/templates/customer-story.md +47 -0
  262. package/dist/starters/astro-saas/galley/templates/customer-story.webp +0 -0
  263. package/dist/starters/astro-saas/galley/templates/landing.md +76 -0
  264. package/dist/starters/astro-saas/galley/templates/landing.webp +0 -0
  265. package/dist/starters/astro-saas/galley/templates/pricing.md +77 -0
  266. package/dist/starters/astro-saas/galley/templates/pricing.webp +0 -0
  267. package/dist/starters/astro-saas/galley/templates/product.md +69 -0
  268. package/dist/starters/astro-saas/galley/templates/product.webp +0 -0
  269. package/dist/starters/astro-saas/galley/templates/solution.md +71 -0
  270. package/dist/starters/astro-saas/galley/templates/solution.webp +0 -0
  271. package/dist/starters/astro-saas/galley.config.json +286 -0
  272. package/dist/starters/astro-saas/gitignore +22 -0
  273. package/dist/starters/astro-saas/netlify.toml +6 -0
  274. package/dist/starters/astro-saas/package.json +45 -0
  275. package/dist/starters/astro-saas/public/favicon.svg +1 -0
  276. package/dist/starters/astro-saas/public/images/awards/easiest-setup.svg +1 -0
  277. package/dist/starters/astro-saas/public/images/awards/facilities-review.svg +1 -0
  278. package/dist/starters/astro-saas/public/images/awards/support-index.svg +1 -0
  279. package/dist/starters/astro-saas/public/images/blog/audit-schedule.svg +1 -0
  280. package/dist/starters/astro-saas/public/images/blog/certificate-register.svg +1 -0
  281. package/dist/starters/astro-saas/public/images/blog/four-numbers.svg +1 -0
  282. package/dist/starters/astro-saas/public/images/blog/fourteen-depots.svg +1 -0
  283. package/dist/starters/astro-saas/public/images/blog/offline-first.svg +1 -0
  284. package/dist/starters/astro-saas/public/images/blog/work-order-fields.svg +1 -0
  285. package/dist/starters/astro-saas/public/images/logos/corrin-foods.svg +1 -0
  286. package/dist/starters/astro-saas/public/images/logos/halbeck-retail.svg +1 -0
  287. package/dist/starters/astro-saas/public/images/logos/linmore-schools.svg +1 -0
  288. package/dist/starters/astro-saas/public/images/logos/ostrell-logistics.svg +1 -0
  289. package/dist/starters/astro-saas/public/images/logos/pellow-hotels.svg +1 -0
  290. package/dist/starters/astro-saas/public/images/logos/tamsett-facilities.svg +1 -0
  291. package/dist/starters/astro-saas/public/images/logos/vantry-health.svg +1 -0
  292. package/dist/starters/astro-saas/public/images/logos/wendmoor-senior-living.svg +1 -0
  293. package/dist/starters/astro-saas/public/images/people/anika-thorvald.svg +1 -0
  294. package/dist/starters/astro-saas/public/images/people/calum-ashby.svg +1 -0
  295. package/dist/starters/astro-saas/public/images/people/dana-whitcombe.svg +1 -0
  296. package/dist/starters/astro-saas/public/images/people/ellie-strand.svg +1 -0
  297. package/dist/starters/astro-saas/public/images/people/grace-achterberg.svg +1 -0
  298. package/dist/starters/astro-saas/public/images/people/hana-lindqvist.svg +1 -0
  299. package/dist/starters/astro-saas/public/images/people/joel-marchetti.svg +1 -0
  300. package/dist/starters/astro-saas/public/images/people/marcus-oyelaran.svg +1 -0
  301. package/dist/starters/astro-saas/public/images/people/rosa-ferrante.svg +1 -0
  302. package/dist/starters/astro-saas/public/images/people/sunmi-hollis.svg +1 -0
  303. package/dist/starters/astro-saas/public/images/people/teodor-rask.svg +1 -0
  304. package/dist/starters/astro-saas/public/images/people/tobi-merriden.svg +1 -0
  305. package/dist/starters/astro-saas/public/images/product/dashboard.svg +1 -0
  306. package/dist/starters/astro-saas/public/images/product/evidence.svg +1 -0
  307. package/dist/starters/astro-saas/public/images/product/inspection.svg +1 -0
  308. package/dist/starters/astro-saas/public/images/product/planner.svg +1 -0
  309. package/dist/starters/astro-saas/public/images/product/reports.svg +1 -0
  310. package/dist/starters/astro-saas/public/images/product/work-orders.svg +1 -0
  311. package/dist/starters/astro-saas/public/images/share.png +0 -0
  312. package/dist/starters/astro-saas/scripts/check-type.mjs +198 -0
  313. package/dist/starters/astro-saas/scripts/gallery/gallery.astro +114 -0
  314. package/dist/starters/astro-saas/scripts/gallery/integration.mjs +42 -0
  315. package/dist/starters/astro-saas/scripts/gallery/sections.md +362 -0
  316. package/dist/starters/astro-saas/scripts/make-thumbnails.mjs +198 -0
  317. package/dist/starters/astro-saas/src/components/Actions.astro +30 -0
  318. package/dist/starters/astro-saas/src/components/Announcement.astro +51 -0
  319. package/dist/starters/astro-saas/src/components/Checklist.astro +55 -0
  320. package/dist/starters/astro-saas/src/components/CustomerCard.astro +147 -0
  321. package/dist/starters/astro-saas/src/components/CustomerStory.astro +343 -0
  322. package/dist/starters/astro-saas/src/components/Footer.astro +204 -0
  323. package/dist/starters/astro-saas/src/components/FormEmbed.astro +51 -0
  324. package/dist/starters/astro-saas/src/components/Frame.astro +88 -0
  325. package/dist/starters/astro-saas/src/components/Header.astro +489 -0
  326. package/dist/starters/astro-saas/src/components/Icon.astro +83 -0
  327. package/dist/starters/astro-saas/src/components/Logo.astro +40 -0
  328. package/dist/starters/astro-saas/src/components/Mark.astro +54 -0
  329. package/dist/starters/astro-saas/src/components/Media.astro +54 -0
  330. package/dist/starters/astro-saas/src/components/PageEntry.astro +65 -0
  331. package/dist/starters/astro-saas/src/components/PostCard.astro +99 -0
  332. package/dist/starters/astro-saas/src/components/PostList.astro +108 -0
  333. package/dist/starters/astro-saas/src/components/Section.astro +52 -0
  334. package/dist/starters/astro-saas/src/components/SectionHeader.astro +80 -0
  335. package/dist/starters/astro-saas/src/components/Sections.astro +100 -0
  336. package/dist/starters/astro-saas/src/components/StarterNotice.astro +97 -0
  337. package/dist/starters/astro-saas/src/components/Tags.astro +67 -0
  338. package/dist/starters/astro-saas/src/components/UpdateEntry.astro +145 -0
  339. package/dist/starters/astro-saas/src/components/sections/Awards.astro +144 -0
  340. package/dist/starters/astro-saas/src/components/sections/CaseStudies.astro +101 -0
  341. package/dist/starters/astro-saas/src/components/sections/Changelog.astro +108 -0
  342. package/dist/starters/astro-saas/src/components/sections/Comparison.astro +132 -0
  343. package/dist/starters/astro-saas/src/components/sections/Contact.astro +105 -0
  344. package/dist/starters/astro-saas/src/components/sections/Cta.astro +121 -0
  345. package/dist/starters/astro-saas/src/components/sections/Faq.astro +142 -0
  346. package/dist/starters/astro-saas/src/components/sections/FeatureSplit.astro +101 -0
  347. package/dist/starters/astro-saas/src/components/sections/FeatureTabs.astro +246 -0
  348. package/dist/starters/astro-saas/src/components/sections/Features.astro +119 -0
  349. package/dist/starters/astro-saas/src/components/sections/FormSection.astro +89 -0
  350. package/dist/starters/astro-saas/src/components/sections/Hero.astro +102 -0
  351. package/dist/starters/astro-saas/src/components/sections/HeroForm.astro +129 -0
  352. package/dist/starters/astro-saas/src/components/sections/HeroSplit.astro +140 -0
  353. package/dist/starters/astro-saas/src/components/sections/Integrations.astro +172 -0
  354. package/dist/starters/astro-saas/src/components/sections/Logos.astro +122 -0
  355. package/dist/starters/astro-saas/src/components/sections/Metrics.astro +97 -0
  356. package/dist/starters/astro-saas/src/components/sections/Newsletter.astro +94 -0
  357. package/dist/starters/astro-saas/src/components/sections/Posts.astro +93 -0
  358. package/dist/starters/astro-saas/src/components/sections/Pricing.astro +196 -0
  359. package/dist/starters/astro-saas/src/components/sections/PricingTable.astro +151 -0
  360. package/dist/starters/astro-saas/src/components/sections/RichText.astro +61 -0
  361. package/dist/starters/astro-saas/src/components/sections/Screenshot.astro +112 -0
  362. package/dist/starters/astro-saas/src/components/sections/Security.astro +167 -0
  363. package/dist/starters/astro-saas/src/components/sections/Steps.astro +177 -0
  364. package/dist/starters/astro-saas/src/components/sections/Team.astro +135 -0
  365. package/dist/starters/astro-saas/src/components/sections/Testimonial.astro +118 -0
  366. package/dist/starters/astro-saas/src/components/sections/Testimonials.astro +119 -0
  367. package/dist/starters/astro-saas/src/components/sections/Unknown.astro +37 -0
  368. package/dist/starters/astro-saas/src/components/sections/UseCases.astro +166 -0
  369. package/dist/starters/astro-saas/src/content/blog/audit-ready-maintenance-schedule.md +41 -0
  370. package/dist/starters/astro-saas/src/content/blog/certificate-register.md +31 -0
  371. package/dist/starters/astro-saas/src/content/blog/four-maintenance-numbers.md +31 -0
  372. package/dist/starters/astro-saas/src/content/blog/fourteen-depots-off-spreadsheets.md +33 -0
  373. package/dist/starters/astro-saas/src/content/blog/offline-first-inspections.md +33 -0
  374. package/dist/starters/astro-saas/src/content/blog/work-order-fields.md +43 -0
  375. package/dist/starters/astro-saas/src/content/changelog/asset-qr-labels.md +12 -0
  376. package/dist/starters/astro-saas/src/content/changelog/certificate-forecasts.md +12 -0
  377. package/dist/starters/astro-saas/src/content/changelog/contractor-bulk-upload.md +8 -0
  378. package/dist/starters/astro-saas/src/content/changelog/faster-planner.md +11 -0
  379. package/dist/starters/astro-saas/src/content/changelog/offline-inspections.md +16 -0
  380. package/dist/starters/astro-saas/src/content/changelog/scim-provisioning.md +8 -0
  381. package/dist/starters/astro-saas/src/content/changelog/weekly-reminders-fix.md +11 -0
  382. package/dist/starters/astro-saas/src/content/customers/linmore-schools.md +53 -0
  383. package/dist/starters/astro-saas/src/content/customers/ostrell-logistics.md +59 -0
  384. package/dist/starters/astro-saas/src/content/customers/pellow-hotels.md +47 -0
  385. package/dist/starters/astro-saas/src/content/customers/wendmoor-senior-living.md +47 -0
  386. package/dist/starters/astro-saas/src/content/forms/contact.json +31 -0
  387. package/dist/starters/astro-saas/src/content/forms/demo.json +133 -0
  388. package/dist/starters/astro-saas/src/content/forms/newsletter.json +13 -0
  389. package/dist/starters/astro-saas/src/content/pages/404.md +29 -0
  390. package/dist/starters/astro-saas/src/content/pages/about.md +83 -0
  391. package/dist/starters/astro-saas/src/content/pages/blog.md +11 -0
  392. package/dist/starters/astro-saas/src/content/pages/changelog.md +11 -0
  393. package/dist/starters/astro-saas/src/content/pages/contact.md +29 -0
  394. package/dist/starters/astro-saas/src/content/pages/customers.md +69 -0
  395. package/dist/starters/astro-saas/src/content/pages/index.md +161 -0
  396. package/dist/starters/astro-saas/src/content/pages/pricing.md +131 -0
  397. package/dist/starters/astro-saas/src/content/pages/privacy.md +38 -0
  398. package/dist/starters/astro-saas/src/content/pages/product.md +152 -0
  399. package/dist/starters/astro-saas/src/content/pages/security.md +69 -0
  400. package/dist/starters/astro-saas/src/content/pages/solutions/facilities-teams.md +114 -0
  401. package/dist/starters/astro-saas/src/content/pages/solutions/service-contractors.md +88 -0
  402. package/dist/starters/astro-saas/src/content/pages/terms.md +31 -0
  403. package/dist/starters/astro-saas/src/content/team/anika-thorvald.md +7 -0
  404. package/dist/starters/astro-saas/src/content/team/calum-ashby.md +7 -0
  405. package/dist/starters/astro-saas/src/content/team/hana-lindqvist.md +10 -0
  406. package/dist/starters/astro-saas/src/content/team/joel-marchetti.md +7 -0
  407. package/dist/starters/astro-saas/src/content/team/rosa-ferrante.md +7 -0
  408. package/dist/starters/astro-saas/src/content/team/tobi-merriden.md +10 -0
  409. package/dist/starters/astro-saas/src/content.config.ts +746 -0
  410. package/dist/starters/astro-saas/src/data/navigation.json +146 -0
  411. package/dist/starters/astro-saas/src/data/scripts.json +10 -0
  412. package/dist/starters/astro-saas/src/data/site.json +105 -0
  413. package/dist/starters/astro-saas/src/data/visibility.json +32 -0
  414. package/dist/starters/astro-saas/src/galley/catalog-data.js +293 -0
  415. package/dist/starters/astro-saas/src/galley/catalog.js +42 -0
  416. package/dist/starters/astro-saas/src/galley/client/attribution.js +79 -0
  417. package/dist/starters/astro-saas/src/galley/client/forms.js +580 -0
  418. package/dist/starters/astro-saas/src/galley/client/providers/frame-post.js +77 -0
  419. package/dist/starters/astro-saas/src/galley/client/providers/galley.js +53 -0
  420. package/dist/starters/astro-saas/src/galley/client/providers/hubspot.js +110 -0
  421. package/dist/starters/astro-saas/src/galley/client/providers/mailto.js +20 -0
  422. package/dist/starters/astro-saas/src/galley/client/providers/marketo.js +133 -0
  423. package/dist/starters/astro-saas/src/galley/client/providers/pardot.js +53 -0
  424. package/dist/starters/astro-saas/src/galley/client/providers/salesforce.js +50 -0
  425. package/dist/starters/astro-saas/src/galley/client/providers/webhook.js +40 -0
  426. package/dist/starters/astro-saas/src/galley/client/registry.js +32 -0
  427. package/dist/starters/astro-saas/src/galley/client/types.d.ts +80 -0
  428. package/dist/starters/astro-saas/src/galley/components/ConsentBanner.astro +17 -0
  429. package/dist/starters/astro-saas/src/galley/components/Form.astro +102 -0
  430. package/dist/starters/astro-saas/src/galley/components/Scripts.astro +30 -0
  431. package/dist/starters/astro-saas/src/galley/components/index.js +5 -0
  432. package/dist/starters/astro-saas/src/galley/forms/forms.css +389 -0
  433. package/dist/starters/astro-saas/src/galley/forms/free-email-domains.js +62 -0
  434. package/dist/starters/astro-saas/src/galley/forms/logic.js +220 -0
  435. package/dist/starters/astro-saas/src/galley/forms/messages.js +82 -0
  436. package/dist/starters/astro-saas/src/galley/forms/render.js +490 -0
  437. package/dist/starters/astro-saas/src/galley/integration.js +21 -0
  438. package/dist/starters/astro-saas/src/galley/kit.d.ts +298 -0
  439. package/dist/starters/astro-saas/src/galley/mailto/config.js +76 -0
  440. package/dist/starters/astro-saas/src/galley/mailto/runtime.gen.js +5 -0
  441. package/dist/starters/astro-saas/src/galley/runtime/site-config.js +50 -0
  442. package/dist/starters/astro-saas/src/galley/schema.js +338 -0
  443. package/dist/starters/astro-saas/src/galley/scripts/banner.js +80 -0
  444. package/dist/starters/astro-saas/src/galley/scripts/plan.js +253 -0
  445. package/dist/starters/astro-saas/src/galley/scripts/runtime.gen.js +5 -0
  446. package/dist/starters/astro-saas/src/galley/scripts/snippets.js +245 -0
  447. package/dist/starters/astro-saas/src/galley/settings.json +18 -0
  448. package/dist/starters/astro-saas/src/galley/shared/glob.js +64 -0
  449. package/dist/starters/astro-saas/src/galley/shared/markdown.js +120 -0
  450. package/dist/starters/astro-saas/src/galley/visibility/config.js +223 -0
  451. package/dist/starters/astro-saas/src/galley/visibility/content.js +176 -0
  452. package/dist/starters/astro-saas/src/galley/visibility/crawlers.js +195 -0
  453. package/dist/starters/astro-saas/src/galley/visibility/html.js +293 -0
  454. package/dist/starters/astro-saas/src/galley/visibility/integration.js +528 -0
  455. package/dist/starters/astro-saas/src/galley/visibility/markdown.js +498 -0
  456. package/dist/starters/astro-saas/src/galley/visibility/page.js +146 -0
  457. package/dist/starters/astro-saas/src/galley/visibility/site.js +583 -0
  458. package/dist/starters/astro-saas/src/galley/visibility/structured.js +131 -0
  459. package/dist/starters/astro-saas/src/layouts/Base.astro +106 -0
  460. package/dist/starters/astro-saas/src/lib/customers.ts +18 -0
  461. package/dist/starters/astro-saas/src/lib/posts.ts +47 -0
  462. package/dist/starters/astro-saas/src/lib/site.ts +222 -0
  463. package/dist/starters/astro-saas/src/pages/404.astro +13 -0
  464. package/dist/starters/astro-saas/src/pages/[...slug].astro +27 -0
  465. package/dist/starters/astro-saas/src/pages/blog/[...page].astro +49 -0
  466. package/dist/starters/astro-saas/src/pages/blog/[slug].astro +298 -0
  467. package/dist/starters/astro-saas/src/pages/blog/tags/[tag]/[...page].astro +83 -0
  468. package/dist/starters/astro-saas/src/pages/changelog.astro +41 -0
  469. package/dist/starters/astro-saas/src/pages/customers/[slug].astro +32 -0
  470. package/dist/starters/astro-saas/src/styles/global.css +651 -0
  471. package/dist/starters/astro-saas/src/styles/kit.css +70 -0
  472. package/dist/starters/astro-saas/src/styles/themes/meridian.css +173 -0
  473. package/dist/starters/astro-saas/src/styles/themes/night-shift.css +173 -0
  474. package/dist/starters/astro-saas/src/styles/themes/signal.css +173 -0
  475. package/dist/starters/astro-saas/src/styles/tokens.css +173 -0
  476. package/dist/starters/astro-saas/starter-notice.json +9 -0
  477. package/dist/starters/astro-saas/starter.json +52 -0
  478. package/dist/starters/astro-saas/tsconfig.json +8 -0
  479. package/dist/starters/astro-saas/wrangler.jsonc +12 -0
  480. package/dist/starters/astro-starter/CONTENT-GUIDE.md +195 -0
  481. package/dist/starters/astro-starter/LICENSE +21 -0
  482. package/dist/starters/astro-starter/README.md +381 -0
  483. package/dist/starters/astro-starter/astro.config.ts +77 -0
  484. package/dist/starters/astro-starter/galley/previews/evening.webp +0 -0
  485. package/dist/starters/astro-starter/galley/previews/home.webp +0 -0
  486. package/dist/starters/astro-starter/galley/previews/lowfield.webp +0 -0
  487. package/dist/starters/astro-starter/galley/previews/sage.webp +0 -0
  488. package/dist/starters/astro-starter/galley/previews/sections.webp +0 -0
  489. package/dist/starters/astro-starter/galley/sections/contact.webp +0 -0
  490. package/dist/starters/astro-starter/galley/sections/cta.webp +0 -0
  491. package/dist/starters/astro-starter/galley/sections/faq.webp +0 -0
  492. package/dist/starters/astro-starter/galley/sections/features.webp +0 -0
  493. package/dist/starters/astro-starter/galley/sections/form.webp +0 -0
  494. package/dist/starters/astro-starter/galley/sections/gallery.webp +0 -0
  495. package/dist/starters/astro-starter/galley/sections/hero.webp +0 -0
  496. package/dist/starters/astro-starter/galley/sections/logos.webp +0 -0
  497. package/dist/starters/astro-starter/galley/sections/posts.webp +0 -0
  498. package/dist/starters/astro-starter/galley/sections/pricing.webp +0 -0
  499. package/dist/starters/astro-starter/galley/sections/rich-text.webp +0 -0
  500. package/dist/starters/astro-starter/galley/sections/split.webp +0 -0
  501. package/dist/starters/astro-starter/galley/sections/stats.webp +0 -0
  502. package/dist/starters/astro-starter/galley/sections/steps.webp +0 -0
  503. package/dist/starters/astro-starter/galley/sections/team.webp +0 -0
  504. package/dist/starters/astro-starter/galley/sections/testimonial.webp +0 -0
  505. package/dist/starters/astro-starter/galley/sections/testimonials.webp +0 -0
  506. package/dist/starters/astro-starter/galley/templates/about.md +33 -0
  507. package/dist/starters/astro-starter/galley/templates/about.webp +0 -0
  508. package/dist/starters/astro-starter/galley/templates/contact.md +25 -0
  509. package/dist/starters/astro-starter/galley/templates/contact.webp +0 -0
  510. package/dist/starters/astro-starter/galley/templates/journal-post.md +27 -0
  511. package/dist/starters/astro-starter/galley/templates/journal-post.webp +0 -0
  512. package/dist/starters/astro-starter/galley/templates/project.md +44 -0
  513. package/dist/starters/astro-starter/galley/templates/project.webp +0 -0
  514. package/dist/starters/astro-starter/galley/templates/service.md +50 -0
  515. package/dist/starters/astro-starter/galley/templates/service.webp +0 -0
  516. package/dist/starters/astro-starter/galley.config.json +187 -0
  517. package/dist/starters/astro-starter/gitignore +22 -0
  518. package/dist/starters/astro-starter/netlify.toml +6 -0
  519. package/dist/starters/astro-starter/package.json +44 -0
  520. package/dist/starters/astro-starter/public/favicon.svg +1 -0
  521. package/dist/starters/astro-starter/public/images/blog/kitchen-questions.svg +6 -0
  522. package/dist/starters/astro-starter/public/images/blog/measured-survey.svg +5 -0
  523. package/dist/starters/astro-starter/public/images/blog/planning.svg +7 -0
  524. package/dist/starters/astro-starter/public/images/blog/renovation-guide.svg +8 -0
  525. package/dist/starters/astro-starter/public/images/gallery/arched-doorway.svg +5 -0
  526. package/dist/starters/astro-starter/public/images/gallery/garden-room.svg +4 -0
  527. package/dist/starters/astro-starter/public/images/gallery/kitchen.svg +7 -0
  528. package/dist/starters/astro-starter/public/images/gallery/plan.svg +5 -0
  529. package/dist/starters/astro-starter/public/images/gallery/stair.svg +3 -0
  530. package/dist/starters/astro-starter/public/images/gallery/window-seat.svg +6 -0
  531. package/dist/starters/astro-starter/public/images/logos/brackenridge.svg +1 -0
  532. package/dist/starters/astro-starter/public/images/logos/hartwell-glass.svg +1 -0
  533. package/dist/starters/astro-starter/public/images/logos/millbrook-timber.svg +1 -0
  534. package/dist/starters/astro-starter/public/images/logos/ostler-lime.svg +1 -0
  535. package/dist/starters/astro-starter/public/images/logos/wrenhallow-civic.svg +1 -0
  536. package/dist/starters/astro-starter/public/images/people/client-mistry.svg +3 -0
  537. package/dist/starters/astro-starter/public/images/projects/garden-room.svg +11 -0
  538. package/dist/starters/astro-starter/public/images/projects/hero-house.svg +18 -0
  539. package/dist/starters/astro-starter/public/images/projects/kitchen-extension.svg +16 -0
  540. package/dist/starters/astro-starter/public/images/projects/workshop.svg +9 -0
  541. package/dist/starters/astro-starter/public/images/share.png +0 -0
  542. package/dist/starters/astro-starter/public/images/share.svg +10 -0
  543. package/dist/starters/astro-starter/public/images/team/joe-whitlock.svg +1 -0
  544. package/dist/starters/astro-starter/public/images/team/nell-okafor.svg +1 -0
  545. package/dist/starters/astro-starter/public/images/team/priya-anand.svg +1 -0
  546. package/dist/starters/astro-starter/public/images/team/tomas-reyes.svg +1 -0
  547. package/dist/starters/astro-starter/scripts/check-type.mjs +198 -0
  548. package/dist/starters/astro-starter/scripts/gallery/gallery.astro +136 -0
  549. package/dist/starters/astro-starter/scripts/gallery/integration.mjs +42 -0
  550. package/dist/starters/astro-starter/scripts/gallery/sections.md +201 -0
  551. package/dist/starters/astro-starter/scripts/make-thumbnails.mjs +198 -0
  552. package/dist/starters/astro-starter/src/components/Actions.astro +30 -0
  553. package/dist/starters/astro-starter/src/components/Footer.astro +166 -0
  554. package/dist/starters/astro-starter/src/components/FormEmbed.astro +51 -0
  555. package/dist/starters/astro-starter/src/components/Header.astro +284 -0
  556. package/dist/starters/astro-starter/src/components/Icon.astro +57 -0
  557. package/dist/starters/astro-starter/src/components/Media.astro +32 -0
  558. package/dist/starters/astro-starter/src/components/PageEntry.astro +64 -0
  559. package/dist/starters/astro-starter/src/components/PostCard.astro +101 -0
  560. package/dist/starters/astro-starter/src/components/PostList.astro +108 -0
  561. package/dist/starters/astro-starter/src/components/Section.astro +43 -0
  562. package/dist/starters/astro-starter/src/components/SectionHeader.astro +93 -0
  563. package/dist/starters/astro-starter/src/components/Sections.astro +76 -0
  564. package/dist/starters/astro-starter/src/components/StarterNotice.astro +97 -0
  565. package/dist/starters/astro-starter/src/components/Tags.astro +65 -0
  566. package/dist/starters/astro-starter/src/components/sections/Contact.astro +106 -0
  567. package/dist/starters/astro-starter/src/components/sections/Cta.astro +96 -0
  568. package/dist/starters/astro-starter/src/components/sections/Faq.astro +107 -0
  569. package/dist/starters/astro-starter/src/components/sections/Features.astro +105 -0
  570. package/dist/starters/astro-starter/src/components/sections/FormSection.astro +91 -0
  571. package/dist/starters/astro-starter/src/components/sections/Gallery.astro +69 -0
  572. package/dist/starters/astro-starter/src/components/sections/Hero.astro +128 -0
  573. package/dist/starters/astro-starter/src/components/sections/Logos.astro +99 -0
  574. package/dist/starters/astro-starter/src/components/sections/Posts.astro +73 -0
  575. package/dist/starters/astro-starter/src/components/sections/Pricing.astro +186 -0
  576. package/dist/starters/astro-starter/src/components/sections/RichText.astro +61 -0
  577. package/dist/starters/astro-starter/src/components/sections/Split.astro +117 -0
  578. package/dist/starters/astro-starter/src/components/sections/Stats.astro +83 -0
  579. package/dist/starters/astro-starter/src/components/sections/Steps.astro +113 -0
  580. package/dist/starters/astro-starter/src/components/sections/Team.astro +112 -0
  581. package/dist/starters/astro-starter/src/components/sections/Testimonial.astro +82 -0
  582. package/dist/starters/astro-starter/src/components/sections/Testimonials.astro +107 -0
  583. package/dist/starters/astro-starter/src/components/sections/Unknown.astro +37 -0
  584. package/dist/starters/astro-starter/src/content/authors/ines-ferreira.md +5 -0
  585. package/dist/starters/astro-starter/src/content/authors/nell-okafor.md +6 -0
  586. package/dist/starters/astro-starter/src/content/authors/tomas-reyes.md +6 -0
  587. package/dist/starters/astro-starter/src/content/blog/kitchen-extension-questions.md +46 -0
  588. package/dist/starters/astro-starter/src/content/blog/living-through-a-renovation.md +47 -0
  589. package/dist/starters/astro-starter/src/content/blog/measured-survey.md +42 -0
  590. package/dist/starters/astro-starter/src/content/blog/permitted-development.md +45 -0
  591. package/dist/starters/astro-starter/src/content/forms/contact.json +39 -0
  592. package/dist/starters/astro-starter/src/content/pages/404.md +17 -0
  593. package/dist/starters/astro-starter/src/content/pages/about.md +66 -0
  594. package/dist/starters/astro-starter/src/content/pages/blog.md +9 -0
  595. package/dist/starters/astro-starter/src/content/pages/contact.md +30 -0
  596. package/dist/starters/astro-starter/src/content/pages/index.md +125 -0
  597. package/dist/starters/astro-starter/src/content/pages/pricing.md +77 -0
  598. package/dist/starters/astro-starter/src/content/pages/privacy.md +25 -0
  599. package/dist/starters/astro-starter/src/content/pages/services.md +84 -0
  600. package/dist/starters/astro-starter/src/content/team/joe-whitlock.md +10 -0
  601. package/dist/starters/astro-starter/src/content/team/nell-okafor.md +12 -0
  602. package/dist/starters/astro-starter/src/content/team/priya-anand.md +7 -0
  603. package/dist/starters/astro-starter/src/content/team/tomas-reyes.md +10 -0
  604. package/dist/starters/astro-starter/src/content.config.ts +410 -0
  605. package/dist/starters/astro-starter/src/data/navigation.json +64 -0
  606. package/dist/starters/astro-starter/src/data/scripts.json +10 -0
  607. package/dist/starters/astro-starter/src/data/site.json +66 -0
  608. package/dist/starters/astro-starter/src/data/visibility.json +30 -0
  609. package/dist/starters/astro-starter/src/galley/catalog-data.js +293 -0
  610. package/dist/starters/astro-starter/src/galley/catalog.js +42 -0
  611. package/dist/starters/astro-starter/src/galley/client/attribution.js +79 -0
  612. package/dist/starters/astro-starter/src/galley/client/forms.js +580 -0
  613. package/dist/starters/astro-starter/src/galley/client/providers/frame-post.js +77 -0
  614. package/dist/starters/astro-starter/src/galley/client/providers/galley.js +53 -0
  615. package/dist/starters/astro-starter/src/galley/client/providers/hubspot.js +110 -0
  616. package/dist/starters/astro-starter/src/galley/client/providers/mailto.js +20 -0
  617. package/dist/starters/astro-starter/src/galley/client/providers/marketo.js +133 -0
  618. package/dist/starters/astro-starter/src/galley/client/providers/pardot.js +53 -0
  619. package/dist/starters/astro-starter/src/galley/client/providers/salesforce.js +50 -0
  620. package/dist/starters/astro-starter/src/galley/client/providers/webhook.js +40 -0
  621. package/dist/starters/astro-starter/src/galley/client/registry.js +32 -0
  622. package/dist/starters/astro-starter/src/galley/client/types.d.ts +80 -0
  623. package/dist/starters/astro-starter/src/galley/components/ConsentBanner.astro +17 -0
  624. package/dist/starters/astro-starter/src/galley/components/Form.astro +102 -0
  625. package/dist/starters/astro-starter/src/galley/components/Scripts.astro +30 -0
  626. package/dist/starters/astro-starter/src/galley/components/index.js +5 -0
  627. package/dist/starters/astro-starter/src/galley/forms/forms.css +389 -0
  628. package/dist/starters/astro-starter/src/galley/forms/free-email-domains.js +62 -0
  629. package/dist/starters/astro-starter/src/galley/forms/logic.js +220 -0
  630. package/dist/starters/astro-starter/src/galley/forms/messages.js +82 -0
  631. package/dist/starters/astro-starter/src/galley/forms/render.js +490 -0
  632. package/dist/starters/astro-starter/src/galley/integration.js +21 -0
  633. package/dist/starters/astro-starter/src/galley/kit.d.ts +298 -0
  634. package/dist/starters/astro-starter/src/galley/mailto/config.js +76 -0
  635. package/dist/starters/astro-starter/src/galley/mailto/runtime.gen.js +5 -0
  636. package/dist/starters/astro-starter/src/galley/runtime/site-config.js +50 -0
  637. package/dist/starters/astro-starter/src/galley/schema.js +338 -0
  638. package/dist/starters/astro-starter/src/galley/scripts/banner.js +80 -0
  639. package/dist/starters/astro-starter/src/galley/scripts/plan.js +253 -0
  640. package/dist/starters/astro-starter/src/galley/scripts/runtime.gen.js +5 -0
  641. package/dist/starters/astro-starter/src/galley/scripts/snippets.js +245 -0
  642. package/dist/starters/astro-starter/src/galley/settings.json +18 -0
  643. package/dist/starters/astro-starter/src/galley/shared/glob.js +64 -0
  644. package/dist/starters/astro-starter/src/galley/shared/markdown.js +120 -0
  645. package/dist/starters/astro-starter/src/galley/visibility/config.js +223 -0
  646. package/dist/starters/astro-starter/src/galley/visibility/content.js +176 -0
  647. package/dist/starters/astro-starter/src/galley/visibility/crawlers.js +195 -0
  648. package/dist/starters/astro-starter/src/galley/visibility/html.js +293 -0
  649. package/dist/starters/astro-starter/src/galley/visibility/integration.js +528 -0
  650. package/dist/starters/astro-starter/src/galley/visibility/markdown.js +498 -0
  651. package/dist/starters/astro-starter/src/galley/visibility/page.js +146 -0
  652. package/dist/starters/astro-starter/src/galley/visibility/site.js +583 -0
  653. package/dist/starters/astro-starter/src/galley/visibility/structured.js +131 -0
  654. package/dist/starters/astro-starter/src/layouts/Base.astro +104 -0
  655. package/dist/starters/astro-starter/src/lib/posts.ts +43 -0
  656. package/dist/starters/astro-starter/src/lib/site.ts +201 -0
  657. package/dist/starters/astro-starter/src/pages/404.astro +13 -0
  658. package/dist/starters/astro-starter/src/pages/[...slug].astro +32 -0
  659. package/dist/starters/astro-starter/src/pages/blog/[...page].astro +49 -0
  660. package/dist/starters/astro-starter/src/pages/blog/[slug].astro +289 -0
  661. package/dist/starters/astro-starter/src/pages/blog/tags/[tag]/[...page].astro +82 -0
  662. package/dist/starters/astro-starter/src/styles/global.css +478 -0
  663. package/dist/starters/astro-starter/src/styles/kit.css +74 -0
  664. package/dist/starters/astro-starter/src/styles/themes/evening.css +135 -0
  665. package/dist/starters/astro-starter/src/styles/themes/lowfield.css +133 -0
  666. package/dist/starters/astro-starter/src/styles/themes/sage.css +134 -0
  667. package/dist/starters/astro-starter/src/styles/tokens.css +133 -0
  668. package/dist/starters/astro-starter/starter-notice.json +9 -0
  669. package/dist/starters/astro-starter/starter.json +52 -0
  670. package/dist/starters/astro-starter/tsconfig.json +8 -0
  671. package/dist/starters/astro-starter/wrangler.jsonc +12 -0
  672. package/dist/starters/astro-storefront/CONTENT-GUIDE.md +280 -0
  673. package/dist/starters/astro-storefront/LICENSE +21 -0
  674. package/dist/starters/astro-storefront/README.md +203 -0
  675. package/dist/starters/astro-storefront/astro.config.ts +50 -0
  676. package/dist/starters/astro-storefront/galley/photography/ART-DIRECTION.md +170 -0
  677. package/dist/starters/astro-storefront/galley/photography/LOG.md +91 -0
  678. package/dist/starters/astro-storefront/galley/photography/placeholders.json +1 -0
  679. package/dist/starters/astro-storefront/galley/photography/shots.json +743 -0
  680. package/dist/starters/astro-storefront/galley/previews/chalk.webp +0 -0
  681. package/dist/starters/astro-storefront/galley/previews/night.webp +0 -0
  682. package/dist/starters/astro-storefront/galley/previews/paper.webp +0 -0
  683. package/dist/starters/astro-storefront/galley/sections/campaign-hero.webp +0 -0
  684. package/dist/starters/astro-storefront/galley/sections/chapters.webp +0 -0
  685. package/dist/starters/astro-storefront/galley/sections/collection-grid.webp +0 -0
  686. package/dist/starters/astro-storefront/galley/sections/contact.webp +0 -0
  687. package/dist/starters/astro-storefront/galley/sections/credits.webp +0 -0
  688. package/dist/starters/astro-storefront/galley/sections/cta.webp +0 -0
  689. package/dist/starters/astro-storefront/galley/sections/featured-product.webp +0 -0
  690. package/dist/starters/astro-storefront/galley/sections/film.webp +0 -0
  691. package/dist/starters/astro-storefront/galley/sections/form.webp +0 -0
  692. package/dist/starters/astro-storefront/galley/sections/gallery.webp +0 -0
  693. package/dist/starters/astro-storefront/galley/sections/image-band.webp +0 -0
  694. package/dist/starters/astro-storefront/galley/sections/journal-list.webp +0 -0
  695. package/dist/starters/astro-storefront/galley/sections/look.webp +0 -0
  696. package/dist/starters/astro-storefront/galley/sections/lookbook-grid.webp +0 -0
  697. package/dist/starters/astro-storefront/galley/sections/marquee.webp +0 -0
  698. package/dist/starters/astro-storefront/galley/sections/newsletter.webp +0 -0
  699. package/dist/starters/astro-storefront/galley/sections/pieces.webp +0 -0
  700. package/dist/starters/astro-storefront/galley/sections/product-rail.webp +0 -0
  701. package/dist/starters/astro-storefront/galley/sections/quote.webp +0 -0
  702. package/dist/starters/astro-storefront/galley/sections/shop-the-look.webp +0 -0
  703. package/dist/starters/astro-storefront/galley/sections/split-editorial.webp +0 -0
  704. package/dist/starters/astro-storefront/galley/sections/statement.webp +0 -0
  705. package/dist/starters/astro-storefront/galley/sections/stockists.webp +0 -0
  706. package/dist/starters/astro-storefront/galley/sections/story.webp +0 -0
  707. package/dist/starters/astro-storefront/galley/templates/about.md +47 -0
  708. package/dist/starters/astro-storefront/galley/templates/about.webp +0 -0
  709. package/dist/starters/astro-storefront/galley/templates/campaign.md +71 -0
  710. package/dist/starters/astro-storefront/galley/templates/campaign.webp +0 -0
  711. package/dist/starters/astro-storefront/galley/templates/contact.md +19 -0
  712. package/dist/starters/astro-storefront/galley/templates/contact.webp +0 -0
  713. package/dist/starters/astro-storefront/galley/templates/lookbook.md +47 -0
  714. package/dist/starters/astro-storefront/galley/templates/lookbook.webp +0 -0
  715. package/dist/starters/astro-storefront/galley/templates/product-story.md +21 -0
  716. package/dist/starters/astro-storefront/galley/templates/product-story.webp +0 -0
  717. package/dist/starters/astro-storefront/galley/templates/shop-campaign.md +40 -0
  718. package/dist/starters/astro-storefront/galley/templates/shop-campaign.webp +0 -0
  719. package/dist/starters/astro-storefront/galley/templates/stockists.md +19 -0
  720. package/dist/starters/astro-storefront/galley/templates/stockists.webp +0 -0
  721. package/dist/starters/astro-storefront/galley/templates/story.md +49 -0
  722. package/dist/starters/astro-storefront/galley/templates/story.webp +0 -0
  723. package/dist/starters/astro-storefront/galley.config.json +752 -0
  724. package/dist/starters/astro-storefront/gitignore +26 -0
  725. package/dist/starters/astro-storefront/netlify.toml +6 -0
  726. package/dist/starters/astro-storefront/package.json +49 -0
  727. package/dist/starters/astro-storefront/public/favicon.svg +5 -0
  728. package/dist/starters/astro-storefront/public/images/_sizes/campaign/aw26-harbour-wall-640.webp +0 -0
  729. package/dist/starters/astro-storefront/public/images/_sizes/campaign/ss26-plaster-steps-640.webp +0 -0
  730. package/dist/starters/astro-storefront/public/images/_sizes/lookbooks/aw26/cover-640.webp +0 -0
  731. package/dist/starters/astro-storefront/public/images/_sizes/lookbooks/aw26/look-01-640.webp +0 -0
  732. package/dist/starters/astro-storefront/public/images/_sizes/lookbooks/aw26/look-02-640.webp +0 -0
  733. package/dist/starters/astro-storefront/public/images/_sizes/lookbooks/aw26/look-03-640.webp +0 -0
  734. package/dist/starters/astro-storefront/public/images/_sizes/lookbooks/aw26/look-04-640.webp +0 -0
  735. package/dist/starters/astro-storefront/public/images/_sizes/lookbooks/aw26/look-05-640.webp +0 -0
  736. package/dist/starters/astro-storefront/public/images/_sizes/lookbooks/aw26/look-06-640.webp +0 -0
  737. package/dist/starters/astro-storefront/public/images/_sizes/lookbooks/aw26/look-07-640.webp +0 -0
  738. package/dist/starters/astro-storefront/public/images/_sizes/lookbooks/aw26/look-08-640.webp +0 -0
  739. package/dist/starters/astro-storefront/public/images/_sizes/lookbooks/ss26/cover-640.webp +0 -0
  740. package/dist/starters/astro-storefront/public/images/_sizes/lookbooks/ss26/look-01-640.webp +0 -0
  741. package/dist/starters/astro-storefront/public/images/_sizes/lookbooks/ss26/look-02-640.webp +0 -0
  742. package/dist/starters/astro-storefront/public/images/_sizes/lookbooks/ss26/look-03-640.webp +0 -0
  743. package/dist/starters/astro-storefront/public/images/_sizes/pieces/blanket-scarf-640.webp +0 -0
  744. package/dist/starters/astro-storefront/public/images/_sizes/pieces/field-coat-640.webp +0 -0
  745. package/dist/starters/astro-storefront/public/images/_sizes/pieces/gansey-640.webp +0 -0
  746. package/dist/starters/astro-storefront/public/images/_sizes/pieces/rib-polo-640.webp +0 -0
  747. package/dist/starters/astro-storefront/public/images/_sizes/pieces/rollneck-640.webp +0 -0
  748. package/dist/starters/astro-storefront/public/images/atelier/hands.webp +0 -0
  749. package/dist/starters/astro-storefront/public/images/atelier/weave.webp +0 -0
  750. package/dist/starters/astro-storefront/public/images/atelier/workroom.webp +0 -0
  751. package/dist/starters/astro-storefront/public/images/campaign/aw26-harbour-wall.webp +0 -0
  752. package/dist/starters/astro-storefront/public/images/campaign/ss26-plaster-steps.webp +0 -0
  753. package/dist/starters/astro-storefront/public/images/campaign/wall-shadow.webp +0 -0
  754. package/dist/starters/astro-storefront/public/images/film/the-long-afternoon.webp +0 -0
  755. package/dist/starters/astro-storefront/public/images/journal/a-pattern-is-a-letter.webp +0 -0
  756. package/dist/starters/astro-storefront/public/images/journal/eleven-tries-at-rust.webp +0 -0
  757. package/dist/starters/astro-storefront/public/images/journal/keeping-a-wool-coat.webp +0 -0
  758. package/dist/starters/astro-storefront/public/images/journal/why-we-make-forty.webp +0 -0
  759. package/dist/starters/astro-storefront/public/images/lookbooks/aw26/cover.webp +0 -0
  760. package/dist/starters/astro-storefront/public/images/lookbooks/aw26/look-01.webp +0 -0
  761. package/dist/starters/astro-storefront/public/images/lookbooks/aw26/look-02.webp +0 -0
  762. package/dist/starters/astro-storefront/public/images/lookbooks/aw26/look-03.webp +0 -0
  763. package/dist/starters/astro-storefront/public/images/lookbooks/aw26/look-04.webp +0 -0
  764. package/dist/starters/astro-storefront/public/images/lookbooks/aw26/look-05.webp +0 -0
  765. package/dist/starters/astro-storefront/public/images/lookbooks/aw26/look-06.webp +0 -0
  766. package/dist/starters/astro-storefront/public/images/lookbooks/aw26/look-07.webp +0 -0
  767. package/dist/starters/astro-storefront/public/images/lookbooks/aw26/look-08.webp +0 -0
  768. package/dist/starters/astro-storefront/public/images/lookbooks/ss26/cover.webp +0 -0
  769. package/dist/starters/astro-storefront/public/images/lookbooks/ss26/look-01.webp +0 -0
  770. package/dist/starters/astro-storefront/public/images/lookbooks/ss26/look-02.webp +0 -0
  771. package/dist/starters/astro-storefront/public/images/lookbooks/ss26/look-03.webp +0 -0
  772. package/dist/starters/astro-storefront/public/images/people/hesper-lowe.webp +0 -0
  773. package/dist/starters/astro-storefront/public/images/pieces/blanket-scarf.webp +0 -0
  774. package/dist/starters/astro-storefront/public/images/pieces/field-coat.webp +0 -0
  775. package/dist/starters/astro-storefront/public/images/pieces/gansey.webp +0 -0
  776. package/dist/starters/astro-storefront/public/images/pieces/rib-polo.webp +0 -0
  777. package/dist/starters/astro-storefront/public/images/pieces/rollneck.webp +0 -0
  778. package/dist/starters/astro-storefront/public/images/share.jpg +0 -0
  779. package/dist/starters/astro-storefront/scripts/check-type.mjs +198 -0
  780. package/dist/starters/astro-storefront/scripts/gallery/gallery.astro +86 -0
  781. package/dist/starters/astro-storefront/scripts/gallery/integration.mjs +43 -0
  782. package/dist/starters/astro-storefront/scripts/gallery/sections.md +196 -0
  783. package/dist/starters/astro-storefront/scripts/ingest-photos.mjs +169 -0
  784. package/dist/starters/astro-storefront/scripts/lib/tokens.mjs +63 -0
  785. package/dist/starters/astro-storefront/scripts/make-placeholders.mjs +188 -0
  786. package/dist/starters/astro-storefront/scripts/make-sizes.mjs +31 -0
  787. package/dist/starters/astro-storefront/scripts/make-thumbnails.mjs +249 -0
  788. package/dist/starters/astro-storefront/scripts/seed-shopify.mjs +208 -0
  789. package/dist/starters/astro-storefront/src/components/Actions.astro +31 -0
  790. package/dist/starters/astro-storefront/src/components/Footer.astro +206 -0
  791. package/dist/starters/astro-storefront/src/components/Header.astro +423 -0
  792. package/dist/starters/astro-storefront/src/components/Icon.astro +43 -0
  793. package/dist/starters/astro-storefront/src/components/LookbookCard.astro +76 -0
  794. package/dist/starters/astro-storefront/src/components/LookbookEntry.astro +175 -0
  795. package/dist/starters/astro-storefront/src/components/Media.astro +37 -0
  796. package/dist/starters/astro-storefront/src/components/PageEntry.astro +64 -0
  797. package/dist/starters/astro-storefront/src/components/PieceList.astro +112 -0
  798. package/dist/starters/astro-storefront/src/components/PostCard.astro +101 -0
  799. package/dist/starters/astro-storefront/src/components/PostList.astro +103 -0
  800. package/dist/starters/astro-storefront/src/components/Section.astro +47 -0
  801. package/dist/starters/astro-storefront/src/components/SectionHeader.astro +70 -0
  802. package/dist/starters/astro-storefront/src/components/Sections.astro +89 -0
  803. package/dist/starters/astro-storefront/src/components/StarterNotice.astro +97 -0
  804. package/dist/starters/astro-storefront/src/components/Tags.astro +68 -0
  805. package/dist/starters/astro-storefront/src/components/sections/CampaignHero.astro +288 -0
  806. package/dist/starters/astro-storefront/src/components/sections/Chapters.astro +142 -0
  807. package/dist/starters/astro-storefront/src/components/sections/CollectionGrid.astro +116 -0
  808. package/dist/starters/astro-storefront/src/components/sections/Contact.astro +136 -0
  809. package/dist/starters/astro-storefront/src/components/sections/Credits.astro +62 -0
  810. package/dist/starters/astro-storefront/src/components/sections/Cta.astro +105 -0
  811. package/dist/starters/astro-storefront/src/components/sections/FeaturedProduct.astro +109 -0
  812. package/dist/starters/astro-storefront/src/components/sections/Film.astro +110 -0
  813. package/dist/starters/astro-storefront/src/components/sections/FormSection.astro +81 -0
  814. package/dist/starters/astro-storefront/src/components/sections/Gallery.astro +82 -0
  815. package/dist/starters/astro-storefront/src/components/sections/ImageBand.astro +33 -0
  816. package/dist/starters/astro-storefront/src/components/sections/JournalList.astro +132 -0
  817. package/dist/starters/astro-storefront/src/components/sections/Look.astro +82 -0
  818. package/dist/starters/astro-storefront/src/components/sections/LookbookGrid.astro +139 -0
  819. package/dist/starters/astro-storefront/src/components/sections/Marquee.astro +164 -0
  820. package/dist/starters/astro-storefront/src/components/sections/Newsletter.astro +83 -0
  821. package/dist/starters/astro-storefront/src/components/sections/Pieces.astro +131 -0
  822. package/dist/starters/astro-storefront/src/components/sections/ProductRail.astro +82 -0
  823. package/dist/starters/astro-storefront/src/components/sections/Quote.astro +112 -0
  824. package/dist/starters/astro-storefront/src/components/sections/ShopTheLook.astro +150 -0
  825. package/dist/starters/astro-storefront/src/components/sections/SplitEditorial.astro +81 -0
  826. package/dist/starters/astro-storefront/src/components/sections/Statement.astro +178 -0
  827. package/dist/starters/astro-storefront/src/components/sections/Stockists.astro +139 -0
  828. package/dist/starters/astro-storefront/src/components/sections/Story.astro +96 -0
  829. package/dist/starters/astro-storefront/src/components/sections/Unknown.astro +37 -0
  830. package/dist/starters/astro-storefront/src/components/shop/BagDrawer.astro +114 -0
  831. package/dist/starters/astro-storefront/src/components/shop/BagView.astro +241 -0
  832. package/dist/starters/astro-storefront/src/components/shop/Breadcrumbs.astro +63 -0
  833. package/dist/starters/astro-storefront/src/components/shop/ProductCard.astro +142 -0
  834. package/dist/starters/astro-storefront/src/components/shop/ProductGrid.astro +297 -0
  835. package/dist/starters/astro-storefront/src/components/shop/ProductImage.astro +53 -0
  836. package/dist/starters/astro-storefront/src/content/forms/contact.json +49 -0
  837. package/dist/starters/astro-storefront/src/content/forms/newsletter.json +30 -0
  838. package/dist/starters/astro-storefront/src/content/forms/stockist.json +35 -0
  839. package/dist/starters/astro-storefront/src/content/journal/a-pattern-is-a-letter.md +25 -0
  840. package/dist/starters/astro-storefront/src/content/journal/eleven-tries-at-rust.md +29 -0
  841. package/dist/starters/astro-storefront/src/content/journal/keeping-a-wool-coat.md +29 -0
  842. package/dist/starters/astro-storefront/src/content/journal/why-we-make-forty.md +29 -0
  843. package/dist/starters/astro-storefront/src/content/lookbooks/aw26-the-long-afternoon.md +126 -0
  844. package/dist/starters/astro-storefront/src/content/lookbooks/ss26-plaster.md +55 -0
  845. package/dist/starters/astro-storefront/src/content/pages/404.md +14 -0
  846. package/dist/starters/astro-storefront/src/content/pages/atelier.md +102 -0
  847. package/dist/starters/astro-storefront/src/content/pages/bag.md +5 -0
  848. package/dist/starters/astro-storefront/src/content/pages/contact.md +35 -0
  849. package/dist/starters/astro-storefront/src/content/pages/index.md +107 -0
  850. package/dist/starters/astro-storefront/src/content/pages/journal.md +9 -0
  851. package/dist/starters/astro-storefront/src/content/pages/lookbook.md +33 -0
  852. package/dist/starters/astro-storefront/src/content/pages/privacy.md +33 -0
  853. package/dist/starters/astro-storefront/src/content/pages/search.md +5 -0
  854. package/dist/starters/astro-storefront/src/content/pages/shop.md +4 -0
  855. package/dist/starters/astro-storefront/src/content/pages/stockists.md +66 -0
  856. package/dist/starters/astro-storefront/src/content/products/car-coat.md +29 -0
  857. package/dist/starters/astro-storefront/src/content/products/field-coat.md +35 -0
  858. package/dist/starters/astro-storefront/src/content/products/gansey.md +20 -0
  859. package/dist/starters/astro-storefront/src/content/products/wrap-coat.md +16 -0
  860. package/dist/starters/astro-storefront/src/content.config.ts +563 -0
  861. package/dist/starters/astro-storefront/src/data/navigation.json +77 -0
  862. package/dist/starters/astro-storefront/src/data/scripts.json +29 -0
  863. package/dist/starters/astro-storefront/src/data/shop/catalogue.json +2431 -0
  864. package/dist/starters/astro-storefront/src/data/shop/store.json +7 -0
  865. package/dist/starters/astro-storefront/src/data/site.json +161 -0
  866. package/dist/starters/astro-storefront/src/data/stockists.json +81 -0
  867. package/dist/starters/astro-storefront/src/data/visibility.json +33 -0
  868. package/dist/starters/astro-storefront/src/galley/catalog-data.js +293 -0
  869. package/dist/starters/astro-storefront/src/galley/catalog.js +42 -0
  870. package/dist/starters/astro-storefront/src/galley/client/attribution.js +79 -0
  871. package/dist/starters/astro-storefront/src/galley/client/forms.js +580 -0
  872. package/dist/starters/astro-storefront/src/galley/client/providers/frame-post.js +77 -0
  873. package/dist/starters/astro-storefront/src/galley/client/providers/galley.js +53 -0
  874. package/dist/starters/astro-storefront/src/galley/client/providers/hubspot.js +110 -0
  875. package/dist/starters/astro-storefront/src/galley/client/providers/mailto.js +20 -0
  876. package/dist/starters/astro-storefront/src/galley/client/providers/marketo.js +133 -0
  877. package/dist/starters/astro-storefront/src/galley/client/providers/pardot.js +53 -0
  878. package/dist/starters/astro-storefront/src/galley/client/providers/salesforce.js +50 -0
  879. package/dist/starters/astro-storefront/src/galley/client/providers/webhook.js +40 -0
  880. package/dist/starters/astro-storefront/src/galley/client/registry.js +32 -0
  881. package/dist/starters/astro-storefront/src/galley/client/types.d.ts +80 -0
  882. package/dist/starters/astro-storefront/src/galley/components/ConsentBanner.astro +17 -0
  883. package/dist/starters/astro-storefront/src/galley/components/Form.astro +102 -0
  884. package/dist/starters/astro-storefront/src/galley/components/Scripts.astro +30 -0
  885. package/dist/starters/astro-storefront/src/galley/components/index.js +5 -0
  886. package/dist/starters/astro-storefront/src/galley/forms/forms.css +389 -0
  887. package/dist/starters/astro-storefront/src/galley/forms/free-email-domains.js +62 -0
  888. package/dist/starters/astro-storefront/src/galley/forms/logic.js +220 -0
  889. package/dist/starters/astro-storefront/src/galley/forms/messages.js +82 -0
  890. package/dist/starters/astro-storefront/src/galley/forms/render.js +490 -0
  891. package/dist/starters/astro-storefront/src/galley/integration.js +21 -0
  892. package/dist/starters/astro-storefront/src/galley/kit.d.ts +298 -0
  893. package/dist/starters/astro-storefront/src/galley/mailto/config.js +76 -0
  894. package/dist/starters/astro-storefront/src/galley/mailto/runtime.gen.js +5 -0
  895. package/dist/starters/astro-storefront/src/galley/runtime/site-config.js +50 -0
  896. package/dist/starters/astro-storefront/src/galley/schema.js +338 -0
  897. package/dist/starters/astro-storefront/src/galley/scripts/banner.js +80 -0
  898. package/dist/starters/astro-storefront/src/galley/scripts/plan.js +253 -0
  899. package/dist/starters/astro-storefront/src/galley/scripts/runtime.gen.js +5 -0
  900. package/dist/starters/astro-storefront/src/galley/scripts/snippets.js +245 -0
  901. package/dist/starters/astro-storefront/src/galley/settings.json +18 -0
  902. package/dist/starters/astro-storefront/src/galley/shared/glob.js +64 -0
  903. package/dist/starters/astro-storefront/src/galley/shared/markdown.js +120 -0
  904. package/dist/starters/astro-storefront/src/galley/visibility/config.js +223 -0
  905. package/dist/starters/astro-storefront/src/galley/visibility/content.js +176 -0
  906. package/dist/starters/astro-storefront/src/galley/visibility/crawlers.js +195 -0
  907. package/dist/starters/astro-storefront/src/galley/visibility/html.js +293 -0
  908. package/dist/starters/astro-storefront/src/galley/visibility/integration.js +528 -0
  909. package/dist/starters/astro-storefront/src/galley/visibility/markdown.js +498 -0
  910. package/dist/starters/astro-storefront/src/galley/visibility/page.js +146 -0
  911. package/dist/starters/astro-storefront/src/galley/visibility/site.js +583 -0
  912. package/dist/starters/astro-storefront/src/galley/visibility/structured.js +131 -0
  913. package/dist/starters/astro-storefront/src/layouts/Base.astro +112 -0
  914. package/dist/starters/astro-storefront/src/lib/journal.ts +45 -0
  915. package/dist/starters/astro-storefront/src/lib/lookbooks.ts +20 -0
  916. package/dist/starters/astro-storefront/src/lib/shop/data.ts +161 -0
  917. package/dist/starters/astro-storefront/src/lib/shop/loader.ts +30 -0
  918. package/dist/starters/astro-storefront/src/lib/shop/store.ts +332 -0
  919. package/dist/starters/astro-storefront/src/lib/shop/structured.ts +40 -0
  920. package/dist/starters/astro-storefront/src/lib/shop/types.ts +80 -0
  921. package/dist/starters/astro-storefront/src/lib/site.ts +181 -0
  922. package/dist/starters/astro-storefront/src/pages/404.astro +13 -0
  923. package/dist/starters/astro-storefront/src/pages/[...slug].astro +34 -0
  924. package/dist/starters/astro-storefront/src/pages/bag.astro +37 -0
  925. package/dist/starters/astro-storefront/src/pages/journal/[...page].astro +59 -0
  926. package/dist/starters/astro-storefront/src/pages/journal/[slug].astro +205 -0
  927. package/dist/starters/astro-storefront/src/pages/journal/tags/[tag]/[...page].astro +83 -0
  928. package/dist/starters/astro-storefront/src/pages/lookbook/[slug].astro +23 -0
  929. package/dist/starters/astro-storefront/src/pages/lookbook/index.astro +66 -0
  930. package/dist/starters/astro-storefront/src/pages/products/[handle].astro +455 -0
  931. package/dist/starters/astro-storefront/src/pages/search.astro +137 -0
  932. package/dist/starters/astro-storefront/src/pages/search.json.ts +36 -0
  933. package/dist/starters/astro-storefront/src/pages/shop/[collection].astro +65 -0
  934. package/dist/starters/astro-storefront/src/pages/shop/index.astro +33 -0
  935. package/dist/starters/astro-storefront/src/scripts/shop.ts +742 -0
  936. package/dist/starters/astro-storefront/src/styles/galley-kit.css +97 -0
  937. package/dist/starters/astro-storefront/src/styles/global.css +662 -0
  938. package/dist/starters/astro-storefront/src/styles/themes/chalk.css +181 -0
  939. package/dist/starters/astro-storefront/src/styles/themes/night.css +181 -0
  940. package/dist/starters/astro-storefront/src/styles/themes/paper.css +181 -0
  941. package/dist/starters/astro-storefront/src/styles/tokens.css +181 -0
  942. package/dist/starters/astro-storefront/starter-notice.json +9 -0
  943. package/dist/starters/astro-storefront/starter.json +53 -0
  944. package/dist/starters/astro-storefront/tsconfig.json +8 -0
  945. package/dist/starters/astro-storefront/wrangler.jsonc +12 -0
  946. package/dist/web/assets/AppSettingsScreen-D9ZHXus9.js +1 -0
  947. package/dist/web/assets/BodyEditor-DAJ8MM41.js +1 -0
  948. package/dist/web/assets/BrandScreen-BuYHSbp6.js +1 -0
  949. package/dist/web/assets/CollectionScreen-DVXLw7MF.js +1 -0
  950. package/dist/web/assets/EditorScreen-8vhIBZu1.js +6 -0
  951. package/dist/web/assets/FormsScreen-BbngAAzO.js +4 -0
  952. package/dist/web/assets/HistoryScreen-CubZj8QG.js +4 -0
  953. package/dist/web/assets/ImportScreen-DA8mZ3-S.css +1 -0
  954. package/dist/web/assets/ImportScreen-eVAPjnE2.js +1 -0
  955. package/dist/web/assets/InboxScreen-Azqy6w4_.js +2 -0
  956. package/dist/web/assets/MediaLibraryPane-Dpcxede9.css +1 -0
  957. package/dist/web/assets/MediaLibraryPane-jMuqbnLa.js +1 -0
  958. package/dist/web/assets/MediaScreen-BQYVSf8P.css +1 -0
  959. package/dist/web/assets/MediaScreen-mg2CATkP.js +1 -0
  960. package/dist/web/assets/NewSiteScreen-D9zWX6oE.js +1 -0
  961. package/dist/web/assets/NewSiteScreen-RQ3ccqTf.css +1 -0
  962. package/dist/web/assets/Online-bYUu0ETZ.js +1 -0
  963. package/dist/web/assets/OpenScreen-DR1GhNWX.js +1 -0
  964. package/dist/web/assets/PluginsScreen-1qEv-u35.js +3 -0
  965. package/dist/web/assets/PreviewControls-Du87hOEG.js +1 -0
  966. package/dist/web/assets/PreviewPane-SH9rzgVw.css +1 -0
  967. package/dist/web/assets/PreviewPane-a06mELw4.js +3 -0
  968. package/dist/web/assets/ProofScreen-CZfFbHFS.js +7 -0
  969. package/dist/web/assets/ProofScreen-fG_mV-V4.css +1 -0
  970. package/dist/web/assets/ProviderSettings-BOiCGeSI.js +1 -0
  971. package/dist/web/assets/ProviderSettings-COu_e6Mx.css +1 -0
  972. package/dist/web/assets/PublishDialog-CSKU1lfx.js +3 -0
  973. package/dist/web/assets/ReachNote-CZYr1oL0.js +1 -0
  974. package/dist/web/assets/ReachNote-DhT9Cta-.css +1 -0
  975. package/dist/web/assets/RedirectsScreen-DeR_yuj5.js +3 -0
  976. package/dist/web/assets/RedirectsScreen-QTaAXMh-.css +1 -0
  977. package/dist/web/assets/ScriptsScreen-BXY-kqbq.js +2 -0
  978. package/dist/web/assets/ScriptsScreen-DMdmwkY4.css +1 -0
  979. package/dist/web/assets/SiteHomeScreen-DOrqAteL.js +1 -0
  980. package/dist/web/assets/SiteSettingsScreen-B8xQnhjd.js +4 -0
  981. package/dist/web/assets/SourceView-B5SoYjUF.js +1 -0
  982. package/dist/web/assets/VisibilityScreen-B4iOATC4.js +2 -0
  983. package/dist/web/assets/brand-BYux4UiC.css +1 -0
  984. package/dist/web/assets/changes-BtRtvJ12.js +1 -0
  985. package/dist/web/assets/changes-DLBkrfUR.js +1 -0
  986. package/dist/web/assets/chrome-Brnq5kGb.js +1 -0
  987. package/dist/web/assets/clickToEdit-CV1WT3k1.js +1 -0
  988. package/dist/web/assets/coalesce-BG8d12M7.js +1 -0
  989. package/dist/web/assets/codemirror-CWul2x0p.js +11 -0
  990. package/dist/web/assets/codemirror-g0T4-Tsm.js +1 -0
  991. package/dist/web/assets/codemirror-languages-RlWkzgfM.js +28 -0
  992. package/dist/web/assets/common-BA1skXL0.css +1 -0
  993. package/dist/web/assets/common-BdVEb5Zs.js +2 -0
  994. package/dist/web/assets/cost-BhkzE86J.js +1 -0
  995. package/dist/web/assets/events-CTTFdOf-.js +1 -0
  996. package/dist/web/assets/figtree-latin-ext-wght-normal-DCwSJGxG.woff2 +0 -0
  997. package/dist/web/assets/figtree-latin-wght-normal-D_ZTVpCC.woff2 +0 -0
  998. package/dist/web/assets/hashScroll-CSp59QpH.js +1 -0
  999. package/dist/web/assets/ibm-plex-mono-cyrillic-400-normal-BSMlKf0J.woff2 +0 -0
  1000. package/dist/web/assets/ibm-plex-mono-cyrillic-400-normal-CEL4l2ZJ.woff +0 -0
  1001. package/dist/web/assets/ibm-plex-mono-cyrillic-500-normal-Ael50iVv.woff +0 -0
  1002. package/dist/web/assets/ibm-plex-mono-cyrillic-500-normal-Bq9vWWag.woff2 +0 -0
  1003. package/dist/web/assets/ibm-plex-mono-cyrillic-ext-400-normal-DMdlQ8Kv.woff +0 -0
  1004. package/dist/web/assets/ibm-plex-mono-cyrillic-ext-400-normal-xuaO2J-f.woff2 +0 -0
  1005. package/dist/web/assets/ibm-plex-mono-cyrillic-ext-500-normal-BIfNGwUT.woff +0 -0
  1006. package/dist/web/assets/ibm-plex-mono-cyrillic-ext-500-normal-BqneJy0T.woff2 +0 -0
  1007. package/dist/web/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff +0 -0
  1008. package/dist/web/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2 +0 -0
  1009. package/dist/web/assets/ibm-plex-mono-latin-500-normal-CB9ihrfo.woff +0 -0
  1010. package/dist/web/assets/ibm-plex-mono-latin-500-normal-DSY6xOcd.woff2 +0 -0
  1011. package/dist/web/assets/ibm-plex-mono-latin-ext-400-normal-BmRBH3aV.woff2 +0 -0
  1012. package/dist/web/assets/ibm-plex-mono-latin-ext-400-normal-D3D2R8hC.woff +0 -0
  1013. package/dist/web/assets/ibm-plex-mono-latin-ext-500-normal-CAhNIIs5.woff2 +0 -0
  1014. package/dist/web/assets/ibm-plex-mono-latin-ext-500-normal-CZ70TYgx.woff +0 -0
  1015. package/dist/web/assets/ibm-plex-mono-vietnamese-400-normal-BulugwFq.woff2 +0 -0
  1016. package/dist/web/assets/ibm-plex-mono-vietnamese-400-normal-DDuiU_S-.woff +0 -0
  1017. package/dist/web/assets/ibm-plex-mono-vietnamese-500-normal-C8zxqsMH.woff +0 -0
  1018. package/dist/web/assets/ibm-plex-mono-vietnamese-500-normal-DZ4AoWbu.woff2 +0 -0
  1019. package/dist/web/assets/index-Djh-DSIT.js +10 -0
  1020. package/dist/web/assets/index-Pd8oyXqS.css +1 -0
  1021. package/dist/web/assets/jobs-BHawhnH2.js +1 -0
  1022. package/dist/web/assets/listPlan-BXud7Oxv.js +1 -0
  1023. package/dist/web/assets/marked.esm-CYtFtVHW.js +75 -0
  1024. package/dist/web/assets/newsreader-latin-ext-opsz-italic-CSPGnFdO.woff2 +0 -0
  1025. package/dist/web/assets/newsreader-latin-ext-opsz-normal-BQn1nviT.woff2 +0 -0
  1026. package/dist/web/assets/newsreader-latin-opsz-italic-kJKFiXvB.woff2 +0 -0
  1027. package/dist/web/assets/newsreader-latin-opsz-normal-s-izfB6B.woff2 +0 -0
  1028. package/dist/web/assets/newsreader-vietnamese-opsz-italic-DTr-ymY4.woff2 +0 -0
  1029. package/dist/web/assets/newsreader-vietnamese-opsz-normal-BjhtXyW2.woff2 +0 -0
  1030. package/dist/web/assets/outside-CZs19WbV.css +1 -0
  1031. package/dist/web/assets/outside-DaBM5h5B.js +2 -0
  1032. package/dist/web/assets/paths-C8ESZJVU.js +1 -0
  1033. package/dist/web/assets/prefs-BcNyBxxO.js +1 -0
  1034. package/dist/web/assets/proof-BnPD-0Jr.css +1 -0
  1035. package/dist/web/assets/proof-zOrlMTSg.js +2 -0
  1036. package/dist/web/assets/purify.es-BQJV6A36.js +3 -0
  1037. package/dist/web/assets/renderMarkdown-R9_GwOSq.js +1 -0
  1038. package/dist/web/assets/scaffold-BHkqc62J.js +1 -0
  1039. package/dist/web/assets/site-DJUEXLHW.js +1 -0
  1040. package/dist/web/assets/sites-CGDZymBT.js +1 -0
  1041. package/dist/web/assets/store-C95UZPFo.js +1 -0
  1042. package/dist/web/assets/ui-C6O2tW4c.js +3 -0
  1043. package/dist/web/assets/useBrand-DSAfWS_y.js +1 -0
  1044. package/dist/web/assets/usePlugins-acEOSN5a.js +1 -0
  1045. package/dist/web/assets/usePlugins-hom8Btua.css +1 -0
  1046. package/dist/web/assets/useVisibility-B8cm5WkO.css +1 -0
  1047. package/dist/web/assets/useVisibility-kpZhLMTT.js +3 -0
  1048. package/dist/web/index.html +23 -0
  1049. package/dist/web/theme.js +8 -0
  1050. package/package.json +49 -3
@@ -0,0 +1,332 @@
1
+ // Reading the shop when the site is built: the store's Storefront API when
2
+ // one is connected, the demo catalogue when not. Runs in Node only (the
3
+ // content loader and the pages that read its collections).
4
+ //
5
+ // Which store: SHOPIFY_STORE_DOMAIN, else `domain` in src/data/shop/store.json.
6
+ // An empty domain means the demo shop. A configured store that can't be
7
+ // read fails the build with a plain message: the site never falls back to
8
+ // demo products when it is meant to sell real ones.
9
+ //
10
+ // The Storefront API (shopify.dev, API version 2026-10, read 2026-11-23):
11
+ // POST https://<store>/api/<version>/graphql.json. Without a token it reads
12
+ // products, collections and carts, with a query complexity limit of 1,000,
13
+ // so products are fetched a few at a time. SHOPIFY_STOREFRONT_PRIVATE_TOKEN
14
+ // (build only, never written to a file) or a public token lift that limit.
15
+ import { existsSync, readFileSync } from "node:fs";
16
+ import { join } from "node:path";
17
+ import storeSettings from "../../data/shop/store.json";
18
+ import type { Money, ShopCollection, ShopData, ShopImage, ShopProduct, ShopVariant } from "./types";
19
+
20
+ const DEFAULT_VERSION = "2026-10";
21
+
22
+ export interface StoreSettings {
23
+ origin: string | null;
24
+ version: string;
25
+ publicToken: string | null;
26
+ privateToken: string | null;
27
+ checkoutDomain: string | null;
28
+ }
29
+
30
+ /** "your-store", "your-store.myshopify.com" or a full address, as an origin. Plain http only for this computer. */
31
+ export function storeOrigin(input: string): string {
32
+ const raw = input.trim();
33
+
34
+ if (/^[a-z0-9][a-z0-9-]*$/i.test(raw)) return `https://${raw.toLowerCase()}.myshopify.com`;
35
+ const url = new URL(/^https?:\/\//i.test(raw) ? raw : `https://${raw}`);
36
+
37
+ if (url.protocol === "http:" && url.hostname !== "127.0.0.1" && url.hostname !== "localhost") {
38
+ throw new Error(`The store address “${raw}” must start with https:// (src/data/shop/store.json).`);
39
+ }
40
+ return `${url.protocol}//${url.host}`;
41
+ }
42
+
43
+ export function storeSettingsFromEnv(env: Record<string, string | undefined> = process.env): StoreSettings {
44
+ const domain = (env.SHOPIFY_STORE_DOMAIN ?? storeSettings.domain ?? "").trim();
45
+ const version = (storeSettings.apiVersion || DEFAULT_VERSION).trim();
46
+
47
+ if (!/^\d{4}-(01|04|07|10)$/.test(version)) throw new Error(`“${version}” in src/data/shop/store.json isn't a Storefront API version. Versions look like ${DEFAULT_VERSION}.`);
48
+ return {
49
+ origin: domain ? storeOrigin(domain) : null,
50
+ version,
51
+ publicToken: (env.PUBLIC_SHOPIFY_STOREFRONT_TOKEN ?? storeSettings.publicToken ?? "").trim() || null,
52
+ privateToken: (env.SHOPIFY_STOREFRONT_PRIVATE_TOKEN ?? "").trim() || null,
53
+ checkoutDomain: (storeSettings.checkoutDomain ?? "").trim() || null,
54
+ };
55
+ }
56
+
57
+ // ── the demo catalogue ───────────────────────────────────────────────────
58
+
59
+ interface CatalogueImage {
60
+ url: string;
61
+ altText?: string;
62
+ width?: number;
63
+ height?: number;
64
+ }
65
+
66
+ interface CatalogueFile {
67
+ shop: { name: string; currencyCode: string; countryCode?: string };
68
+ collections: Array<{ handle: string; title: string; description?: string; image?: CatalogueImage; products: string[] }>;
69
+ products: Array<{
70
+ handle: string;
71
+ title: string;
72
+ description?: string;
73
+ descriptionHtml?: string;
74
+ productType?: string;
75
+ vendor?: string;
76
+ tags?: string[];
77
+ seo?: { title?: string; description?: string };
78
+ options?: Array<{ name: string; values: string[] }>;
79
+ images?: CatalogueImage[];
80
+ variants: Array<{ sku?: string; title?: string; selectedOptions: Array<{ name: string; value: string }>; price: Money; compareAtPrice?: Money | null; availableForSale?: boolean; image?: number }>;
81
+ }>;
82
+ }
83
+
84
+ /** The smaller copy `npm run sizes` makes beside a demo photograph, when it is there. */
85
+ function localSizes(url: string): Array<[string, number]> {
86
+ if (!url.startsWith("/images/")) return [];
87
+ const small = url.replace(/^\/images\//, "/images/_sizes/").replace(/\.(webp|jpe?g|png)$/, "-640.webp");
88
+
89
+ return existsSync(join(process.cwd(), "public", small)) ? [[small, 640]] : [];
90
+ }
91
+
92
+ function demoImage(image: CatalogueImage): ShopImage {
93
+ return { url: image.url, altText: image.altText ?? "", width: image.width ?? 1600, height: image.height ?? 2000, sizes: localSizes(image.url) };
94
+ }
95
+
96
+ function priceRange(variants: ShopVariant[], currencyCode: string): { min: Money; max: Money } {
97
+ const amounts = variants.map((variant) => Number(variant.price.amount));
98
+ const money = (value: number): Money => ({ amount: value.toFixed(2), currencyCode });
99
+
100
+ return amounts.length ? { min: money(Math.min(...amounts)), max: money(Math.max(...amounts)) } : { min: money(0), max: money(0) };
101
+ }
102
+
103
+ export function fromCatalogue(file: CatalogueFile): ShopData {
104
+ const currency = file.shop.currencyCode;
105
+ const products: ShopProduct[] = file.products.map((product) => {
106
+ const variants: ShopVariant[] = product.variants.map((variant, index) => ({
107
+ // Demo ids are stable and plainly not a store's: the bag keeps them in demo mode only.
108
+ id: `demo:${product.handle}:${index}`,
109
+ title: variant.title ?? variant.selectedOptions.map((option) => option.value).join(" / "),
110
+ sku: variant.sku ?? null,
111
+ availableForSale: variant.availableForSale !== false,
112
+ price: { amount: variant.price.amount, currencyCode: variant.price.currencyCode ?? currency },
113
+ compareAtPrice: variant.compareAtPrice ?? null,
114
+ selectedOptions: variant.selectedOptions,
115
+ image: typeof variant.image === "number" ? variant.image : null,
116
+ }));
117
+
118
+ return {
119
+ id: `demo:${product.handle}`,
120
+ handle: product.handle,
121
+ title: product.title,
122
+ description: product.description ?? "",
123
+ descriptionHtml: product.descriptionHtml ?? "",
124
+ productType: product.productType ?? "",
125
+ vendor: product.vendor ?? file.shop.name,
126
+ tags: product.tags ?? [],
127
+ seo: { title: product.seo?.title ?? null, description: product.seo?.description ?? null },
128
+ options: product.options ?? [],
129
+ images: (product.images ?? []).map(demoImage),
130
+ variants,
131
+ availableForSale: variants.some((variant) => variant.availableForSale),
132
+ priceRange: priceRange(variants, currency),
133
+ collections: file.collections.filter((collection) => collection.products.includes(product.handle)).map((collection) => collection.handle),
134
+ };
135
+ });
136
+ const collections: ShopCollection[] = file.collections.map((collection) => ({
137
+ id: `demo:${collection.handle}`,
138
+ handle: collection.handle,
139
+ title: collection.title,
140
+ description: collection.description ?? "",
141
+ image: collection.image ? demoImage(collection.image) : null,
142
+ products: collection.products.filter((handle) => products.some((product) => product.handle === handle)),
143
+ }));
144
+
145
+ return { mode: "demo", shop: { name: file.shop.name, currencyCode: currency, countryCode: file.shop.countryCode ?? "GB" }, products, collections };
146
+ }
147
+
148
+ // ── a store ──────────────────────────────────────────────────────────────
149
+
150
+ async function storefront<T>(settings: StoreSettings, query: string, variables: Record<string, unknown>, fetcher: typeof fetch): Promise<T> {
151
+ const headers: Record<string, string> = { "content-type": "application/json", accept: "application/json" };
152
+
153
+ // A build is not a shopper's visit, so no Shopify-Storefront-Buyer-IP header.
154
+ if (settings.privateToken) headers["shopify-storefront-private-token"] = settings.privateToken;
155
+ else if (settings.publicToken) headers["x-shopify-storefront-access-token"] = settings.publicToken;
156
+ const host = new URL(settings.origin!).host;
157
+ let response: Response;
158
+
159
+ try {
160
+ response = await fetcher(`${settings.origin}/api/${settings.version}/graphql.json`, { method: "POST", headers, body: JSON.stringify({ query, variables }) });
161
+ } catch {
162
+ throw new Error(`The shop couldn't reach ${host} to read its products. Check the address in src/data/shop/store.json and the connection, or empty the domain to build the demo shop.`);
163
+ }
164
+ const body = (await response.json().catch(() => null)) as { data?: T; errors?: Array<{ message?: string; extensions?: { code?: string } }> } | null;
165
+
166
+ if (response.status === 401) throw new Error(`${host} didn't accept the Storefront API token. Check it, or remove it to read the store without one.`);
167
+ if (response.status === 404) throw new Error(`There's no store at ${host}. Check the domain in src/data/shop/store.json.`);
168
+ if (!response.ok || !body || body.errors?.length || !body.data) {
169
+ const codes = (body?.errors ?? []).map((error) => error.extensions?.code).filter(Boolean).join(", ");
170
+
171
+ throw new Error(`${host} couldn't answer the shop's question (${response.status}${codes ? `, ${codes}` : ""}). ${codes.includes("ACCESS_DENIED") ? "The store needs a Storefront API token for this." : ""}`.trim());
172
+ }
173
+ const answered = response.headers.get("x-shopify-api-version");
174
+
175
+ if (answered && answered !== settings.version) console.warn(`[shop] ${host} answered with API version ${answered}, not ${settings.version}: the version in src/data/shop/store.json is no longer supported.`);
176
+ return body.data;
177
+ }
178
+
179
+ const IMAGE_FIELDS = `url altText width height small: url(transform: { maxWidth: 640 }) medium: url(transform: { maxWidth: 1200 })`;
180
+
181
+ interface StoreImage {
182
+ url: string;
183
+ altText: string | null;
184
+ width: number | null;
185
+ height: number | null;
186
+ small: string;
187
+ medium: string;
188
+ }
189
+
190
+ function storeImage(image: StoreImage): ShopImage {
191
+ return {
192
+ url: image.url,
193
+ altText: image.altText ?? "",
194
+ width: image.width ?? 1600,
195
+ height: image.height ?? 2000,
196
+ sizes: [
197
+ [image.small, 640],
198
+ [image.medium, 1200],
199
+ ],
200
+ };
201
+ }
202
+
203
+ const PRODUCT_QUERY = `query ShopProduct($handle: String!) {
204
+ product(handle: $handle) {
205
+ id handle title description descriptionHtml productType vendor availableForSale
206
+ seo { title description }
207
+ options { name optionValues { name } }
208
+ images(first: 10) { nodes { ${IMAGE_FIELDS} } }
209
+ variants(first: 50) { nodes { id title sku availableForSale price { amount currencyCode } compareAtPrice { amount currencyCode } selectedOptions { name value } image { url } } }
210
+ }
211
+ }`;
212
+
213
+ interface StoreProductNode {
214
+ id: string;
215
+ handle: string;
216
+ title: string;
217
+ description: string;
218
+ descriptionHtml: string;
219
+ productType: string;
220
+ vendor: string;
221
+ availableForSale: boolean;
222
+ seo: { title: string | null; description: string | null };
223
+ options: Array<{ name: string; optionValues: Array<{ name: string }> }>;
224
+ images: { nodes: StoreImage[] };
225
+ variants: { nodes: Array<{ id: string; title: string; sku: string | null; availableForSale: boolean; price: Money; compareAtPrice: Money | null; selectedOptions: Array<{ name: string; value: string }>; image: { url: string } | null }> };
226
+ }
227
+
228
+ export async function fromStore(settings: StoreSettings, fetcher: typeof fetch = fetch): Promise<ShopData> {
229
+ const shop = await storefront<{ shop: { name: string; paymentSettings: { currencyCode: string; countryCode: string } } }>(settings, `query ShopName { shop { name paymentSettings { currencyCode countryCode } } }`, {}, fetcher);
230
+ const handles: string[] = [];
231
+
232
+ for (let after: string | null = null, page = 0; page < 40; page++) {
233
+ const result: { products: { nodes: Array<{ handle: string }>; pageInfo: { hasNextPage: boolean; endCursor: string | null } } } = await storefront(
234
+ settings,
235
+ `query ShopHandles($after: String) { products(first: 100, after: $after) { nodes { handle } pageInfo { hasNextPage endCursor } } }`,
236
+ { after },
237
+ fetcher
238
+ );
239
+
240
+ handles.push(...result.products.nodes.map((node) => node.handle));
241
+ if (!result.products.pageInfo.hasNextPage) break;
242
+ after = result.products.pageInfo.endCursor;
243
+ }
244
+ // One product a request keeps each request well inside the tokenless complexity limit.
245
+ const nodes: StoreProductNode[] = [];
246
+
247
+ for (const handle of handles) {
248
+ const result = await storefront<{ product: StoreProductNode | null }>(settings, PRODUCT_QUERY, { handle }, fetcher);
249
+
250
+ if (result.product) nodes.push(result.product);
251
+ }
252
+ const collectionList = await storefront<{ collections: { nodes: Array<{ id: string; handle: string; title: string; description: string; image: StoreImage | null }> } }>(
253
+ settings,
254
+ `query ShopCollections { collections(first: 50) { nodes { id handle title description image { ${IMAGE_FIELDS} } } } }`,
255
+ {},
256
+ fetcher
257
+ );
258
+ const collections: ShopCollection[] = [];
259
+
260
+ for (const node of collectionList.collections.nodes) {
261
+ const members = await storefront<{ collection: { products: { nodes: Array<{ handle: string }> } } | null }>(
262
+ settings,
263
+ `query ShopCollectionProducts($handle: String!) { collection(handle: $handle) { products(first: 100) { nodes { handle } } } }`,
264
+ { handle: node.handle },
265
+ fetcher
266
+ );
267
+
268
+ collections.push({
269
+ id: node.id,
270
+ handle: node.handle,
271
+ title: node.title,
272
+ description: node.description,
273
+ image: node.image ? storeImage(node.image) : null,
274
+ products: (members.collection?.products.nodes ?? []).map((product) => product.handle).filter((handle) => handles.includes(handle)),
275
+ });
276
+ }
277
+ const currency = shop.shop.paymentSettings.currencyCode;
278
+ const products: ShopProduct[] = nodes.map((node) => {
279
+ const images = node.images.nodes.map(storeImage);
280
+ const variants: ShopVariant[] = node.variants.nodes.map((variant) => {
281
+ const at = variant.image ? node.images.nodes.findIndex((image) => image.url === variant.image!.url) : -1;
282
+
283
+ return {
284
+ id: variant.id,
285
+ title: variant.title,
286
+ sku: variant.sku,
287
+ availableForSale: variant.availableForSale,
288
+ price: variant.price,
289
+ compareAtPrice: variant.compareAtPrice,
290
+ selectedOptions: variant.selectedOptions,
291
+ image: at >= 0 ? at : null,
292
+ };
293
+ });
294
+
295
+ return {
296
+ id: node.id,
297
+ handle: node.handle,
298
+ title: node.title,
299
+ description: node.description,
300
+ descriptionHtml: node.descriptionHtml,
301
+ productType: node.productType,
302
+ vendor: node.vendor,
303
+ tags: [],
304
+ seo: node.seo,
305
+ options: node.options.map((option) => ({ name: option.name, values: option.optionValues.map((value) => value.name) })),
306
+ images,
307
+ variants,
308
+ availableForSale: node.availableForSale,
309
+ priceRange: priceRange(variants, currency),
310
+ collections: collections.filter((collection) => collection.products.includes(node.handle)).map((collection) => collection.handle),
311
+ };
312
+ });
313
+
314
+ return { mode: "store", shop: { name: shop.shop.name, currencyCode: currency, countryCode: shop.shop.paymentSettings.countryCode }, products, collections };
315
+ }
316
+
317
+ let loading: Promise<ShopData> | null = null;
318
+
319
+ /** The shop's data, read once per build (both collections' loaders share it). */
320
+ export function loadShop(): Promise<ShopData> {
321
+ loading ??= (async () => {
322
+ const settings = storeSettingsFromEnv();
323
+
324
+ if (!settings.origin) {
325
+ const file = JSON.parse(readFileSync(join(process.cwd(), "src/data/shop/catalogue.json"), "utf8")) as CatalogueFile;
326
+
327
+ return fromCatalogue(file);
328
+ }
329
+ return fromStore(settings);
330
+ })();
331
+ return loading;
332
+ }
@@ -0,0 +1,40 @@
1
+ // Structured data for search engines (schema.org JSON-LD), from the shop's
2
+ // own data: a Product with one Offer per variant, and the breadcrumb trail.
3
+ import { absolute, site } from "../site";
4
+ import { imageSources } from "./data";
5
+ import type { ShopProduct } from "./types";
6
+
7
+ export function productData(product: ShopProduct, url: string): object {
8
+ return {
9
+ "@context": "https://schema.org",
10
+ "@type": "Product",
11
+ name: product.title,
12
+ description: product.description,
13
+ url: absolute(url),
14
+ image: product.images.map((image) => {
15
+ const src = imageSources(image).src;
16
+
17
+ return /^https?:\/\//.test(src) ? src : absolute(src);
18
+ }),
19
+ brand: { "@type": "Brand", name: product.vendor || site.name },
20
+ ...(product.productType ? { category: product.productType } : {}),
21
+ offers: product.variants.map((variant) => ({
22
+ "@type": "Offer",
23
+ name: variant.title,
24
+ ...(variant.sku ? { sku: variant.sku } : {}),
25
+ price: variant.price.amount,
26
+ priceCurrency: variant.price.currencyCode,
27
+ availability: variant.availableForSale ? "https://schema.org/InStock" : "https://schema.org/OutOfStock",
28
+ itemCondition: "https://schema.org/NewCondition",
29
+ url: absolute(url),
30
+ })),
31
+ };
32
+ }
33
+
34
+ export function breadcrumbData(items: Array<{ label: string; href: string }>): object {
35
+ return {
36
+ "@context": "https://schema.org",
37
+ "@type": "BreadcrumbList",
38
+ itemListElement: items.map((item, index) => ({ "@type": "ListItem", position: index + 1, name: item.label, item: absolute(item.href) })),
39
+ };
40
+ }
@@ -0,0 +1,80 @@
1
+ // The shop's data, in one shape whichever way it arrived: from a store's
2
+ // Storefront API at build time (src/lib/shop/store.ts) or from the demo
3
+ // catalogue (src/data/shop/catalogue.json) when no store is connected.
4
+
5
+ export interface Money {
6
+ /** A decimal string, as the Storefront API sends it: "640.00". */
7
+ amount: string;
8
+ currencyCode: string;
9
+ }
10
+
11
+ export interface ShopImage {
12
+ /** Absolute (a store's CDN) or from the site root (the demo catalogue). */
13
+ url: string;
14
+ altText: string;
15
+ width: number;
16
+ height: number;
17
+ /** Smaller copies for srcset: [url, width]. */
18
+ sizes: Array<[string, number]>;
19
+ }
20
+
21
+ export interface ShopVariant {
22
+ id: string;
23
+ title: string;
24
+ sku: string | null;
25
+ availableForSale: boolean;
26
+ price: Money;
27
+ compareAtPrice: Money | null;
28
+ selectedOptions: Array<{ name: string; value: string }>;
29
+ /** Index into the product's images: the picture of this variant (a colour). */
30
+ image: number | null;
31
+ }
32
+
33
+ export interface ShopProduct {
34
+ id: string;
35
+ handle: string;
36
+ title: string;
37
+ description: string;
38
+ descriptionHtml: string;
39
+ productType: string;
40
+ vendor: string;
41
+ tags: string[];
42
+ seo: { title: string | null; description: string | null };
43
+ options: Array<{ name: string; values: string[] }>;
44
+ images: ShopImage[];
45
+ variants: ShopVariant[];
46
+ availableForSale: boolean;
47
+ priceRange: { min: Money; max: Money };
48
+ /** Handles of the collections it is in, in the store's order. */
49
+ collections: string[];
50
+ }
51
+
52
+ export interface ShopCollection {
53
+ id: string;
54
+ handle: string;
55
+ title: string;
56
+ description: string;
57
+ image: ShopImage | null;
58
+ /** Product handles, in the collection's order. */
59
+ products: string[];
60
+ }
61
+
62
+ export interface ShopData {
63
+ /** "demo": the bundled catalogue, nothing can be bought. "store": a real store. */
64
+ mode: "demo" | "store";
65
+ shop: { name: string; currencyCode: string; countryCode: string };
66
+ products: ShopProduct[];
67
+ collections: ShopCollection[];
68
+ }
69
+
70
+ /** What the browser needs to talk to the store (nothing secret: a public token is meant to be seen). */
71
+ export interface StoreClientConfig {
72
+ mode: "demo" | "store";
73
+ /** "https://your-store.myshopify.com/api/2026-10/graphql.json" when connected. */
74
+ endpoint: string | null;
75
+ publicToken: string | null;
76
+ /** For the customer-privacy hand-off: the store's checkout and storefront domains. */
77
+ checkoutDomain: string | null;
78
+ currency: string;
79
+ locale: string;
80
+ }
@@ -0,0 +1,181 @@
1
+ // Small helpers shared by layouts and sections. Site settings, navigation and
2
+ // stockists are read from src/data/*.json — components never hard-code copy.
3
+
4
+ import { Marked } from "marked";
5
+ import siteData from "../data/site.json";
6
+ import navigationData from "../data/navigation.json";
7
+ import stockistsData from "../data/stockists.json";
8
+ import shotList from "../../galley/photography/shots.json";
9
+
10
+ export const site = siteData;
11
+ export const navigation = navigationData;
12
+ export const labels = siteData.labels;
13
+
14
+ /** Stockists, grouped by town (src/data/stockists.json). */
15
+ export interface StockistGroup {
16
+ id: string;
17
+ label: string;
18
+ note?: string;
19
+ items: Array<{ name: string; address?: string; note?: string; href?: string }>;
20
+ }
21
+ export const stockists: StockistGroup[] = stockistsData.groups;
22
+
23
+ export type Tone = "default" | "muted" | "inverse" | "accent";
24
+ export interface Link {
25
+ label: string;
26
+ href: string;
27
+ }
28
+
29
+ /** An image a section shows: a path from the site root and its alt text. */
30
+ export interface Picture {
31
+ image: string;
32
+ imageAlt: string;
33
+ }
34
+
35
+ /** Width / height of the named crops content can choose ("portrait" → 4/5). */
36
+ export const ratios = {
37
+ portrait: "4/5",
38
+ tall: "2/3",
39
+ square: "1/1",
40
+ landscape: "3/2",
41
+ wide: "16/9",
42
+ panorama: "21/9",
43
+ } as const;
44
+ export type RatioName = keyof typeof ratios;
45
+
46
+ /** Where the subject of a photograph sits, for crops that cut into it. */
47
+ export const focusPositions = { left: "28% 50%", center: "50% 50%", right: "72% 50%" } as const;
48
+ export type Focus = keyof typeof focusPositions;
49
+
50
+ /** Each photograph's focus point from galley/photography/shots.json, by its public path. */
51
+ const shotFocus = new Map(shotList.shots.map((shot) => [shot.file.replace(/^public/, ""), `${Math.round(shot.focus.x * 100)}% ${Math.round(shot.focus.y * 100)}%`]));
52
+
53
+ /**
54
+ * Where a crop is anchored: the side an editor chose (left, right), or else
55
+ * the photograph's own focus point from the shot list, so heads and garments
56
+ * stay in frame at every ratio; the middle for a picture not in the list.
57
+ */
58
+ export function focusFor(src: string, focus: Focus = "center"): string {
59
+ return focus !== "center" ? focusPositions[focus] : (shotFocus.get(src) ?? focusPositions.center);
60
+ }
61
+
62
+ /** Whether a link leaves the site (opens elsewhere). */
63
+ export function isExternal(href: string): boolean {
64
+ return /^https?:\/\//.test(href);
65
+ }
66
+
67
+ /** A slim, dismissible bar above the header. */
68
+ export interface StarterNotice {
69
+ /** Names the bar for screen readers. */
70
+ label: string;
71
+ text: string;
72
+ link?: Link;
73
+ /** Label of the button that hides it. */
74
+ dismiss: string;
75
+ }
76
+
77
+ /**
78
+ * The notice the template's demo shows (`starterNotice` in site.json). Delete
79
+ * that entry and the bar, and its few lines of script, are gone.
80
+ */
81
+ export const starterNotice = (siteData as { starterNotice?: StarterNotice }).starterNotice;
82
+
83
+ /** Replace `{name}` placeholders in a label, e.g. "Page {current} of {total}". */
84
+ export function fill(template: string, values: Record<string, string | number>): string {
85
+ return template.replace(/\{(\w+)\}/g, (match, key: string) =>
86
+ key in values ? String(values[key]) : match,
87
+ );
88
+ }
89
+
90
+ /**
91
+ * The site's base path without a trailing slash: "" when the site is served
92
+ * from the root of its domain, "/repo" for a GitHub Pages project site.
93
+ * Set with `base` in astro.config.ts or `astro build --base /repo`.
94
+ */
95
+ const basePath = import.meta.env.BASE_URL.replace(/\/+$/, "");
96
+
97
+ /**
98
+ * Prefix a root-relative path ("/about/", "/images/x.svg") with the base
99
+ * path. Content always writes links and images from the site root; every
100
+ * component passes them through here, so the same content works at a
101
+ * domain's root and under a sub-path. Other values (https:, mailto:, tel:,
102
+ * #anchors, "//host") are returned unchanged. Pass content paths only:
103
+ * Astro.url and paginate() URLs already include the base.
104
+ */
105
+ export function withBase(path: string): string;
106
+ export function withBase(path: string | undefined): string | undefined;
107
+ export function withBase(path: string | undefined): string | undefined {
108
+ if (!path || !basePath || !path.startsWith("/") || path.startsWith("//")) return path;
109
+ return `${basePath}${path}`;
110
+ }
111
+
112
+ // Links and images written in markdown fields go through withBase() too.
113
+ const markdownParser = new Marked({
114
+ walkTokens(token) {
115
+ if (token.type === "link" || token.type === "image") token.href = withBase(token.href);
116
+ },
117
+ });
118
+
119
+ /** Markdown → HTML for longer text fields (story sections). */
120
+ export function markdown(text: string): string {
121
+ return markdownParser.parse(text, { async: false });
122
+ }
123
+
124
+ /** Inline markdown → HTML for one-line fields, so `*word*` becomes emphasis. */
125
+ export function inline(text: string): string {
126
+ return markdownParser.parseInline(text, { async: false });
127
+ }
128
+
129
+ /** Strip inline markdown for places that need plain text (alt, aria, meta). */
130
+ export function plain(text: string): string {
131
+ return text.replace(/[*_`]/g, "");
132
+ }
133
+
134
+ /** Split plain text into paragraphs on blank lines. */
135
+ export function paragraphs(text: string | undefined): string[] {
136
+ if (!text) return [];
137
+ return text
138
+ .split(/\n\s*\n/)
139
+ .map((part) => part.trim())
140
+ .filter(Boolean);
141
+ }
142
+
143
+ const dateFormat = new Intl.DateTimeFormat(siteData.locale, { dateStyle: "long" });
144
+
145
+ export function formatDate(date: Date): string {
146
+ return dateFormat.format(date);
147
+ }
148
+
149
+ /**
150
+ * Absolute URL on the public site, for canonical and Open Graph tags. The
151
+ * origin is `site` (from site.json, or `astro build --site …`); `path` must
152
+ * already include the base path (Astro.url.pathname does; use withBase()
153
+ * for content paths).
154
+ */
155
+ export function absolute(path: string): string {
156
+ return new URL(path, import.meta.env.SITE ?? siteData.url).href;
157
+ }
158
+
159
+ /** Whether a nav link points at the current page or one of its children. */
160
+ export function isCurrent(href: string, pathname: string): boolean {
161
+ const normal = (value: string) => (value.endsWith("/") ? value : `${value}/`);
162
+ const target = normal(withBase(href));
163
+ if (href === "/") return normal(pathname) === target;
164
+ return normal(pathname).startsWith(target);
165
+ }
166
+
167
+ /** "/lookbook/x/" — the address of a lookbook, including the base path. */
168
+ export function lookbookUrl(id: string): string {
169
+ return withBase(`/lookbook/${id}/`);
170
+ }
171
+
172
+ /** Two-digit look numbers: 1 → "01". */
173
+ export function lookNumber(index: number): string {
174
+ return String(index + 1).padStart(2, "0");
175
+ }
176
+
177
+ /** Words-per-minute estimate for a markdown body. */
178
+ export function readingMinutes(body: string | undefined): number {
179
+ const words = (body ?? "").split(/\s+/).filter(Boolean).length;
180
+ return Math.max(1, Math.round(words / 220));
181
+ }
@@ -0,0 +1,13 @@
1
+ ---
2
+ // The not-found page, written in src/content/pages/404.md.
3
+ import { getEntry } from "astro:content";
4
+ import Base from "../layouts/Base.astro";
5
+ import PageEntry from "../components/PageEntry.astro";
6
+
7
+ const page = await getEntry("pages", "404");
8
+ if (!page) throw new Error("src/content/pages/404.md is missing.");
9
+ ---
10
+
11
+ <Base title={page.data.title} description={page.data.description} image={page.data.image} noindex overlayHeader={page.data.sections[0]?.type === "campaign-hero"}>
12
+ <PageEntry page={page} />
13
+ </Base>
@@ -0,0 +1,34 @@
1
+ ---
2
+ // Every entry in src/content/pages/ becomes a page: index.md is "/",
3
+ // atelier.md is "/atelier/", a/b.md is "/a/b/". lookbook.md, journal.md, shop.md, bag.md, search.md
4
+ // and 404.md are rendered by lookbook/index.astro, shop/index.astro, bag.astro, search.astro, journal/[...page].astro
5
+ // and 404.astro.
6
+ import { getCollection, type CollectionEntry } from "astro:content";
7
+ import Base from "../layouts/Base.astro";
8
+ import PageEntry from "../components/PageEntry.astro";
9
+
10
+ export async function getStaticPaths() {
11
+ const pages = await getCollection("pages", (page) => !["404", "journal", "lookbook", "shop", "bag", "search"].includes(page.id));
12
+ return pages.map((page) => ({
13
+ params: { slug: page.id === "index" ? undefined : page.id },
14
+ props: { page },
15
+ }));
16
+ }
17
+
18
+ interface Props {
19
+ page: CollectionEntry<"pages">;
20
+ }
21
+
22
+ const { page } = Astro.props;
23
+ ---
24
+
25
+ <Base
26
+ title={page.data.title}
27
+ description={page.data.description}
28
+ image={page.data.image}
29
+ noindex={page.data.noindex}
30
+ bareTitle={page.id === "index"}
31
+ overlayHeader={page.data.sections[0]?.type === "campaign-hero"}
32
+ >
33
+ <PageEntry page={page} />
34
+ </Base>