diff --git a/src/pages/VaccineRegister.tsx b/src/pages/VaccineRegister.tsx index f4bda86..b8a8cae 100644 --- a/src/pages/VaccineRegister.tsx +++ b/src/pages/VaccineRegister.tsx @@ -1,73 +1,37 @@ -import { useState, type ChangeEvent } from "react"; -import { motion } from "framer-motion"; -import { Syringe, Save } from "lucide-react"; +import {motion} from "framer-motion"; +import {Syringe, Save} from "lucide-react"; export default function VaccineRegister() { - const [preview, setPreview] = useState(null); - - const handleImageChange = (e: ChangeEvent) => { - const file = e.target.files?.[0]; - if (file) setPreview(URL.createObjectURL(file)); - }; + const inputModern = + "w-full px-4 py-3 rounded-xl bg-gray-100/70 shadow-sm " + + "focus:ring-2 focus:ring-red-500 focus:outline-none " + + "transition placeholder-gray-400 text-gray-800"; return ( -
+
- Cadastro de Vacinas + Cadastro de Vacinas -
- - - {!preview && ( -

- Clique para adicionar imagem da vacina (opcional) -

- )} -
-

Informações da Vacina

- - - - - + + + + +