Skip to content

Commit 77715d3

Browse files
committed
Add png for nyc, higher resolution exports
1 parent c741cd4 commit 77715d3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

9.13 MB
Binary file not shown.

scripts/render-conference-kit-banners.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* them into public/conference-kit/conference-kit.zip. Expects a dev/prod server to
44
* already be running on $URL (default http://localhost:3000) — invoke after
55
* `pnpm dev` is up, or against a `pnpm start` instance. Override SCALE for
6-
* print-grade output (e.g. SCALE=63600×8472100 dpi at 850×2000 mm).
6+
* print-grade output (e.g. SCALE=1710200×24004305 dpi at 850×2000 mm).
77
*
88
* Only the zip is written to public/. Loose PNGs land in a tmp dir and are
99
* cleaned up so the served directory stays minimal.
@@ -21,7 +21,7 @@ const exec = promisify(execFile)
2121
const URL = process.env.URL ?? "http://localhost:3000"
2222
const PAGE = `${URL}/conf/conference-kit/`
2323
const PUBLIC_DIR = path.resolve(process.cwd(), "public/conference-kit")
24-
const SCALE = Number(process.env.SCALE ?? 4)
24+
const SCALE = Number(process.env.SCALE ?? 17)
2525

2626
type ColorScheme = "light" | "dark"
2727

0 commit comments

Comments
 (0)