Skip to content
Astro Flightdeck
Start free

Product · · 2 min read

Make Astro Flightdeck yours

Your product's name, your text and your logo: the files that turn the demo into your website.

On this page
  1. Your name: site.config.ts
  2. Your text: translations/en.ts
  3. Your logo
  4. The demo bar
  5. Your posts

The demo is called Astro Flightdeck, and its product Flightdeck. Put your product’s name in their place, change the text, and the site is yours. Three files do almost all of it.

Your name: site.config.ts

src/config/site.config.ts holds your product’s name, the site’s description, your email address and your social links.

name: 'Your Product',
description: 'One sentence about your product, for search engines.',
email: 'you@example.com',

The name is the logo in the header and the footer, the favicon, the page titles and the share images.

Your text: translations/en.ts

Almost every other line on the site is in src/i18n/translations/en.ts (the privacy page’s text is in src/i18n/privacy/en.astro), grouped by page and section in the order they appear. A comment above each group says where it shows.

Lists take their length from what you put in them. Take a quote or a question out of its list, and the section closes up without a gap. The features are six cards, each with its own picture in its place, so change their words rather than their number.

The homepage’s heading is home.hero.line1 and home.hero.line2. The plans, their prices and what each includes are under plans, and the table on the pricing page under pricingPage.compare. The prices are examples: put in your own.

While the name is still Astro Flightdeck, the logo is a gauge. Once you put in your own name, it’s its first letter, white on a rounded square in the site’s colour, and the favicon is the same badge. The site draws the favicon when it builds, so it follows your name and colour by itself.

To use your own logo instead, set letter: false under branding.logo in site.config.ts. Then put your logo files in src/assets/branding/ (logo-full.svg, and logo-full-dark.svg for dark mode) and your own icon in public/favicon.svg.

The demo bar

The bar above the header carries the demo’s news: the made-up product’s 2.0 and a link to the docs. Switch it off in src/config/theme.config.mjs:

announcement: {
  show: false,

Your posts

The posts are in src/content/blog/en/. The customer stories at /customers/ are in src/content/projects/en/; projects: false in theme.config.mjs turns them off. Writing posts and adding projects explains their fields.

Related posts

Get started

New to Astro Flightdeck?

The first guide installs the theme, runs it on your computer and puts it online.