mirror of
https://github.com/anna-sara/lan_kiosk
synced 2025-10-26 13:07:14 +01:00
43 lines
1.6 KiB
TypeScript
43 lines
1.6 KiB
TypeScript
import AuthenticatedLayout from '@/Layouts/AuthenticatedLayout';
|
|
import { PageProps } from '@/types';
|
|
import { Head } from '@inertiajs/react';
|
|
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
|
|
header={
|
|
<h2 className="text-xl font-semibold leading-tight text-gray-800">
|
|
Profile
|
|
</h2>
|
|
}
|
|
>
|
|
<Head title="Profile" />
|
|
|
|
<div className="py-12">
|
|
<div className="mx-auto max-w-7xl space-y-6 sm:px-6 lg:px-8">
|
|
<div className="bg-white p-4 shadow sm:rounded-lg sm:p-8">
|
|
<UpdateProfileInformationForm
|
|
mustVerifyEmail={mustVerifyEmail}
|
|
status={status}
|
|
className="max-w-xl"
|
|
/>
|
|
</div>
|
|
|
|
<div className="bg-white p-4 shadow sm:rounded-lg sm:p-8">
|
|
<UpdatePasswordForm className="max-w-xl" />
|
|
</div>
|
|
|
|
<div className="bg-white p-4 shadow sm:rounded-lg sm:p-8">
|
|
<DeleteUserForm className="max-w-xl" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</AuthenticatedLayout>
|
|
);
|
|
}
|