Brand icon: replace the LinkOS-era placeholders with the real Superbrain mark
release gate / check (push) Canceled after 2m9s

The favicon was a purple block placeholder and og-image.png still said
"LinkOS — Connect Everything"; every brand surface (sidebar, login,
signup, forgot/reset password, unsubscribe) drew a generic Link2 glyph in
a primary-colored square instead of the logo.

Assets (from the operator's superbrain-icon.svg/png):
- public/favicon.svg: the real mark, with the multi-KB C2PA provenance
  manifest stripped (graphics, gradients and filters verified intact via
  rsvg-convert at tab size).
- public/superbrain-icon.png: the 1024px RGBA asset; also wired as the
  apple-touch icon in the root metadata.
- public/og-image.png: recomposed 1200x630 banner — mark + Superbrain
  wordmark + tagline on the brand's deep-blue gradient.

Surfaces: new components/brand-icon.tsx is the single source for the mark
(one img, transparent rounded corners); sidebar brand, all auth pages,
all three unsubscribe states and the help header now use it. State icons
(Check/BellOff) and unused Link2 imports removed where the mark replaced
them; Link2 stays where it is a nav glyph (All Bookmarks).

Verified: web lint/SSR-lint/build 0 errors; full browser regressions pass
(login, mobile shell overflow checks and sign-out flows included).
This commit is contained in:
Andrew S Erwin
2026-11-21 23:52:28 -06:00
parent d4a2ca0d0d
commit e8f04a4082
12 changed files with 64 additions and 41 deletions
+8
View File
@@ -0,0 +1,8 @@
import { cn } from '@/lib/utils'
// The Superbrain mark (public/superbrain-icon.png, transparent rounded
// corners). One component so every brand surface — sidebar, auth pages,
// help header — stays in sync with the asset.
export function BrandIcon({ className }: { className?: string }) {
return <img src="/superbrain-icon.png" alt="" className={cn('shrink-0', className)} />
}
+2 -3
View File
@@ -10,6 +10,7 @@ import { Suspense, useCallback, useEffect, useRef, useState, useSyncExternalStor
// identified from the UI alone.
const APP_VERSION = process.env.NEXT_PUBLIC_SUPERBRAIN_VERSION || ''
import { cn } from '@/lib/utils'
import { BrandIcon } from '@/components/brand-icon'
import {
Calendar, Tags, Users, Kanban, Link2, Settings, ChevronLeft, ChevronRight, ChevronDown,
FileText, Pin, PinOff, Plus, Shield, Search, MoreHorizontal, Trash2, Pencil, Layers, GripVertical, X,
@@ -91,9 +92,7 @@ export function Sidebar({ open, mobileOpen = false, onToggle, onCloseMobile, onQ
>
<div className="flex items-center gap-2 px-3 py-3">
<Link href="/pages" className="flex min-w-0 items-center gap-2">
<div className="flex h-6 w-6 shrink-0 items-center justify-center rounded bg-primary text-primary-foreground">
<Link2 className="h-3.5 w-3.5" />
</div>
<BrandIcon className="h-6 w-6" />
{expanded && <span className="truncate font-display text-sm font-bold tracking-tight">superbrain</span>}
</Link>
<Button variant="ghost" size="icon-sm" className="ml-auto lg:hidden" onClick={onCloseMobile} aria-label="Close navigation">