Skip to content

Commit

Permalink
Guarda cambios antes de actualizar con main
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillePrograma94 committed Nov 7, 2024
1 parent da2bd2c commit f6357be
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 14 deletions.
6 changes: 3 additions & 3 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@ export default function Home() {
priority: 'high',
},
{
title: 'Personas Desaparecidas',
description: 'Reportar o buscar personas',
title: 'Desaparecidos y Extraviados',
description: 'Reportar o buscar Personas, animales y vehículos',
icon: Users,
path: 'https://desaparecidosdana.pythonanywhere.com/',
path: '/personas-animales-desaparecidos',
color: 'purple',
priority: 'high',
},
Expand Down
61 changes: 61 additions & 0 deletions src/app/personas-animales-desaparecidos/page.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
// personas-animales-desaparecidos/page.js

import { Users, PawPrint, Car, UserSearch } from 'lucide-react';

export default function PersonasAnimalesDesaparecidos() {
return (
<div className="mx-auto p-4 max-w-4xl">
{/* Encabezado con fondo de color e icono */}
<div className="flex items-center justify-between bg-purple-100 p-6 rounded-t-lg shadow">
<h1 className="text-2xl font-bold text-purple-800 flex items-center gap-2">
<UserSearch className="h-8 w-8 text-purple-500" />
Personas, Animales y Vehículos Desaparecidos
</h1>
</div>

{/* Tarjeta grande para información */}
<div className="bg-white p-8 rounded-b-lg shadow mb-8">
<p className="text-gray-700 text-lg">
En esta página puedes acceder a diferentes herramientas externas para encontrar personas, animales y vehículos desaparecidos.
Selecciona la opción que necesitas para más información y para reportar un caso o buscar ayuda.
</p>
</div>

{/* Tres columnas de botones */}
<div className="grid grid-cols-1 md:grid-cols-3 gap-6">
{/* Botón para Personas Desaparecidas */}
<a
href="https://desaparecidosdana.pythonanywhere.com/"
target="_blank"
rel="noopener noreferrer"
className="flex flex-col items-center justify-center bg-white border-l-4 border-blue-500 p-6 rounded-lg shadow hover:shadow-md transition-transform transform hover:-translate-y-1"
>
<Users className="h-10 w-10 text-blue-500 mb-2" />
<h2 className="text-lg font-bold text-blue-600 text-center">Personas Desaparecidas</h2>
</a>

{/* Botón para Animales Desaparecidos */}
<a
href="https://gorogoro.es/dana"
target="_blank"
rel="noopener noreferrer"
className="flex flex-col items-center justify-center bg-white border-l-4 border-green-500 p-6 rounded-lg shadow hover:shadow-md transition-transform transform hover:-translate-y-1"
>
<PawPrint className="h-10 w-10 text-green-500 mb-2" />
<h2 className="text-lg font-bold text-green-600 text-center">Animales Desaparecidos</h2>
</a>

{/* Botón para Vehículos Extraviados */}
<a
href="https://tucochedana.es/"
target="_blank"
rel="noopener noreferrer"
className="flex flex-col items-center justify-center bg-white border-l-4 border-purple-500 p-6 rounded-lg shadow hover:shadow-md transition-transform transform hover:-translate-y-1"
>
<Car className="h-10 w-10 text-purple-500 mb-2" />
<h2 className="text-lg font-bold text-purple-600 text-center">Vehículos Extraviados</h2>
</a>
</div>
</div>
);
}
13 changes: 2 additions & 11 deletions src/components/layout/Sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,9 @@ const menuItems = [
{
icon: UserSearch,
title: 'Desaparecidos',
description: 'Reportar personas',
path: 'https://desaparecidosdana.pythonanywhere.com/',
description: 'Personas, animales ...',
path: '/personas-animales-desaparecidos',
color: 'text-purple-600',
isHref: true,
},
{
icon: Package,
Expand Down Expand Up @@ -133,14 +132,6 @@ const menuItems = [
color: 'text-amber-600',
isHref: true,
},
{
icon: Car,
title: 'Encontrar tu Coche',
description: 'Sistema de registro y consulta de vehículos perdidos',
path: 'https://tucochedana.es/index.php/',
color: 'text-blue-600',
isHref: true,
},
];

export default function Sidebar({ isOpen, toggle }) {
Expand Down

0 comments on commit f6357be

Please sign in to comment.