add header and footer to profile page

This commit is contained in:
HolgerHatGarKeineNode
2023-08-21 15:46:14 +02:00
parent 634f58c4b7
commit 45b1b66e11
4 changed files with 12 additions and 9 deletions

View File

@@ -62,7 +62,7 @@ return [
Features::profilePhotos(), Features::profilePhotos(),
// Features::api(), // Features::api(),
Features::teams(['invitations' => true]), Features::teams(['invitations' => true]),
Features::accountDeletion(), //Features::accountDeletion(),
], ],
/* /*

View File

@@ -33,7 +33,11 @@
{{ __('Cancel') }} {{ __('Cancel') }}
</x-jet-secondary-button> </x-jet-secondary-button>
<x-jet-danger-button class="ml-3" wire:click="deleteUser" wire:loading.attr="disabled"> <x-jet-danger-button
class="ml-3"
wire:click="deleteUser"
wire:loading.attr="disabled"
>
{{ __('Delete Account') }} {{ __('Delete Account') }}
</x-jet-danger-button> </x-jet-danger-button>
</x-slot> </x-slot>

View File

@@ -1,9 +1,6 @@
<x-app-layout> <x-app-layout>
<x-slot name="header">
<h2 class="font-semibold text-xl text-gray-800 leading-tight"> <livewire:frontend.header :country="\App\Models\Country::query()->where('code', 'de')->first()"/>
{{ __('Profile') }}
</h2>
</x-slot>
<div> <div>
<div class="max-w-7xl mx-auto py-10 sm:px-6 lg:px-8"> <div class="max-w-7xl mx-auto py-10 sm:px-6 lg:px-8">
@@ -42,4 +39,6 @@
@endif @endif
</div> </div>
</div> </div>
<livewire:frontend.footer/>
</x-app-layout> </x-app-layout>