From c753ab2831e341ca87c2d99179f5a2d35caa58c7 Mon Sep 17 00:00:00 2001 From: BilalG1 Date: Wed, 27 May 2026 10:09:16 -0700 Subject: [PATCH] fix(dashboard): show Stack Auth logo on left of rebrand modal (#1495) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary The Stack Auth → Hexclave rebrand modal added in [#1493](https://github.com/hexclave/stack-auth/pull/1493) rendered the **Hexclave** logo on both sides of its illustration instead of *Stack Auth → Hexclave*. ## Root cause [\`hexclave-rebrand-modal.tsx\`](https://github.com/hexclave/stack-auth/blob/dev/apps/dashboard/src/components/hexclave-rebrand-modal.tsx) referenced \`/logo.svg\` and \`/logo-bright.svg\` for the left-hand "Stack Auth" mark. But the visible-rebrand flip in [#1481](https://github.com/hexclave/stack-auth/pull/1481) replaced those files in \`apps/dashboard/public/\` with the Hexclave benzene mark — so post-merge, both \`\` slots resolved to the Hexclave logo. ## Fix - Restored the **pre-rebrand Stack Auth SVGs** (lifted from \`57ff5d3ce~1\`, the commit before the brand-flip) under dedicated filenames so they can't get clobbered the next time \`/logo.svg\` is updated: - \`apps/dashboard/public/stack-auth-logo.svg\` — black mark, light theme - \`apps/dashboard/public/stack-auth-logo-bright.svg\` — white mark, dark theme - Pointed the modal's left-hand \`\` pair at the new paths and left a comment explaining why we don't share \`/logo.svg\` (so the next person doesn't try to consolidate it back). The originals on \`origin/dev\` (\`/logo.svg\`, \`/logo-bright.svg\` = Hexclave) are untouched. ## Verification - \`pnpm --filter @stackframe/dashboard lint\` — clean. - Diff of [hexclave-rebrand-modal.tsx](https://github.com/hexclave/stack-auth/blob/fix-stack-logo-in-modal/apps/dashboard/src/components/hexclave-rebrand-modal.tsx) is two \`src=\` swaps plus a comment; the dismissal logic, gates, and storage key are untouched. --- ## Summary by cubic Fixes the rebrand modal to show the Stack Auth logo on the left instead of rendering Hexclave on both sides. Restores pre-rebrand assets as `stack-auth-logo.svg` and `stack-auth-logo-bright.svg` and updates the modal to use them for light/dark themes. Written for commit f4ed26266c3264816471870bce7b56e40bbbd756. Summary will update on new commits. Review in cubic ## Summary by CodeRabbit * **Style** * Updated the rebrand modal illustration assets to display Stack Auth branding correctly. [![Review Change Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/hexclave/stack-auth/pull/1495?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack) --- apps/dashboard/public/stack-auth-logo-bright.svg | 3 +++ apps/dashboard/public/stack-auth-logo.svg | 3 +++ apps/dashboard/src/components/hexclave-rebrand-modal.tsx | 8 +++++--- 3 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 apps/dashboard/public/stack-auth-logo-bright.svg create mode 100644 apps/dashboard/public/stack-auth-logo.svg diff --git a/apps/dashboard/public/stack-auth-logo-bright.svg b/apps/dashboard/public/stack-auth-logo-bright.svg new file mode 100644 index 000000000..7596871fe --- /dev/null +++ b/apps/dashboard/public/stack-auth-logo-bright.svg @@ -0,0 +1,3 @@ + + + diff --git a/apps/dashboard/public/stack-auth-logo.svg b/apps/dashboard/public/stack-auth-logo.svg new file mode 100644 index 000000000..ba3a16fdb --- /dev/null +++ b/apps/dashboard/public/stack-auth-logo.svg @@ -0,0 +1,3 @@ + + + diff --git a/apps/dashboard/src/components/hexclave-rebrand-modal.tsx b/apps/dashboard/src/components/hexclave-rebrand-modal.tsx index b96ff01bc..345979411 100644 --- a/apps/dashboard/src/components/hexclave-rebrand-modal.tsx +++ b/apps/dashboard/src/components/hexclave-rebrand-modal.tsx @@ -150,9 +150,11 @@ function RebrandIllustration() { className="flex justify-center items-center gap-4 pb-2" aria-hidden="true" > - {/* Stack Auth: served light & dark variants depending on theme */} + {/* Stack Auth: pre-rebrand mark, preserved under a dedicated filename + because /logo.svg now resolves to the Hexclave benzene mark post- + rebrand (PR #1481). Light & dark variants served per theme. */}