From ed31f45578b9d994ff56b82354ee41c02967d667 Mon Sep 17 00:00:00 2001 From: jbenedit Date: Thu, 7 Nov 2024 10:53:30 +0100 Subject: [PATCH] feat(Sidebar.js): add link to https://tucochedana.es/index.php/ --- src/components/layout/Sidebar.js | 13 +++++++++++-- tests/navigation/encuentra-coche.spec.ts | 10 ++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 tests/navigation/encuentra-coche.spec.ts diff --git a/src/components/layout/Sidebar.js b/src/components/layout/Sidebar.js index 2d7612c4..34887bfb 100644 --- a/src/components/layout/Sidebar.js +++ b/src/components/layout/Sidebar.js @@ -21,6 +21,7 @@ import { Landmark, Scale, MessageCircleQuestion, + CarTaxiFront, } from 'lucide-react'; import UserInfo from '../UserInfo'; import { useSession } from '../../context/SessionProvider'; @@ -125,13 +126,21 @@ const menuItems = [ isHref: true, }, { - icon: Car, + icon: CarTaxiFront, title: 'Compartir Coche', description: 'Viaja u ofrece viajes con otros', path: 'https://anem.guruwalk.com/', 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 }) { @@ -232,7 +241,7 @@ export default function Sidebar({ isOpen, toggle }) { {/* Toggle button for desktop */}