"use client"; import { usePathname } from "next/navigation"; import Link from "next/link"; import Image from "next/image"; import { useUserStore } from "@/app/store/user-store"; import { useRouter } from "next/navigation"; import useCopyToClipboard from "@/app/hooks/useCopyToClipboard"; export const NavigationRail = (props) => { const [isCopied, copyToClipboard] = useCopyToClipboard(); const pathname = usePathname(); const userStore = useUserStore(); const router = useRouter(); const items = [ { title: "Домашняя", icon: "home", path: "/", }, { title: "Поиск", icon: "search", path: "/search", }, { title: "Закладки", icon: "bookmark", path: "/bookmarks", }, { title: "Избранное", icon: "favorite", path: "/favorites", }, { title: "История", icon: "history", path: "/history", }, ]; return ( ); };