# Pages, Layouts & Sections

## Pages, Layouts & Sections

**Files:** `src/pages/[...lang]/`, `src/layouts/Base.astro` · **Skill level:** Beginner

Veltro assembles routes in `src/pages/[...lang]/`. All regular pages use `src/layouts/Base.astro`, which provides the document shell, SEO head, header, footer, global scripts, cursor, and back-to-top control. These files are the same in all three editions, so the order of sections on a page stays in code.

### Page Composition
```astro
---



---

<Base {...homepageContent?.data}>
  <Banner />
  <ServicesSection hasSectionSpacing={true} />
</Base>
```

Each section component loads its default entry from `src/content/sections/<language>/`, and merges a `content` prop over it if the route passes one. In the Astro edition, only the FAQ page and the banner card on the team and case studies pages pass one. In the Tina edition, more routes do, so those pages' forms have their own blocks: see [What Is Editable In Tina](../../features/what-is-editable-tina/). See [Common Customization Examples](../common-customizations/).

### Shared Base Options
Useful `Base.astro` props include:

- `fitToScreen`: adds the theme's minimum-screen class; defaults to `true`
- `footerSpacingTop`: controls top spacing on the footer
- `headerPosition`: `fixed`, `static`, or `sticky`
- `headerBorderOnScroll`: adds the scroll-border behavior
- `hideOffcanvas`: keeps the mobile menu panel on small screens, by default
- `hideHeader`: leaves the header out, for a page that brings its own top bar
- `hasBodyDarkBackground`: switches the body surface
- `hasHeadingFontTernary`: applies the configured tertiary heading font

Edit the route file to reorder or remove a section on one page. Edit the shared Markdown entry when the content change should apply everywhere that section is used.