diff --git a/web/src/pages/Booking.tsx b/web/src/pages/Booking.tsx index 6304839..436b64c 100644 --- a/web/src/pages/Booking.tsx +++ b/web/src/pages/Booking.tsx @@ -192,7 +192,6 @@ export default function Booking() {

1. Selecione o Serviço

-

O primeiro passo para o seu agendamento.

{shop.services.map((s) => ( @@ -231,8 +230,7 @@ export default function Booking() { {step === 2 && (
-

2. Escolha o Mestre

-

Selecione o artista que cuidará do seu visual.

+

2. Escolha o Barbeiro

{shop.barbers.map((b) => ( @@ -272,23 +270,25 @@ export default function Booking() { {step === 3 && (
-

3. Escolha o Horário

-

Seu tempo é valioso. Escolha a data perfeita.

+

3. Escolha a Data

-
- +
+ + + {date ? new Date(date).toLocaleDateString('pt-PT', { day: 'numeric', month: 'long', year: 'numeric' }) : 'SELECIONAR DATA'} + + { + setDate(e.target.value); + if (e.target.value) setStep(4); + }} + min={new Date().toISOString().split('T')[0]} + className="absolute inset-0 w-full h-full opacity-0 cursor-pointer m-0 p-0" + />
- { - setDate(e.target.value); - if (e.target.value) setStep(4); - }} - min={new Date().toISOString().split('T')[0]} - className="h-16 pl-14 pr-6 bg-slate-50 border-none rounded-2xl text-lg font-black uppercase tracking-widest text-slate-900 focus:ring-2 focus:ring-indigo-500/20 transition-all shadow-inner" - />
)} @@ -296,8 +296,7 @@ export default function Booking() { {step === 4 && (
-

4. Escolha o Horário Privilegiado

-

A pontualidade é a cortesia dos reis.

+

4. Escolha o Horário