Skip to content
New: Customize your theme with an AI assistant. Read the guide

File Structure

Veltro separates route composition, content, configuration, and reusable UI. This is the Astro edition. The Tina and Sanity editions have the same layout, with the differences listed below.

  • Directoryveltro/
    • Directory.cursor/
      • Directoryrules/
        • theme-architecture.mdc (AI: Cursor)
    • Directory.github/
      • copilot-instructions.md (AI: GitHub Copilot)
    • Directory.windsurf/
      • Directoryrules/
        • theme-architecture.md (AI: Windsurf)
    • AGENTS.md (AI: the main instructions)
    • CLAUDE.md (AI: Claude Code)
    • GEMINI.md (AI: Gemini CLI)
    • SKILLS.md (AI: step-by-step recipes)
    • CHANGELOG.md
    • README.md
    • astro.config.mjs
    • netlify.toml
    • package.json
    • package-lock.json
    • tsconfig.json
    • vercel.json
    • vercel.sh
    • wrangler.toml
    • … (editor, formatter, and test settings)
    • Directorypublic/
      • .htaccess
      • _headers
      • company-desk.pdf
      • Directoryimages/
        • …
      • Directoryvideos/
        • …
    • Directoryscripts/
      • generate-favicons.mjs
      • generate-multilingual-content.mjs
      • remove-draft-from-sitemap.mjs
      • remove-multilingual.mjs
      • toml-watcher.mjs
    • Directorysrc/
      • Directoryassets/
        • Directoryimages/
          • …
      • Directoryconfig/
        • config.toml
        • fonts.json
        • language.json
        • menu.en.json
        • menu.fr.json
        • menu.ar.json
        • social.json
      • Directorycontent/
        • Directoryabout/
          • …
        • Directoryauthor/
          • …
        • Directoryawards/
          • …
        • Directoryblog/
          • Directoryenglish/
            • …
          • Directoryfrench/
            • …
          • Directoryarabic/
            • …
        • Directorycareers/
          • …
        • Directorycase-studies/
          • …
        • Directorycontact/
          • …
        • Directoryfaq/
          • …
        • Directoryhomepage/
          • …
        • Directoryindustries/
          • …
        • Directorypages/
          • …
        • Directoryportfolio/
          • …
        • Directorypricing/
          • …
        • Directorysections/
          • …
        • Directoryservices/
          • …
        • Directoryteam/
          • …
        • Directorytestimonial/
          • …
      • Directoryi18n/
        • en.json
        • fr.json
        • ar.json
      • Directorylayouts/
        • Base.astro
        • Directorycomponents/
          • Directorycards/
            • …
          • Directoryglobal/
            • Directoryfooter/
              • …
            • Directoryheader/
              • …
          • Directorysections/
            • …
          • Directoryseo/
            • …
          • Directoryutilities/
            • …
          • Directorywidgets/
            • …
        • Directoryhelpers/
          • …
        • Directoryshortcodes/
          • …
      • Directorylib/
        • Directoryintegrations/
          • …
        • Directoryutils/
          • …
      • Directorypages/
        • Directory[…lang]/
          • …
        • […path].md.ts
        • 404.astro
        • robots.txt.ts
      • Directoryplugins/
        • …
      • Directorystyles/
        • rtl.css
        • theme.css
        • …
      • Directorytypes/
        • …
      • content.config.ts
      • sections.schema.ts

Every folder in src/content/ has english/, french/, and arabic/ inside it, as blog/ shows. src/pages/[...lang]/ also holds the llms.txt.ts and llms-full.txt.ts routes.

The AI Files

FileRead by
AGENTS.mdOpenAI Codex, and the tools below, for the main rules
SKILLS.mdAny assistant: step-by-step recipes for common jobs
CLAUDE.mdClaude Code, which imports AGENTS.md
GEMINI.mdGemini CLI, which imports AGENTS.md
.github/copilot-instructions.mdGitHub Copilot
.cursor/rules/theme-architecture.mdcCursor
.windsurf/rules/theme-architecture.mdWindsurf

What Differs By Edition

Tina adds:

  • tina/: the editor’s setup, its forms in tina/generated/collections.json, and tina/tina-lock.json
  • scripts/tina/ and scripts/cms/: the scripts behind npm run dev, npm run build, and the editor
  • src/layouts/components/tina/ and src/lib/tina/: the live preview
  • .env.example, which lists every optional setting

Everything else is the same, except that some content files are .mdx where the Astro edition has .md: the privacy policy, the terms, and the -index of blog, services, portfolio, case studies, and industries.

Sanity adds:

  • sanity.config.ts, sanity.cli.ts, and sanity/: your Studio, and sanity/seed/demo-content.json, the bundled demo content
  • scripts/sanity/: setup, import, and preview scripts
  • src/lib/sanity/, src/sanity-routes/, and src/middleware.ts: how the site reads your project, and draft preview
  • .env.example, which explains every variable

The Sanity edition doesn’t have src/content/, src/config/menu.<lang>.json, or src/i18n/. That content is in your Sanity project. src/config/config.toml holds the defaults for Site settings, and the few settings that stay in code.

Files You Will Edit Most Often

  • src/config/config.toml: site identity, SEO, AI files, content folder names, forms, languages, smooth scrolling, cursor, header action, contact details, and footer settings
  • src/config/menu.<lang>.json: header, mega menu, footer columns, and legal links
  • src/config/fonts.json: font families and variants
  • src/styles/theme.css: Tailwind CSS 4 design tokens, breakpoints, type scale, radii, and colors
  • src/i18n/<lang>.json: shared interface text
  • src/content/sections/<language>/: reusable section content
  • src/pages/[...lang]/: routes and section order

Organization Rule

  • src/pages/... decides which sections render and in what order
  • src/content/... provides editable content and frontmatter
  • src/layouts/components/... controls markup, styling, and interaction hooks

Static files placed in public/ keep their direct URL. Images imported from src/assets/images/ are processed by Astro’s image pipeline.

Type something to search...