feat: enhance button styling for save actions in harvest and planting detail forms

This commit is contained in:
Pattadon 2025-03-14 11:27:24 +07:00
parent aa3490efad
commit 976800047e
3 changed files with 10 additions and 2 deletions

View File

@ -294,7 +294,12 @@ export default function HarvestDetailsForm({
)} )}
/> />
<div className="col-span-3 flex justify-center"> <div className="col-span-3 flex justify-center">
<Button type="submit">Save</Button> <Button
type="submit"
className="bg-blue-500 hover:bg-blue-600 duration-100"
>
Save
</Button>
</div> </div>
</form> </form>
</Form> </Form>

View File

@ -55,6 +55,9 @@ export default function SetupPage() {
} }
console.log("Submitting:", { plantingDetails, harvestDetails, mapData }); console.log("Submitting:", { plantingDetails, harvestDetails, mapData });
// send request to the server
}; };
return ( return (

View File

@ -372,7 +372,7 @@ export default function PlantingDetailsForm({
)} )}
/> />
<div className="col-span-3 flex justify-center"> <div className="col-span-3 flex justify-center">
<Button type="submit"> <Button type="submit" className="bg-blue-500 hover:bg-blue-600 duration-100">
Save Save
</Button> </Button>
</div> </div>