55 lines
1.6 KiB
Vue
55 lines
1.6 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>
|
|
<template #header>
|
|
<h2 class="h4 mb-0">Profile</h2>
|
|
</template>
|
|
|
|
<div class="container py-4">
|
|
<div class="row g-4">
|
|
<div class="col-12">
|
|
<div class="card shadow-sm">
|
|
<div class="card-body">
|
|
<UpdateProfileInformationForm :must-verify-email="mustVerifyEmail" :status="status" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-12">
|
|
<div class="card shadow-sm">
|
|
<div class="card-body">
|
|
<UpdatePasswordForm />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-12">
|
|
<div class="card shadow-sm">
|
|
<div class="card-body">
|
|
<DeleteUserForm />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</AuthenticatedLayout>
|
|
</template>
|