Skip to content

Commit 1da40aa

Browse files
committed
[DASH-616] Nebula - Add Alpha badge in sidebar
1 parent 9954b37 commit 1da40aa

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

apps/dashboard/src/app/nebula-app/(app)/components/ChatSidebar.tsx

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
"use client";
22
import { ScrollShadow } from "@/components/ui/ScrollShadow/ScrollShadow";
3+
import { Badge } from "@/components/ui/badge";
34
import { Button } from "@/components/ui/button";
45
import type { Account } from "@3rdweb-sdk/react/hooks/useApi";
5-
import { ChevronRightIcon, MessageSquareDashedIcon } from "lucide-react";
6+
import {
7+
ChevronRightIcon,
8+
FlaskConicalIcon,
9+
MessageSquareDashedIcon,
10+
} from "lucide-react";
611
import Link from "next/link";
712
import type { TruncatedSessionInfo } from "../api/types";
813
import { useNewChatPageLink } from "../hooks/useNewChatPageLink";
@@ -23,10 +28,15 @@ export function ChatSidebar(props: {
2328

2429
return (
2530
<div className="flex h-full flex-col p-2">
26-
<div className="flex justify-start p-2">
31+
<div className="flex items-center justify-start gap-3 p-2 lg:justify-between">
2732
<Link href="/">
2833
<NebulaIcon className="size-8 text-foreground" />
2934
</Link>
35+
36+
<Badge variant="outline" className="gap-1">
37+
<FlaskConicalIcon className="size-2.5" />
38+
Alpha
39+
</Badge>
3040
</div>
3141

3242
<div className="p-2">

apps/dashboard/src/app/nebula-app/(app)/components/NebulaMobileNav.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function MobileNav(props: {
3232
onClick={() => setIsOpen(!isOpen)}
3333
className="h-auto w-auto p-0.5"
3434
>
35-
<MenuIcon className="size-6" />
35+
<MenuIcon className="size-8" />
3636
</Button>
3737
</SheetTrigger>
3838
<SheetContent

0 commit comments

Comments
 (0)