A really fancy feature that CodeSandbox offers is the ability to import a Github project. If you go to the Create Sandbox page, you'll see some options including Import from Github. From there, paste ...
Astro looks for .astro or .md files in the src/pages/ directory. Each page is exposed as a route based on its file name. There's nothing special about src/components ...