fix post-login blank page + rebrand login hero
All checks were successful
CI/CD / detect-changes (push) Successful in 4s
CI/CD / test-frontend (push) Successful in 5s
CI/CD / test-go-pg (push) Successful in 2m18s
CI/CD / test-sqlite (push) Successful in 2m31s
CI/CD / build-and-deploy (push) Successful in 32s

- nginx: use alias for BASE_PATH fallback so static assets resolve
  correctly when deployed under a sub-path (fixes white page on K8s)
- base.html: remove dead template refs (chat, notes, projects) that
  caused html/template to fail silently with Content-Length: 0
- login hero: rebrand from "Chat Switchboard" to "Switchboard Core",
  update tagline and feature pills to reflect platform pivot

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-26 15:04:04 +00:00
parent 9eb56ca7de
commit 2090842370
3 changed files with 14 additions and 20 deletions

View File

@@ -9,12 +9,12 @@
const { html } = window;
const PILLS = [
{ icon: '\u{1F916}', label: 'Multi-Provider AI', cls: 'ac' },
{ icon: '\u{1F511}', label: 'Bring Your Own Key', cls: 'pu' },
{ icon: '\u{1F465}', label: 'Teams & Projects', cls: 'ac' },
{ icon: '\u{1F9E9}', label: 'Extensions', cls: 'pu' },
{ icon: '\u{1F50D}', label: 'Web Search Tools', cls: 'ac' },
{ icon: '\u{1F4DD}', label: 'Notes & Memory', cls: 'pu' },
{ icon: '\u{1F310}', label: 'Surfaces', cls: 'ac' },
{ icon: '\u{1F465}', label: 'Teams & RBAC', cls: 'pu' },
{ icon: '\u{1F517}', label: 'Connections', cls: 'ac' },
{ icon: '\u{2699}\u{FE0F}', label: 'Workflows', cls: 'pu' },
{ icon: '\u{1F4E6}', label: 'Package Registry', cls: 'ac' },
];
export function Hero({ base = '', version = '', env = null }) {
@@ -28,15 +28,15 @@ export function Hero({ base = '', version = '', env = null }) {
src="${base}/favicon.svg?v=${version}"
alt="Switchboard Core" />
<span class="login-hero-brand-text">
Chat <span class="hl">Switchboard</span>
Switchboard <span class="hl">Core</span>
</span>
</div>
<h1 class="login-anim login-anim-2">
Your AI conversations,${html`<br />`}your infrastructure
Your platform,${html`<br />`}your infrastructure
</h1>
<p class="login-hero-sub login-anim login-anim-3">
Self-hosted multi-provider chat with team collaboration,
BYOK privacy, and an extensible plugin system.
Self-hosted extensible platform with surfaces, packages,
team RBAC, and a workflow engine.
</p>
<div class="login-hero-pills login-anim login-anim-4">
${PILLS.map(p => html`