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
| File | Read by |
|---|---|
AGENTS.md | OpenAI Codex, and the tools below, for the main rules |
SKILLS.md | Any assistant: step-by-step recipes for common jobs |
CLAUDE.md | Claude Code, which imports AGENTS.md |
GEMINI.md | Gemini CLI, which imports AGENTS.md |
.github/copilot-instructions.md | GitHub Copilot |
.cursor/rules/theme-architecture.mdc | Cursor |
.windsurf/rules/theme-architecture.md | Windsurf |
What Differs By Edition
Tina adds:
tina/: the editor’s setup, its forms intina/generated/collections.json, andtina/tina-lock.jsonscripts/tina/andscripts/cms/: the scripts behindnpm run dev,npm run build, and the editorsrc/layouts/components/tina/andsrc/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, andsanity/: your Studio, andsanity/seed/demo-content.json, the bundled demo contentscripts/sanity/: setup, import, and preview scriptssrc/lib/sanity/,src/sanity-routes/, andsrc/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 settingssrc/config/menu.<lang>.json: header, mega menu, footer columns, and legal linkssrc/config/fonts.json: font families and variantssrc/styles/theme.css: Tailwind CSS 4 design tokens, breakpoints, type scale, radii, and colorssrc/i18n/<lang>.json: shared interface textsrc/content/sections/<language>/: reusable section contentsrc/pages/[...lang]/: routes and section order
Organization Rule
src/pages/...decides which sections render and in what ordersrc/content/...provides editable content and frontmattersrc/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.