This is the new JSHeroes website built with astro.
Pages are mostly .md
files with some astro components here and there for a better dx. Styling is done with scoped css in the .astro
components.
Homepage sections are defined as markdown or astro components in the sections
folder.
Simple static data is taken from the data
folder, but the vast majority of information is written in markdown and consumed using the new content collections feature from Astro 2.0
.
There's a BaseLayout component which renders for all pages and a MarkdownLayout which renders the default layout for a markdown only page.
If you prefer running it locally:
npm install
npm run dev