astrobench · play with code
Step
7/11

A second page

Press wants a page about Mission Control. It's just a new file.

So far, your project has one file: index.astro . One file, one page.

 

The press has been asking what Mission Control is. Time for an About page.

 

In Astro, you don't configure routes. You don't write a router. You add a file. Drop about.astro in src/pages/ and you instantly have /about .

 

Make it yours. Change the headline, add a second paragraph, keep the link.

src/pages/about.astro — brand new live

Open /about in your real project's preview and click the link to bounce back. You have a site now.

— page 7 —
in the binder open binder →
saved a moment ago
progress 64%
earn +60 XP