upload mission

This commit is contained in:
Виталий Лавшонок
2025-11-02 13:15:12 +03:00
parent 99018537c5
commit 59f89d5113
18 changed files with 312 additions and 115 deletions

View File

@@ -6,11 +6,12 @@ import { useAppSelector } from "../../../redux/hooks";
const Menu = () => {
const menuItems = [
{text: "Главная", href: "/home", icon: Home, page: "home" },
{text: "Задачи", href: "/home/problems", icon: Clipboard, page: "problems" },
{text: "Задачи", href: "/home/missions", icon: Clipboard, page: "missions" },
{text: "Статьи", href: "/home/articles", icon: Openbook, page: "articles" },
{text: "Группы", href: "/home/groups", icon: Users, page: "groups" },
{text: "Контесты", href: "/home/contests", icon: Cup, page: "contests" },
{text: "Аккаунт", href: "/home/account", icon: Account, page: "account" },
{text: "Загрузка", href: "/upload", icon: Account, page: "p" },
];
const activePage = useAppSelector((state) => state.store.menu.activePage);