You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.2 KiB
React
35 lines
1.2 KiB
React
2 years ago
|
import React from 'react';
|
||
|
import AuthenticatedLayout from '@/Layouts/AuthenticatedLayout';
|
||
|
import UpdatePasswordForm from './Partials/UpdatePasswordForm';
|
||
|
import UpdateProfileInformationForm from './Partials/UpdateProfileInformationForm';
|
||
|
import { Head } from '@inertiajs/react';
|
||
|
|
||
|
export default function Edit({ auth, mustVerifyEmail, status, flash }) {
|
||
|
return (
|
||
|
<AuthenticatedLayout
|
||
|
auth={auth}
|
||
|
flash={flash}
|
||
|
page={'Home'}
|
||
|
action={'Profile'}
|
||
|
>
|
||
|
<Head title="Profile" />
|
||
|
|
||
|
<div className="pb-12 pt-2">
|
||
|
<div className="max-w-7xl mx-auto sm:px-6 lg:px-8 space-y-6">
|
||
|
<div className="p-4 sm:p-8 bg-white shadow sm:rounded-lg">
|
||
|
<UpdateProfileInformationForm
|
||
|
mustVerifyEmail={mustVerifyEmail}
|
||
|
status={status}
|
||
|
className="max-w-xl"
|
||
|
/>
|
||
|
</div>
|
||
|
|
||
|
<div className="p-4 sm:p-8 bg-white shadow sm:rounded-lg">
|
||
|
<UpdatePasswordForm className="max-w-xl" />
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</AuthenticatedLayout>
|
||
|
);
|
||
|
}
|