Hub (Web): Auth-aware CTAs, Kontakt-Modal statt Mailto, Pruefung-Wording
- Angemeldete Nutzer sehen ueberall (Header, Hero, Kuendbar-Box, CTA, Footer) "Zum pressekonto" (rollengerecht via LoginRedirect::homeFor) statt Anmelden/Konto erstellen - Keine E-Mail-Adresse mehr im Quelltext (Spam-Schutz): neues <x-web.hub.contact-modal> (Alpine, Honeypots, Erfolgs-/Fehlerzustand, auto-open nach Submit) am host-agnostischen kontakt.store-Endpunkt; Trigger in Enterprise-Streifen, FAQ-Support, DSGVO-Antwort, Footer und Utility-Bar - "Redaktionelle Pruefung" -> "Pruefung" in allen Hub-Inhalten; "verifizierter Newsroom" -> "Ihr eigener Newsroom" Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
88d6935014
commit
47d03ec777
6 changed files with 243 additions and 60 deletions
|
|
@ -8,7 +8,6 @@
|
|||
$brandTagline = $brand['tagline_short'] ?? 'Publisher · Hub';
|
||||
$brandTaglineLong = $brand['tagline_long'] ?? 'Der gemeinsame Publisher-Bereich für presseecho und businessportal24.';
|
||||
$footerLegal = str_replace(':year', (string) now()->year, $brand['footer_legal'] ?? '© ' . now()->year . ' pressekonto');
|
||||
$footerContactEmail = $brand['contact_email'] ?? 'info@pressekonto.com';
|
||||
@endphp
|
||||
|
||||
<footer class="bg-hub-grad-2 text-ink-on-dark">
|
||||
|
|
@ -39,10 +38,14 @@
|
|||
<div>
|
||||
<div class="eyebrow on-dark mb-3.5">Konto</div>
|
||||
<ul class="space-y-2 text-[13px] text-white/75 list-none p-0 m-0">
|
||||
<li><a href="{{ route('login') }}" class="hover:text-white transition-colors">Anmelden</a></li>
|
||||
<li><a href="{{ route('register') }}" class="hover:text-white transition-colors">Konto erstellen</a></li>
|
||||
@auth
|
||||
<li><a href="{{ \App\Support\LoginRedirect::homeFor(auth()->user()) }}" class="hover:text-white transition-colors">Zum pressekonto</a></li>
|
||||
@else
|
||||
<li><a href="{{ route('login') }}" class="hover:text-white transition-colors">Anmelden</a></li>
|
||||
<li><a href="{{ route('register') }}" class="hover:text-white transition-colors">Konto erstellen</a></li>
|
||||
@endauth
|
||||
<li><a href="#tarife" class="hover:text-white transition-colors">Tarife</a></li>
|
||||
<li><a href="mailto:{{ $footerContactEmail }}" class="hover:text-white transition-colors">Kontakt aufnehmen</a></li>
|
||||
<li><button type="button" x-data @click="$dispatch('open-contact-modal')" class="hover:text-white transition-colors cursor-pointer">Kontakt aufnehmen</button></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue