🗑️ Remove obsolete pulse migration file, clean up unused directives in Blade templates, and streamline delete confirmation logic with Flux modals for improved UX and maintainability.

This commit is contained in:
HolgerHatGarKeineNode
2026-01-19 23:17:39 +01:00
parent c5793872af
commit 39835c3a24
8 changed files with 189 additions and 210 deletions

View File

@@ -36,13 +36,16 @@
<flux:navbar class="-mb-px max-lg:hidden">
@if(\App\Support\NostrAuth::check())
<flux:navbar.item icon="rss" :href="route('association.news')"
:current="request()->routeIs('association.news')">News
:current="request()->routeIs('association.news')">
News
</flux:navbar.item>
<flux:navbar.item icon="identification" :href="route('association.profile')"
:current="request()->routeIs('association.profile')">Mitgliederstatus
:current="request()->routeIs('association.profile')">
Mitgliederstatus
</flux:navbar.item>
<flux:navbar.item icon="heart" :href="route('association.projectSupport')"
:current="request()->routeIs('association.projectSupport')">Projekt-Unterstützungen
:current="request()->routeIs('association.projectSupport')">
Projekt-Unterstützungen
</flux:navbar.item>
<flux:dropdown position="bottom">
@@ -64,27 +67,11 @@
<flux:navbar.item icon:trailing="information-circle">Info</flux:navbar.item>
<flux:menu>
<flux:menu.item
href="https://gitworkshop.dev/r/naddr1qvzqqqrhnypzqzklvar4enzu53t06vpzu3h465nwkzhk9p9ls4y5crwhs3lnu5pnqy88wumn8ghj7mn0wvhxcmmv9uqpxetfde6kuer6wasku7nfvukkummnw3eqdgsn8w/issues"
target="_blank">Issues/Feedback
</flux:menu.item>
<flux:menu.item :href="route('changelog')">Changelog</flux:menu.item>
<flux:menu.item href="https://github.com/HolgerHatGarkeineNode/einundzwanzig-nostr" target="_blank">
Github
</flux:menu.item>
<flux:menu.item href="https://einundzwanzig.space/kontakt/" target="_blank">Impressum</flux:menu.item>
</flux:menu>
</flux:dropdown>
@if(\App\Support\NostrAuth::check())
<form method="post" action="{{ route('logout') }}" @submit="$dispatch('nostrLoggedOut')">
@csrf
<flux:navbar.item type="submit" icon="arrow-right-start-on-rectangle">Logout</flux:navbar.item>
</form>
@else
<flux:navbar.item icon="user" wire:key="loginBtn" @click="openNostrLogin">Mit Nostr verbinden
</flux:navbar.item>
@endif
<livewire:auth-button location="navbar"/>
</flux:navbar>
</flux:header>
@@ -103,7 +90,11 @@
</flux:sidebar.header>
<flux:sidebar.nav>
@if(\App\Support\NostrAuth::check())
<flux:sidebar.group>
<livewire:auth-button location="sidebar"/>
</flux:sidebar.group>
<flux:sidebar.group heading="Mitgliedsbereich" class="grid">
<flux:sidebar.item icon="rss" :href="route('association.news')"
:current="request()->routeIs('association.news')">News
</flux:sidebar.item>
@@ -121,28 +112,10 @@
</flux:sidebar.group>
<flux:sidebar.group heading="Info" class="grid">
<flux:sidebar.item
href="https://gitworkshop.dev/r/naddr1qvzqqqrhnypzqzklvar4enzu53t06vpzu3h465nwkzhk9p9ls4y5crwhs3lnu5pnqy88wumn8ghj7mn0wvhxcmmv9uqpxetfde6kuer6wasku7nfvukkummnw3eqdgsn8w/issues"
target="_blank">Issues/Feedback
</flux:sidebar.item>
<flux:sidebar.item :href="route('changelog')">Changelog</flux:sidebar.item>
<flux:sidebar.item href="https://github.com/HolgerHatGarkeineNode/einundzwanzig-nostr" target="_blank">
Github
</flux:sidebar.item>
<flux:sidebar.item href="https://einundzwanzig.space/kontakt/" target="_blank">Impressum
</flux:sidebar.item>
</flux:sidebar.group>
@endif
@if(\App\Support\NostrAuth::check())
<flux:sidebar.spacer/>
<form method="post" action="{{ route('logout') }}" @submit="$dispatch('nostrLoggedOut')">
@csrf
<flux:sidebar.item icon="arrow-right-start-on-rectangle" type="submit">Logout</flux:sidebar.item>
</form>
@else
<flux:sidebar.item icon="user" @click="openNostrLogin">Mit Nostr verbinden</flux:sidebar.item>
@endif
</flux:sidebar.group>
</flux:sidebar.nav>
</flux:sidebar>
@@ -157,7 +130,9 @@
@fluxScripts
@livewireScriptConfig
<script>
if (!localStorage.getItem('flux.appearance')) {
localStorage.setItem('flux.appearance', 'dark');
}
window.wnjParams = {
position: 'bottom',
accent: 'orange',