Understand the Astro project structure
mainA minimal Astro project follows this directory structure:
public/: Contains static assets like images that are served directly.src/pages/: Contains.astroor.mdfiles. Each file in this directory is automatically exposed as a route based on its filename.src/components/: A recommended location for storing Astro, React, Vue, Svelte, or Preact components.package.json: Defines project dependencies and scripts.
/
├── public/
├── src/
│ └── pages/
│ └── index.astro
└── package.json