From ecbe29faa961ca089e785944ce08ab1d5d594ca0 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 13 Oct 2026 01:23:36 +0000 Subject: [PATCH] Board: "Wrong school?" link to the other hub MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A line on the sign-in screen and the top of Home on both hubs: "Why am I on this chuz school's page?" with a small button to the other chapter's hub (UCLA → /board, Berkeley → /board/ucla). The text, button label and path are in chapters.ts per chapter. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01QzNDQSmhjgKE63rwUnwcMq --- app/board/board.css | 9 +++++++++ components/board/BoardLogin.tsx | 2 ++ components/board/HomeTab.tsx | 2 ++ components/board/OtherHub.tsx | 15 +++++++++++++++ lib/board/chapters.ts | 4 ++++ 5 files changed, 32 insertions(+) create mode 100644 components/board/OtherHub.tsx diff --git a/app/board/board.css b/app/board/board.css index a56b37a..c07f012 100644 --- a/app/board/board.css +++ b/app/board/board.css @@ -209,6 +209,15 @@ background: var(--bg); color: var(--accent); } +.board .btn-small { + display: inline-block; + padding: 4px 12px; + font-weight: 600; + text-decoration: none; +} +.board .other-hub { + margin: 0 0 18px; +} .board form.stack { display: grid; gap: 14px; diff --git a/components/board/BoardLogin.tsx b/components/board/BoardLogin.tsx index 02163d3..a69c351 100644 --- a/components/board/BoardLogin.tsx +++ b/components/board/BoardLogin.tsx @@ -3,6 +3,7 @@ import { useState, type FormEvent } from "react"; import { useRouter } from "next/navigation"; import { chapterConfig, type ChapterId } from "@/lib/board/chapters"; +import { OtherHub } from "./OtherHub"; import { api, setApiChapter } from "./util"; export function BoardLogin({ chapter }: { chapter: ChapterId }) { @@ -28,6 +29,7 @@ export function BoardLogin({ chapter }: { chapter: ChapterId }) {

VINDICATED

{config.loginSub}

+