"use client"; import { SchemeSwitch } from "@/features/colorSchemeSwitch"; import { SearchIcon } from "@/shared/assets/icons"; import { MobileMenu } from "./mobileMenu/mobileMenu"; import Link from "next/link"; import { useSelectedLayoutSegment } from "next/navigation"; import clsx from "clsx"; import { UserActivities } from "@/features/userActivities"; const sections = [ { title: "Игры", href: "games" }, { title: "Фильмы", href: "films" }, { title: "Аудиокниги", href: "audiobooks" }, ]; export const Header = () => { const currentPageName = useSelectedLayoutSegment(); return (

.Torrent

{sections.map((section) => ( {section.title} ))}
); };