Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | import AuthenticatedLayout from '@/Components/Layout/AuthenticatedLayout'; import { PageProps } from '@/types'; import { Head } from '@inertiajs/react'; import { Card } from '@/Components/ui/Card'; import DeleteUserForm from './Partials/DeleteUserForm'; import UpdatePasswordForm from './Partials/UpdatePasswordForm'; import UpdateProfileInformationForm from './Partials/UpdateProfileInformationForm'; export default function Edit({ mustVerifyEmail, status, }: PageProps<{ mustVerifyEmail: boolean; status?: string }>) { return ( <AuthenticatedLayout title="Profile" header={ <div> <h1 className="text-2xl font-bold text-foreground">Profile</h1> <p className="text-sm text-muted-foreground"> Manage your account settings and preferences </p> </div> } > <Head title="Profile" /> <div className="space-y-6"> <Card> <UpdateProfileInformationForm mustVerifyEmail={mustVerifyEmail} status={status} className="p-6" /> </Card> <Card> <UpdatePasswordForm className="p-6" /> </Card> <Card> <DeleteUserForm className="p-6" /> </Card> </div> </AuthenticatedLayout> ); } |