From 17e5c023f75d482978830d1b71997ab32206aebf Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 15 Nov 2026 10:01:43 +0000 Subject: [PATCH] web: send the Origin QR codes' /r/c addresses to the home page The printed codes point at /r/c/1 and on, which answered 404, and print cannot change. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01FnMUMekwQ4u8qMPcg9gjPQ --- CHANGELOG.md | 1 + web/next.config.ts | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e62ada33..13ec1c53a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ All notable changes to Patternflow will be documented in this file, newest first ### Web +- **The Origin QR codes open the home page.** They point at `/r/c/1` and the numbers after it, which answered 404. Any address under `/r/c` now goes to `/`. - **Pattern Lab previews the time from the browser's clock.** The guide and the virtual panel give a pattern `timeValid` false, as a board without the clock does ([#540](https://github.com/engmung/Patternflow/pull/540) by [@didusee](https://github.com/didusee)). - **The home page's nav is a row of its own on a phone.** Below 901px Guide, Journal, Community, Shop and Instagram were 11px words in the corner over the wordmark, 18px tall to a finger. They are the hero's first row now, 12px words in entries 44px tall, from the column's left edge to its right. Get One is where it was on a 375×667 screen, and pages from 901px up are unchanged. - **Build, Pattern and Inside start 24px from a phone's edge, not 46px.** The panel's own 22px came on top of the page's 24px, so a 390px phone had a 298px column. It has 342px now, on the hero's and the journal's gutter. On a 375px phone the Inside list's count goes under its heading, where each used to break in two beside the other. diff --git a/web/next.config.ts b/web/next.config.ts index 109aacd0b..04b035aca 100644 --- a/web/next.config.ts +++ b/web/next.config.ts @@ -90,6 +90,10 @@ const nextConfig: NextConfig = { // to the guide's Flash chapter, where the button and the steps are. Only // the exact path: /flash/manifest.json and /flash/bin/* are untouched. { source: "/flash", destination: "/guide/play#flash", permanent: false }, + // The QR codes printed for Origin point at /r/c/1 and the numbers after + // it, and no page here ever answered them. The print cannot change, so + // anything under /r/c goes to the home page. + { source: "/r/c/:rest*", destination: "/", permanent: false }, // The community's workshop came down on 26 October 2026: the map of // directions, its threads, and the moderators' territory editor. Its // rows stay in the database. A link to any of it, from an old alert, a