From a63dbd84361b8493f2d069d5c59a15ff73dcec75 Mon Sep 17 00:00:00 2001 From: Rm Yakovenko Date: Sun, 21 Dec 2025 14:34:52 +0000 Subject: [PATCH] [Server Bug]: app.logo is not used in code --- app/Services/LandingService.php | 1 + app/Util/Site/Config.php | 1 + resources/assets/components/landing/sections/nav.vue | 2 +- resources/assets/components/partials/navbar.vue | 3 ++- resources/assets/components/sections/Notifications.vue | 3 ++- resources/assets/js/components/NavMenu.vue | 2 +- resources/assets/js/components/StoryCompose.vue | 8 ++++---- resources/views/admin/partial/sidenav.blade.php | 2 +- resources/views/auth/curated-register/concierge.blade.php | 2 +- .../views/auth/curated-register/concierge_form.blade.php | 2 +- .../views/auth/curated-register/confirm_email.blade.php | 2 +- .../views/auth/curated-register/email_confirmed.blade.php | 2 +- resources/views/auth/curated-register/index.blade.php | 2 +- .../auth/curated-register/resend-confirmation.blade.php | 2 +- .../auth/curated-register/resent-confirmation.blade.php | 2 +- .../auth/curated-register/user_response_sent.blade.php | 2 +- resources/views/auth/two-factor.blade.php | 2 +- resources/views/installer/index.blade.php | 2 +- resources/views/layouts/partial/nav.blade.php | 2 +- resources/views/layouts/partial/noauthnav.blade.php | 2 +- resources/views/profile/embed-removed.blade.php | 2 +- resources/views/profile/embed.blade.php | 2 +- resources/views/site/about.blade.php | 2 +- resources/views/status/embed-removed.blade.php | 2 +- resources/views/status/embed.blade.php | 2 +- 25 files changed, 30 insertions(+), 26 deletions(-) diff --git a/app/Services/LandingService.php b/app/Services/LandingService.php index 798d1935b..7bd95f452 100644 --- a/app/Services/LandingService.php +++ b/app/Services/LandingService.php @@ -56,6 +56,7 @@ class LandingService 'open_registration' => (bool) $openReg, 'curated_onboarding' => (bool) config_cache('instance.curated_registration.enabled'), 'version' => config('pixelfed.version'), + 'logo' => config('app.logo'), 'about' => [ 'banner_image' => config_cache('app.banner_image') ?? url('/storage/headers/default.jpg'), 'short_description' => config_cache('app.short_description'), diff --git a/app/Util/Site/Config.php b/app/Util/Site/Config.php index dcc1f983a..f266793c1 100644 --- a/app/Util/Site/Config.php +++ b/app/Util/Site/Config.php @@ -30,6 +30,7 @@ class Config 'version' => config('pixelfed.version'), 'open_registration' => (bool) config_cache('pixelfed.open_registration'), 'show_legal_notice_link' => (bool) config('instance.has_legal_notice'), + 'logo' => config('app.logo'), 'uploader' => [ 'max_photo_size' => (int) config_cache('pixelfed.max_photo_size'), 'max_caption_length' => (int) config_cache('pixelfed.max_caption_length'), diff --git a/resources/assets/components/landing/sections/nav.vue b/resources/assets/components/landing/sections/nav.vue index 16dbfef1e..2103cde6b 100644 --- a/resources/assets/components/landing/sections/nav.vue +++ b/resources/assets/components/landing/sections/nav.vue @@ -2,7 +2,7 @@