Migrated from GitLab: matt/website
  • Astro 59.9%
  • Python 22.6%
  • JavaScript 8.2%
  • CSS 7.7%
  • Makefile 0.7%
  • Other 0.9%
Find a file
2026-09-10 02:06:43 +00:00
.astro MANY TJ! 2026-02-17 20:47:44 -05:00
.forgejo/workflows Use git CLI checkout (no node in job containers) 2026-09-09 17:00:40 -04:00
incoming-techjournals Add techjournal submission for Samuel Guinther (student, 2023) 2026-02-18 21:09:08 +00:00
public alpr warning popup 2026-02-18 11:02:37 -05:00
scripts Fix crawler: handle YEAR-techjournal repos and personal site variants; add scheduled CI job 2026-08-12 16:13:52 -04:00
src chore: update detected courses [skip ci] 2026-09-10 02:06:43 +00:00
.env.techjournals fixes #3, new blog post 2025-10-15 12:49:32 -04:00
.env.techjournals.example fixes #3, new blog post 2025-10-15 12:49:32 -04:00
.gitignore fixes #3, new blog post 2025-10-15 12:49:32 -04:00
.gitlab-ci.yml Fix crawler: handle YEAR-techjournal repos and personal site variants; add scheduled CI job 2026-08-12 16:13:52 -04:00
.gitmodules no more submodule 2024-09-17 15:06:35 +00:00
add_layout.sh fuck it it's prod now 2025-07-09 21:44:31 -04:00
AGENTS.md fixes #3, new blog post 2025-10-15 12:49:32 -04:00
astro.config.mjs i hate node 2025-10-13 17:34:55 -04:00
foo testing ci for DND, please ignore 2025-11-12 09:27:30 -05:00
LICENSE add license (fixes #6) 2025-10-15 13:13:20 -04:00
Makefile fix ci? 2025-12-07 20:39:08 -05:00
package-lock.json Update dependency astro to v6.1.8 2026-04-18 10:08:30 +00:00
package.json Update dependency astro to v6 2026-03-10 10:08:16 +00:00
README.md themes! 2025-10-20 23:12:19 -04:00
renovate.json Add renovate.json 2023-10-23 19:12:23 +00:00
tsconfig.json add license (fixes #6) 2025-10-15 13:13:20 -04:00

website

Website source code (https://mattcompton.dev)

Theme configuration

The site now supports multiple color themes. Visitors can toggle themes from the header; the selection is stored in the browser so the preference persists between visits.

To change the default theme when building the site, set the PUBLIC_DEFAULT_THEME environment variable to one of:

  • terminal
  • halloween
  • holiday
  • pain

For example:

PUBLIC_DEFAULT_THEME=holiday npm run build

If the provided value is not recognized, the build falls back to the terminal theme.

Note: the theme selector is intentionally hidden beneath the sys/online status indicator—click it to reveal the options.

Running make build or make dev automatically chooses a seasonal theme:

  • March 31 April 1: pain
  • October: halloween
  • November & December: holiday
  • Otherwise the default theme is used.

Each theme can use an optional tiled background; see the --bg-tile-image variables in src/styles/global.css if you want to swap in your own bitmaps.