Refactor project structure and update assets

- Added new directories for Llms and Security components under src.
- Moved existing files into their respective directories for better organization.
- Updated file paths in imports to reflect the new structure.
- Replaced favicon.svg with a new version and updated its import path in index.html.
- Created a new LogoIcon component for the favicon with customizable colors.
- Added main and submenu link data files for navigation.
- Removed unused favicon.svg from public directory.
- Updated theme colors for a refreshed UI look.
This commit is contained in:
2025-05-08 22:28:00 +02:00
parent d45039e2f5
commit 20173e9042
11 changed files with 242 additions and 116 deletions
+20
View File
@@ -0,0 +1,20 @@
// src/data/navigationLinks.ts
import {
IconCalendarStats,
IconDeviceDesktopAnalytics,
IconFingerprint,
IconGauge,
IconHome2,
IconSettings,
IconUserOutline as IconUser,
} from '../assets/icons'; // ajusta según tu estructura de proyecto
export const mainLinksdata = [
{ icon: IconHome2, label: 'Home' },
{ icon: IconGauge, label: 'Dashboard' },
{ icon: IconDeviceDesktopAnalytics, label: 'Analytics' },
{ icon: IconCalendarStats, label: 'Releases' },
{ icon: IconUser, label: 'Account' },
{ icon: IconFingerprint, label: 'Security' },
{ icon: IconSettings, label: 'Settings' },
];
+35
View File
@@ -0,0 +1,35 @@
// src/data/submenuLinks.ts
export const submenuLinks = {
Home: [
{ label: 'Inicio', to: '/' },
{ label: 'Consulta Api', to: '/Consulta_API' },
{ label: 'Prueba_appshell', to: '/prueba_appshell' },
],
Dashboard: [
{ label: 'Resumen', to: '/dashboard/resumen' },
{ label: 'Estadísticas', to: '/dashboard/estadisticas' },
{ label: 'Usuarios', to: '/dashboard/usuarios' },
],
Analytics: [
{ label: 'Conversiones', to: '/analytics/conversiones' },
{ label: 'Tráfico', to: '/analytics/trafico' },
{ label: 'Tendencias', to: '/analytics/tendencias' },
],
Releases: [
{ label: 'Notas de versión', to: '/releases/notas-de-version' },
{ label: 'Historial', to: '/releases/historial' },
],
Account: [
{ label: 'Perfil', to: '/account/perfil' },
{ label: 'Suscripciones', to: '/account/suscripciones' },
],
Security: [
{ label: 'Contraseña', to: '/security/contraseña' },
{ label: '2FA', to: '/security/2fa' },
],
Settings: [
{ label: 'Preferencias', to: '/settings/preferencias' },
{ label: 'Notificaciones', to: '/settings/notificaciones' },
],
};