feat: chat

This commit is contained in:
gosangam
2026-08-29 03:49:58 +05:30
parent 3257efb06a
commit 523b6fa7e8
34 changed files with 5381 additions and 11 deletions
+4 -5
View File
@@ -13,9 +13,8 @@
import Image from "next/image";
import Link from "next/link";
import { usePathname } from "next/navigation";
import { Home, Search, User as UserIcon } from "lucide-react";
import { Home, MessageCircle, Search, User as UserIcon } from "lucide-react";
import { useAuth } from "@/components/auth/auth-provider";
import { KautilyaIcon } from "@/components/selection-toolbar/shared";
import { cn } from "@/lib/utils";
type Item = {
@@ -52,9 +51,9 @@ export function SiteBottomNav() {
],
},
{
href: "/ask",
label: "Kautilya",
icon: <KautilyaIcon className="size-5" />,
href: "/chat",
label: "Chat",
icon: <MessageCircle className="size-5" />,
},
{
href: user ? "/u/me" : "/login",
+4 -3
View File
@@ -34,6 +34,7 @@ import {
DownloadCloud,
FolderClosed,
Home,
MessageCircle,
LogIn,
Search,
Settings2,
@@ -77,9 +78,9 @@ const TOP_ITEMS: NavItem[] = [
],
},
{
href: "/ask",
label: "Kautilya",
icon: <KautilyaIcon className="size-5" />,
href: "/chats",
label: "Chats",
icon: <MessageCircle className="size-5" />,
},
{
href: "/u/me/collections",