🎨 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:
fsociety
2024-10-25 12:10:49 +02:00
parent 1e6a419433
commit 89e50269c5
4 changed files with 21 additions and 15 deletions

View File

@@ -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">

View File

@@ -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">

View File

@@ -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">