mirror of
https://github.com/ForFarmTeam/ForFarm.git
synced 2025-12-18 21:44:08 +01:00
feat: add margin to section headers in setup page for improved layout
This commit is contained in:
parent
976800047e
commit
22449089fa
@ -57,7 +57,7 @@ export default function SetupPage() {
|
||||
console.log("Submitting:", { plantingDetails, harvestDetails, mapData });
|
||||
|
||||
// send request to the server
|
||||
|
||||
|
||||
};
|
||||
|
||||
return (
|
||||
@ -83,21 +83,21 @@ export default function SetupPage() {
|
||||
|
||||
{step === 1 && (
|
||||
<>
|
||||
<h2 className="text-xl text-center">Planting Details</h2>
|
||||
<h2 className="text-xl text-center mb-5">Planting Details</h2>
|
||||
<PlantingDetailsForm onChange={setPlantingDetails} />
|
||||
</>
|
||||
)}
|
||||
|
||||
{step === 2 && (
|
||||
<>
|
||||
<h2 className="text-xl text-center">Harvest Details</h2>
|
||||
<h2 className="text-xl text-center mb-5">Harvest Details</h2>
|
||||
<HarvestDetailsForm onChange={setHarvestDetails} />
|
||||
</>
|
||||
)}
|
||||
|
||||
{step === 3 && (
|
||||
<>
|
||||
<h2 className="text-xl text-center">Select Area on Map</h2>
|
||||
<h2 className="text-xl text-center mb-5">Select Area on Map</h2>
|
||||
<GoogleMapWithDrawing onAreaSelected={setMapData} />
|
||||
</>
|
||||
)}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user