show.blade.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <x-app-layout>
  2. <x-slot name="header">
  3. <h2 class="font-semibold text-xl text-gray-800 leading-tight">
  4. {{ __('Profile') }}
  5. </h2>
  6. </x-slot>
  7. <div>
  8. <div class="max-w-7xl mx-auto py-10 sm:px-6 lg:px-8">
  9. @if (Laravel\Fortify\Features::canUpdateProfileInformation())
  10. @livewire('profile.update-profile-information-form')
  11. <x-jet-section-border />
  12. @endif
  13. @if (Laravel\Fortify\Features::enabled(Laravel\Fortify\Features::updatePasswords()))
  14. <div class="mt-10 sm:mt-0">
  15. @livewire('profile.update-password-form')
  16. </div>
  17. <x-jet-section-border />
  18. @endif
  19. @if (Laravel\Fortify\Features::canManageTwoFactorAuthentication())
  20. <div class="mt-10 sm:mt-0">
  21. @livewire('profile.two-factor-authentication-form')
  22. </div>
  23. <x-jet-section-border />
  24. @endif
  25. <div class="mt-10 sm:mt-0">
  26. @livewire('profile.logout-other-browser-sessions-form')
  27. </div>
  28. @if (Laravel\Jetstream\Jetstream::hasAccountDeletionFeatures())
  29. <x-jet-section-border />
  30. <div class="mt-10 sm:mt-0">
  31. @livewire('profile.delete-user-form')
  32. </div>
  33. @endif
  34. </div>
  35. </div>
  36. </x-app-layout>