Skip to content

Commit cfba262

Browse files
committed
Rename conference kit archive
1 parent 7acbd09 commit cfba262

6 files changed

Lines changed: 8 additions & 7 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"analyze": "ANALYZE=true next build",
99
"build": "next build",
1010
"check:links": "lychee --verbose --no-progress './src/pages/**/*.mdx' --base https://graphql.org",
11+
"conference-kit": "tsx scripts/render-conference-kit-banners.ts",
1112
"dev": "next",
1213
"format": "pnpm format:check --write",
1314
"format:check": "prettier --cache --check .",
@@ -16,7 +17,6 @@
1617
"lint:docs:ci": "eslint --ignore-path .gitignore src/pages/learn --format eslint-formatter-github",
1718
"postbuild": "next-sitemap",
1819
"prebuild": "tsx scripts/get-github-info && node scripts/sync-landing-schema && node scripts/sync-working-groups && ( pnpm run sync-sched || echo 'Sched sync failed; continuing...' )",
19-
"render-banners": "tsx scripts/render-conference-kit-banners.ts",
2020
"start": "next start",
2121
"sync-sched": "tsx scripts/sync-sched/sync.ts --year 2026",
2222
"test": "playwright test && pnpm test:unit",

scripts/render-conference-kit-banners.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Renders the /conf/conference-kit/ banners as high-res PNGs and packages
3-
* them into public/conference-kit/banners.zip. Expects a dev/prod server to
3+
* 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
66
* print-grade output (e.g. SCALE=6 → 3600×8472 ≈ 100 dpi at 850×2000 mm).
@@ -48,7 +48,7 @@ async function main() {
4848
})
4949
const page = await context.newPage()
5050

51-
console.log(`[render-banners] loading ${PAGE}`)
51+
console.log(`[conference-kit] loading ${PAGE}`)
5252
await page.goto(PAGE, { waitUntil: "networkidle" })
5353
await page.evaluate(() => document.fonts.ready)
5454

@@ -70,15 +70,15 @@ async function main() {
7070

7171
await browser.close()
7272

73-
const zipPath = path.join(PUBLIC_DIR, "banners.zip")
73+
const zipPath = path.join(PUBLIC_DIR, "conference-kit.zip")
7474
await rm(zipPath, { force: true })
7575
await exec("zip", [
7676
"-j",
7777
zipPath,
7878
...BANNERS.map(b => path.join(tmpDir, `${b.slug}.png`)),
7979
])
8080
console.log(
81-
`[render-banners] wrote ${path.relative(process.cwd(), zipPath)}`,
81+
`[conference-kit] wrote ${path.relative(process.cwd(), zipPath)}`,
8282
)
8383
} finally {
8484
await rm(tmpDir, { recursive: true, force: true })

src/app/conf/conference-kit/_components/amsterdam-banner.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { CalendarIcon } from "@/app/conf/_design-system/pixelarticons/calendar-i
22
import { PinIcon } from "@/app/conf/_design-system/pixelarticons/pin-icon"
33
import { Tag } from "@/app/conf/_design-system/tag"
44
import fostLogo from "@/app/day/2026/assets/fost-logo.avif"
5+
import amsterdamImage from "./amsterdam.png"
56

67
import { BannerFrame } from "./banner-frame"
78
import { QRCodeSVG } from "./qr-code"
@@ -57,7 +58,7 @@ export function AmsterdamBanner() {
5758
>
5859
<div className="relative overflow-hidden bg-pri-darker/15">
5960
<Image
60-
src="/conference-kit/amsterdam.png"
61+
src={amsterdamImage}
6162
alt="Amsterdam canal houses"
6263
fill
6364
sizes="250px"
File renamed without changes.

src/app/conf/conference-kit/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export default function ConferenceKitPage() {
3939
<section className="gql-container">
4040
<header className="gql-section flex flex-wrap items-end justify-between gap-4">
4141
<h2 className="typography-h2">Roll-up banners</h2>
42-
<Button href="/conference-kit/banners.zip" download>
42+
<Button href="/conference-kit/conference-kit.zip" download>
4343
Download
4444
</Button>
4545
</header>

0 commit comments

Comments
 (0)