feat: add header channel selector & adding channel modal menu

This commit is contained in:
ivannoskov
2025-12-01 05:57:28 +03:00
parent d4672ea32b
commit d2cc1c39b3
22 changed files with 3473 additions and 892 deletions

View File

@@ -11,7 +11,6 @@ import {
LayoutDashboard,
Megaphone,
ShoppingCart,
Target,
TrendingUp,
Settings2,
ExternalLink,
@@ -36,17 +35,6 @@ const data = {
icon: LayoutDashboard,
isActive: true,
},
{
title: "Целевые каналы",
url: "/channels",
icon: Target,
items: [
{
title: "Все каналы",
url: "/channels",
},
],
},
{
title: "Внешние каналы",
url: "/external-channels",

View File

@@ -15,6 +15,7 @@ import {
BreadcrumbSeparator,
} from "@/components/ui/breadcrumb";
import { ThemeToggle } from "@/components/theme-toggle";
import { TargetChannelSelector } from "@/components/target-channel-selector";
import React from "react";
interface BreadcrumbItem {
@@ -53,7 +54,8 @@ export const DashboardHeader: React.FC<DashboardHeaderProps> = ({
</BreadcrumbList>
</Breadcrumb>
)}
<div className="ml-auto">
<div className="ml-auto flex items-center gap-2">
<TargetChannelSelector />
<ThemeToggle />
</div>
</header>