Skip to content

jsheroes/website

Repository files navigation

JSHeroes website

This is the new JSHeroes website built with astro.

Structure

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.

Contribute

Open in CodeSandbox

If you prefer running it locally:

npm install
npm run dev