mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
add header and footer to profile page
This commit is contained in:
@@ -28,7 +28,7 @@ class DeleteUser implements DeletesUsers
|
||||
/**
|
||||
* Delete the given user.
|
||||
*
|
||||
* @param mixed $user
|
||||
* @param mixed $user
|
||||
*/
|
||||
public function delete($user): void
|
||||
{
|
||||
@@ -43,7 +43,7 @@ class DeleteUser implements DeletesUsers
|
||||
/**
|
||||
* Delete the teams and team associations attached to the user.
|
||||
*
|
||||
* @param mixed $user
|
||||
* @param mixed $user
|
||||
*/
|
||||
protected function deleteTeams($user): void
|
||||
{
|
||||
|
||||
@@ -62,7 +62,7 @@ return [
|
||||
Features::profilePhotos(),
|
||||
// Features::api(),
|
||||
Features::teams(['invitations' => true]),
|
||||
Features::accountDeletion(),
|
||||
//Features::accountDeletion(),
|
||||
],
|
||||
|
||||
/*
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user