diff --git a/README.md b/README.md index ef8173d..b373412 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,15 @@ The 0-draft desk -Everything public in the [0-draft](https://github.com/0-draft) org, filed as dossiers on a lodge desk at . +Everything public in the [0-draft](https://github.com/0-draft) org, pulled as proofs and laid out on a print-shop desk at night: . -Drag the desk to look around and pinch (or press `+` and `-`) to zoom. Break the wax seal on a sheet and the real site opens right on the desk. Red string ties together sheets that belong together across piles. Blackjack, shogi and the guest book are read live from their READMEs, so you can make a move from here. Prefer a plain page? Press "List view". +Drag the desk to look around and pinch (or press `+` and `-`) to zoom. Break the wax seal on a sheet and the real site opens right on the desk. Blackjack, shogi and the guest book are read live from their READMEs, so you can make a move from here. Prefer a plain page? Press "List view". ## How it works - `scripts/sync.ts` pulls the org's public repos (archived repos and forks are left out), the live region of each README game, and the latest dev.to articles into `src/data/`. A source that fails keeps its previous file. - `src/data/groups.ts` decides which pile a repo sits in. A new repo that isn't filed there shows up on its own pile on the next build. -- `src/lib/desk.ts` holds where each sheet sits on the mat. `src/scripts/desk.ts` is the camera: pan, zoom, rulers, minimap and the live frame. It has no dependencies. +- `src/lib/desk.ts` holds where each sheet sits on the desk. `src/scripts/desk.ts` is the camera: pan, zoom, the minimap and the live frame. It has no dependencies. - `src/assets/shots/` holds a screenshot per project, named after the repo. ## CI diff --git a/astro.config.mjs b/astro.config.mjs index daadc58..7a14a36 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -6,25 +6,17 @@ export default defineConfig({ fonts: [ { provider: fontProviders.google(), - name: "M PLUS Rounded 1c", - cssVariable: "--font-round", - weights: [500, 800, 900], + name: "Archivo", + cssVariable: "--font-sans", + weights: [400, 500, 700, 800, 900], subsets: ["latin"], - fallbacks: ["ui-rounded", "system-ui", "sans-serif"], + fallbacks: ["Helvetica Neue", "Arial", "sans-serif"], }, { provider: fontProviders.google(), - name: "IM Fell English SC", - cssVariable: "--font-fell", - weights: [400], - subsets: ["latin"], - fallbacks: ["Georgia", "serif"], - }, - { - provider: fontProviders.google(), - name: "DotGothic16", - cssVariable: "--font-dot", - weights: [400], + name: "Martian Mono", + cssVariable: "--font-mono", + weights: [400, 500], subsets: ["latin"], fallbacks: ["ui-monospace", "monospace"], }, diff --git a/public/og.png b/public/og.png index e9401db..f7a622a 100644 Binary files a/public/og.png and b/public/og.png differ diff --git a/public/tex/ink.webp b/public/tex/ink.webp new file mode 100644 index 0000000..0e07b70 Binary files /dev/null and b/public/tex/ink.webp differ diff --git a/public/tex/paper.webp b/public/tex/paper.webp new file mode 100644 index 0000000..5ce89a2 Binary files /dev/null and b/public/tex/paper.webp differ diff --git a/public/tex/stock.webp b/public/tex/stock.webp new file mode 100644 index 0000000..c4f4bf5 Binary files /dev/null and b/public/tex/stock.webp differ diff --git a/src/components/Sheet.astro b/src/components/Sheet.astro index e4d1ba5..4816c81 100644 --- a/src/components/Sheet.astro +++ b/src/components/Sheet.astro @@ -1,6 +1,6 @@ --- import { Image } from "astro:assets"; -// One project, printed and taped to the mat. +// One project, pulled as a proof and laid on the desk. import type { ImageMetadata } from "astro"; import wax from "../assets/wax.png"; import { ago, framable, type Shelf } from "../lib/desk.ts"; @@ -29,17 +29,6 @@ const host = site?.replace(/^https:\/\//, "").replace(/\/$/, ""); data-group={group} aria-labelledby={`${repo.name}-title`} > - { - repo.tape === 0 ? ( - - ) : repo.tape === 1 ? ( -