mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-30 10:27:49 +00:00
fix: use RemnaWave icon in admin panel menu
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
import { Link } from 'react-router-dom';
|
import { Link } from 'react-router-dom';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
|
import { RemnawaveIcon } from '../components/icons';
|
||||||
|
|
||||||
// Group header icons
|
// Group header icons
|
||||||
const AnalyticsGroupIcon = () => (
|
const AnalyticsGroupIcon = () => (
|
||||||
@@ -215,16 +216,6 @@ const EnvelopeIcon = () => (
|
|||||||
</svg>
|
</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 = () => (
|
const ChevronRightIcon = () => (
|
||||||
<svg className="h-4 w-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" strokeWidth={2}>
|
<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" />
|
<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',
|
to: '/admin/remnawave',
|
||||||
icon: <CubeTransparentIcon />,
|
icon: <RemnawaveIcon />,
|
||||||
title: t('admin.nav.remnawave'),
|
title: t('admin.nav.remnawave'),
|
||||||
description: t('admin.panel.remnawaveDesc'),
|
description: t('admin.panel.remnawaveDesc'),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user