From 89e50269c52a502b1fc25700d455df0662f3b1b1 Mon Sep 17 00:00:00 2001 From: fsociety Date: Fri, 25 Oct 2024 12:10:49 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20feat(seo):=20update=20SEO=20meta?= =?UTF-8?q?data=20for=20project=20support=20and=20profile=20pages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✨ feat(seo): set site name, favicon, and fallback descriptions in SEO config 🛠️ fix(election): correct indentation and formatting in election view files --- config/seo.php | 12 ++++++------ .../election/[Election:year].blade.php | 16 +++++++++------- .../views/pages/association/profile.blade.php | 4 +++- .../association/project-support/index.blade.php | 4 +++- 4 files changed, 21 insertions(+), 15 deletions(-) diff --git a/config/seo.php b/config/seo.php index b305181..5af5b26 100644 --- a/config/seo.php +++ b/config/seo.php @@ -12,7 +12,7 @@ return [ /** * Use this setting to specify the site name that will be used in OpenGraph tags. */ - 'site_name' => null, + 'site_name' => 'Einundzwanzig Verein', /** * Use this setting to specify the path to the sitemap of your website. This exact path will outputted, so @@ -59,7 +59,7 @@ return [ * * You can use the following filetypes: ico, png, gif, jpeg, svg. */ - 'favicon' => null, + 'favicon' => 'favicon.ico', 'title' => [ /** @@ -75,7 +75,7 @@ return [ * Use this setting to provide a suffix that will be added after the title on each page. * If you don't want a suffix, you should specify an empty string. */ - 'suffix' => '', + 'suffix' => ' - Einundzwanzig Verein', /** * Use this setting to provide a custom title for the homepage. We will not use the suffix on the homepage, @@ -91,7 +91,7 @@ return [ * where we don't have a description set via an associated ->seo model or via * the ->getDynamicSEOData() method. */ - 'fallback' => null, + 'fallback' => 'Toximalistisches Infotainment für bullishe Bitcoiner.', ], 'image' => [ @@ -101,7 +101,7 @@ return [ * This should be a path to an image. The url to the path is generated using the `secure_url()` function * (`secure_url($yourProvidedPath)`), so make sure the image is accessible from the public folder. */ - 'fallback' => null, + 'fallback' => 'einundzwanzig-alpha.jpg', ], 'author' => [ @@ -117,6 +117,6 @@ return [ * Use this setting to enter your username and include that with the Twitter Card tags. * Enter the username like 'yourUserName', so without the '@'. */ - '@username' => null, + '@username' => '_einundzwanzig_', ], ]; diff --git a/resources/views/pages/association/election/[Election:year].blade.php b/resources/views/pages/association/election/[Election:year].blade.php index 373e903..2c6ec43 100644 --- a/resources/views/pages/association/election/[Election:year].blade.php +++ b/resources/views/pages/association/election/[Election:year].blade.php @@ -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) { ?> - + @volt
diff --git a/resources/views/pages/association/profile.blade.php b/resources/views/pages/association/profile.blade.php index 58af9e0..3112524 100644 --- a/resources/views/pages/association/profile.blade.php +++ b/resources/views/pages/association/profile.blade.php @@ -211,7 +211,9 @@ $loadEvents = function () { ?> - + @volt
diff --git a/resources/views/pages/association/project-support/index.blade.php b/resources/views/pages/association/project-support/index.blade.php index 9f26576..01f713b 100644 --- a/resources/views/pages/association/project-support/index.blade.php +++ b/resources/views/pages/association/project-support/index.blade.php @@ -69,7 +69,9 @@ $delete = function ($id) { ?> - + @volt