From 45963fa7ba2827ddb88f8944002e1fe11fbb4605 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sat, 11 Oct 2025 16:39:18 +0000 Subject: [PATCH] Refactor Admin Panel navigation --- src/pages/dashboard/Analytics.tsx | 5 +---- src/pages/dashboard/SearchEstablishments.tsx | 5 +---- src/pages/dashboard/SearchPlaces.tsx | 5 +---- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/src/pages/dashboard/Analytics.tsx b/src/pages/dashboard/Analytics.tsx index 4192466..aa87c83 100644 --- a/src/pages/dashboard/Analytics.tsx +++ b/src/pages/dashboard/Analytics.tsx @@ -1,5 +1,4 @@ import { useState } from 'react'; -import DashboardLayout from '@/components/DashboardLayout'; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select'; import { useAnalytics } from '@/hooks/useAnalytics'; @@ -43,8 +42,7 @@ const Analytics = () => { ); return ( - -
+
{/* Header */}
@@ -242,7 +240,6 @@ const Analytics = () => { )}
- ); }; diff --git a/src/pages/dashboard/SearchEstablishments.tsx b/src/pages/dashboard/SearchEstablishments.tsx index 97dd2c7..61a95a5 100644 --- a/src/pages/dashboard/SearchEstablishments.tsx +++ b/src/pages/dashboard/SearchEstablishments.tsx @@ -1,5 +1,4 @@ import { useState } from 'react'; -import DashboardLayout from '@/components/DashboardLayout'; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select'; import { SearchBar } from '@/components/shared/SearchBar'; @@ -46,8 +45,7 @@ const SearchEstablishments = () => { }; return ( - -
+
{/* Header */}

Buscar Establecimientos

@@ -205,7 +203,6 @@ const SearchEstablishments = () => {
)}
- ); }; diff --git a/src/pages/dashboard/SearchPlaces.tsx b/src/pages/dashboard/SearchPlaces.tsx index 2436249..a5bb745 100644 --- a/src/pages/dashboard/SearchPlaces.tsx +++ b/src/pages/dashboard/SearchPlaces.tsx @@ -1,5 +1,4 @@ import { useState } from 'react'; -import DashboardLayout from '@/components/DashboardLayout'; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select'; import { SearchBar } from '@/components/shared/SearchBar'; @@ -32,8 +31,7 @@ const SearchPlaces = () => { }; return ( - -
+
{/* Header */}

Buscar Lugares

@@ -158,7 +156,6 @@ const SearchPlaces = () => {
)}
- ); };