Files
superbrain/web/app/layout.tsx
T
Andrew S Erwin e8f04a4082
release gate / check (push) Canceled after 2m9s
Brand icon: replace the LinkOS-era placeholders with the real Superbrain mark
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).
2026-11-21 23:52:28 -06:00

45 lines
1.4 KiB
TypeScript

import { DM_Sans, Plus_Jakarta_Sans, JetBrains_Mono } from 'next/font/google'
import './globals.css'
import { Providers } from '@/components/providers'
export const dynamic = 'force-dynamic'
const dmSans = DM_Sans({ subsets: ['latin'], variable: '--font-sans' })
const jakartaSans = Plus_Jakarta_Sans({ subsets: ['latin'], variable: '--font-display' })
const jetbrainsMono = JetBrains_Mono({ subsets: ['latin'], variable: '--font-mono' })
export const metadata = {
metadataBase: new URL(process.env.NEXTAUTH_URL ?? 'http://localhost:3000'),
title: 'Superbrain',
description: 'Your personal binder of life on the web',
icons: {
icon: '/favicon.svg',
shortcut: '/favicon.svg',
apple: '/superbrain-icon.png',
},
openGraph: {
title: 'Superbrain',
description: 'Your personal binder of life on the web',
images: ['/og-image.png'],
},
}
// Mobile layout depends on the viewport meta: without it phones render at
// ~980px CSS width and every responsive breakpoint is dead.
export const viewport = {
width: 'device-width',
initialScale: 1,
}
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="en" suppressHydrationWarning>
<body className={`${dmSans.variable} ${jakartaSans.variable} ${jetbrainsMono.variable} font-sans`}>
<Providers>
{children}
</Providers>
</body>
</html>
)
}