Folder Structure

Here are the folder structure for a typical Astro project.

/
├── public/
│   └── ...
├── src/
│   ├── components/
│   │   └── ...
│   ├── layouts/
│   │   └── ...
│   └── pages/
│       └── index.astro
│       └── ...
└── package.json
└── README.md
└── LICENSE
└── astro.config.mjs
└── tsconfig.json

Astro looks for .astro or .md files in the /src/pages directory. Each page is exposed as a route based on its file name. Any static assets, like images, can be placed in the /public directory.

Typically, you want to start by modifying /src/pages/index.astro file which will be the homepage.

Check the customization page for more detailed instructions.