<x-app-layout>
    <x-slot name="header">
            {{ __('Settings') }}
    </x-slot>

    <div>
        <div class="max-w-7xl mx-auto py-10 sm:px-6 lg:px-8">
            @if (Laravel\Fortify\Features::canUpdateProfileInformation())
                @livewire('profile.update-settings-form')
                <x-jetstream.section-border />
                @livewire('profile.update-profile-phone-form')
                <x-jetstream.section-border />
            @endif

            @if (Laravel\Fortify\Features::enabled(Laravel\Fortify\Features::updatePasswords()))
                <div class="mt-10 sm:mt-0">
                    @livewire('profile.update-password-form')
                </div>
                <x-jetstream.section-border />
            @endif
            {{-- Anchor used in email footer--}}
            <div  id="message_settings"/>
            @if (Laravel\Fortify\Features::canManageTwoFactorAuthentication())
                <div class="mt-10 sm:mt-0">
                    @livewire('profile.two-factor-authentication-form')
                </div>
                <x-jetstream.section-border />
            @endif
            <div class="mt-10 sm:mt-0">
                @livewire('profile.update-message-settings-form')
            </div>
            <x-jetstream.section-border />

            <div class="mt-10 sm:mt-0">
                @livewire('profile.export-profile-data')
            </div>
            <x-jetstream.section-border />


            <div class="mt-10 sm:mt-0">
                @livewire('profile.logout-other-browser-sessions-form')
            </div>
            <x-jetstream.section-border />


            @if (Laravel\Jetstream\Jetstream::hasAccountDeletionFeatures())
                <div class="mt-10 sm:mt-0">
                    @livewire('profile.delete-user-form')
                </div>
            @endif
        </div>
    </div>
</x-app-layout>
