fix(cloud): retire beta banner and use production subscription links

This commit is contained in:
RockChinQ
2026-10-15 22:50:24 +08:00
parent 978db1701b
commit aabcaedf15
14 changed files with 21 additions and 228 deletions
+3 -5
View File
@@ -203,9 +203,7 @@ function SidebarProvider({
{
'--sidebar-width': `${sidebarWidth}px`,
'--sidebar-width-icon': SIDEBAR_WIDTH_ICON,
// Global notices (e.g. the beta banner) publish their height so
// the shell starts below them instead of underneath.
height: 'calc(100svh - var(--beta-banner-height, 0px))',
height: '100svh',
...style,
} as React.CSSProperties
}
@@ -302,8 +300,8 @@ function Sidebar({
<div
data-slot="sidebar-container"
style={{
top: 'var(--beta-banner-height, 0px)',
height: 'calc(100svh - var(--beta-banner-height, 0px))',
top: 0,
height: '100svh',
}}
className={cn(
'fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex',