42 lines
1.3 KiB
Vue
42 lines
1.3 KiB
Vue
<script setup>
|
|
import AuthenticatedLayout from "@/Layouts/AuthenticatedLayout.vue";
|
|
import DeleteUserForm from "./Partials/DeleteUserForm.vue";
|
|
import UpdatePasswordForm from "./Partials/UpdatePasswordForm.vue";
|
|
import UpdateProfileInformationForm from "./Partials/UpdateProfileInformationForm.vue";
|
|
import { Head } from "@inertiajs/vue3";
|
|
|
|
defineProps({
|
|
mustVerifyEmail: {
|
|
type: Boolean,
|
|
},
|
|
status: {
|
|
type: String,
|
|
},
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<Head title="Profile" />
|
|
|
|
<AuthenticatedLayout>
|
|
<div class="py-12 overflow-auto">
|
|
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8 space-y-6">
|
|
<div class="p-4 sm:p-8 border border-sky-600 rounded-lg">
|
|
<UpdateProfileInformationForm
|
|
:must-verify-email="mustVerifyEmail"
|
|
:status="status"
|
|
class="max-w-xl"
|
|
/>
|
|
</div>
|
|
|
|
<div class="p-4 sm:p-8 border border-sky-600 rounded-lg">
|
|
<UpdatePasswordForm class="max-w-xl" />
|
|
</div>
|
|
|
|
<div class="p-4 sm:p-8 border border-sky-600 rounded-lg">
|
|
<DeleteUserForm class="max-w-xl" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</AuthenticatedLayout>
|
|
</template>
|