fix: use RemnaWave icon in admin panel menu

This commit is contained in:
c0mrade
2026-02-02 10:45:29 +03:00
parent 1f7bd4f5f3
commit 4034b4db39

View File

@@ -1,5 +1,6 @@
import { Link } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
import { RemnawaveIcon } from '../components/icons';
// Group header icons
const AnalyticsGroupIcon = () => (
@@ -215,16 +216,6 @@ const EnvelopeIcon = () => (
</svg>
);
const CubeTransparentIcon = () => (
<svg className="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor" strokeWidth={1.5}>
<path
strokeLinecap="round"
strokeLinejoin="round"
d="M21 7.5l-2.25-1.313M21 7.5v2.25m0-2.25l-2.25 1.313M3 7.5l2.25-1.313M3 7.5l2.25 1.313M3 7.5v2.25m9 3l2.25-1.313M12 12.75l-2.25-1.313M12 12.75V15m0 6.75l2.25-1.313M12 21.75V19.5m0 2.25l-2.25-1.313m0-16.875L12 2.25l2.25 1.313M21 14.25v2.25l-2.25 1.313m-13.5 0L3 16.5v-2.25"
/>
</svg>
);
const ChevronRightIcon = () => (
<svg className="h-4 w-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" strokeWidth={2}>
<path strokeLinecap="round" strokeLinejoin="round" d="M8.25 4.5l7.5 7.5-7.5 7.5" />
@@ -456,7 +447,7 @@ export default function AdminPanel() {
},
{
to: '/admin/remnawave',
icon: <CubeTransparentIcon />,
icon: <RemnawaveIcon />,
title: t('admin.nav.remnawave'),
description: t('admin.panel.remnawaveDesc'),
},