feat: chat
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user