Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

fix(web): improve dev sidebar backdrop contrast & remove version pills (#4166)

mariab511227b7ad4
diff --git a/apps/web/src/components/Sidebar.tsx b/apps/web/src/components/Sidebar.tsx
index 38e9f7a82..715a94e96 100644
--- a/apps/web/src/components/Sidebar.tsx
+++ b/apps/web/src/components/Sidebar.tsx
@@ -2762,12 +2762,12 @@ const SidebarChromeHeader = memo(function SidebarChromeHeader({
backdropVariant && "hover:bg-white/15 [&_svg]:text-white/85! [&_svg]:hover:text-white!",
)}
/>
- <SidebarBrand onBackdrop={backdropVariant !== null} stageLabel={stageLabel} />
+ <SidebarBrand onBackdrop={backdropVariant !== null} />
</SidebarHeader>
);
});
-function SidebarBrand({ stageLabel, onBackdrop }: { stageLabel: string; onBackdrop: boolean }) {
+function SidebarBrand({ onBackdrop }: { onBackdrop: boolean }) {
return (
<Link
aria-label="Go to threads"
@@ -2786,16 +2786,6 @@ function SidebarBrand({ stageLabel, onBackdrop }: { stageLabel: string; onBackdr
>
Code
</span>
- <span
- className={cn(
- "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]",
- onBackdrop
- ? "bg-white/15 text-white/80 backdrop-blur-sm"
- : "bg-muted/50 text-muted-foreground/60",
- )}
- >
- {stageLabel}
- </span>
</Link>
);
}
diff --git a/apps/web/src/components/SidebarStageBackdrop.tsx b/apps/web/src/components/SidebarStageBackdrop.tsx
index d3d86186c..6f0953a97 100644
--- a/apps/web/src/components/SidebarStageBackdrop.tsx
+++ b/apps/web/src/components/SidebarStageBackdrop.tsx
@@ -201,9 +201,9 @@ function DevBlueprintArt() {
gradientUnits="userSpaceOnUse"
spreadMethod="reflect"
>
- <stop style={{ stopColor: "var(--stage-bp-top)" }} />
+ <stop style={{ stopColor: "var(--stage-bp-bottom)" }} />
<stop offset="0.5" style={{ stopColor: "var(--stage-bp-mid)" }} />
- <stop offset="1" style={{ stopColor: "var(--stage-bp-bottom)" }} />
+ <stop offset="1" style={{ stopColor: "var(--stage-bp-top)" }} />
</linearGradient>
<radialGradient
id="stage-bp-glow"