From ab8b244f5900a2ce00540c4601a69991daa5ebf0 Mon Sep 17 00:00:00 2001 From: 230417 <230417@epvc.pt> Date: Tue, 17 Mar 2026 15:26:38 +0000 Subject: [PATCH] refactor: redesign barber item UI, update grid layout, and simplify specialty display in `BarberList`. --- web/src/components/BarberList.tsx | 55 ++++++++++++++++++------------- 1 file changed, 32 insertions(+), 23 deletions(-) diff --git a/web/src/components/BarberList.tsx b/web/src/components/BarberList.tsx index bfd286c..aaa42ee 100644 --- a/web/src/components/BarberList.tsx +++ b/web/src/components/BarberList.tsx @@ -1,44 +1,53 @@ -import { Card } from './ui/card'; import { Barber } from '../types'; import { User, Scissors } from 'lucide-react'; export const BarberList = ({ barbers }: { barbers: Barber[] }) => ( -
+ {b.name} +
+ {b.specialties.length > 0 ? ( ++ {b.specialties[0]} +
+ ) : ( +Especialista
+ )}Esta barbearia ainda não registou barbeiros.