Skip to content
Patchwork
Start free
All docs pages

Docs · Start

Settings

The theme's switches in src/config/aurora.config.mjs, and what each one turns on or off.

The theme’s switches are in src/config/aurora.config.mjs. Each one has a comment in the file that says what it does.

Setting What it does
language 'en', 'es', 'fr' or 'nl': the language of the whole site. See Languages.
homepage 'saas' for a product’s homepage, 'portfolio' for a homepage for a person or a studio.
pricing false removes the pricing page, the plans and the links to them.
projects false removes the portfolio and its menu item.
docs false removes these docs and their links.
showcase false removes the components page from the built site. pnpm dev still shows it.
announcement The bar above the header. See The header and the bar.

The homepage

With homepage: 'saas' the homepage is src/views/HomeView.astro: the hero with the app in a tilted screen, a ticker, demo cards that play when you point at them, the steps, the plans, quotes, questions and a closing band.

With homepage: 'portfolio' it’s src/views/PortfolioHomeView.astro: the hero with a tilted screen, a ticker, four projects, what you do, the latest posts and the closing band. The tilted screen shows the first project with a screenVideo or a screen; see Projects.

Turning a page off

A setting that turns a page off does three things: its route leaves routes in src/config/nav.config.ts, its links leave the menu and the footer, and its page files build nothing. Nothing links to a page that isn’t there.

With pricing: false, the buttons that led to pricing lead to the contact page: the header button, the SaaS hero’s first button, and the closing band, which then takes its words from closingContact in the translations instead of closing. Check that no announcement in the bar still links to /pricing.