Hello, can I use a different system from src/pages to generate all the routes? It would be awesome to have something like a list of path and component similar to the Angular routing system. If you have to create a complex and flexible routing system it's messy with the folder structure
(example of input)
const routes = [
{ path: 'page1', page: 'page.astro'}
{ path: 'page/about/team', page: 'page.astro'}
{ path: 'page/about/gallery', page: 'galleryPage.astro'}
{ path: 'es/sobre-nosotros/galeria', page: 'galleryPage.astro'}
{ path: 'tools/editor', page: 'editor.astro'}
{ path: 'tools/', page: 'page.astro'}
]