diff --git a/app/App.tsx b/app/App.tsx
index bb81fc1..e8c949c 100644
--- a/app/App.tsx
+++ b/app/App.tsx
@@ -1,7 +1,7 @@
"use client";
import { useUserStore } from "./store/auth";
import { usePreferencesStore } from "./store/preferences";
-import { Navbar } from "./components/Navbar/Navbar";
+import { Navbar } from "./components/Navbar/NavbarUpdate";
import { Inter } from "next/font/google";
import { useEffect, useState } from "react";
import { Button, Modal } from "flowbite-react";
diff --git a/app/components/Navbar/NavbarUpdate.tsx b/app/components/Navbar/NavbarUpdate.tsx
new file mode 100644
index 0000000..9ee4d76
--- /dev/null
+++ b/app/components/Navbar/NavbarUpdate.tsx
@@ -0,0 +1,190 @@
+"use client";
+
+import Link from "next/link";
+import Image from "next/image";
+import { useUserStore } from "#/store/auth";
+import { usePathname } from "next/navigation";
+import { useState } from "react";
+import { SettingsModal } from "#/components/SettingsModal/SettingsModal";
+import { usePreferencesStore } from "#/store/preferences";
+
+export const Navbar = () => {
+ const pathname = usePathname();
+ const userStore = useUserStore();
+ const [isSettingModalOpen, setIsSettingModalOpen] = useState(false);
+ const preferenceStore = usePreferencesStore();
+
+ const menuItems = [
+ {
+ id: 1,
+ title: "Домашняя",
+ href: "/",
+ hrefInCategory: "/home",
+ icon: {
+ default: "material-symbols--home-outline",
+ active: "material-symbols--home",
+ },
+ isAuthRequired: false,
+ isShownOnMobile: true,
+ },
+ {
+ id: 2,
+ title: "Поиск",
+ href: "/search",
+ icon: {
+ default: "material-symbols--search",
+ active: "material-symbols--search",
+ },
+ isAuthRequired: false,
+ isShownOnMobile: true,
+ },
+ {
+ id: 3,
+ title: "Закладки",
+ href: "/bookmarks",
+ icon: {
+ default: "material-symbols--bookmarks-outline",
+ active: "material-symbols--bookmarks",
+ },
+ isAuthRequired: true,
+ isShownOnMobile: true,
+ },
+ {
+ id: 4,
+ title: "Избранное",
+ href: "/favorites",
+ icon: {
+ default: "material-symbols--favorite-outline",
+ active: "material-symbols--favorite",
+ },
+ isAuthRequired: true,
+ isShownOnMobile: false,
+ },
+ {
+ id: 5,
+ title: "Коллекции",
+ href: "/collections",
+ icon: {
+ default: "material-symbols--collections-bookmark-outline",
+ active: "material-symbols--collections-bookmark",
+ },
+ isAuthRequired: true,
+ isShownOnMobile: false,
+ },
+ {
+ id: 6,
+ title: "История",
+ href: "/history",
+ icon: {
+ default: "material-symbols--history",
+ active: "material-symbols--history",
+ },
+ isAuthRequired: true,
+ isShownOnMobile: false,
+ },
+ ];
+
+ return (
+ <>
+
@@ -154,9 +161,33 @@ export const SettingsModal = (props: { isOpen: boolean; setIsOpen: any }) => {
+ Показывать название пункта в навигации +
+