feat: implement staff management features including staff creation and dashboard layout

This commit is contained in:
Ardeman
2025-03-25 00:56:14 +08:00
parent 724a14d741
commit de1802c597
7 changed files with 367 additions and 4 deletions
+4 -4
View File
@@ -21,7 +21,7 @@ export const profileSchema = z.object({
name: z.string().min(1, 'Name is required'),
email: z.string().email('Email is invalid'),
profile_picture: z.string().url({
message: 'URL must be valid',
message: 'Gambar profil must be valid',
}),
})
@@ -93,7 +93,7 @@ export const DialogProfile = () => {
<Input
name="name"
id="name"
label="Name"
label="Nama"
placeholder="Enter your name"
/>
<Input
@@ -105,8 +105,8 @@ export const DialogProfile = () => {
<InputFile
name="profile_picture"
id="profile_picture"
label="Profile Picture"
placeholder="Upload your profile picture"
label="Gambar Profil"
placeholder="Unggah gambar profil Anda"
category="profile_picture"
/>
<Button