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

@@ -33,7 +33,11 @@
{{ __('Cancel') }}
</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') }}
</x-jet-danger-button>
</x-slot>

View File

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