mirror of
https://github.com/ForFarmTeam/ForFarm.git
synced 2025-12-19 14:04:08 +01:00
feat: enhance button styling for save actions in harvest and planting detail forms
This commit is contained in:
parent
aa3490efad
commit
976800047e
@ -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>
|
||||||
|
|||||||
@ -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 (
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user