mirror of
https://github.com/ForFarmTeam/ForFarm.git
synced 2025-12-19 14:04:08 +01:00
feat: improve layout of planting and harvest details sections with centered headings and updated form structure
This commit is contained in:
parent
6ee05338ad
commit
e76aca28d3
@ -4,11 +4,17 @@ import { Separator } from "@/components/ui/separator";
|
|||||||
export default function SetupPage() {
|
export default function SetupPage() {
|
||||||
return (
|
return (
|
||||||
<div className="p-5">
|
<div className="p-5">
|
||||||
<h1 className="text-2xl">Plating Details</h1>
|
<div className=" flex justify-center">
|
||||||
|
<h1 className="flex text-2xl ">Plating Details</h1>
|
||||||
|
</div>
|
||||||
<Separator className="mt-3" />
|
<Separator className="mt-3" />
|
||||||
<div className="mt-3">
|
<div className="mt-10 flex justify-center">
|
||||||
<PlantingDetailsForm />
|
<PlantingDetailsForm />
|
||||||
</div>
|
</div>
|
||||||
|
<div className=" flex justify-center mt-20">
|
||||||
|
<h1 className="flex text-2xl ">Harvest Details</h1>
|
||||||
|
</div>
|
||||||
|
<Separator className="mt-3" />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -32,7 +32,7 @@ export default function PlantingDetailsForm() {
|
|||||||
});
|
});
|
||||||
return (
|
return (
|
||||||
<Form {...form}>
|
<Form {...form}>
|
||||||
<form className="space-y-5">
|
<form className="grid grid-cols-3 gap-5">
|
||||||
<FormField
|
<FormField
|
||||||
control={form.control}
|
control={form.control}
|
||||||
name="daysToEmerge"
|
name="daysToEmerge"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user