diff --git a/ui/homepage/components/Navbar.tsx b/ui/homepage/components/Navbar.tsx
index 30c0ab8..cb71122 100644
--- a/ui/homepage/components/Navbar.tsx
+++ b/ui/homepage/components/Navbar.tsx
@@ -261,12 +261,12 @@ export default function Navbar() {
)
})}
-
diff --git a/ui/homepage/components/ReleaseChannelSelector.tsx b/ui/homepage/components/ReleaseChannelSelector.tsx
index 7743483..a96b0de 100644
--- a/ui/homepage/components/ReleaseChannelSelector.tsx
+++ b/ui/homepage/components/ReleaseChannelSelector.tsx
@@ -9,7 +9,7 @@ export type ReleaseChannel = 'stable' | 'beta' | 'develop'
type ReleaseChannelSelectorProps = {
selected: ReleaseChannel[]
onToggle: (channel: ReleaseChannel) => void
- variant?: 'default' | 'compact'
+ variant?: 'default' | 'compact' | 'icon'
}
const CHANNEL_ORDER: ReleaseChannel[] = ['stable', 'beta', 'develop']
@@ -24,6 +24,8 @@ export default function ReleaseChannelSelector({
const [open, setOpen] = useState(false)
const containerRef = useRef(null)
const isCompact = variant === 'compact'
+ const isIcon = variant === 'icon'
+ const hasPreviewSelection = selected.some((channel) => channel !== 'stable')
useEffect(() => {
const handleClickOutside = (event: MouseEvent) => {
@@ -47,40 +49,66 @@ export default function ReleaseChannelSelector({
const summary = selectedNames.length > 0 ? selectedNames.join(' + ') : labels.stable.name
return (
-
+
- {isCompact && (
+ {(isCompact || isIcon) && (