Skip to content

reinink/astro.build

 
 

Repository files navigation

Netlify Status

The source code for astro.build, built with Astro.

Updating Themes

The themes catalog is based on the themes content collection. Optimized images should be saved to the collection's _images directory, ideally as format with a {image}.webp file at 800px wide and {image}@2x.webp at 1600px wide.

TODO: Themes use metadata from GitHub, specifically the stars count for public theme repos. This is updated manually for now but a nightly job will be added to take care of this automatically.

Updating the Showcase

The showcase doesn't depend on any data from GitHub or NPM. All showcase data is pulled from the content collection. Similar to themes, optimized images should be saved to the collection's _images directory, ideally as format with a {image}.webp file at 800px wide and {image}@2x.webp at 1600px wide.

Updating Integrations

The integrations catalog also used a content collection to track known Astro integrations.

TODO: A nightly or weekly script will also be added here to find new integrations published to NPM.

Blog Posts

The blog collection is setup to support MDX blog posts with all images being pulled from the collection's _images directory. Images should be a webp format of a reasonable width, something in the 800-1600px range is ideal.

Blog post cover and social images are set as frontmatter properties and should point reference the _images directory, ex: coverImage: "/src/content/blog/_images/post-1/cover.webp".

Releases

No releases published

Packages

No packages published

Languages

  • Astro 58.4%
  • TypeScript 36.8%
  • JavaScript 4.5%
  • CSS 0.3%