Brand icon: replace the LinkOS-era placeholders with the real Superbrain mark
release gate / check (push) Canceled after 2m9s
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:
@@ -3,7 +3,8 @@
|
||||
import { useState } from 'react'
|
||||
import { Button } from '@/components/ui/button'
|
||||
import { Input } from '@/components/ui/input'
|
||||
import { Link2, Mail } from 'lucide-react'
|
||||
import { Mail } from 'lucide-react'
|
||||
import { BrandIcon } from '@/components/brand-icon'
|
||||
import Link from 'next/link'
|
||||
import { toast } from 'sonner'
|
||||
|
||||
@@ -41,9 +42,7 @@ export function ForgotPasswordClient() {
|
||||
<div className="w-full max-w-sm space-y-8">
|
||||
<div className="text-center">
|
||||
<div className="flex justify-center mb-4">
|
||||
<div className="flex h-14 w-14 items-center justify-center rounded-2xl bg-primary text-primary-foreground">
|
||||
<Link2 className="h-7 w-7" />
|
||||
</div>
|
||||
<BrandIcon className="h-14 w-14" />
|
||||
</div>
|
||||
<h1 className="font-display text-3xl font-bold tracking-tight">Reset Password</h1>
|
||||
<p className="text-sm text-muted-foreground mt-2">
|
||||
|
||||
@@ -2,6 +2,7 @@ import Link from 'next/link'
|
||||
import { Button } from '@/components/ui/button'
|
||||
import { Badge } from '@/components/ui/badge'
|
||||
import { HelpFaq } from './faq'
|
||||
import { BrandIcon } from '@/components/brand-icon'
|
||||
import {
|
||||
Bookmark, FolderOpen, FileText, Kanban, Radar, Bell, Bot,
|
||||
FolderSync, KeyRound, ArrowRight,
|
||||
@@ -115,7 +116,8 @@ export default function HelpPage() {
|
||||
<div className="min-h-screen bg-background">
|
||||
<header className="border-b border-border">
|
||||
<div className="mx-auto flex max-w-4xl items-center justify-between px-6 py-4">
|
||||
<Link href="/login" className="font-display text-lg font-bold tracking-tight">
|
||||
<Link href="/login" className="flex items-center gap-2 font-display text-lg font-bold tracking-tight">
|
||||
<BrandIcon className="h-6 w-6" />
|
||||
superbrain
|
||||
</Link>
|
||||
<Button asChild size="sm">
|
||||
|
||||
@@ -15,6 +15,7 @@ export const metadata = {
|
||||
icons: {
|
||||
icon: '/favicon.svg',
|
||||
shortcut: '/favicon.svg',
|
||||
apple: '/superbrain-icon.png',
|
||||
},
|
||||
openGraph: {
|
||||
title: 'Superbrain',
|
||||
|
||||
@@ -4,7 +4,8 @@ import { useState } from 'react'
|
||||
import { signIn } from 'next-auth/react'
|
||||
import { Button } from '@/components/ui/button'
|
||||
import { Input } from '@/components/ui/input'
|
||||
import { Link2, Shield, Mail, Lock } from 'lucide-react'
|
||||
import { Shield, Mail, Lock } from 'lucide-react'
|
||||
import { BrandIcon } from '@/components/brand-icon'
|
||||
import Link from 'next/link'
|
||||
import { toast } from 'sonner'
|
||||
import { useRouter } from 'next/navigation'
|
||||
@@ -42,9 +43,7 @@ export function LoginClient({ oidcEnabled, passwordEnabled }: { oidcEnabled: boo
|
||||
<div className="w-full max-w-sm space-y-8">
|
||||
<div className="text-center">
|
||||
<div className="flex justify-center mb-4">
|
||||
<div className="flex h-14 w-14 items-center justify-center rounded-2xl bg-primary text-primary-foreground">
|
||||
<Link2 className="h-7 w-7" />
|
||||
</div>
|
||||
<BrandIcon className="h-14 w-14" />
|
||||
</div>
|
||||
<h1 className="font-display text-3xl font-bold tracking-tight">Superbrain</h1>
|
||||
<p className="text-sm text-muted-foreground mt-2">Your personal binder of life on the web</p>
|
||||
|
||||
@@ -4,7 +4,8 @@ import { useState } from 'react'
|
||||
import { useSearchParams, useRouter } from 'next/navigation'
|
||||
import { Button } from '@/components/ui/button'
|
||||
import { Input } from '@/components/ui/input'
|
||||
import { Link2, Lock } from 'lucide-react'
|
||||
import { Lock } from 'lucide-react'
|
||||
import { BrandIcon } from '@/components/brand-icon'
|
||||
import Link from 'next/link'
|
||||
import { toast } from 'sonner'
|
||||
|
||||
@@ -48,9 +49,7 @@ export function ResetPasswordClient() {
|
||||
<div className="min-h-screen flex items-center justify-center bg-background p-4">
|
||||
<div className="w-full max-w-sm space-y-8 text-center">
|
||||
<div className="flex justify-center mb-4">
|
||||
<div className="flex h-14 w-14 items-center justify-center rounded-2xl bg-primary text-primary-foreground">
|
||||
<Link2 className="h-7 w-7" />
|
||||
</div>
|
||||
<BrandIcon className="h-14 w-14" />
|
||||
</div>
|
||||
<h1 className="font-display text-3xl font-bold tracking-tight">Reset Password</h1>
|
||||
<p className="text-sm text-muted-foreground mt-2">
|
||||
@@ -71,9 +70,7 @@ export function ResetPasswordClient() {
|
||||
<div className="w-full max-w-sm space-y-8">
|
||||
<div className="text-center">
|
||||
<div className="flex justify-center mb-4">
|
||||
<div className="flex h-14 w-14 items-center justify-center rounded-2xl bg-primary text-primary-foreground">
|
||||
<Link2 className="h-7 w-7" />
|
||||
</div>
|
||||
<BrandIcon className="h-14 w-14" />
|
||||
</div>
|
||||
<h1 className="font-display text-3xl font-bold tracking-tight">Choose a New Password</h1>
|
||||
<p className="text-sm text-muted-foreground mt-2">Resetting signs out every other device.</p>
|
||||
|
||||
@@ -4,7 +4,8 @@ import { useState } from 'react'
|
||||
import { signIn } from 'next-auth/react'
|
||||
import { Button } from '@/components/ui/button'
|
||||
import { Input } from '@/components/ui/input'
|
||||
import { Link2, Mail, Lock, User } from 'lucide-react'
|
||||
import { Mail, Lock, User } from 'lucide-react'
|
||||
import { BrandIcon } from '@/components/brand-icon'
|
||||
import Link from 'next/link'
|
||||
import { toast } from 'sonner'
|
||||
import { useRouter } from 'next/navigation'
|
||||
@@ -52,9 +53,7 @@ export function SignupClient() {
|
||||
<div className="w-full max-w-sm space-y-8">
|
||||
<div className="text-center">
|
||||
<div className="flex justify-center mb-4">
|
||||
<div className="flex h-14 w-14 items-center justify-center rounded-2xl bg-primary text-primary-foreground">
|
||||
<Link2 className="h-7 w-7" />
|
||||
</div>
|
||||
<BrandIcon className="h-14 w-14" />
|
||||
</div>
|
||||
<h1 className="font-display text-3xl font-bold tracking-tight">Create Account</h1>
|
||||
<p className="text-sm text-muted-foreground mt-2">Join Superbrain to start organizing your links</p>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
import { useState } from 'react'
|
||||
import { useSearchParams } from 'next/navigation'
|
||||
import { Button } from '@/components/ui/button'
|
||||
import { BellOff, Check, Link2 } from 'lucide-react'
|
||||
import { BrandIcon } from '@/components/brand-icon'
|
||||
import Link from 'next/link'
|
||||
import { toast } from 'sonner'
|
||||
|
||||
@@ -46,9 +46,7 @@ export function UnsubscribeClient() {
|
||||
<div className="min-h-screen flex items-center justify-center bg-background p-4">
|
||||
<div className="w-full max-w-sm space-y-8 text-center">
|
||||
<div className="flex justify-center mb-4">
|
||||
<div className="flex h-14 w-14 items-center justify-center rounded-2xl bg-primary text-primary-foreground">
|
||||
<Link2 className="h-7 w-7" />
|
||||
</div>
|
||||
<BrandIcon className="h-14 w-14" />
|
||||
</div>
|
||||
<h1 className="font-display text-3xl font-bold tracking-tight">Invalid Link</h1>
|
||||
<p className="text-sm text-muted-foreground mt-2">
|
||||
@@ -72,9 +70,7 @@ export function UnsubscribeClient() {
|
||||
<div className="min-h-screen flex items-center justify-center bg-background p-4">
|
||||
<div className="w-full max-w-sm space-y-8 text-center">
|
||||
<div className="flex justify-center mb-4">
|
||||
<div className="flex h-14 w-14 items-center justify-center rounded-2xl bg-primary text-primary-foreground">
|
||||
<Check className="h-7 w-7" />
|
||||
</div>
|
||||
<BrandIcon className="h-14 w-14" />
|
||||
</div>
|
||||
<h1 className="font-display text-3xl font-bold tracking-tight">You're Unsubscribed</h1>
|
||||
<p className="text-sm text-muted-foreground mt-2">
|
||||
@@ -99,9 +95,7 @@ export function UnsubscribeClient() {
|
||||
<div className="w-full max-w-sm space-y-8">
|
||||
<div className="text-center">
|
||||
<div className="flex justify-center mb-4">
|
||||
<div className="flex h-14 w-14 items-center justify-center rounded-2xl bg-primary text-primary-foreground">
|
||||
<BellOff className="h-7 w-7" />
|
||||
</div>
|
||||
<BrandIcon className="h-14 w-14" />
|
||||
</div>
|
||||
<h1 className="font-display text-3xl font-bold tracking-tight">Unsubscribe</h1>
|
||||
<p className="text-sm text-muted-foreground mt-2">
|
||||
|
||||
Reference in New Issue
Block a user