This commit is contained in:
Philippe Torrel
2026-08-24 11:56:41 +02:00
parent a5e74fd729
commit 821c839574
71 changed files with 19772 additions and 248 deletions

View File

@@ -0,0 +1,60 @@
import FormInput from '../components/FormInput';
function AccountInfo({ formData, handleChange, errors }) {
return (
<div>
<h2 className="text-xl font-semibold mb-4">
Welcome to BrightPath Wellness!
</h2>
<p className="mb-6 text-gray-700">
Lets create your account and begin your wellness journey.
</p>
<div className="mb-4">
<FormInput
htmlFor="fullName"
label="Full Name"
type="text"
id="fullName"
name="fullName"
value={''}
onChange={handleChange}
error={errors.fullName}
placeholder="Enter your full name"
required={true}
/>
</div>
<div className="mb-4">
<FormInput
htmlFor="email"
label="Email"
type="email"
id="email"
name="email"
value={formData.email}
onChange={handleChange}
error={errors.email}
placeholder="Enter your email address"
required={true}
/>
</div>
<div className="mb-4">
<FormInput
htmlFor="password"
label="Password"
type="password"
id="password"
name="password"
value={formData.password}
onChange={handleChange}
placeholder="Create a password"
required={true}
/>
</div>
</div>
);
}
export default AccountInfo;