Skip to content

Commit 0507e3c

Browse files
Merge branch 'main' into t3code/fix-banner-draft-overlap
2 parents 90ee1f2 + b511227 commit 0507e3c

2 files changed

Lines changed: 4 additions & 14 deletions

File tree

‎apps/web/src/components/Sidebar.tsx‎

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2762,12 +2762,12 @@ const SidebarChromeHeader = memo(function SidebarChromeHeader({
27622762
backdropVariant && "hover:bg-white/15 [&_svg]:text-white/85! [&_svg]:hover:text-white!",
27632763
)}
27642764
/>
2765-
<SidebarBrand onBackdrop={backdropVariant !== null} stageLabel={stageLabel} />
2765+
<SidebarBrand onBackdrop={backdropVariant !== null} />
27662766
</SidebarHeader>
27672767
);
27682768
});
27692769

2770-
function SidebarBrand({ stageLabel, onBackdrop }: { stageLabel: string; onBackdrop: boolean }) {
2770+
function SidebarBrand({ onBackdrop }: { onBackdrop: boolean }) {
27712771
return (
27722772
<Link
27732773
aria-label="Go to threads"
@@ -2786,16 +2786,6 @@ function SidebarBrand({ stageLabel, onBackdrop }: { stageLabel: string; onBackdr
27862786
>
27872787
Code
27882788
</span>
2789-
<span
2790-
className={cn(
2791-
"sidebar-brand-stage shrink-0 items-center whitespace-nowrap rounded-full px-1.5 py-0.5 text-[8px] font-medium uppercase tracking-[0.18em]",
2792-
onBackdrop
2793-
? "bg-white/15 text-white/80 backdrop-blur-sm"
2794-
: "bg-muted/50 text-muted-foreground/60",
2795-
)}
2796-
>
2797-
{stageLabel}
2798-
</span>
27992789
</Link>
28002790
);
28012791
}

‎apps/web/src/components/SidebarStageBackdrop.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,9 @@ function DevBlueprintArt() {
201201
gradientUnits="userSpaceOnUse"
202202
spreadMethod="reflect"
203203
>
204-
<stop style={{ stopColor: "var(--stage-bp-top)" }} />
204+
<stop style={{ stopColor: "var(--stage-bp-bottom)" }} />
205205
<stop offset="0.5" style={{ stopColor: "var(--stage-bp-mid)" }} />
206-
<stop offset="1" style={{ stopColor: "var(--stage-bp-bottom)" }} />
206+
<stop offset="1" style={{ stopColor: "var(--stage-bp-top)" }} />
207207
</linearGradient>
208208
<radialGradient
209209
id="stage-bp-glow"

0 commit comments

Comments
 (0)