mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-01-27 06:33:18 +00:00
🎨 feat(seo): update SEO metadata for project support and profile pages
✨ feat(seo): set site name, favicon, and fallback descriptions in SEO config 🛠️ fix(election): correct indentation and formatting in election view files
This commit is contained in:
@@ -30,7 +30,7 @@ state([
|
||||
'plebs' => [],
|
||||
'search' => '',
|
||||
'signThisEvent' => '',
|
||||
'isNotClosed' => true
|
||||
'isNotClosed' => true,
|
||||
]);
|
||||
|
||||
mount(function () {
|
||||
@@ -68,10 +68,10 @@ on([
|
||||
$this->loadBoardEvents();
|
||||
},
|
||||
'nostrLoggedOut' => function () {
|
||||
$this->isAllowed = false;
|
||||
$this->currentPubkey = null;
|
||||
$this->currentPleb = null;
|
||||
},
|
||||
$this->isAllowed = false;
|
||||
$this->currentPubkey = null;
|
||||
$this->currentPleb = null;
|
||||
},
|
||||
]);
|
||||
|
||||
updated([
|
||||
@@ -86,7 +86,7 @@ updated([
|
||||
->orderBy('association_status', 'desc')
|
||||
->get()
|
||||
->toArray();
|
||||
}
|
||||
},
|
||||
]);
|
||||
|
||||
$loadEvents = function () {
|
||||
@@ -158,7 +158,9 @@ $signEvent = function ($event) {
|
||||
|
||||
?>
|
||||
|
||||
<x-layouts.app title="{{ __('Wahl') }}">
|
||||
<x-layouts.app
|
||||
:seo="new \RalphJSmit\Laravel\SEO\Support\SEOData(title: 'Wahlen ' . $election->year, description: 'Wahlen des Vereins im Jahr ' . $election->year)"
|
||||
>
|
||||
@volt
|
||||
<div x-cloak x-if="isAllowed" class="relative flex h-full" x-data="nostrApp(@this)"
|
||||
wire:poll.600000ms="checkElection">
|
||||
|
||||
@@ -211,7 +211,9 @@ $loadEvents = function () {
|
||||
|
||||
?>
|
||||
|
||||
<x-layouts.app title="{{ __('Wahl') }}">
|
||||
<x-layouts.app
|
||||
:seo="new \RalphJSmit\Laravel\SEO\Support\SEOData(title: 'Mitgliedschaft', description: 'Einundzwanzig ist, was du draus machst.')"
|
||||
>
|
||||
@volt
|
||||
<div class="px-4 sm:px-6 lg:px-8 py-8 w-full max-w-9xl mx-auto">
|
||||
|
||||
|
||||
@@ -69,7 +69,9 @@ $delete = function ($id) {
|
||||
|
||||
?>
|
||||
|
||||
<x-layouts.app title="Projekt Unterstützungen">
|
||||
<x-layouts.app
|
||||
:seo="new \RalphJSmit\Laravel\SEO\Support\SEOData(title: 'Projekt Unterstützungen', description: 'Einundzwanzig Projektunterstützungen')"
|
||||
>
|
||||
@volt
|
||||
<div class="px-4 sm:px-6 lg:px-8 py-8 w-full max-w-9xl mx-auto" x-data="nostrDefault(@this)" x-cloak
|
||||
x-if="isAllowed">
|
||||
|
||||
Reference in New Issue
Block a user