This repository hosts the content of the systems meetup website. The website is built with Astro and rendered as a static site.
This website is currently deployed as part of this Nix config:
and reachable under https://ukvly.org.
- run
$ npm installonce to getprettier - check formatting with:
$ npm run format:check - change formatting with:
$ npm run format
- run
$ npm installonce - run
$ npm run dev -- --open - in a Nix shell:
$ nix develop --command npm run dev -- --open
- run
$ npm installonce - run
$ npm run build - the generated static site is in
dist/ - build with Nix:
$ nix build .#website
src/pages/index.astrois the single page. Astro turns this file intoindex.htmlduring the static build.src/layouts/BaseLayout.astroowns the HTML shell, metadata, analytics, and shared assets.src/components/contains reusable page sections.src/data/meetups.tscontains the past meetup data. Add a new past event by inserting a new object at the top ofpastMeetups.- Files in
public/are copied unchanged to the site root. - Put meetup photos below
src/assets/meetups/<date>-<host>/and reference them withmeetupImage("<date>-<host>/<file>")insrc/data/meetups.ts. Astro resizes them at build time.
- Navigate into the folder
- run
$ fd --exec cwebp {} -o {}.webp -q 80