mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
fix(dashboard): show Stack Auth logo on left of rebrand modal
The Stack Auth → Hexclave rebrand modal in #1493 referenced /logo.svg and /logo-bright.svg expecting the Stack Auth mark, but the visible- rebrand flip in #1481 replaced those public files with the Hexclave benzene mark. The illustration ended up rendering Hexclave on both sides instead of 'Stack Auth → Hexclave'. Preserve the pre-rebrand Stack Auth SVGs under dedicated filenames (stack-auth-logo{,-bright}.svg) so future brand-asset edits to /logo.svg can't silently break the modal, and point the modal's left-hand <Image> at them.
This commit is contained in:
parent
4f621f5cbe
commit
f4ed26266c
3
apps/dashboard/public/stack-auth-logo-bright.svg
Normal file
3
apps/dashboard/public/stack-auth-logo-bright.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="131" height="156" viewBox="0 0 131 156" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M124.042 28.6459L69.7327 1.75616C66.9416 0.374284 63.666 0.372197 60.8735 1.75051L0.335449 31.6281V87.6369L65.3045 119.91L117.154 93.675V112.414L65.3045 138.44L0.335449 106.584V119.655C0.335449 122.359 1.87599 124.827 4.30545 126.015L61.8765 154.161C64.6911 155.538 67.9883 155.515 70.7832 154.099L130.065 124.074V79.7105C130.065 74.8003 124.934 71.5769 120.51 73.7077L79.0476 93.675V75.9771L130.065 50.1589V38.3485C130.065 34.2325 127.731 30.4724 124.042 28.6459Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 597 B |
3
apps/dashboard/public/stack-auth-logo.svg
Normal file
3
apps/dashboard/public/stack-auth-logo.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="131" height="156" viewBox="0 0 131 156" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M124.447 28.6459L70.1382 1.75616C67.3472 0.374284 64.0715 0.372197 61.279 1.75051L0.740967 31.6281V87.6369L65.7101 119.91L117.56 93.675V112.414L65.7101 138.44L0.740967 106.584V119.655C0.740967 122.359 2.28151 124.827 4.71097 126.015L62.282 154.161C65.0966 155.538 68.3938 155.515 71.1888 154.099L130.47 124.074V79.7105C130.47 74.8003 125.34 71.5769 120.915 73.7077L79.4531 93.675V75.9771L130.47 50.1589V38.3485C130.47 34.2325 128.137 30.4724 124.447 28.6459Z" fill="black"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 591 B |
@ -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. */}
|
||||
<Image
|
||||
src="/logo.svg"
|
||||
src="/stack-auth-logo.svg"
|
||||
alt=""
|
||||
width={48}
|
||||
height={48}
|
||||
@ -160,7 +162,7 @@ function RebrandIllustration() {
|
||||
className="h-12 w-auto opacity-50 block dark:hidden"
|
||||
/>
|
||||
<Image
|
||||
src="/logo-bright.svg"
|
||||
src="/stack-auth-logo-bright.svg"
|
||||
alt=""
|
||||
width={48}
|
||||
height={48}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user