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.
- package/README.md +76 -2
- package/bin/galley.js +29 -0
- package/dist/LICENSE +202 -0
- package/dist/NOTICE +19 -0
- package/dist/galley.mjs +168872 -0
- package/dist/overlay.js +60 -0
- package/dist/starters/README.md +257 -0
- package/dist/starters/astro-editorial/CONTENT-GUIDE.md +218 -0
- package/dist/starters/astro-editorial/LICENSE +21 -0
- package/dist/starters/astro-editorial/README.md +375 -0
- package/dist/starters/astro-editorial/astro.config.ts +50 -0
- package/dist/starters/astro-editorial/galley/photography/ART-DIRECTION.md +170 -0
- package/dist/starters/astro-editorial/galley/photography/LOG.md +77 -0
- package/dist/starters/astro-editorial/galley/photography/placeholders.json +1 -0
- package/dist/starters/astro-editorial/galley/photography/shots.json +721 -0
- package/dist/starters/astro-editorial/galley/previews/chalk.webp +0 -0
- package/dist/starters/astro-editorial/galley/previews/night.webp +0 -0
- package/dist/starters/astro-editorial/galley/previews/paper.webp +0 -0
- package/dist/starters/astro-editorial/galley/sections/campaign-hero.webp +0 -0
- package/dist/starters/astro-editorial/galley/sections/chapters.webp +0 -0
- package/dist/starters/astro-editorial/galley/sections/contact.webp +0 -0
- package/dist/starters/astro-editorial/galley/sections/credits.webp +0 -0
- package/dist/starters/astro-editorial/galley/sections/cta.webp +0 -0
- package/dist/starters/astro-editorial/galley/sections/film.webp +0 -0
- package/dist/starters/astro-editorial/galley/sections/form.webp +0 -0
- package/dist/starters/astro-editorial/galley/sections/gallery.webp +0 -0
- package/dist/starters/astro-editorial/galley/sections/image-band.webp +0 -0
- package/dist/starters/astro-editorial/galley/sections/journal-list.webp +0 -0
- package/dist/starters/astro-editorial/galley/sections/look.webp +0 -0
- package/dist/starters/astro-editorial/galley/sections/lookbook-grid.webp +0 -0
- package/dist/starters/astro-editorial/galley/sections/marquee.webp +0 -0
- package/dist/starters/astro-editorial/galley/sections/newsletter.webp +0 -0
- package/dist/starters/astro-editorial/galley/sections/pieces.webp +0 -0
- package/dist/starters/astro-editorial/galley/sections/quote.webp +0 -0
- package/dist/starters/astro-editorial/galley/sections/split-editorial.webp +0 -0
- package/dist/starters/astro-editorial/galley/sections/statement.webp +0 -0
- package/dist/starters/astro-editorial/galley/sections/stockists.webp +0 -0
- package/dist/starters/astro-editorial/galley/sections/story.webp +0 -0
- package/dist/starters/astro-editorial/galley/templates/about.md +47 -0
- package/dist/starters/astro-editorial/galley/templates/about.webp +0 -0
- package/dist/starters/astro-editorial/galley/templates/campaign.md +71 -0
- package/dist/starters/astro-editorial/galley/templates/campaign.webp +0 -0
- package/dist/starters/astro-editorial/galley/templates/contact.md +19 -0
- package/dist/starters/astro-editorial/galley/templates/contact.webp +0 -0
- package/dist/starters/astro-editorial/galley/templates/lookbook.md +47 -0
- package/dist/starters/astro-editorial/galley/templates/lookbook.webp +0 -0
- package/dist/starters/astro-editorial/galley/templates/stockists.md +19 -0
- package/dist/starters/astro-editorial/galley/templates/stockists.webp +0 -0
- package/dist/starters/astro-editorial/galley/templates/story.md +49 -0
- package/dist/starters/astro-editorial/galley/templates/story.webp +0 -0
- package/dist/starters/astro-editorial/galley.config.json +334 -0
- package/dist/starters/astro-editorial/gitignore +26 -0
- package/dist/starters/astro-editorial/netlify.toml +6 -0
- package/dist/starters/astro-editorial/package.json +46 -0
- package/dist/starters/astro-editorial/public/favicon.svg +5 -0
- package/dist/starters/astro-editorial/public/images/atelier/hands.webp +0 -0
- package/dist/starters/astro-editorial/public/images/atelier/weave.webp +0 -0
- package/dist/starters/astro-editorial/public/images/atelier/workroom.webp +0 -0
- package/dist/starters/astro-editorial/public/images/campaign/aw26-harbour-wall.webp +0 -0
- package/dist/starters/astro-editorial/public/images/campaign/ss26-plaster-steps.webp +0 -0
- package/dist/starters/astro-editorial/public/images/campaign/wall-shadow.webp +0 -0
- package/dist/starters/astro-editorial/public/images/film/the-long-afternoon.webp +0 -0
- package/dist/starters/astro-editorial/public/images/journal/a-pattern-is-a-letter.webp +0 -0
- package/dist/starters/astro-editorial/public/images/journal/eleven-tries-at-rust.webp +0 -0
- package/dist/starters/astro-editorial/public/images/journal/keeping-a-wool-coat.webp +0 -0
- package/dist/starters/astro-editorial/public/images/journal/why-we-make-forty.webp +0 -0
- package/dist/starters/astro-editorial/public/images/lookbooks/aw26/cover.webp +0 -0
- package/dist/starters/astro-editorial/public/images/lookbooks/aw26/look-01.webp +0 -0
- package/dist/starters/astro-editorial/public/images/lookbooks/aw26/look-02.webp +0 -0
- package/dist/starters/astro-editorial/public/images/lookbooks/aw26/look-03.webp +0 -0
- package/dist/starters/astro-editorial/public/images/lookbooks/aw26/look-04.webp +0 -0
- package/dist/starters/astro-editorial/public/images/lookbooks/aw26/look-05.webp +0 -0
- package/dist/starters/astro-editorial/public/images/lookbooks/aw26/look-06.webp +0 -0
- package/dist/starters/astro-editorial/public/images/lookbooks/aw26/look-07.webp +0 -0
- package/dist/starters/astro-editorial/public/images/lookbooks/aw26/look-08.webp +0 -0
- package/dist/starters/astro-editorial/public/images/lookbooks/ss26/cover.webp +0 -0
- package/dist/starters/astro-editorial/public/images/lookbooks/ss26/look-01.webp +0 -0
- package/dist/starters/astro-editorial/public/images/lookbooks/ss26/look-02.webp +0 -0
- package/dist/starters/astro-editorial/public/images/lookbooks/ss26/look-03.webp +0 -0
- package/dist/starters/astro-editorial/public/images/people/hesper-lowe.webp +0 -0
- package/dist/starters/astro-editorial/public/images/pieces/blanket-scarf.webp +0 -0
- package/dist/starters/astro-editorial/public/images/pieces/field-coat.webp +0 -0
- package/dist/starters/astro-editorial/public/images/pieces/gansey.webp +0 -0
- package/dist/starters/astro-editorial/public/images/pieces/rib-polo.webp +0 -0
- package/dist/starters/astro-editorial/public/images/share.jpg +0 -0
- package/dist/starters/astro-editorial/scripts/check-type.mjs +198 -0
- package/dist/starters/astro-editorial/scripts/gallery/gallery.astro +77 -0
- package/dist/starters/astro-editorial/scripts/gallery/integration.mjs +43 -0
- package/dist/starters/astro-editorial/scripts/gallery/sections.md +171 -0
- package/dist/starters/astro-editorial/scripts/ingest-photos.mjs +169 -0
- package/dist/starters/astro-editorial/scripts/lib/tokens.mjs +63 -0
- package/dist/starters/astro-editorial/scripts/make-placeholders.mjs +188 -0
- package/dist/starters/astro-editorial/scripts/make-thumbnails.mjs +249 -0
- package/dist/starters/astro-editorial/scripts/starter-notice.json +9 -0
- package/dist/starters/astro-editorial/src/components/Actions.astro +31 -0
- package/dist/starters/astro-editorial/src/components/Footer.astro +195 -0
- package/dist/starters/astro-editorial/src/components/Header.astro +340 -0
- package/dist/starters/astro-editorial/src/components/Icon.astro +39 -0
- package/dist/starters/astro-editorial/src/components/LookbookCard.astro +76 -0
- package/dist/starters/astro-editorial/src/components/LookbookEntry.astro +175 -0
- package/dist/starters/astro-editorial/src/components/Media.astro +37 -0
- package/dist/starters/astro-editorial/src/components/PageEntry.astro +64 -0
- package/dist/starters/astro-editorial/src/components/PieceList.astro +70 -0
- package/dist/starters/astro-editorial/src/components/PostCard.astro +101 -0
- package/dist/starters/astro-editorial/src/components/PostList.astro +103 -0
- package/dist/starters/astro-editorial/src/components/Section.astro +47 -0
- package/dist/starters/astro-editorial/src/components/SectionHeader.astro +70 -0
- package/dist/starters/astro-editorial/src/components/Sections.astro +81 -0
- package/dist/starters/astro-editorial/src/components/StarterNotice.astro +97 -0
- package/dist/starters/astro-editorial/src/components/Tags.astro +68 -0
- package/dist/starters/astro-editorial/src/components/sections/CampaignHero.astro +288 -0
- package/dist/starters/astro-editorial/src/components/sections/Chapters.astro +142 -0
- package/dist/starters/astro-editorial/src/components/sections/Contact.astro +136 -0
- package/dist/starters/astro-editorial/src/components/sections/Credits.astro +62 -0
- package/dist/starters/astro-editorial/src/components/sections/Cta.astro +105 -0
- package/dist/starters/astro-editorial/src/components/sections/Film.astro +110 -0
- package/dist/starters/astro-editorial/src/components/sections/FormSection.astro +81 -0
- package/dist/starters/astro-editorial/src/components/sections/Gallery.astro +82 -0
- package/dist/starters/astro-editorial/src/components/sections/ImageBand.astro +33 -0
- package/dist/starters/astro-editorial/src/components/sections/JournalList.astro +132 -0
- package/dist/starters/astro-editorial/src/components/sections/Look.astro +82 -0
- package/dist/starters/astro-editorial/src/components/sections/LookbookGrid.astro +139 -0
- package/dist/starters/astro-editorial/src/components/sections/Marquee.astro +164 -0
- package/dist/starters/astro-editorial/src/components/sections/Newsletter.astro +83 -0
- package/dist/starters/astro-editorial/src/components/sections/Pieces.astro +131 -0
- package/dist/starters/astro-editorial/src/components/sections/Quote.astro +112 -0
- package/dist/starters/astro-editorial/src/components/sections/SplitEditorial.astro +81 -0
- package/dist/starters/astro-editorial/src/components/sections/Statement.astro +178 -0
- package/dist/starters/astro-editorial/src/components/sections/Stockists.astro +139 -0
- package/dist/starters/astro-editorial/src/components/sections/Story.astro +96 -0
- package/dist/starters/astro-editorial/src/components/sections/Unknown.astro +37 -0
- package/dist/starters/astro-editorial/src/content/forms/contact.json +49 -0
- package/dist/starters/astro-editorial/src/content/forms/newsletter.json +30 -0
- package/dist/starters/astro-editorial/src/content/forms/stockist.json +35 -0
- package/dist/starters/astro-editorial/src/content/journal/a-pattern-is-a-letter.md +25 -0
- package/dist/starters/astro-editorial/src/content/journal/eleven-tries-at-rust.md +29 -0
- package/dist/starters/astro-editorial/src/content/journal/keeping-a-wool-coat.md +29 -0
- package/dist/starters/astro-editorial/src/content/journal/why-we-make-forty.md +29 -0
- package/dist/starters/astro-editorial/src/content/lookbooks/aw26-the-long-afternoon.md +126 -0
- package/dist/starters/astro-editorial/src/content/lookbooks/ss26-plaster.md +55 -0
- package/dist/starters/astro-editorial/src/content/pages/404.md +14 -0
- package/dist/starters/astro-editorial/src/content/pages/atelier.md +102 -0
- package/dist/starters/astro-editorial/src/content/pages/collections.md +15 -0
- package/dist/starters/astro-editorial/src/content/pages/contact.md +35 -0
- package/dist/starters/astro-editorial/src/content/pages/index.md +144 -0
- package/dist/starters/astro-editorial/src/content/pages/journal.md +9 -0
- package/dist/starters/astro-editorial/src/content/pages/privacy.md +25 -0
- package/dist/starters/astro-editorial/src/content/pages/stockists.md +32 -0
- package/dist/starters/astro-editorial/src/content.config.ts +464 -0
- package/dist/starters/astro-editorial/src/data/navigation.json +60 -0
- package/dist/starters/astro-editorial/src/data/scripts.json +29 -0
- package/dist/starters/astro-editorial/src/data/site.json +86 -0
- package/dist/starters/astro-editorial/src/data/stockists.json +81 -0
- package/dist/starters/astro-editorial/src/data/visibility.json +30 -0
- package/dist/starters/astro-editorial/src/galley/catalog-data.js +293 -0
- package/dist/starters/astro-editorial/src/galley/catalog.js +42 -0
- package/dist/starters/astro-editorial/src/galley/client/attribution.js +79 -0
- package/dist/starters/astro-editorial/src/galley/client/forms.js +580 -0
- package/dist/starters/astro-editorial/src/galley/client/providers/frame-post.js +77 -0
- package/dist/starters/astro-editorial/src/galley/client/providers/galley.js +53 -0
- package/dist/starters/astro-editorial/src/galley/client/providers/hubspot.js +110 -0
- package/dist/starters/astro-editorial/src/galley/client/providers/mailto.js +20 -0
- package/dist/starters/astro-editorial/src/galley/client/providers/marketo.js +133 -0
- package/dist/starters/astro-editorial/src/galley/client/providers/pardot.js +53 -0
- package/dist/starters/astro-editorial/src/galley/client/providers/salesforce.js +50 -0
- package/dist/starters/astro-editorial/src/galley/client/providers/webhook.js +40 -0
- package/dist/starters/astro-editorial/src/galley/client/registry.js +32 -0
- package/dist/starters/astro-editorial/src/galley/client/types.d.ts +80 -0
- package/dist/starters/astro-editorial/src/galley/components/ConsentBanner.astro +17 -0
- package/dist/starters/astro-editorial/src/galley/components/Form.astro +102 -0
- package/dist/starters/astro-editorial/src/galley/components/Scripts.astro +30 -0
- package/dist/starters/astro-editorial/src/galley/components/index.js +5 -0
- package/dist/starters/astro-editorial/src/galley/forms/forms.css +389 -0
- package/dist/starters/astro-editorial/src/galley/forms/free-email-domains.js +62 -0
- package/dist/starters/astro-editorial/src/galley/forms/logic.js +220 -0
- package/dist/starters/astro-editorial/src/galley/forms/messages.js +82 -0
- package/dist/starters/astro-editorial/src/galley/forms/render.js +490 -0
- package/dist/starters/astro-editorial/src/galley/integration.js +21 -0
- package/dist/starters/astro-editorial/src/galley/kit.d.ts +298 -0
- package/dist/starters/astro-editorial/src/galley/mailto/config.js +76 -0
- package/dist/starters/astro-editorial/src/galley/mailto/runtime.gen.js +5 -0
- package/dist/starters/astro-editorial/src/galley/runtime/site-config.js +50 -0
- package/dist/starters/astro-editorial/src/galley/schema.js +338 -0
- package/dist/starters/astro-editorial/src/galley/scripts/banner.js +80 -0
- package/dist/starters/astro-editorial/src/galley/scripts/plan.js +253 -0
- package/dist/starters/astro-editorial/src/galley/scripts/runtime.gen.js +5 -0
- package/dist/starters/astro-editorial/src/galley/scripts/snippets.js +245 -0
- package/dist/starters/astro-editorial/src/galley/settings.json +18 -0
- package/dist/starters/astro-editorial/src/galley/shared/glob.js +64 -0
- package/dist/starters/astro-editorial/src/galley/shared/markdown.js +120 -0
- package/dist/starters/astro-editorial/src/galley/visibility/config.js +223 -0
- package/dist/starters/astro-editorial/src/galley/visibility/content.js +176 -0
- package/dist/starters/astro-editorial/src/galley/visibility/crawlers.js +195 -0
- package/dist/starters/astro-editorial/src/galley/visibility/html.js +293 -0
- package/dist/starters/astro-editorial/src/galley/visibility/integration.js +528 -0
- package/dist/starters/astro-editorial/src/galley/visibility/markdown.js +498 -0
- package/dist/starters/astro-editorial/src/galley/visibility/page.js +146 -0
- package/dist/starters/astro-editorial/src/galley/visibility/site.js +583 -0
- package/dist/starters/astro-editorial/src/galley/visibility/structured.js +131 -0
- package/dist/starters/astro-editorial/src/layouts/Base.astro +98 -0
- package/dist/starters/astro-editorial/src/lib/journal.ts +45 -0
- package/dist/starters/astro-editorial/src/lib/lookbooks.ts +20 -0
- package/dist/starters/astro-editorial/src/lib/site.ts +181 -0
- package/dist/starters/astro-editorial/src/pages/404.astro +13 -0
- package/dist/starters/astro-editorial/src/pages/[...slug].astro +34 -0
- package/dist/starters/astro-editorial/src/pages/collections/[slug].astro +23 -0
- package/dist/starters/astro-editorial/src/pages/collections/index.astro +66 -0
- package/dist/starters/astro-editorial/src/pages/journal/[...page].astro +59 -0
- package/dist/starters/astro-editorial/src/pages/journal/[slug].astro +205 -0
- package/dist/starters/astro-editorial/src/pages/journal/tags/[tag]/[...page].astro +83 -0
- package/dist/starters/astro-editorial/src/styles/galley-kit.css +97 -0
- package/dist/starters/astro-editorial/src/styles/global.css +661 -0
- package/dist/starters/astro-editorial/src/styles/themes/chalk.css +181 -0
- package/dist/starters/astro-editorial/src/styles/themes/night.css +181 -0
- package/dist/starters/astro-editorial/src/styles/themes/paper.css +181 -0
- package/dist/starters/astro-editorial/src/styles/tokens.css +181 -0
- package/dist/starters/astro-editorial/starter.json +52 -0
- package/dist/starters/astro-editorial/tsconfig.json +8 -0
- package/dist/starters/astro-saas/CONTENT-GUIDE.md +273 -0
- package/dist/starters/astro-saas/LICENSE +21 -0
- package/dist/starters/astro-saas/README.md +365 -0
- package/dist/starters/astro-saas/astro.config.ts +77 -0
- package/dist/starters/astro-saas/galley/previews/home.webp +0 -0
- package/dist/starters/astro-saas/galley/previews/meridian.webp +0 -0
- package/dist/starters/astro-saas/galley/previews/night-shift.webp +0 -0
- package/dist/starters/astro-saas/galley/previews/sections.webp +0 -0
- package/dist/starters/astro-saas/galley/previews/signal.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/awards.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/case-studies.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/changelog.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/comparison.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/contact.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/cta.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/faq.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/feature-split.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/feature-tabs.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/features.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/form.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/hero-form.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/hero-split.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/hero.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/integrations.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/logos.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/metrics.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/newsletter.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/posts.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/pricing-table.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/pricing.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/rich-text.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/screenshot.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/security.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/steps.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/team.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/testimonial.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/testimonials.webp +0 -0
- package/dist/starters/astro-saas/galley/sections/use-cases.webp +0 -0
- package/dist/starters/astro-saas/galley/templates/about.md +50 -0
- package/dist/starters/astro-saas/galley/templates/about.webp +0 -0
- package/dist/starters/astro-saas/galley/templates/contact.md +30 -0
- package/dist/starters/astro-saas/galley/templates/contact.webp +0 -0
- package/dist/starters/astro-saas/galley/templates/customer-story.md +47 -0
- package/dist/starters/astro-saas/galley/templates/customer-story.webp +0 -0
- package/dist/starters/astro-saas/galley/templates/landing.md +76 -0
- package/dist/starters/astro-saas/galley/templates/landing.webp +0 -0
- package/dist/starters/astro-saas/galley/templates/pricing.md +77 -0
- package/dist/starters/astro-saas/galley/templates/pricing.webp +0 -0
- package/dist/starters/astro-saas/galley/templates/product.md +69 -0
- package/dist/starters/astro-saas/galley/templates/product.webp +0 -0
- package/dist/starters/astro-saas/galley/templates/solution.md +71 -0
- package/dist/starters/astro-saas/galley/templates/solution.webp +0 -0
- package/dist/starters/astro-saas/galley.config.json +286 -0
- package/dist/starters/astro-saas/gitignore +22 -0
- package/dist/starters/astro-saas/netlify.toml +6 -0
- package/dist/starters/astro-saas/package.json +45 -0
- package/dist/starters/astro-saas/public/favicon.svg +1 -0
- package/dist/starters/astro-saas/public/images/awards/easiest-setup.svg +1 -0
- package/dist/starters/astro-saas/public/images/awards/facilities-review.svg +1 -0
- package/dist/starters/astro-saas/public/images/awards/support-index.svg +1 -0
- package/dist/starters/astro-saas/public/images/blog/audit-schedule.svg +1 -0
- package/dist/starters/astro-saas/public/images/blog/certificate-register.svg +1 -0
- package/dist/starters/astro-saas/public/images/blog/four-numbers.svg +1 -0
- package/dist/starters/astro-saas/public/images/blog/fourteen-depots.svg +1 -0
- package/dist/starters/astro-saas/public/images/blog/offline-first.svg +1 -0
- package/dist/starters/astro-saas/public/images/blog/work-order-fields.svg +1 -0
- package/dist/starters/astro-saas/public/images/logos/corrin-foods.svg +1 -0
- package/dist/starters/astro-saas/public/images/logos/halbeck-retail.svg +1 -0
- package/dist/starters/astro-saas/public/images/logos/linmore-schools.svg +1 -0
- package/dist/starters/astro-saas/public/images/logos/ostrell-logistics.svg +1 -0
- package/dist/starters/astro-saas/public/images/logos/pellow-hotels.svg +1 -0
- package/dist/starters/astro-saas/public/images/logos/tamsett-facilities.svg +1 -0
- package/dist/starters/astro-saas/public/images/logos/vantry-health.svg +1 -0
- package/dist/starters/astro-saas/public/images/logos/wendmoor-senior-living.svg +1 -0
- package/dist/starters/astro-saas/public/images/people/anika-thorvald.svg +1 -0
- package/dist/starters/astro-saas/public/images/people/calum-ashby.svg +1 -0
- package/dist/starters/astro-saas/public/images/people/dana-whitcombe.svg +1 -0
- package/dist/starters/astro-saas/public/images/people/ellie-strand.svg +1 -0
- package/dist/starters/astro-saas/public/images/people/grace-achterberg.svg +1 -0
- package/dist/starters/astro-saas/public/images/people/hana-lindqvist.svg +1 -0
- package/dist/starters/astro-saas/public/images/people/joel-marchetti.svg +1 -0
- package/dist/starters/astro-saas/public/images/people/marcus-oyelaran.svg +1 -0
- package/dist/starters/astro-saas/public/images/people/rosa-ferrante.svg +1 -0
- package/dist/starters/astro-saas/public/images/people/sunmi-hollis.svg +1 -0
- package/dist/starters/astro-saas/public/images/people/teodor-rask.svg +1 -0
- package/dist/starters/astro-saas/public/images/people/tobi-merriden.svg +1 -0
- package/dist/starters/astro-saas/public/images/product/dashboard.svg +1 -0
- package/dist/starters/astro-saas/public/images/product/evidence.svg +1 -0
- package/dist/starters/astro-saas/public/images/product/inspection.svg +1 -0
- package/dist/starters/astro-saas/public/images/product/planner.svg +1 -0
- package/dist/starters/astro-saas/public/images/product/reports.svg +1 -0
- package/dist/starters/astro-saas/public/images/product/work-orders.svg +1 -0
- package/dist/starters/astro-saas/public/images/share.png +0 -0
- package/dist/starters/astro-saas/scripts/check-type.mjs +198 -0
- package/dist/starters/astro-saas/scripts/gallery/gallery.astro +114 -0
- package/dist/starters/astro-saas/scripts/gallery/integration.mjs +42 -0
- package/dist/starters/astro-saas/scripts/gallery/sections.md +362 -0
- package/dist/starters/astro-saas/scripts/make-thumbnails.mjs +198 -0
- package/dist/starters/astro-saas/src/components/Actions.astro +30 -0
- package/dist/starters/astro-saas/src/components/Announcement.astro +51 -0
- package/dist/starters/astro-saas/src/components/Checklist.astro +55 -0
- package/dist/starters/astro-saas/src/components/CustomerCard.astro +147 -0
- package/dist/starters/astro-saas/src/components/CustomerStory.astro +343 -0
- package/dist/starters/astro-saas/src/components/Footer.astro +204 -0
- package/dist/starters/astro-saas/src/components/FormEmbed.astro +51 -0
- package/dist/starters/astro-saas/src/components/Frame.astro +88 -0
- package/dist/starters/astro-saas/src/components/Header.astro +489 -0
- package/dist/starters/astro-saas/src/components/Icon.astro +83 -0
- package/dist/starters/astro-saas/src/components/Logo.astro +40 -0
- package/dist/starters/astro-saas/src/components/Mark.astro +54 -0
- package/dist/starters/astro-saas/src/components/Media.astro +54 -0
- package/dist/starters/astro-saas/src/components/PageEntry.astro +65 -0
- package/dist/starters/astro-saas/src/components/PostCard.astro +99 -0
- package/dist/starters/astro-saas/src/components/PostList.astro +108 -0
- package/dist/starters/astro-saas/src/components/Section.astro +52 -0
- package/dist/starters/astro-saas/src/components/SectionHeader.astro +80 -0
- package/dist/starters/astro-saas/src/components/Sections.astro +100 -0
- package/dist/starters/astro-saas/src/components/StarterNotice.astro +97 -0
- package/dist/starters/astro-saas/src/components/Tags.astro +67 -0
- package/dist/starters/astro-saas/src/components/UpdateEntry.astro +145 -0
- package/dist/starters/astro-saas/src/components/sections/Awards.astro +144 -0
- package/dist/starters/astro-saas/src/components/sections/CaseStudies.astro +101 -0
- package/dist/starters/astro-saas/src/components/sections/Changelog.astro +108 -0
- package/dist/starters/astro-saas/src/components/sections/Comparison.astro +132 -0
- package/dist/starters/astro-saas/src/components/sections/Contact.astro +105 -0
- package/dist/starters/astro-saas/src/components/sections/Cta.astro +121 -0
- package/dist/starters/astro-saas/src/components/sections/Faq.astro +142 -0
- package/dist/starters/astro-saas/src/components/sections/FeatureSplit.astro +101 -0
- package/dist/starters/astro-saas/src/components/sections/FeatureTabs.astro +246 -0
- package/dist/starters/astro-saas/src/components/sections/Features.astro +119 -0
- package/dist/starters/astro-saas/src/components/sections/FormSection.astro +89 -0
- package/dist/starters/astro-saas/src/components/sections/Hero.astro +102 -0
- package/dist/starters/astro-saas/src/components/sections/HeroForm.astro +129 -0
- package/dist/starters/astro-saas/src/components/sections/HeroSplit.astro +140 -0
- package/dist/starters/astro-saas/src/components/sections/Integrations.astro +172 -0
- package/dist/starters/astro-saas/src/components/sections/Logos.astro +122 -0
- package/dist/starters/astro-saas/src/components/sections/Metrics.astro +97 -0
- package/dist/starters/astro-saas/src/components/sections/Newsletter.astro +94 -0
- package/dist/starters/astro-saas/src/components/sections/Posts.astro +93 -0
- package/dist/starters/astro-saas/src/components/sections/Pricing.astro +196 -0
- package/dist/starters/astro-saas/src/components/sections/PricingTable.astro +151 -0
- package/dist/starters/astro-saas/src/components/sections/RichText.astro +61 -0
- package/dist/starters/astro-saas/src/components/sections/Screenshot.astro +112 -0
- package/dist/starters/astro-saas/src/components/sections/Security.astro +167 -0
- package/dist/starters/astro-saas/src/components/sections/Steps.astro +177 -0
- package/dist/starters/astro-saas/src/components/sections/Team.astro +135 -0
- package/dist/starters/astro-saas/src/components/sections/Testimonial.astro +118 -0
- package/dist/starters/astro-saas/src/components/sections/Testimonials.astro +119 -0
- package/dist/starters/astro-saas/src/components/sections/Unknown.astro +37 -0
- package/dist/starters/astro-saas/src/components/sections/UseCases.astro +166 -0
- package/dist/starters/astro-saas/src/content/blog/audit-ready-maintenance-schedule.md +41 -0
- package/dist/starters/astro-saas/src/content/blog/certificate-register.md +31 -0
- package/dist/starters/astro-saas/src/content/blog/four-maintenance-numbers.md +31 -0
- package/dist/starters/astro-saas/src/content/blog/fourteen-depots-off-spreadsheets.md +33 -0
- package/dist/starters/astro-saas/src/content/blog/offline-first-inspections.md +33 -0
- package/dist/starters/astro-saas/src/content/blog/work-order-fields.md +43 -0
- package/dist/starters/astro-saas/src/content/changelog/asset-qr-labels.md +12 -0
- package/dist/starters/astro-saas/src/content/changelog/certificate-forecasts.md +12 -0
- package/dist/starters/astro-saas/src/content/changelog/contractor-bulk-upload.md +8 -0
- package/dist/starters/astro-saas/src/content/changelog/faster-planner.md +11 -0
- package/dist/starters/astro-saas/src/content/changelog/offline-inspections.md +16 -0
- package/dist/starters/astro-saas/src/content/changelog/scim-provisioning.md +8 -0
- package/dist/starters/astro-saas/src/content/changelog/weekly-reminders-fix.md +11 -0
- package/dist/starters/astro-saas/src/content/customers/linmore-schools.md +53 -0
- package/dist/starters/astro-saas/src/content/customers/ostrell-logistics.md +59 -0
- package/dist/starters/astro-saas/src/content/customers/pellow-hotels.md +47 -0
- package/dist/starters/astro-saas/src/content/customers/wendmoor-senior-living.md +47 -0
- package/dist/starters/astro-saas/src/content/forms/contact.json +31 -0
- package/dist/starters/astro-saas/src/content/forms/demo.json +133 -0
- package/dist/starters/astro-saas/src/content/forms/newsletter.json +13 -0
- package/dist/starters/astro-saas/src/content/pages/404.md +29 -0
- package/dist/starters/astro-saas/src/content/pages/about.md +83 -0
- package/dist/starters/astro-saas/src/content/pages/blog.md +11 -0
- package/dist/starters/astro-saas/src/content/pages/changelog.md +11 -0
- package/dist/starters/astro-saas/src/content/pages/contact.md +29 -0
- package/dist/starters/astro-saas/src/content/pages/customers.md +69 -0
- package/dist/starters/astro-saas/src/content/pages/index.md +161 -0
- package/dist/starters/astro-saas/src/content/pages/pricing.md +131 -0
- package/dist/starters/astro-saas/src/content/pages/privacy.md +38 -0
- package/dist/starters/astro-saas/src/content/pages/product.md +152 -0
- package/dist/starters/astro-saas/src/content/pages/security.md +69 -0
- package/dist/starters/astro-saas/src/content/pages/solutions/facilities-teams.md +114 -0
- package/dist/starters/astro-saas/src/content/pages/solutions/service-contractors.md +88 -0
- package/dist/starters/astro-saas/src/content/pages/terms.md +31 -0
- package/dist/starters/astro-saas/src/content/team/anika-thorvald.md +7 -0
- package/dist/starters/astro-saas/src/content/team/calum-ashby.md +7 -0
- package/dist/starters/astro-saas/src/content/team/hana-lindqvist.md +10 -0
- package/dist/starters/astro-saas/src/content/team/joel-marchetti.md +7 -0
- package/dist/starters/astro-saas/src/content/team/rosa-ferrante.md +7 -0
- package/dist/starters/astro-saas/src/content/team/tobi-merriden.md +10 -0
- package/dist/starters/astro-saas/src/content.config.ts +746 -0
- package/dist/starters/astro-saas/src/data/navigation.json +146 -0
- package/dist/starters/astro-saas/src/data/scripts.json +10 -0
- package/dist/starters/astro-saas/src/data/site.json +105 -0
- package/dist/starters/astro-saas/src/data/visibility.json +32 -0
- package/dist/starters/astro-saas/src/galley/catalog-data.js +293 -0
- package/dist/starters/astro-saas/src/galley/catalog.js +42 -0
- package/dist/starters/astro-saas/src/galley/client/attribution.js +79 -0
- package/dist/starters/astro-saas/src/galley/client/forms.js +580 -0
- package/dist/starters/astro-saas/src/galley/client/providers/frame-post.js +77 -0
- package/dist/starters/astro-saas/src/galley/client/providers/galley.js +53 -0
- package/dist/starters/astro-saas/src/galley/client/providers/hubspot.js +110 -0
- package/dist/starters/astro-saas/src/galley/client/providers/mailto.js +20 -0
- package/dist/starters/astro-saas/src/galley/client/providers/marketo.js +133 -0
- package/dist/starters/astro-saas/src/galley/client/providers/pardot.js +53 -0
- package/dist/starters/astro-saas/src/galley/client/providers/salesforce.js +50 -0
- package/dist/starters/astro-saas/src/galley/client/providers/webhook.js +40 -0
- package/dist/starters/astro-saas/src/galley/client/registry.js +32 -0
- package/dist/starters/astro-saas/src/galley/client/types.d.ts +80 -0
- package/dist/starters/astro-saas/src/galley/components/ConsentBanner.astro +17 -0
- package/dist/starters/astro-saas/src/galley/components/Form.astro +102 -0
- package/dist/starters/astro-saas/src/galley/components/Scripts.astro +30 -0
- package/dist/starters/astro-saas/src/galley/components/index.js +5 -0
- package/dist/starters/astro-saas/src/galley/forms/forms.css +389 -0
- package/dist/starters/astro-saas/src/galley/forms/free-email-domains.js +62 -0
- package/dist/starters/astro-saas/src/galley/forms/logic.js +220 -0
- package/dist/starters/astro-saas/src/galley/forms/messages.js +82 -0
- package/dist/starters/astro-saas/src/galley/forms/render.js +490 -0
- package/dist/starters/astro-saas/src/galley/integration.js +21 -0
- package/dist/starters/astro-saas/src/galley/kit.d.ts +298 -0
- package/dist/starters/astro-saas/src/galley/mailto/config.js +76 -0
- package/dist/starters/astro-saas/src/galley/mailto/runtime.gen.js +5 -0
- package/dist/starters/astro-saas/src/galley/runtime/site-config.js +50 -0
- package/dist/starters/astro-saas/src/galley/schema.js +338 -0
- package/dist/starters/astro-saas/src/galley/scripts/banner.js +80 -0
- package/dist/starters/astro-saas/src/galley/scripts/plan.js +253 -0
- package/dist/starters/astro-saas/src/galley/scripts/runtime.gen.js +5 -0
- package/dist/starters/astro-saas/src/galley/scripts/snippets.js +245 -0
- package/dist/starters/astro-saas/src/galley/settings.json +18 -0
- package/dist/starters/astro-saas/src/galley/shared/glob.js +64 -0
- package/dist/starters/astro-saas/src/galley/shared/markdown.js +120 -0
- package/dist/starters/astro-saas/src/galley/visibility/config.js +223 -0
- package/dist/starters/astro-saas/src/galley/visibility/content.js +176 -0
- package/dist/starters/astro-saas/src/galley/visibility/crawlers.js +195 -0
- package/dist/starters/astro-saas/src/galley/visibility/html.js +293 -0
- package/dist/starters/astro-saas/src/galley/visibility/integration.js +528 -0
- package/dist/starters/astro-saas/src/galley/visibility/markdown.js +498 -0
- package/dist/starters/astro-saas/src/galley/visibility/page.js +146 -0
- package/dist/starters/astro-saas/src/galley/visibility/site.js +583 -0
- package/dist/starters/astro-saas/src/galley/visibility/structured.js +131 -0
- package/dist/starters/astro-saas/src/layouts/Base.astro +106 -0
- package/dist/starters/astro-saas/src/lib/customers.ts +18 -0
- package/dist/starters/astro-saas/src/lib/posts.ts +47 -0
- package/dist/starters/astro-saas/src/lib/site.ts +222 -0
- package/dist/starters/astro-saas/src/pages/404.astro +13 -0
- package/dist/starters/astro-saas/src/pages/[...slug].astro +27 -0
- package/dist/starters/astro-saas/src/pages/blog/[...page].astro +49 -0
- package/dist/starters/astro-saas/src/pages/blog/[slug].astro +298 -0
- package/dist/starters/astro-saas/src/pages/blog/tags/[tag]/[...page].astro +83 -0
- package/dist/starters/astro-saas/src/pages/changelog.astro +41 -0
- package/dist/starters/astro-saas/src/pages/customers/[slug].astro +32 -0
- package/dist/starters/astro-saas/src/styles/global.css +651 -0
- package/dist/starters/astro-saas/src/styles/kit.css +70 -0
- package/dist/starters/astro-saas/src/styles/themes/meridian.css +173 -0
- package/dist/starters/astro-saas/src/styles/themes/night-shift.css +173 -0
- package/dist/starters/astro-saas/src/styles/themes/signal.css +173 -0
- package/dist/starters/astro-saas/src/styles/tokens.css +173 -0
- package/dist/starters/astro-saas/starter-notice.json +9 -0
- package/dist/starters/astro-saas/starter.json +52 -0
- package/dist/starters/astro-saas/tsconfig.json +8 -0
- package/dist/starters/astro-saas/wrangler.jsonc +12 -0
- package/dist/starters/astro-starter/CONTENT-GUIDE.md +195 -0
- package/dist/starters/astro-starter/LICENSE +21 -0
- package/dist/starters/astro-starter/README.md +381 -0
- package/dist/starters/astro-starter/astro.config.ts +77 -0
- package/dist/starters/astro-starter/galley/previews/evening.webp +0 -0
- package/dist/starters/astro-starter/galley/previews/home.webp +0 -0
- package/dist/starters/astro-starter/galley/previews/lowfield.webp +0 -0
- package/dist/starters/astro-starter/galley/previews/sage.webp +0 -0
- package/dist/starters/astro-starter/galley/previews/sections.webp +0 -0
- package/dist/starters/astro-starter/galley/sections/contact.webp +0 -0
- package/dist/starters/astro-starter/galley/sections/cta.webp +0 -0
- package/dist/starters/astro-starter/galley/sections/faq.webp +0 -0
- package/dist/starters/astro-starter/galley/sections/features.webp +0 -0
- package/dist/starters/astro-starter/galley/sections/form.webp +0 -0
- package/dist/starters/astro-starter/galley/sections/gallery.webp +0 -0
- package/dist/starters/astro-starter/galley/sections/hero.webp +0 -0
- package/dist/starters/astro-starter/galley/sections/logos.webp +0 -0
- package/dist/starters/astro-starter/galley/sections/posts.webp +0 -0
- package/dist/starters/astro-starter/galley/sections/pricing.webp +0 -0
- package/dist/starters/astro-starter/galley/sections/rich-text.webp +0 -0
- package/dist/starters/astro-starter/galley/sections/split.webp +0 -0
- package/dist/starters/astro-starter/galley/sections/stats.webp +0 -0
- package/dist/starters/astro-starter/galley/sections/steps.webp +0 -0
- package/dist/starters/astro-starter/galley/sections/team.webp +0 -0
- package/dist/starters/astro-starter/galley/sections/testimonial.webp +0 -0
- package/dist/starters/astro-starter/galley/sections/testimonials.webp +0 -0
- package/dist/starters/astro-starter/galley/templates/about.md +33 -0
- package/dist/starters/astro-starter/galley/templates/about.webp +0 -0
- package/dist/starters/astro-starter/galley/templates/contact.md +25 -0
- package/dist/starters/astro-starter/galley/templates/contact.webp +0 -0
- package/dist/starters/astro-starter/galley/templates/journal-post.md +27 -0
- package/dist/starters/astro-starter/galley/templates/journal-post.webp +0 -0
- package/dist/starters/astro-starter/galley/templates/project.md +44 -0
- package/dist/starters/astro-starter/galley/templates/project.webp +0 -0
- package/dist/starters/astro-starter/galley/templates/service.md +50 -0
- package/dist/starters/astro-starter/galley/templates/service.webp +0 -0
- package/dist/starters/astro-starter/galley.config.json +187 -0
- package/dist/starters/astro-starter/gitignore +22 -0
- package/dist/starters/astro-starter/netlify.toml +6 -0
- package/dist/starters/astro-starter/package.json +44 -0
- package/dist/starters/astro-starter/public/favicon.svg +1 -0
- package/dist/starters/astro-starter/public/images/blog/kitchen-questions.svg +6 -0
- package/dist/starters/astro-starter/public/images/blog/measured-survey.svg +5 -0
- package/dist/starters/astro-starter/public/images/blog/planning.svg +7 -0
- package/dist/starters/astro-starter/public/images/blog/renovation-guide.svg +8 -0
- package/dist/starters/astro-starter/public/images/gallery/arched-doorway.svg +5 -0
- package/dist/starters/astro-starter/public/images/gallery/garden-room.svg +4 -0
- package/dist/starters/astro-starter/public/images/gallery/kitchen.svg +7 -0
- package/dist/starters/astro-starter/public/images/gallery/plan.svg +5 -0
- package/dist/starters/astro-starter/public/images/gallery/stair.svg +3 -0
- package/dist/starters/astro-starter/public/images/gallery/window-seat.svg +6 -0
- package/dist/starters/astro-starter/public/images/logos/brackenridge.svg +1 -0
- package/dist/starters/astro-starter/public/images/logos/hartwell-glass.svg +1 -0
- package/dist/starters/astro-starter/public/images/logos/millbrook-timber.svg +1 -0
- package/dist/starters/astro-starter/public/images/logos/ostler-lime.svg +1 -0
- package/dist/starters/astro-starter/public/images/logos/wrenhallow-civic.svg +1 -0
- package/dist/starters/astro-starter/public/images/people/client-mistry.svg +3 -0
- package/dist/starters/astro-starter/public/images/projects/garden-room.svg +11 -0
- package/dist/starters/astro-starter/public/images/projects/hero-house.svg +18 -0
- package/dist/starters/astro-starter/public/images/projects/kitchen-extension.svg +16 -0
- package/dist/starters/astro-starter/public/images/projects/workshop.svg +9 -0
- package/dist/starters/astro-starter/public/images/share.png +0 -0
- package/dist/starters/astro-starter/public/images/share.svg +10 -0
- package/dist/starters/astro-starter/public/images/team/joe-whitlock.svg +1 -0
- package/dist/starters/astro-starter/public/images/team/nell-okafor.svg +1 -0
- package/dist/starters/astro-starter/public/images/team/priya-anand.svg +1 -0
- package/dist/starters/astro-starter/public/images/team/tomas-reyes.svg +1 -0
- package/dist/starters/astro-starter/scripts/check-type.mjs +198 -0
- package/dist/starters/astro-starter/scripts/gallery/gallery.astro +136 -0
- package/dist/starters/astro-starter/scripts/gallery/integration.mjs +42 -0
- package/dist/starters/astro-starter/scripts/gallery/sections.md +201 -0
- package/dist/starters/astro-starter/scripts/make-thumbnails.mjs +198 -0
- package/dist/starters/astro-starter/src/components/Actions.astro +30 -0
- package/dist/starters/astro-starter/src/components/Footer.astro +166 -0
- package/dist/starters/astro-starter/src/components/FormEmbed.astro +51 -0
- package/dist/starters/astro-starter/src/components/Header.astro +284 -0
- package/dist/starters/astro-starter/src/components/Icon.astro +57 -0
- package/dist/starters/astro-starter/src/components/Media.astro +32 -0
- package/dist/starters/astro-starter/src/components/PageEntry.astro +64 -0
- package/dist/starters/astro-starter/src/components/PostCard.astro +101 -0
- package/dist/starters/astro-starter/src/components/PostList.astro +108 -0
- package/dist/starters/astro-starter/src/components/Section.astro +43 -0
- package/dist/starters/astro-starter/src/components/SectionHeader.astro +93 -0
- package/dist/starters/astro-starter/src/components/Sections.astro +76 -0
- package/dist/starters/astro-starter/src/components/StarterNotice.astro +97 -0
- package/dist/starters/astro-starter/src/components/Tags.astro +65 -0
- package/dist/starters/astro-starter/src/components/sections/Contact.astro +106 -0
- package/dist/starters/astro-starter/src/components/sections/Cta.astro +96 -0
- package/dist/starters/astro-starter/src/components/sections/Faq.astro +107 -0
- package/dist/starters/astro-starter/src/components/sections/Features.astro +105 -0
- package/dist/starters/astro-starter/src/components/sections/FormSection.astro +91 -0
- package/dist/starters/astro-starter/src/components/sections/Gallery.astro +69 -0
- package/dist/starters/astro-starter/src/components/sections/Hero.astro +128 -0
- package/dist/starters/astro-starter/src/components/sections/Logos.astro +99 -0
- package/dist/starters/astro-starter/src/components/sections/Posts.astro +73 -0
- package/dist/starters/astro-starter/src/components/sections/Pricing.astro +186 -0
- package/dist/starters/astro-starter/src/components/sections/RichText.astro +61 -0
- package/dist/starters/astro-starter/src/components/sections/Split.astro +117 -0
- package/dist/starters/astro-starter/src/components/sections/Stats.astro +83 -0
- package/dist/starters/astro-starter/src/components/sections/Steps.astro +113 -0
- package/dist/starters/astro-starter/src/components/sections/Team.astro +112 -0
- package/dist/starters/astro-starter/src/components/sections/Testimonial.astro +82 -0
- package/dist/starters/astro-starter/src/components/sections/Testimonials.astro +107 -0
- package/dist/starters/astro-starter/src/components/sections/Unknown.astro +37 -0
- package/dist/starters/astro-starter/src/content/authors/ines-ferreira.md +5 -0
- package/dist/starters/astro-starter/src/content/authors/nell-okafor.md +6 -0
- package/dist/starters/astro-starter/src/content/authors/tomas-reyes.md +6 -0
- package/dist/starters/astro-starter/src/content/blog/kitchen-extension-questions.md +46 -0
- package/dist/starters/astro-starter/src/content/blog/living-through-a-renovation.md +47 -0
- package/dist/starters/astro-starter/src/content/blog/measured-survey.md +42 -0
- package/dist/starters/astro-starter/src/content/blog/permitted-development.md +45 -0
- package/dist/starters/astro-starter/src/content/forms/contact.json +39 -0
- package/dist/starters/astro-starter/src/content/pages/404.md +17 -0
- package/dist/starters/astro-starter/src/content/pages/about.md +66 -0
- package/dist/starters/astro-starter/src/content/pages/blog.md +9 -0
- package/dist/starters/astro-starter/src/content/pages/contact.md +30 -0
- package/dist/starters/astro-starter/src/content/pages/index.md +125 -0
- package/dist/starters/astro-starter/src/content/pages/pricing.md +77 -0
- package/dist/starters/astro-starter/src/content/pages/privacy.md +25 -0
- package/dist/starters/astro-starter/src/content/pages/services.md +84 -0
- package/dist/starters/astro-starter/src/content/team/joe-whitlock.md +10 -0
- package/dist/starters/astro-starter/src/content/team/nell-okafor.md +12 -0
- package/dist/starters/astro-starter/src/content/team/priya-anand.md +7 -0
- package/dist/starters/astro-starter/src/content/team/tomas-reyes.md +10 -0
- package/dist/starters/astro-starter/src/content.config.ts +410 -0
- package/dist/starters/astro-starter/src/data/navigation.json +64 -0
- package/dist/starters/astro-starter/src/data/scripts.json +10 -0
- package/dist/starters/astro-starter/src/data/site.json +66 -0
- package/dist/starters/astro-starter/src/data/visibility.json +30 -0
- package/dist/starters/astro-starter/src/galley/catalog-data.js +293 -0
- package/dist/starters/astro-starter/src/galley/catalog.js +42 -0
- package/dist/starters/astro-starter/src/galley/client/attribution.js +79 -0
- package/dist/starters/astro-starter/src/galley/client/forms.js +580 -0
- package/dist/starters/astro-starter/src/galley/client/providers/frame-post.js +77 -0
- package/dist/starters/astro-starter/src/galley/client/providers/galley.js +53 -0
- package/dist/starters/astro-starter/src/galley/client/providers/hubspot.js +110 -0
- package/dist/starters/astro-starter/src/galley/client/providers/mailto.js +20 -0
- package/dist/starters/astro-starter/src/galley/client/providers/marketo.js +133 -0
- package/dist/starters/astro-starter/src/galley/client/providers/pardot.js +53 -0
- package/dist/starters/astro-starter/src/galley/client/providers/salesforce.js +50 -0
- package/dist/starters/astro-starter/src/galley/client/providers/webhook.js +40 -0
- package/dist/starters/astro-starter/src/galley/client/registry.js +32 -0
- package/dist/starters/astro-starter/src/galley/client/types.d.ts +80 -0
- package/dist/starters/astro-starter/src/galley/components/ConsentBanner.astro +17 -0
- package/dist/starters/astro-starter/src/galley/components/Form.astro +102 -0
- package/dist/starters/astro-starter/src/galley/components/Scripts.astro +30 -0
- package/dist/starters/astro-starter/src/galley/components/index.js +5 -0
- package/dist/starters/astro-starter/src/galley/forms/forms.css +389 -0
- package/dist/starters/astro-starter/src/galley/forms/free-email-domains.js +62 -0
- package/dist/starters/astro-starter/src/galley/forms/logic.js +220 -0
- package/dist/starters/astro-starter/src/galley/forms/messages.js +82 -0
- package/dist/starters/astro-starter/src/galley/forms/render.js +490 -0
- package/dist/starters/astro-starter/src/galley/integration.js +21 -0
- package/dist/starters/astro-starter/src/galley/kit.d.ts +298 -0
- package/dist/starters/astro-starter/src/galley/mailto/config.js +76 -0
- package/dist/starters/astro-starter/src/galley/mailto/runtime.gen.js +5 -0
- package/dist/starters/astro-starter/src/galley/runtime/site-config.js +50 -0
- package/dist/starters/astro-starter/src/galley/schema.js +338 -0
- package/dist/starters/astro-starter/src/galley/scripts/banner.js +80 -0
- package/dist/starters/astro-starter/src/galley/scripts/plan.js +253 -0
- package/dist/starters/astro-starter/src/galley/scripts/runtime.gen.js +5 -0
- package/dist/starters/astro-starter/src/galley/scripts/snippets.js +245 -0
- package/dist/starters/astro-starter/src/galley/settings.json +18 -0
- package/dist/starters/astro-starter/src/galley/shared/glob.js +64 -0
- package/dist/starters/astro-starter/src/galley/shared/markdown.js +120 -0
- package/dist/starters/astro-starter/src/galley/visibility/config.js +223 -0
- package/dist/starters/astro-starter/src/galley/visibility/content.js +176 -0
- package/dist/starters/astro-starter/src/galley/visibility/crawlers.js +195 -0
- package/dist/starters/astro-starter/src/galley/visibility/html.js +293 -0
- package/dist/starters/astro-starter/src/galley/visibility/integration.js +528 -0
- package/dist/starters/astro-starter/src/galley/visibility/markdown.js +498 -0
- package/dist/starters/astro-starter/src/galley/visibility/page.js +146 -0
- package/dist/starters/astro-starter/src/galley/visibility/site.js +583 -0
- package/dist/starters/astro-starter/src/galley/visibility/structured.js +131 -0
- package/dist/starters/astro-starter/src/layouts/Base.astro +104 -0
- package/dist/starters/astro-starter/src/lib/posts.ts +43 -0
- package/dist/starters/astro-starter/src/lib/site.ts +201 -0
- package/dist/starters/astro-starter/src/pages/404.astro +13 -0
- package/dist/starters/astro-starter/src/pages/[...slug].astro +32 -0
- package/dist/starters/astro-starter/src/pages/blog/[...page].astro +49 -0
- package/dist/starters/astro-starter/src/pages/blog/[slug].astro +289 -0
- package/dist/starters/astro-starter/src/pages/blog/tags/[tag]/[...page].astro +82 -0
- package/dist/starters/astro-starter/src/styles/global.css +478 -0
- package/dist/starters/astro-starter/src/styles/kit.css +74 -0
- package/dist/starters/astro-starter/src/styles/themes/evening.css +135 -0
- package/dist/starters/astro-starter/src/styles/themes/lowfield.css +133 -0
- package/dist/starters/astro-starter/src/styles/themes/sage.css +134 -0
- package/dist/starters/astro-starter/src/styles/tokens.css +133 -0
- package/dist/starters/astro-starter/starter-notice.json +9 -0
- package/dist/starters/astro-starter/starter.json +52 -0
- package/dist/starters/astro-starter/tsconfig.json +8 -0
- package/dist/starters/astro-starter/wrangler.jsonc +12 -0
- package/dist/starters/astro-storefront/CONTENT-GUIDE.md +280 -0
- package/dist/starters/astro-storefront/LICENSE +21 -0
- package/dist/starters/astro-storefront/README.md +203 -0
- package/dist/starters/astro-storefront/astro.config.ts +50 -0
- package/dist/starters/astro-storefront/galley/photography/ART-DIRECTION.md +170 -0
- package/dist/starters/astro-storefront/galley/photography/LOG.md +91 -0
- package/dist/starters/astro-storefront/galley/photography/placeholders.json +1 -0
- package/dist/starters/astro-storefront/galley/photography/shots.json +743 -0
- package/dist/starters/astro-storefront/galley/previews/chalk.webp +0 -0
- package/dist/starters/astro-storefront/galley/previews/night.webp +0 -0
- package/dist/starters/astro-storefront/galley/previews/paper.webp +0 -0
- package/dist/starters/astro-storefront/galley/sections/campaign-hero.webp +0 -0
- package/dist/starters/astro-storefront/galley/sections/chapters.webp +0 -0
- package/dist/starters/astro-storefront/galley/sections/collection-grid.webp +0 -0
- package/dist/starters/astro-storefront/galley/sections/contact.webp +0 -0
- package/dist/starters/astro-storefront/galley/sections/credits.webp +0 -0
- package/dist/starters/astro-storefront/galley/sections/cta.webp +0 -0
- package/dist/starters/astro-storefront/galley/sections/featured-product.webp +0 -0
- package/dist/starters/astro-storefront/galley/sections/film.webp +0 -0
- package/dist/starters/astro-storefront/galley/sections/form.webp +0 -0
- package/dist/starters/astro-storefront/galley/sections/gallery.webp +0 -0
- package/dist/starters/astro-storefront/galley/sections/image-band.webp +0 -0
- package/dist/starters/astro-storefront/galley/sections/journal-list.webp +0 -0
- package/dist/starters/astro-storefront/galley/sections/look.webp +0 -0
- package/dist/starters/astro-storefront/galley/sections/lookbook-grid.webp +0 -0
- package/dist/starters/astro-storefront/galley/sections/marquee.webp +0 -0
- package/dist/starters/astro-storefront/galley/sections/newsletter.webp +0 -0
- package/dist/starters/astro-storefront/galley/sections/pieces.webp +0 -0
- package/dist/starters/astro-storefront/galley/sections/product-rail.webp +0 -0
- package/dist/starters/astro-storefront/galley/sections/quote.webp +0 -0
- package/dist/starters/astro-storefront/galley/sections/shop-the-look.webp +0 -0
- package/dist/starters/astro-storefront/galley/sections/split-editorial.webp +0 -0
- package/dist/starters/astro-storefront/galley/sections/statement.webp +0 -0
- package/dist/starters/astro-storefront/galley/sections/stockists.webp +0 -0
- package/dist/starters/astro-storefront/galley/sections/story.webp +0 -0
- package/dist/starters/astro-storefront/galley/templates/about.md +47 -0
- package/dist/starters/astro-storefront/galley/templates/about.webp +0 -0
- package/dist/starters/astro-storefront/galley/templates/campaign.md +71 -0
- package/dist/starters/astro-storefront/galley/templates/campaign.webp +0 -0
- package/dist/starters/astro-storefront/galley/templates/contact.md +19 -0
- package/dist/starters/astro-storefront/galley/templates/contact.webp +0 -0
- package/dist/starters/astro-storefront/galley/templates/lookbook.md +47 -0
- package/dist/starters/astro-storefront/galley/templates/lookbook.webp +0 -0
- package/dist/starters/astro-storefront/galley/templates/product-story.md +21 -0
- package/dist/starters/astro-storefront/galley/templates/product-story.webp +0 -0
- package/dist/starters/astro-storefront/galley/templates/shop-campaign.md +40 -0
- package/dist/starters/astro-storefront/galley/templates/shop-campaign.webp +0 -0
- package/dist/starters/astro-storefront/galley/templates/stockists.md +19 -0
- package/dist/starters/astro-storefront/galley/templates/stockists.webp +0 -0
- package/dist/starters/astro-storefront/galley/templates/story.md +49 -0
- package/dist/starters/astro-storefront/galley/templates/story.webp +0 -0
- package/dist/starters/astro-storefront/galley.config.json +752 -0
- package/dist/starters/astro-storefront/gitignore +26 -0
- package/dist/starters/astro-storefront/netlify.toml +6 -0
- package/dist/starters/astro-storefront/package.json +49 -0
- package/dist/starters/astro-storefront/public/favicon.svg +5 -0
- package/dist/starters/astro-storefront/public/images/_sizes/campaign/aw26-harbour-wall-640.webp +0 -0
- package/dist/starters/astro-storefront/public/images/_sizes/campaign/ss26-plaster-steps-640.webp +0 -0
- package/dist/starters/astro-storefront/public/images/_sizes/lookbooks/aw26/cover-640.webp +0 -0
- package/dist/starters/astro-storefront/public/images/_sizes/lookbooks/aw26/look-01-640.webp +0 -0
- package/dist/starters/astro-storefront/public/images/_sizes/lookbooks/aw26/look-02-640.webp +0 -0
- package/dist/starters/astro-storefront/public/images/_sizes/lookbooks/aw26/look-03-640.webp +0 -0
- package/dist/starters/astro-storefront/public/images/_sizes/lookbooks/aw26/look-04-640.webp +0 -0
- package/dist/starters/astro-storefront/public/images/_sizes/lookbooks/aw26/look-05-640.webp +0 -0
- package/dist/starters/astro-storefront/public/images/_sizes/lookbooks/aw26/look-06-640.webp +0 -0
- package/dist/starters/astro-storefront/public/images/_sizes/lookbooks/aw26/look-07-640.webp +0 -0
- package/dist/starters/astro-storefront/public/images/_sizes/lookbooks/aw26/look-08-640.webp +0 -0
- package/dist/starters/astro-storefront/public/images/_sizes/lookbooks/ss26/cover-640.webp +0 -0
- package/dist/starters/astro-storefront/public/images/_sizes/lookbooks/ss26/look-01-640.webp +0 -0
- package/dist/starters/astro-storefront/public/images/_sizes/lookbooks/ss26/look-02-640.webp +0 -0
- package/dist/starters/astro-storefront/public/images/_sizes/lookbooks/ss26/look-03-640.webp +0 -0
- package/dist/starters/astro-storefront/public/images/_sizes/pieces/blanket-scarf-640.webp +0 -0
- package/dist/starters/astro-storefront/public/images/_sizes/pieces/field-coat-640.webp +0 -0
- package/dist/starters/astro-storefront/public/images/_sizes/pieces/gansey-640.webp +0 -0
- package/dist/starters/astro-storefront/public/images/_sizes/pieces/rib-polo-640.webp +0 -0
- package/dist/starters/astro-storefront/public/images/_sizes/pieces/rollneck-640.webp +0 -0
- package/dist/starters/astro-storefront/public/images/atelier/hands.webp +0 -0
- package/dist/starters/astro-storefront/public/images/atelier/weave.webp +0 -0
- package/dist/starters/astro-storefront/public/images/atelier/workroom.webp +0 -0
- package/dist/starters/astro-storefront/public/images/campaign/aw26-harbour-wall.webp +0 -0
- package/dist/starters/astro-storefront/public/images/campaign/ss26-plaster-steps.webp +0 -0
- package/dist/starters/astro-storefront/public/images/campaign/wall-shadow.webp +0 -0
- package/dist/starters/astro-storefront/public/images/film/the-long-afternoon.webp +0 -0
- package/dist/starters/astro-storefront/public/images/journal/a-pattern-is-a-letter.webp +0 -0
- package/dist/starters/astro-storefront/public/images/journal/eleven-tries-at-rust.webp +0 -0
- package/dist/starters/astro-storefront/public/images/journal/keeping-a-wool-coat.webp +0 -0
- package/dist/starters/astro-storefront/public/images/journal/why-we-make-forty.webp +0 -0
- package/dist/starters/astro-storefront/public/images/lookbooks/aw26/cover.webp +0 -0
- package/dist/starters/astro-storefront/public/images/lookbooks/aw26/look-01.webp +0 -0
- package/dist/starters/astro-storefront/public/images/lookbooks/aw26/look-02.webp +0 -0
- package/dist/starters/astro-storefront/public/images/lookbooks/aw26/look-03.webp +0 -0
- package/dist/starters/astro-storefront/public/images/lookbooks/aw26/look-04.webp +0 -0
- package/dist/starters/astro-storefront/public/images/lookbooks/aw26/look-05.webp +0 -0
- package/dist/starters/astro-storefront/public/images/lookbooks/aw26/look-06.webp +0 -0
- package/dist/starters/astro-storefront/public/images/lookbooks/aw26/look-07.webp +0 -0
- package/dist/starters/astro-storefront/public/images/lookbooks/aw26/look-08.webp +0 -0
- package/dist/starters/astro-storefront/public/images/lookbooks/ss26/cover.webp +0 -0
- package/dist/starters/astro-storefront/public/images/lookbooks/ss26/look-01.webp +0 -0
- package/dist/starters/astro-storefront/public/images/lookbooks/ss26/look-02.webp +0 -0
- package/dist/starters/astro-storefront/public/images/lookbooks/ss26/look-03.webp +0 -0
- package/dist/starters/astro-storefront/public/images/people/hesper-lowe.webp +0 -0
- package/dist/starters/astro-storefront/public/images/pieces/blanket-scarf.webp +0 -0
- package/dist/starters/astro-storefront/public/images/pieces/field-coat.webp +0 -0
- package/dist/starters/astro-storefront/public/images/pieces/gansey.webp +0 -0
- package/dist/starters/astro-storefront/public/images/pieces/rib-polo.webp +0 -0
- package/dist/starters/astro-storefront/public/images/pieces/rollneck.webp +0 -0
- package/dist/starters/astro-storefront/public/images/share.jpg +0 -0
- package/dist/starters/astro-storefront/scripts/check-type.mjs +198 -0
- package/dist/starters/astro-storefront/scripts/gallery/gallery.astro +86 -0
- package/dist/starters/astro-storefront/scripts/gallery/integration.mjs +43 -0
- package/dist/starters/astro-storefront/scripts/gallery/sections.md +196 -0
- package/dist/starters/astro-storefront/scripts/ingest-photos.mjs +169 -0
- package/dist/starters/astro-storefront/scripts/lib/tokens.mjs +63 -0
- package/dist/starters/astro-storefront/scripts/make-placeholders.mjs +188 -0
- package/dist/starters/astro-storefront/scripts/make-sizes.mjs +31 -0
- package/dist/starters/astro-storefront/scripts/make-thumbnails.mjs +249 -0
- package/dist/starters/astro-storefront/scripts/seed-shopify.mjs +208 -0
- package/dist/starters/astro-storefront/src/components/Actions.astro +31 -0
- package/dist/starters/astro-storefront/src/components/Footer.astro +206 -0
- package/dist/starters/astro-storefront/src/components/Header.astro +423 -0
- package/dist/starters/astro-storefront/src/components/Icon.astro +43 -0
- package/dist/starters/astro-storefront/src/components/LookbookCard.astro +76 -0
- package/dist/starters/astro-storefront/src/components/LookbookEntry.astro +175 -0
- package/dist/starters/astro-storefront/src/components/Media.astro +37 -0
- package/dist/starters/astro-storefront/src/components/PageEntry.astro +64 -0
- package/dist/starters/astro-storefront/src/components/PieceList.astro +112 -0
- package/dist/starters/astro-storefront/src/components/PostCard.astro +101 -0
- package/dist/starters/astro-storefront/src/components/PostList.astro +103 -0
- package/dist/starters/astro-storefront/src/components/Section.astro +47 -0
- package/dist/starters/astro-storefront/src/components/SectionHeader.astro +70 -0
- package/dist/starters/astro-storefront/src/components/Sections.astro +89 -0
- package/dist/starters/astro-storefront/src/components/StarterNotice.astro +97 -0
- package/dist/starters/astro-storefront/src/components/Tags.astro +68 -0
- package/dist/starters/astro-storefront/src/components/sections/CampaignHero.astro +288 -0
- package/dist/starters/astro-storefront/src/components/sections/Chapters.astro +142 -0
- package/dist/starters/astro-storefront/src/components/sections/CollectionGrid.astro +116 -0
- package/dist/starters/astro-storefront/src/components/sections/Contact.astro +136 -0
- package/dist/starters/astro-storefront/src/components/sections/Credits.astro +62 -0
- package/dist/starters/astro-storefront/src/components/sections/Cta.astro +105 -0
- package/dist/starters/astro-storefront/src/components/sections/FeaturedProduct.astro +109 -0
- package/dist/starters/astro-storefront/src/components/sections/Film.astro +110 -0
- package/dist/starters/astro-storefront/src/components/sections/FormSection.astro +81 -0
- package/dist/starters/astro-storefront/src/components/sections/Gallery.astro +82 -0
- package/dist/starters/astro-storefront/src/components/sections/ImageBand.astro +33 -0
- package/dist/starters/astro-storefront/src/components/sections/JournalList.astro +132 -0
- package/dist/starters/astro-storefront/src/components/sections/Look.astro +82 -0
- package/dist/starters/astro-storefront/src/components/sections/LookbookGrid.astro +139 -0
- package/dist/starters/astro-storefront/src/components/sections/Marquee.astro +164 -0
- package/dist/starters/astro-storefront/src/components/sections/Newsletter.astro +83 -0
- package/dist/starters/astro-storefront/src/components/sections/Pieces.astro +131 -0
- package/dist/starters/astro-storefront/src/components/sections/ProductRail.astro +82 -0
- package/dist/starters/astro-storefront/src/components/sections/Quote.astro +112 -0
- package/dist/starters/astro-storefront/src/components/sections/ShopTheLook.astro +150 -0
- package/dist/starters/astro-storefront/src/components/sections/SplitEditorial.astro +81 -0
- package/dist/starters/astro-storefront/src/components/sections/Statement.astro +178 -0
- package/dist/starters/astro-storefront/src/components/sections/Stockists.astro +139 -0
- package/dist/starters/astro-storefront/src/components/sections/Story.astro +96 -0
- package/dist/starters/astro-storefront/src/components/sections/Unknown.astro +37 -0
- package/dist/starters/astro-storefront/src/components/shop/BagDrawer.astro +114 -0
- package/dist/starters/astro-storefront/src/components/shop/BagView.astro +241 -0
- package/dist/starters/astro-storefront/src/components/shop/Breadcrumbs.astro +63 -0
- package/dist/starters/astro-storefront/src/components/shop/ProductCard.astro +142 -0
- package/dist/starters/astro-storefront/src/components/shop/ProductGrid.astro +297 -0
- package/dist/starters/astro-storefront/src/components/shop/ProductImage.astro +53 -0
- package/dist/starters/astro-storefront/src/content/forms/contact.json +49 -0
- package/dist/starters/astro-storefront/src/content/forms/newsletter.json +30 -0
- package/dist/starters/astro-storefront/src/content/forms/stockist.json +35 -0
- package/dist/starters/astro-storefront/src/content/journal/a-pattern-is-a-letter.md +25 -0
- package/dist/starters/astro-storefront/src/content/journal/eleven-tries-at-rust.md +29 -0
- package/dist/starters/astro-storefront/src/content/journal/keeping-a-wool-coat.md +29 -0
- package/dist/starters/astro-storefront/src/content/journal/why-we-make-forty.md +29 -0
- package/dist/starters/astro-storefront/src/content/lookbooks/aw26-the-long-afternoon.md +126 -0
- package/dist/starters/astro-storefront/src/content/lookbooks/ss26-plaster.md +55 -0
- package/dist/starters/astro-storefront/src/content/pages/404.md +14 -0
- package/dist/starters/astro-storefront/src/content/pages/atelier.md +102 -0
- package/dist/starters/astro-storefront/src/content/pages/bag.md +5 -0
- package/dist/starters/astro-storefront/src/content/pages/contact.md +35 -0
- package/dist/starters/astro-storefront/src/content/pages/index.md +107 -0
- package/dist/starters/astro-storefront/src/content/pages/journal.md +9 -0
- package/dist/starters/astro-storefront/src/content/pages/lookbook.md +33 -0
- package/dist/starters/astro-storefront/src/content/pages/privacy.md +33 -0
- package/dist/starters/astro-storefront/src/content/pages/search.md +5 -0
- package/dist/starters/astro-storefront/src/content/pages/shop.md +4 -0
- package/dist/starters/astro-storefront/src/content/pages/stockists.md +66 -0
- package/dist/starters/astro-storefront/src/content/products/car-coat.md +29 -0
- package/dist/starters/astro-storefront/src/content/products/field-coat.md +35 -0
- package/dist/starters/astro-storefront/src/content/products/gansey.md +20 -0
- package/dist/starters/astro-storefront/src/content/products/wrap-coat.md +16 -0
- package/dist/starters/astro-storefront/src/content.config.ts +563 -0
- package/dist/starters/astro-storefront/src/data/navigation.json +77 -0
- package/dist/starters/astro-storefront/src/data/scripts.json +29 -0
- package/dist/starters/astro-storefront/src/data/shop/catalogue.json +2431 -0
- package/dist/starters/astro-storefront/src/data/shop/store.json +7 -0
- package/dist/starters/astro-storefront/src/data/site.json +161 -0
- package/dist/starters/astro-storefront/src/data/stockists.json +81 -0
- package/dist/starters/astro-storefront/src/data/visibility.json +33 -0
- package/dist/starters/astro-storefront/src/galley/catalog-data.js +293 -0
- package/dist/starters/astro-storefront/src/galley/catalog.js +42 -0
- package/dist/starters/astro-storefront/src/galley/client/attribution.js +79 -0
- package/dist/starters/astro-storefront/src/galley/client/forms.js +580 -0
- package/dist/starters/astro-storefront/src/galley/client/providers/frame-post.js +77 -0
- package/dist/starters/astro-storefront/src/galley/client/providers/galley.js +53 -0
- package/dist/starters/astro-storefront/src/galley/client/providers/hubspot.js +110 -0
- package/dist/starters/astro-storefront/src/galley/client/providers/mailto.js +20 -0
- package/dist/starters/astro-storefront/src/galley/client/providers/marketo.js +133 -0
- package/dist/starters/astro-storefront/src/galley/client/providers/pardot.js +53 -0
- package/dist/starters/astro-storefront/src/galley/client/providers/salesforce.js +50 -0
- package/dist/starters/astro-storefront/src/galley/client/providers/webhook.js +40 -0
- package/dist/starters/astro-storefront/src/galley/client/registry.js +32 -0
- package/dist/starters/astro-storefront/src/galley/client/types.d.ts +80 -0
- package/dist/starters/astro-storefront/src/galley/components/ConsentBanner.astro +17 -0
- package/dist/starters/astro-storefront/src/galley/components/Form.astro +102 -0
- package/dist/starters/astro-storefront/src/galley/components/Scripts.astro +30 -0
- package/dist/starters/astro-storefront/src/galley/components/index.js +5 -0
- package/dist/starters/astro-storefront/src/galley/forms/forms.css +389 -0
- package/dist/starters/astro-storefront/src/galley/forms/free-email-domains.js +62 -0
- package/dist/starters/astro-storefront/src/galley/forms/logic.js +220 -0
- package/dist/starters/astro-storefront/src/galley/forms/messages.js +82 -0
- package/dist/starters/astro-storefront/src/galley/forms/render.js +490 -0
- package/dist/starters/astro-storefront/src/galley/integration.js +21 -0
- package/dist/starters/astro-storefront/src/galley/kit.d.ts +298 -0
- package/dist/starters/astro-storefront/src/galley/mailto/config.js +76 -0
- package/dist/starters/astro-storefront/src/galley/mailto/runtime.gen.js +5 -0
- package/dist/starters/astro-storefront/src/galley/runtime/site-config.js +50 -0
- package/dist/starters/astro-storefront/src/galley/schema.js +338 -0
- package/dist/starters/astro-storefront/src/galley/scripts/banner.js +80 -0
- package/dist/starters/astro-storefront/src/galley/scripts/plan.js +253 -0
- package/dist/starters/astro-storefront/src/galley/scripts/runtime.gen.js +5 -0
- package/dist/starters/astro-storefront/src/galley/scripts/snippets.js +245 -0
- package/dist/starters/astro-storefront/src/galley/settings.json +18 -0
- package/dist/starters/astro-storefront/src/galley/shared/glob.js +64 -0
- package/dist/starters/astro-storefront/src/galley/shared/markdown.js +120 -0
- package/dist/starters/astro-storefront/src/galley/visibility/config.js +223 -0
- package/dist/starters/astro-storefront/src/galley/visibility/content.js +176 -0
- package/dist/starters/astro-storefront/src/galley/visibility/crawlers.js +195 -0
- package/dist/starters/astro-storefront/src/galley/visibility/html.js +293 -0
- package/dist/starters/astro-storefront/src/galley/visibility/integration.js +528 -0
- package/dist/starters/astro-storefront/src/galley/visibility/markdown.js +498 -0
- package/dist/starters/astro-storefront/src/galley/visibility/page.js +146 -0
- package/dist/starters/astro-storefront/src/galley/visibility/site.js +583 -0
- package/dist/starters/astro-storefront/src/galley/visibility/structured.js +131 -0
- package/dist/starters/astro-storefront/src/layouts/Base.astro +112 -0
- package/dist/starters/astro-storefront/src/lib/journal.ts +45 -0
- package/dist/starters/astro-storefront/src/lib/lookbooks.ts +20 -0
- package/dist/starters/astro-storefront/src/lib/shop/data.ts +161 -0
- package/dist/starters/astro-storefront/src/lib/shop/loader.ts +30 -0
- package/dist/starters/astro-storefront/src/lib/shop/store.ts +332 -0
- package/dist/starters/astro-storefront/src/lib/shop/structured.ts +40 -0
- package/dist/starters/astro-storefront/src/lib/shop/types.ts +80 -0
- package/dist/starters/astro-storefront/src/lib/site.ts +181 -0
- package/dist/starters/astro-storefront/src/pages/404.astro +13 -0
- package/dist/starters/astro-storefront/src/pages/[...slug].astro +34 -0
- package/dist/starters/astro-storefront/src/pages/bag.astro +37 -0
- package/dist/starters/astro-storefront/src/pages/journal/[...page].astro +59 -0
- package/dist/starters/astro-storefront/src/pages/journal/[slug].astro +205 -0
- package/dist/starters/astro-storefront/src/pages/journal/tags/[tag]/[...page].astro +83 -0
- package/dist/starters/astro-storefront/src/pages/lookbook/[slug].astro +23 -0
- package/dist/starters/astro-storefront/src/pages/lookbook/index.astro +66 -0
- package/dist/starters/astro-storefront/src/pages/products/[handle].astro +455 -0
- package/dist/starters/astro-storefront/src/pages/search.astro +137 -0
- package/dist/starters/astro-storefront/src/pages/search.json.ts +36 -0
- package/dist/starters/astro-storefront/src/pages/shop/[collection].astro +65 -0
- package/dist/starters/astro-storefront/src/pages/shop/index.astro +33 -0
- package/dist/starters/astro-storefront/src/scripts/shop.ts +742 -0
- package/dist/starters/astro-storefront/src/styles/galley-kit.css +97 -0
- package/dist/starters/astro-storefront/src/styles/global.css +662 -0
- package/dist/starters/astro-storefront/src/styles/themes/chalk.css +181 -0
- package/dist/starters/astro-storefront/src/styles/themes/night.css +181 -0
- package/dist/starters/astro-storefront/src/styles/themes/paper.css +181 -0
- package/dist/starters/astro-storefront/src/styles/tokens.css +181 -0
- package/dist/starters/astro-storefront/starter-notice.json +9 -0
- package/dist/starters/astro-storefront/starter.json +53 -0
- package/dist/starters/astro-storefront/tsconfig.json +8 -0
- package/dist/starters/astro-storefront/wrangler.jsonc +12 -0
- package/dist/web/assets/AppSettingsScreen-D9ZHXus9.js +1 -0
- package/dist/web/assets/BodyEditor-DAJ8MM41.js +1 -0
- package/dist/web/assets/BrandScreen-BuYHSbp6.js +1 -0
- package/dist/web/assets/CollectionScreen-DVXLw7MF.js +1 -0
- package/dist/web/assets/EditorScreen-8vhIBZu1.js +6 -0
- package/dist/web/assets/FormsScreen-BbngAAzO.js +4 -0
- package/dist/web/assets/HistoryScreen-CubZj8QG.js +4 -0
- package/dist/web/assets/ImportScreen-DA8mZ3-S.css +1 -0
- package/dist/web/assets/ImportScreen-eVAPjnE2.js +1 -0
- package/dist/web/assets/InboxScreen-Azqy6w4_.js +2 -0
- package/dist/web/assets/MediaLibraryPane-Dpcxede9.css +1 -0
- package/dist/web/assets/MediaLibraryPane-jMuqbnLa.js +1 -0
- package/dist/web/assets/MediaScreen-BQYVSf8P.css +1 -0
- package/dist/web/assets/MediaScreen-mg2CATkP.js +1 -0
- package/dist/web/assets/NewSiteScreen-D9zWX6oE.js +1 -0
- package/dist/web/assets/NewSiteScreen-RQ3ccqTf.css +1 -0
- package/dist/web/assets/Online-bYUu0ETZ.js +1 -0
- package/dist/web/assets/OpenScreen-DR1GhNWX.js +1 -0
- package/dist/web/assets/PluginsScreen-1qEv-u35.js +3 -0
- package/dist/web/assets/PreviewControls-Du87hOEG.js +1 -0
- package/dist/web/assets/PreviewPane-SH9rzgVw.css +1 -0
- package/dist/web/assets/PreviewPane-a06mELw4.js +3 -0
- package/dist/web/assets/ProofScreen-CZfFbHFS.js +7 -0
- package/dist/web/assets/ProofScreen-fG_mV-V4.css +1 -0
- package/dist/web/assets/ProviderSettings-BOiCGeSI.js +1 -0
- package/dist/web/assets/ProviderSettings-COu_e6Mx.css +1 -0
- package/dist/web/assets/PublishDialog-CSKU1lfx.js +3 -0
- package/dist/web/assets/ReachNote-CZYr1oL0.js +1 -0
- package/dist/web/assets/ReachNote-DhT9Cta-.css +1 -0
- package/dist/web/assets/RedirectsScreen-DeR_yuj5.js +3 -0
- package/dist/web/assets/RedirectsScreen-QTaAXMh-.css +1 -0
- package/dist/web/assets/ScriptsScreen-BXY-kqbq.js +2 -0
- package/dist/web/assets/ScriptsScreen-DMdmwkY4.css +1 -0
- package/dist/web/assets/SiteHomeScreen-DOrqAteL.js +1 -0
- package/dist/web/assets/SiteSettingsScreen-B8xQnhjd.js +4 -0
- package/dist/web/assets/SourceView-B5SoYjUF.js +1 -0
- package/dist/web/assets/VisibilityScreen-B4iOATC4.js +2 -0
- package/dist/web/assets/brand-BYux4UiC.css +1 -0
- package/dist/web/assets/changes-BtRtvJ12.js +1 -0
- package/dist/web/assets/changes-DLBkrfUR.js +1 -0
- package/dist/web/assets/chrome-Brnq5kGb.js +1 -0
- package/dist/web/assets/clickToEdit-CV1WT3k1.js +1 -0
- package/dist/web/assets/coalesce-BG8d12M7.js +1 -0
- package/dist/web/assets/codemirror-CWul2x0p.js +11 -0
- package/dist/web/assets/codemirror-g0T4-Tsm.js +1 -0
- package/dist/web/assets/codemirror-languages-RlWkzgfM.js +28 -0
- package/dist/web/assets/common-BA1skXL0.css +1 -0
- package/dist/web/assets/common-BdVEb5Zs.js +2 -0
- package/dist/web/assets/cost-BhkzE86J.js +1 -0
- package/dist/web/assets/events-CTTFdOf-.js +1 -0
- package/dist/web/assets/figtree-latin-ext-wght-normal-DCwSJGxG.woff2 +0 -0
- package/dist/web/assets/figtree-latin-wght-normal-D_ZTVpCC.woff2 +0 -0
- package/dist/web/assets/hashScroll-CSp59QpH.js +1 -0
- package/dist/web/assets/ibm-plex-mono-cyrillic-400-normal-BSMlKf0J.woff2 +0 -0
- package/dist/web/assets/ibm-plex-mono-cyrillic-400-normal-CEL4l2ZJ.woff +0 -0
- package/dist/web/assets/ibm-plex-mono-cyrillic-500-normal-Ael50iVv.woff +0 -0
- package/dist/web/assets/ibm-plex-mono-cyrillic-500-normal-Bq9vWWag.woff2 +0 -0
- package/dist/web/assets/ibm-plex-mono-cyrillic-ext-400-normal-DMdlQ8Kv.woff +0 -0
- package/dist/web/assets/ibm-plex-mono-cyrillic-ext-400-normal-xuaO2J-f.woff2 +0 -0
- package/dist/web/assets/ibm-plex-mono-cyrillic-ext-500-normal-BIfNGwUT.woff +0 -0
- package/dist/web/assets/ibm-plex-mono-cyrillic-ext-500-normal-BqneJy0T.woff2 +0 -0
- package/dist/web/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff +0 -0
- package/dist/web/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2 +0 -0
- package/dist/web/assets/ibm-plex-mono-latin-500-normal-CB9ihrfo.woff +0 -0
- package/dist/web/assets/ibm-plex-mono-latin-500-normal-DSY6xOcd.woff2 +0 -0
- package/dist/web/assets/ibm-plex-mono-latin-ext-400-normal-BmRBH3aV.woff2 +0 -0
- package/dist/web/assets/ibm-plex-mono-latin-ext-400-normal-D3D2R8hC.woff +0 -0
- package/dist/web/assets/ibm-plex-mono-latin-ext-500-normal-CAhNIIs5.woff2 +0 -0
- package/dist/web/assets/ibm-plex-mono-latin-ext-500-normal-CZ70TYgx.woff +0 -0
- package/dist/web/assets/ibm-plex-mono-vietnamese-400-normal-BulugwFq.woff2 +0 -0
- package/dist/web/assets/ibm-plex-mono-vietnamese-400-normal-DDuiU_S-.woff +0 -0
- package/dist/web/assets/ibm-plex-mono-vietnamese-500-normal-C8zxqsMH.woff +0 -0
- package/dist/web/assets/ibm-plex-mono-vietnamese-500-normal-DZ4AoWbu.woff2 +0 -0
- package/dist/web/assets/index-Djh-DSIT.js +10 -0
- package/dist/web/assets/index-Pd8oyXqS.css +1 -0
- package/dist/web/assets/jobs-BHawhnH2.js +1 -0
- package/dist/web/assets/listPlan-BXud7Oxv.js +1 -0
- package/dist/web/assets/marked.esm-CYtFtVHW.js +75 -0
- package/dist/web/assets/newsreader-latin-ext-opsz-italic-CSPGnFdO.woff2 +0 -0
- package/dist/web/assets/newsreader-latin-ext-opsz-normal-BQn1nviT.woff2 +0 -0
- package/dist/web/assets/newsreader-latin-opsz-italic-kJKFiXvB.woff2 +0 -0
- package/dist/web/assets/newsreader-latin-opsz-normal-s-izfB6B.woff2 +0 -0
- package/dist/web/assets/newsreader-vietnamese-opsz-italic-DTr-ymY4.woff2 +0 -0
- package/dist/web/assets/newsreader-vietnamese-opsz-normal-BjhtXyW2.woff2 +0 -0
- package/dist/web/assets/outside-CZs19WbV.css +1 -0
- package/dist/web/assets/outside-DaBM5h5B.js +2 -0
- package/dist/web/assets/paths-C8ESZJVU.js +1 -0
- package/dist/web/assets/prefs-BcNyBxxO.js +1 -0
- package/dist/web/assets/proof-BnPD-0Jr.css +1 -0
- package/dist/web/assets/proof-zOrlMTSg.js +2 -0
- package/dist/web/assets/purify.es-BQJV6A36.js +3 -0
- package/dist/web/assets/renderMarkdown-R9_GwOSq.js +1 -0
- package/dist/web/assets/scaffold-BHkqc62J.js +1 -0
- package/dist/web/assets/site-DJUEXLHW.js +1 -0
- package/dist/web/assets/sites-CGDZymBT.js +1 -0
- package/dist/web/assets/store-C95UZPFo.js +1 -0
- package/dist/web/assets/ui-C6O2tW4c.js +3 -0
- package/dist/web/assets/useBrand-DSAfWS_y.js +1 -0
- package/dist/web/assets/usePlugins-acEOSN5a.js +1 -0
- package/dist/web/assets/usePlugins-hom8Btua.css +1 -0
- package/dist/web/assets/useVisibility-B8cm5WkO.css +1 -0
- package/dist/web/assets/useVisibility-kpZhLMTT.js +3 -0
- package/dist/web/index.html +23 -0
- package/dist/web/theme.js +8 -0
- package/package.json +49 -3
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
// Vendored from @galley/astro 0.1.0 by scripts/vendor.mjs. Don't edit: run the script again to update.
|
|
2
|
+
// @ts-check
|
|
3
|
+
// The visibility data file — src/data/visibility.json unless the
|
|
4
|
+
// integration names another — read, checked and given its defaults. Every
|
|
5
|
+
// part can be switched off; with no file at all a site gets the safe
|
|
6
|
+
// defaults: markdown twins, llms.txt, llms-full.txt and the agent page on,
|
|
7
|
+
// structured data where the page's own facts allow it, robots.txt and
|
|
8
|
+
// sitemap.xml only when the site has none of its own, and no crawler
|
|
9
|
+
// blocked.
|
|
10
|
+
//
|
|
11
|
+
// {
|
|
12
|
+
// "site": { "name": "Ferrow", "summary": "One sentence about the site." },
|
|
13
|
+
// "crawlers": { "GPTBot": "block", "OAI-SearchBot": "allow" },
|
|
14
|
+
// "robots": { "disallow": ["/drafts/"] },
|
|
15
|
+
// "sitemap": { "exclude": ["/thanks/"], "lastmod": "content" },
|
|
16
|
+
// "structuredData": { "website": true, "organization": { "logo": "/images/logo.svg", "sameAs": [] },
|
|
17
|
+
// "articles": ["blog"], "breadcrumbs": true },
|
|
18
|
+
// "agentReadable": { "llmsTxt": true, "llmsFullTxt": true, "markdownTwins": true, "agentPage": true,
|
|
19
|
+
// "optional": ["/privacy/"], "exclude": [], "contact": "hello@example.com" }
|
|
20
|
+
// }
|
|
21
|
+
|
|
22
|
+
import { existsSync, readFileSync } from "node:fs";
|
|
23
|
+
import { join } from "node:path";
|
|
24
|
+
|
|
25
|
+
export const DEFAULT_FILE = "src/data/visibility.json";
|
|
26
|
+
/** llms-full.txt stops before this many bytes. */
|
|
27
|
+
export const FULL_MAX_BYTES = 1_000_000;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @typedef {object} VisibilitySettings
|
|
31
|
+
* @property {{ name: string; summary: string }} site
|
|
32
|
+
* @property {Record<string, "allow" | "block">} crawlers
|
|
33
|
+
* @property {{ enabled: boolean; disallow: string[]; allow: string[] }} robots
|
|
34
|
+
* @property {{ enabled: boolean; exclude: string[]; lastmod: "content" | "none" }} sitemap
|
|
35
|
+
* @property {{ website: boolean; organization: false | { name: string; logo: string; sameAs: string[]; email: string; telephone: string }; articles: "auto" | false | string[]; breadcrumbs: boolean }} structuredData
|
|
36
|
+
* @property {{ llmsTxt: boolean; llmsFullTxt: boolean; markdownTwins: boolean; agentPage: boolean; optional: string[]; exclude: string[]; contact: string; fullMaxBytes: number }} agentReadable
|
|
37
|
+
*/
|
|
38
|
+
|
|
39
|
+
export class VisibilityFileError extends Error {}
|
|
40
|
+
|
|
41
|
+
/** @returns {VisibilitySettings} */
|
|
42
|
+
export function defaultSettings() {
|
|
43
|
+
return {
|
|
44
|
+
site: { name: "", summary: "" },
|
|
45
|
+
crawlers: {},
|
|
46
|
+
robots: { enabled: true, disallow: [], allow: [] },
|
|
47
|
+
sitemap: { enabled: true, exclude: [], lastmod: "content" },
|
|
48
|
+
structuredData: { website: true, organization: { name: "", logo: "", sameAs: [], email: "", telephone: "" }, articles: "auto", breadcrumbs: true },
|
|
49
|
+
agentReadable: { llmsTxt: true, llmsFullTxt: true, markdownTwins: true, agentPage: true, optional: [], exclude: [], contact: "", fullMaxBytes: FULL_MAX_BYTES },
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/** A robots.txt product token (RFC 9309: letters, "_" and "-"); digits are accepted as crawlers use them. */
|
|
54
|
+
const TOKEN = /^[A-Za-z0-9_-]+$/;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* The file's contents with defaults applied. Throws a VisibilityFileError
|
|
58
|
+
* listing every problem, in plain words, when something can't be used.
|
|
59
|
+
*
|
|
60
|
+
* @param {unknown} raw
|
|
61
|
+
* @param {string} [file] For the messages.
|
|
62
|
+
* @returns {VisibilitySettings}
|
|
63
|
+
*/
|
|
64
|
+
export function normalizeSettings(raw, file = DEFAULT_FILE) {
|
|
65
|
+
const out = defaultSettings();
|
|
66
|
+
/** @type {string[]} */
|
|
67
|
+
const problems = [];
|
|
68
|
+
|
|
69
|
+
if (raw === undefined || raw === null) return out;
|
|
70
|
+
if (typeof raw !== "object" || Array.isArray(raw)) throw new VisibilityFileError(`${file} must hold an object, like { "crawlers": { "GPTBot": "block" } }.`);
|
|
71
|
+
const data = /** @type {Record<string, unknown>} */ (raw);
|
|
72
|
+
const known = new Set(["$schema", "site", "crawlers", "robots", "sitemap", "structuredData", "agentReadable"]);
|
|
73
|
+
|
|
74
|
+
for (const key of Object.keys(data)) if (!known.has(key)) problems.push(`“${key}” isn't a setting this kit knows (it reads site, crawlers, robots, sitemap, structuredData and agentReadable).`);
|
|
75
|
+
/** @param {unknown} value @param {string} at */
|
|
76
|
+
const section = (value, at) => {
|
|
77
|
+
if (value === undefined) return null;
|
|
78
|
+
if (value === false) return false;
|
|
79
|
+
if (value === true) return {};
|
|
80
|
+
if (typeof value === "object" && value !== null && !Array.isArray(value)) return /** @type {Record<string, unknown>} */ (value);
|
|
81
|
+
problems.push(`${at} should be an object of settings, or false to turn it off.`);
|
|
82
|
+
return null;
|
|
83
|
+
};
|
|
84
|
+
/** @param {Record<string, unknown>} from @param {string} key @param {string} at @param {boolean} fallback */
|
|
85
|
+
const bool = (from, key, at, fallback) => {
|
|
86
|
+
const value = from[key];
|
|
87
|
+
|
|
88
|
+
if (value === undefined) return fallback;
|
|
89
|
+
if (typeof value === "boolean") return value;
|
|
90
|
+
problems.push(`${at}.${key} should be true or false.`);
|
|
91
|
+
return fallback;
|
|
92
|
+
};
|
|
93
|
+
/** @param {Record<string, unknown>} from @param {string} key @param {string} at */
|
|
94
|
+
const text = (from, key, at) => {
|
|
95
|
+
const value = from[key];
|
|
96
|
+
|
|
97
|
+
if (value === undefined || value === null) return "";
|
|
98
|
+
if (typeof value === "string") return value.trim();
|
|
99
|
+
problems.push(`${at}.${key} should be text.`);
|
|
100
|
+
return "";
|
|
101
|
+
};
|
|
102
|
+
/** @param {Record<string, unknown>} from @param {string} key @param {string} at @param {boolean} [paths] */
|
|
103
|
+
const list = (from, key, at, paths = false) => {
|
|
104
|
+
const value = from[key];
|
|
105
|
+
|
|
106
|
+
if (value === undefined) return [];
|
|
107
|
+
if (!Array.isArray(value) || value.some((item) => typeof item !== "string")) {
|
|
108
|
+
problems.push(`${at}.${key} should be a list of ${paths ? "addresses on the site, like \"/thanks/\"" : "texts"}.`);
|
|
109
|
+
return [];
|
|
110
|
+
}
|
|
111
|
+
const items = /** @type {string[]} */ (value).map((item) => item.trim()).filter(Boolean);
|
|
112
|
+
|
|
113
|
+
if (paths) for (const item of items) if (!item.startsWith("/")) problems.push(`${at}.${key}: “${item}” should start with “/” (an address on the site, without the domain).`);
|
|
114
|
+
return items;
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
const site = section(data.site, "site");
|
|
118
|
+
|
|
119
|
+
if (site) out.site = { name: text(site, "name", "site"), summary: text(site, "summary", "site") };
|
|
120
|
+
|
|
121
|
+
if (data.crawlers !== undefined) {
|
|
122
|
+
if (typeof data.crawlers !== "object" || data.crawlers === null || Array.isArray(data.crawlers)) problems.push('crawlers should map a crawler\'s name to "allow" or "block", like { "GPTBot": "block" }.');
|
|
123
|
+
else {
|
|
124
|
+
for (const [token, choice] of Object.entries(data.crawlers)) {
|
|
125
|
+
if (!TOKEN.test(token)) problems.push(`crawlers: “${token}” isn't a crawler name robots.txt can use (letters, digits, “-” and “_” only).`);
|
|
126
|
+
else if (choice !== "allow" && choice !== "block") problems.push(`crawlers.${token} should be "allow" or "block".`);
|
|
127
|
+
else out.crawlers[token] = choice;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
const robots = section(data.robots, "robots");
|
|
133
|
+
|
|
134
|
+
if (robots === false) out.robots.enabled = false;
|
|
135
|
+
else if (robots) out.robots = { enabled: bool(robots, "enabled", "robots", true), disallow: list(robots, "disallow", "robots", true), allow: list(robots, "allow", "robots", true) };
|
|
136
|
+
|
|
137
|
+
const sitemap = section(data.sitemap, "sitemap");
|
|
138
|
+
|
|
139
|
+
if (sitemap === false) out.sitemap.enabled = false;
|
|
140
|
+
else if (sitemap) {
|
|
141
|
+
const lastmod = sitemap.lastmod ?? "content";
|
|
142
|
+
|
|
143
|
+
if (lastmod !== "content" && lastmod !== "none") problems.push('sitemap.lastmod should be "content" (dates the pages state) or "none".');
|
|
144
|
+
out.sitemap = { enabled: bool(sitemap, "enabled", "sitemap", true), exclude: list(sitemap, "exclude", "sitemap", true), lastmod: lastmod === "none" ? "none" : "content" };
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
const structured = section(data.structuredData, "structuredData");
|
|
148
|
+
|
|
149
|
+
if (structured === false) out.structuredData = { website: false, organization: false, articles: false, breadcrumbs: false };
|
|
150
|
+
else if (structured) {
|
|
151
|
+
const organization = section(structured.organization, "structuredData.organization");
|
|
152
|
+
const articles = structured.articles;
|
|
153
|
+
|
|
154
|
+
out.structuredData = {
|
|
155
|
+
website: bool(structured, "website", "structuredData", true),
|
|
156
|
+
organization:
|
|
157
|
+
organization === false
|
|
158
|
+
? false
|
|
159
|
+
: {
|
|
160
|
+
name: organization ? text(organization, "name", "structuredData.organization") : "",
|
|
161
|
+
logo: organization ? text(organization, "logo", "structuredData.organization") : "",
|
|
162
|
+
sameAs: organization ? list(organization, "sameAs", "structuredData.organization") : [],
|
|
163
|
+
email: organization ? text(organization, "email", "structuredData.organization") : "",
|
|
164
|
+
telephone: organization ? text(organization, "telephone", "structuredData.organization") : "",
|
|
165
|
+
},
|
|
166
|
+
articles: articles === undefined || articles === true || articles === "auto" ? "auto" : articles === false ? false : Array.isArray(articles) && articles.every((item) => typeof item === "string") ? articles.map((item) => item.trim()).filter(Boolean) : "auto",
|
|
167
|
+
breadcrumbs: bool(structured, "breadcrumbs", "structuredData", true),
|
|
168
|
+
};
|
|
169
|
+
if (!(articles === undefined || typeof articles === "boolean" || articles === "auto" || (Array.isArray(articles) && articles.every((item) => typeof item === "string")))) {
|
|
170
|
+
problems.push('structuredData.articles should list collections (like ["blog"]) or addresses (like ["/news/*"]), or be "auto" or false.');
|
|
171
|
+
}
|
|
172
|
+
if (out.structuredData.organization) {
|
|
173
|
+
for (const link of out.structuredData.organization.sameAs) if (!/^https?:\/\/\S+$/i.test(link)) problems.push(`structuredData.organization.sameAs: “${link}” should be a full address starting with https://.`);
|
|
174
|
+
const logo = out.structuredData.organization.logo;
|
|
175
|
+
|
|
176
|
+
if (logo && !logo.startsWith("/") && !/^https?:\/\//i.test(logo)) problems.push(`structuredData.organization.logo: “${logo}” should be an address on the site (like "/images/logo.png") or a full address.`);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
const agent = section(data.agentReadable, "agentReadable");
|
|
181
|
+
|
|
182
|
+
if (agent === false) out.agentReadable = { ...out.agentReadable, llmsTxt: false, llmsFullTxt: false, markdownTwins: false, agentPage: false };
|
|
183
|
+
else if (agent) {
|
|
184
|
+
const max = agent.fullMaxBytes;
|
|
185
|
+
|
|
186
|
+
if (max !== undefined && (typeof max !== "number" || !Number.isInteger(max) || max < 10_000)) problems.push("agentReadable.fullMaxBytes should be a whole number of bytes, at least 10000.");
|
|
187
|
+
out.agentReadable = {
|
|
188
|
+
llmsTxt: bool(agent, "llmsTxt", "agentReadable", true),
|
|
189
|
+
llmsFullTxt: bool(agent, "llmsFullTxt", "agentReadable", true),
|
|
190
|
+
markdownTwins: bool(agent, "markdownTwins", "agentReadable", true),
|
|
191
|
+
agentPage: bool(agent, "agentPage", "agentReadable", true),
|
|
192
|
+
optional: list(agent, "optional", "agentReadable", true),
|
|
193
|
+
exclude: list(agent, "exclude", "agentReadable", true),
|
|
194
|
+
contact: text(agent, "contact", "agentReadable"),
|
|
195
|
+
fullMaxBytes: typeof max === "number" && Number.isInteger(max) && max >= 10_000 ? max : FULL_MAX_BYTES,
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
if (problems.length) {
|
|
199
|
+
throw new VisibilityFileError(`${file} has ${problems.length === 1 ? "a problem" : `${problems.length} problems`}:\n${problems.map((line) => ` - ${line}`).join("\n")}`);
|
|
200
|
+
}
|
|
201
|
+
return out;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* The site's visibility file, read and checked (defaults when there is none).
|
|
206
|
+
*
|
|
207
|
+
* @param {string} root The site's folder.
|
|
208
|
+
* @param {string} [file]
|
|
209
|
+
* @returns {{ settings: VisibilitySettings; exists: boolean }}
|
|
210
|
+
*/
|
|
211
|
+
export function readSettings(root, file = DEFAULT_FILE) {
|
|
212
|
+
const path = join(root, file);
|
|
213
|
+
|
|
214
|
+
if (!existsSync(path)) return { settings: defaultSettings(), exists: false };
|
|
215
|
+
let raw;
|
|
216
|
+
|
|
217
|
+
try {
|
|
218
|
+
raw = JSON.parse(readFileSync(path, "utf8"));
|
|
219
|
+
} catch (error) {
|
|
220
|
+
throw new VisibilityFileError(`${file} can't be read as JSON (${error instanceof Error ? error.message : String(error)}). Fix the file, or remove it to use the defaults.`);
|
|
221
|
+
}
|
|
222
|
+
return { settings: normalizeSettings(raw, file), exists: true };
|
|
223
|
+
}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
// Vendored from @galley/astro 0.1.0 by scripts/vendor.mjs. Don't edit: run the script again to update.
|
|
2
|
+
// @ts-check
|
|
3
|
+
// What the site's content files say that a rendered page can't: which
|
|
4
|
+
// collection a page belongs to (for "articles": ["blog"]), which entries
|
|
5
|
+
// are drafts (so a dev server that shows drafts still never lists them), and
|
|
6
|
+
// each entry's date, for a page whose HTML doesn't state it.
|
|
7
|
+
//
|
|
8
|
+
// Addresses come from galley.config.json's collection `url` patterns when
|
|
9
|
+
// the site has one ("/blog/{slug}/"), else the folder name ("/blog/{slug}/";
|
|
10
|
+
// "pages" is "/{slug}/"). Drafts are entries whose front matter (or JSON /
|
|
11
|
+
// YAML) sets the collection's draft field — "draft" unless galley.config.json
|
|
12
|
+
// names another — to true. Dates come from the collection's dateField in
|
|
13
|
+
// galley.config.json, else `date`, `pubDate`, `publishDate` or `published`,
|
|
14
|
+
// written as an ISO date ("2026-08-20", "2026-08-20T09:00:00Z"). Read with
|
|
15
|
+
// plain text matching, so the kit needs no YAML parser; a field written some
|
|
16
|
+
// other way is simply not seen.
|
|
17
|
+
|
|
18
|
+
import { existsSync, readdirSync, readFileSync, statSync } from "node:fs";
|
|
19
|
+
import { join, relative } from "node:path";
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @typedef {object} SiteContent
|
|
23
|
+
* @property {string} name galley.config.json's `name`, when there is one.
|
|
24
|
+
* @property {Record<string, string>} patterns collection id → address pattern, e.g. "/blog/{slug}/".
|
|
25
|
+
* @property {string[]} drafts Addresses (without the base) of draft entries.
|
|
26
|
+
* @property {Record<string, string>} dates Address (without the base) → the entry's date, as written.
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
const ENTRY = /\.(md|mdx|markdown|mdoc|json|ya?ml)$/i;
|
|
30
|
+
|
|
31
|
+
/** @param {string} dir @returns {string[]} */
|
|
32
|
+
function files(dir) {
|
|
33
|
+
/** @type {string[]} */
|
|
34
|
+
const out = [];
|
|
35
|
+
/** @param {string} at */
|
|
36
|
+
const walk = (at) => {
|
|
37
|
+
for (const name of readdirSync(at).sort()) {
|
|
38
|
+
if (name.startsWith(".") || name.startsWith("_")) continue;
|
|
39
|
+
const path = join(at, name);
|
|
40
|
+
const info = statSync(path);
|
|
41
|
+
|
|
42
|
+
if (info.isDirectory()) walk(path);
|
|
43
|
+
else if (ENTRY.test(name)) out.push(path);
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
walk(dir);
|
|
48
|
+
return out;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/** Whether a content file sets `field` to true. */
|
|
52
|
+
export function isDraft(/** @type {string} */ text, /** @type {string} */ file, field = "draft") {
|
|
53
|
+
const key = field.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
54
|
+
|
|
55
|
+
if (/\.json$/i.test(file)) {
|
|
56
|
+
try {
|
|
57
|
+
const data = JSON.parse(text);
|
|
58
|
+
|
|
59
|
+
return Boolean(data && typeof data === "object" && data[field] === true);
|
|
60
|
+
} catch {
|
|
61
|
+
return false;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
const yaml = /\.ya?ml$/i.test(file) ? text : /^---\r?\n([\s\S]*?)\r?\n---/.exec(text)?.[1] ?? "";
|
|
65
|
+
|
|
66
|
+
return new RegExp(`^${key}\\s*:\\s*(true|yes|on)\\s*(#.*)?$`, "mi").test(yaml);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
const DATE_KEYS = ["date", "pubDate", "publishDate", "published"];
|
|
70
|
+
const ISO_DATE = /^\d{4}-\d{2}-\d{2}(?:[T ][\d:.]+(?:Z|[+-]\d{2}:?\d{2})?)?$/;
|
|
71
|
+
|
|
72
|
+
/** The entry's date, as written, when it is an ISO date. */
|
|
73
|
+
export function entryDate(/** @type {string} */ text, /** @type {string} */ file, /** @type {string[]} */ keys) {
|
|
74
|
+
if (/\.json$/i.test(file)) {
|
|
75
|
+
try {
|
|
76
|
+
const data = JSON.parse(text);
|
|
77
|
+
|
|
78
|
+
for (const key of keys) if (typeof data?.[key] === "string" && ISO_DATE.test(data[key].trim())) return data[key].trim();
|
|
79
|
+
} catch {
|
|
80
|
+
return "";
|
|
81
|
+
}
|
|
82
|
+
return "";
|
|
83
|
+
}
|
|
84
|
+
const yaml = /\.ya?ml$/i.test(file) ? text : /^---\r?\n([\s\S]*?)\r?\n---/.exec(text)?.[1] ?? "";
|
|
85
|
+
|
|
86
|
+
for (const key of keys) {
|
|
87
|
+
const match = new RegExp(`^${key.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")}\\s*:\\s*["']?([^"'#\\r\\n]+?)["']?\\s*(#.*)?$`, "m").exec(yaml);
|
|
88
|
+
const value = match?.[1]?.trim() ?? "";
|
|
89
|
+
|
|
90
|
+
if (ISO_DATE.test(value)) return value;
|
|
91
|
+
}
|
|
92
|
+
return "";
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/** An entry's slug from its file: "blog/first-post.md" → "first-post"; "guides/setup/index.md" → "guides/setup". */
|
|
96
|
+
function slugOf(/** @type {string} */ path) {
|
|
97
|
+
const bare = path.replace(/\\/g, "/").replace(ENTRY, "");
|
|
98
|
+
|
|
99
|
+
return bare.endsWith("/index") ? bare.slice(0, -"/index".length) : bare === "index" ? "" : bare;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/** An address pattern as a path: "/blog/{slug}/" with slug "x" → "/blog/x/". */
|
|
103
|
+
export function fillPattern(/** @type {string} */ pattern, /** @type {string} */ slug) {
|
|
104
|
+
const filled = pattern.replace(/\{[^}]+\}/g, slug.toLowerCase());
|
|
105
|
+
|
|
106
|
+
return filled.replace(/\/{2,}/g, "/") || "/";
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/** An address pattern as a glob for one level of entries: "/blog/{slug}/" → "/blog/*". */
|
|
110
|
+
export function patternGlob(/** @type {string} */ pattern) {
|
|
111
|
+
return pattern.replace(/\{[^}]+\}/g, "*").replace(/\/+$/, "") || "/";
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* @param {string} root The site's folder.
|
|
116
|
+
* @returns {SiteContent}
|
|
117
|
+
*/
|
|
118
|
+
export function readSiteContent(root) {
|
|
119
|
+
/** @type {SiteContent} */
|
|
120
|
+
const out = { name: "", patterns: {}, drafts: [], dates: {} };
|
|
121
|
+
/** @type {Record<string, string>} */
|
|
122
|
+
const draftFields = {};
|
|
123
|
+
/** @type {Record<string, string>} */
|
|
124
|
+
const dateFields = {};
|
|
125
|
+
const configPath = join(root, "galley.config.json");
|
|
126
|
+
/** @type {Set<string>} */
|
|
127
|
+
const pageless = new Set();
|
|
128
|
+
|
|
129
|
+
if (existsSync(configPath)) {
|
|
130
|
+
try {
|
|
131
|
+
const config = JSON.parse(readFileSync(configPath, "utf8"));
|
|
132
|
+
|
|
133
|
+
if (typeof config?.name === "string") out.name = config.name.trim();
|
|
134
|
+
for (const collection of Array.isArray(config?.collections) ? config.collections : []) {
|
|
135
|
+
if (typeof collection?.id !== "string") continue;
|
|
136
|
+
if (typeof collection.url === "string" && collection.url.startsWith("/")) out.patterns[collection.id] = collection.url;
|
|
137
|
+
else if (collection.url === null) pageless.add(collection.id);
|
|
138
|
+
if (typeof collection.draftField === "string") draftFields[collection.id] = collection.draftField;
|
|
139
|
+
if (typeof collection.dateField === "string") dateFields[collection.id] = collection.dateField;
|
|
140
|
+
}
|
|
141
|
+
} catch {
|
|
142
|
+
// The app reports a broken galley.config.json; here it only means no patterns.
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
const contentDir = join(root, "src", "content");
|
|
146
|
+
|
|
147
|
+
if (!existsSync(contentDir)) return out;
|
|
148
|
+
for (const id of readdirSync(contentDir).sort()) {
|
|
149
|
+
const dir = join(contentDir, id);
|
|
150
|
+
|
|
151
|
+
if (!statSync(dir).isDirectory() || pageless.has(id)) continue;
|
|
152
|
+
const pattern = out.patterns[id] ?? (id === "pages" ? "/{slug}/" : `/${id}/{slug}/`);
|
|
153
|
+
|
|
154
|
+
for (const file of files(dir)) {
|
|
155
|
+
let text = "";
|
|
156
|
+
|
|
157
|
+
try {
|
|
158
|
+
text = readFileSync(file, "utf8");
|
|
159
|
+
} catch {
|
|
160
|
+
continue;
|
|
161
|
+
}
|
|
162
|
+
const slug = slugOf(relative(dir, file));
|
|
163
|
+
const address = id === "pages" && (slug === "index" || slug === "") ? "/" : fillPattern(pattern, slug);
|
|
164
|
+
|
|
165
|
+
if (isDraft(text, file, draftFields[id] ?? "draft")) {
|
|
166
|
+
out.drafts.push(address);
|
|
167
|
+
continue;
|
|
168
|
+
}
|
|
169
|
+
const date = entryDate(text, file, dateFields[id] ? [dateFields[id]] : DATE_KEYS);
|
|
170
|
+
|
|
171
|
+
if (date) out.dates[address] = date;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
out.drafts.sort();
|
|
175
|
+
return out;
|
|
176
|
+
}
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
// Vendored from @galley/astro 0.1.0 by scripts/vendor.mjs. Don't edit: run the script again to update.
|
|
2
|
+
// @ts-check
|
|
3
|
+
// The AI crawlers a site can allow or block one by one, from each provider's
|
|
4
|
+
// own documentation (read 23 November 2026 — the links are in `docs`). The
|
|
5
|
+
// shape matches the app's catalogue (packages/core/src/seo/robots.ts,
|
|
6
|
+
// CrawlerInfo) so the app can show the same words: what it is, what it is
|
|
7
|
+
// for, and what the provider says blocking it does.
|
|
8
|
+
//
|
|
9
|
+
// `purpose`:
|
|
10
|
+
// "training" collects pages that may be used to train AI models
|
|
11
|
+
// "dataset" builds an open archive others train on
|
|
12
|
+
// "search" finds pages to show and cite in an AI assistant's answers
|
|
13
|
+
// "user" fetches a page because a person asked an assistant to
|
|
14
|
+
// `crawls: false` marks a control token: the provider reads its rules but
|
|
15
|
+
// fetches nothing under that name.
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @typedef {object} AiCrawler
|
|
19
|
+
* @property {string} token The robots.txt user-agent token.
|
|
20
|
+
* @property {string} vendor
|
|
21
|
+
* @property {string} label
|
|
22
|
+
* @property {"training" | "dataset" | "search" | "user"} purpose
|
|
23
|
+
* @property {boolean} crawls
|
|
24
|
+
* @property {string} what
|
|
25
|
+
* @property {string} ifBlocked
|
|
26
|
+
* @property {string} [caveat]
|
|
27
|
+
* @property {string} docs
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
const OPENAI = "https://developers.openai.com/api/docs/bots";
|
|
31
|
+
const ANTHROPIC = "https://support.claude.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler";
|
|
32
|
+
const PERPLEXITY = "https://docs.perplexity.ai/guides/bots";
|
|
33
|
+
|
|
34
|
+
/** @type {readonly AiCrawler[]} */
|
|
35
|
+
export const AI_CRAWLERS = Object.freeze([
|
|
36
|
+
{
|
|
37
|
+
token: "GPTBot",
|
|
38
|
+
vendor: "OpenAI",
|
|
39
|
+
label: "OpenAI's training crawler",
|
|
40
|
+
purpose: "training",
|
|
41
|
+
crawls: true,
|
|
42
|
+
what: "Collects pages that may be used to train OpenAI's models.",
|
|
43
|
+
ifBlocked: "OpenAI says the site's content shouldn't be used to train its models.",
|
|
44
|
+
docs: OPENAI,
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
token: "OAI-SearchBot",
|
|
48
|
+
vendor: "OpenAI",
|
|
49
|
+
label: "ChatGPT's search crawler",
|
|
50
|
+
purpose: "search",
|
|
51
|
+
crawls: true,
|
|
52
|
+
what: "Finds pages to show and link in ChatGPT's search answers.",
|
|
53
|
+
ifBlocked: "OpenAI says the site isn't shown in ChatGPT search answers (it may still appear as a plain link).",
|
|
54
|
+
docs: OPENAI,
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
token: "ChatGPT-User",
|
|
58
|
+
vendor: "OpenAI",
|
|
59
|
+
label: "ChatGPT fetching a page for someone",
|
|
60
|
+
purpose: "user",
|
|
61
|
+
crawls: true,
|
|
62
|
+
what: "Visits a page when a person asks ChatGPT something that needs it.",
|
|
63
|
+
ifBlocked: "ChatGPT may not open the page for the person who asked.",
|
|
64
|
+
caveat: "OpenAI says robots rules may not apply, because a person started the visit.",
|
|
65
|
+
docs: OPENAI,
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
token: "ClaudeBot",
|
|
69
|
+
vendor: "Anthropic",
|
|
70
|
+
label: "Anthropic's training crawler",
|
|
71
|
+
purpose: "training",
|
|
72
|
+
crawls: true,
|
|
73
|
+
what: "Collects pages that may be used to train Anthropic's models.",
|
|
74
|
+
ifBlocked: "Anthropic says the site's future pages are left out of its training data.",
|
|
75
|
+
docs: ANTHROPIC,
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
token: "Claude-SearchBot",
|
|
79
|
+
vendor: "Anthropic",
|
|
80
|
+
label: "Claude's search crawler",
|
|
81
|
+
purpose: "search",
|
|
82
|
+
crawls: true,
|
|
83
|
+
what: "Reads pages to improve the search results Claude gives.",
|
|
84
|
+
ifBlocked: "Anthropic says the site isn't indexed for Claude's search, which may reduce its visibility there.",
|
|
85
|
+
docs: ANTHROPIC,
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
token: "Claude-User",
|
|
89
|
+
vendor: "Anthropic",
|
|
90
|
+
label: "Claude fetching a page for someone",
|
|
91
|
+
purpose: "user",
|
|
92
|
+
crawls: true,
|
|
93
|
+
what: "Visits a page when a person asks Claude something that needs it.",
|
|
94
|
+
ifBlocked: "Claude can't open the page for the person who asked.",
|
|
95
|
+
docs: ANTHROPIC,
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
token: "PerplexityBot",
|
|
99
|
+
vendor: "Perplexity",
|
|
100
|
+
label: "Perplexity's search crawler",
|
|
101
|
+
purpose: "search",
|
|
102
|
+
crawls: true,
|
|
103
|
+
what: "Finds pages to show and link in Perplexity's answers. Perplexity says it isn't used to train models.",
|
|
104
|
+
ifBlocked: "The site isn't surfaced in Perplexity's search results.",
|
|
105
|
+
docs: PERPLEXITY,
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
token: "Perplexity-User",
|
|
109
|
+
vendor: "Perplexity",
|
|
110
|
+
label: "Perplexity fetching a page for someone",
|
|
111
|
+
purpose: "user",
|
|
112
|
+
crawls: true,
|
|
113
|
+
what: "Visits a page when a person asks Perplexity something that needs it.",
|
|
114
|
+
ifBlocked: "Usually nothing: Perplexity says this fetcher generally ignores robots.txt.",
|
|
115
|
+
caveat: "Perplexity says it generally ignores robots.txt, because a person started the visit.",
|
|
116
|
+
docs: PERPLEXITY,
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
token: "Google-Extended",
|
|
120
|
+
vendor: "Google",
|
|
121
|
+
label: "Google's Gemini training control",
|
|
122
|
+
purpose: "training",
|
|
123
|
+
crawls: false,
|
|
124
|
+
what: "Not a crawler: a setting Google reads to decide whether pages it crawls may train Gemini models and ground Gemini answers.",
|
|
125
|
+
ifBlocked: "Google says it doesn't affect inclusion or ranking in Google Search. AI Overviews and AI Mode are part of Search and follow Googlebot.",
|
|
126
|
+
docs: "https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers",
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
token: "Applebot-Extended",
|
|
130
|
+
vendor: "Apple",
|
|
131
|
+
label: "Apple's AI training control",
|
|
132
|
+
purpose: "training",
|
|
133
|
+
crawls: false,
|
|
134
|
+
what: "Not a crawler: a setting Apple reads to decide whether pages Applebot crawled may train its foundation models.",
|
|
135
|
+
ifBlocked: "Apple says the pages can still appear in Spotlight, Siri and Safari search, and ranking isn't affected.",
|
|
136
|
+
docs: "https://support.apple.com/en-us/119829",
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
token: "CCBot",
|
|
140
|
+
vendor: "Common Crawl",
|
|
141
|
+
label: "Common Crawl's crawler",
|
|
142
|
+
purpose: "dataset",
|
|
143
|
+
crawls: true,
|
|
144
|
+
what: "Builds an open archive of the web that anyone can download — widely used as AI training data by others.",
|
|
145
|
+
ifBlocked: "New crawls leave the site out of the archive; copies already published stay.",
|
|
146
|
+
docs: "https://commoncrawl.org/ccbot",
|
|
147
|
+
},
|
|
148
|
+
]);
|
|
149
|
+
|
|
150
|
+
/** The words robots.txt comments use for each purpose. */
|
|
151
|
+
export const PURPOSE_NOTES = Object.freeze({
|
|
152
|
+
training: "AI training: collects pages that may be used to train AI models",
|
|
153
|
+
dataset: "Open web archive, widely reused as AI training data",
|
|
154
|
+
search: "AI search: finds pages to show and cite in an assistant's answers",
|
|
155
|
+
user: "Fetches a page when a person asks an assistant to",
|
|
156
|
+
control: "AI training: decides whether pages already crawled may train AI models",
|
|
157
|
+
});
|
|
158
|
+
|
|
159
|
+
/** @param {string} token */
|
|
160
|
+
export function aiCrawler(token) {
|
|
161
|
+
const wanted = token.toLowerCase();
|
|
162
|
+
|
|
163
|
+
return AI_CRAWLERS.find((crawler) => crawler.token.toLowerCase() === wanted);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* One plain sentence about a policy: "Blocks AI training (GPTBot, CCBot); allows AI search (OAI-SearchBot)."
|
|
168
|
+
*
|
|
169
|
+
* @param {Record<string, "allow" | "block">} choices
|
|
170
|
+
*/
|
|
171
|
+
export function describePolicy(choices) {
|
|
172
|
+
/** @type {Record<string, string[]>} */
|
|
173
|
+
const groups = {};
|
|
174
|
+
|
|
175
|
+
for (const [token, choice] of Object.entries(choices)) {
|
|
176
|
+
const purpose = aiCrawler(token)?.purpose ?? "other";
|
|
177
|
+
const kind = purpose === "dataset" ? "training" : purpose;
|
|
178
|
+
const key = `${choice} ${kind}`;
|
|
179
|
+
|
|
180
|
+
(groups[key] ??= []).push(aiCrawler(token)?.token ?? token);
|
|
181
|
+
}
|
|
182
|
+
const words = /** @type {Record<string, string>} */ ({ training: "AI training", search: "AI search", user: "fetches for a person", other: "other crawlers" });
|
|
183
|
+
const parts = Object.entries(groups)
|
|
184
|
+
.sort(([a], [b]) => (a.startsWith("block") === b.startsWith("block") ? a.localeCompare(b) : a.startsWith("block") ? -1 : 1))
|
|
185
|
+
.map(([key, tokens]) => {
|
|
186
|
+
const [choice = "", kind = ""] = key.split(" ");
|
|
187
|
+
|
|
188
|
+
return `${choice === "block" ? "blocks" : "allows"} ${words[kind] ?? kind} (${tokens.join(", ")})`;
|
|
189
|
+
});
|
|
190
|
+
|
|
191
|
+
if (parts.length === 0) return "No AI crawler is named, so every crawler follows the site-wide rules.";
|
|
192
|
+
const sentence = parts.join("; ");
|
|
193
|
+
|
|
194
|
+
return `${sentence.charAt(0).toUpperCase()}${sentence.slice(1)}.`;
|
|
195
|
+
}
|