mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 15:02:34 +00:00
dashboard layout (#597)
This commit is contained in:
19
resources/js/pages/settings/profile/index.tsx
Normal file
19
resources/js/pages/settings/profile/index.tsx
Normal file
@ -0,0 +1,19 @@
|
||||
import { Head } from '@inertiajs/react';
|
||||
import DeleteUser from '@/pages/settings/profile/partials/delete-user';
|
||||
import SettingsLayout from '@/layouts/settings/layout';
|
||||
import Container from '@/components/container';
|
||||
import UpdatePassword from '@/pages/settings/profile/partials/update-password';
|
||||
import UpdateUser from '@/pages/settings/profile/partials/update-user';
|
||||
|
||||
export default function Profile({ mustVerifyEmail, status }: { mustVerifyEmail: boolean; status?: string }) {
|
||||
return (
|
||||
<SettingsLayout>
|
||||
<Head title="Profile settings" />
|
||||
<Container className="max-w-xl">
|
||||
<UpdateUser mustVerifyEmail={mustVerifyEmail} status={status} />
|
||||
<UpdatePassword />
|
||||
<DeleteUser />
|
||||
</Container>
|
||||
</SettingsLayout>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user