M-Gabrielly 5d00ffb508 feat(ui): standardize form and navigation styles
- Standardize borders for all fields (inputs, selects, textareas) with gray-300
- Add consistent hover effect (gray-400) across all fields
- Implement active highlight (blue) on navigation buttons
- Adjust field height from h-10 to h-11 for better proportion
- Add blue hover effect on back button
- Remove unnecessary icons from information card
- Ensure visual consistency only in light mode
- Apply changes to: Input, Textarea, HeaderAgenda, FooterAgenda,
  calendar-registration-form and financeiro page

BREAKING CHANGE: Input and Textarea components now use border-gray-300
by default in light mode instead of border-input
2025-10-03 20:17:28 -03:00

32 lines
1.0 KiB
TypeScript

"use client";
import { Save } from "lucide-react";
import { Button } from "../ui/button";
import { Label } from "../ui/label";
import { Switch } from "../ui/switch";
import { useState } from "react";
interface FooterAgendaProps {
onSave: () => void;
onCancel: () => void;
}
export default function FooterAgenda({ onSave, onCancel }: FooterAgendaProps) {
const [bloqueio, setBloqueio] = useState(false);
return (
<div className="sticky bottom-0 left-0 right-0 border-t border-border bg-background">
<div className="mx-auto w-full max-w-7xl px-8 py-3 flex items-center justify-between">
<div className="flex items-center gap-2">
<Switch checked={bloqueio} onCheckedChange={setBloqueio} />
<Label className="text-sm text-foreground">Bloqueio de Agenda</Label>
</div>
<div className="flex gap-2">
<Button variant="ghost" onClick={onCancel}>Cancelar</Button>
<Button onClick={onSave}>Salvar</Button>
</div>
</div>
</div>
);
}