"use client"; import { Avatar, Dropdown, DropdownDivider, DropdownItem, } from "flowbite-react"; import { useUserStore } from "#/store/auth"; import Link from "next/link"; import { usePathname, useRouter } from "next/navigation"; import { usePreferencesStore } from "#/store/preferences"; const NavbarItems = [ { title: "Домашняя", icon: "mdi--home", href: "/", auth: false, }, { title: "Поиск", icon: "mdi--search", href: "/search", auth: false, }, { title: "Закладки", icon: "mdi--bookmark-multiple", href: "/bookmarks", auth: true, }, ]; const FifthButton = { favorites: { title: "Избранное", icon: "mdi--favorite", href: "/favorites", auth: true, }, collections: { title: "Коллекции", icon: "mdi--collections-bookmark", href: "/collections", auth: true, }, history: { title: "История", icon: "mdi--history", href: "/history", auth: true, }, discovery: { title: "Обзор", icon: "mdi--compass", href: "/discovery", auth: false, }, }; export const NavBarMobile = (props: { setIsSettingModalOpen: any }) => { const userStore = useUserStore(); const router = useRouter(); const pathname = usePathname(); const preferenceStore = usePreferencesStore(); return ( <> ); };