Интеграция системы мониторинга банов

This commit is contained in:
PEDZEO
2026-01-16 16:03:51 +03:00
parent b1a5e17c6e
commit 34c128fd87
6 changed files with 1358 additions and 4 deletions

View File

@@ -51,6 +51,12 @@ const ChartIcon = () => (
</svg>
)
const BanSystemIcon = () => (
<svg className="w-8 h-8" fill="none" viewBox="0 0 24 24" stroke="currentColor" strokeWidth={1.5}>
<path strokeLinecap="round" strokeLinejoin="round" d="M18.364 18.364A9 9 0 005.636 5.636m12.728 12.728A9 9 0 015.636 5.636m12.728 12.728L5.636 5.636" />
</svg>
)
interface AdminCardProps {
to: string
icon: React.ReactNode
@@ -129,6 +135,13 @@ export default function AdminPanel() {
description: t('admin.panel.serversDesc'),
color: 'purple'
},
{
to: '/admin/ban-system',
icon: <BanSystemIcon />,
title: t('admin.nav.banSystem'),
description: t('admin.panel.banSystemDesc'),
color: 'error'
},
]
return (