diff --git a/app/Http/Resources/GalleryConfigs/InitConfig.php b/app/Http/Resources/GalleryConfigs/InitConfig.php index c360490b41a..17afd1bafcd 100644 --- a/app/Http/Resources/GalleryConfigs/InitConfig.php +++ b/app/Http/Resources/GalleryConfigs/InitConfig.php @@ -92,6 +92,7 @@ class InitConfig extends Data // Site title & dropbox key if logged in as admin. public string $title; + public string $site_logo; public string $dropbox_api_key; // Lychee SE is available. @@ -217,6 +218,7 @@ public function __construct() // Site title & dropbox key if logged in as admin. // dd(request()->config()); $this->title = request()->configs()->getValueAsString('site_title'); + $this->site_logo = request()->configs()->getValueAsString('site_logo'); $this->dropbox_api_key = Auth::user()?->may_administrate === true ? request()->configs()->getValueAsString('dropbox_key') : 'disabled'; $this->is_basic_auth_enabled = AuthServiceProvider::isBasicAuthEnabled(); diff --git a/app/Http/Resources/GalleryConfigs/LandingPageResource.php b/app/Http/Resources/GalleryConfigs/LandingPageResource.php index bb5f1b1645f..f434ceb487a 100644 --- a/app/Http/Resources/GalleryConfigs/LandingPageResource.php +++ b/app/Http/Resources/GalleryConfigs/LandingPageResource.php @@ -26,6 +26,8 @@ class LandingPageResource extends Data public string $landing_title; public string $site_owner; public string $site_title; + public string $landing_logo; + public string $landing_header_logo; public FooterConfig $footer; private const FALLBACK_IMAGE = 'dist/cat.webp'; @@ -48,6 +50,8 @@ public function __construct() $this->landing_title = request()->configs()->getValueAsString('landing_title'); $this->site_owner = request()->configs()->getValueAsString('site_owner'); $this->site_title = request()->configs()->getValueAsString('site_title'); + $this->landing_logo = request()->configs()->getValueAsString('landing_logo'); + $this->landing_header_logo = request()->configs()->getValueAsString('landing_header_logo'); } /** diff --git a/database/migrations/2026_06_13_000002_add_logo_configs.php b/database/migrations/2026_06_13_000002_add_logo_configs.php new file mode 100644 index 00000000000..96d41f34e9a --- /dev/null +++ b/database/migrations/2026_06_13_000002_add_logo_configs.php @@ -0,0 +1,55 @@ + 'site_logo', + 'value' => '', + 'cat' => self::MOD_WELCOME, + 'type_range' => self::STRING, + 'description' => 'URL of logo image in the header bar', + 'details' => 'When set, replaces the website title text in the gallery header bar.', + 'is_secret' => false, + 'is_expert' => false, + 'level' => 0, + 'order' => 10, + ], + [ + 'key' => 'landing_logo', + 'value' => '', + 'cat' => self::MOD_WELCOME, + 'type_range' => self::STRING, + 'description' => 'URL of logo image in the landing view', + 'details' => 'When set, replaces the landing title and subtitle text in the landing page intro.', + 'is_secret' => false, + 'is_expert' => false, + 'level' => 0, + 'order' => 11, + ], + [ + 'key' => 'landing_header_logo', + 'value' => '', + 'cat' => self::MOD_WELCOME, + 'type_range' => self::STRING, + 'description' => 'URL of logo image in the landing page header', + 'details' => 'When set, replaces the landing title and subtitle text in the top-left corner of the landing page.', + 'is_secret' => false, + 'is_expert' => false, + 'level' => 0, + 'order' => 12, + ], + ]; + } +}; diff --git a/lang/ar/all_settings.php b/lang/ar/all_settings.php index b99e5336d0b..dcd6cbee36a 100644 --- a/lang/ar/all_settings.php +++ b/lang/ar/all_settings.php @@ -265,6 +265,9 @@ 'gallery_header' => 'URL of header image in the gallery view', 'gallery_header_bar_transparent' => 'Make the header bar transparent.', 'gallery_header_bar_gradient' => 'Add a gradient background to the header bar.', + 'site_logo' => 'URL of logo image in the header bar', + 'landing_logo' => 'URL of logo image in the landing view', + 'landing_header_logo' => 'URL of logo image in the landing page header', 'import_via_url_forbidden_localhost' => 'Import via URL must not use localhost', 'import_via_url_forbidden_local_ip' => 'Import via URL must not use local IPs', 'import_via_url_require_https' => 'Import via URL must use https', @@ -607,6 +610,9 @@ 'gallery_header' => '', 'gallery_header_bar_transparent' => 'If enabled, the header bar will be transparent and the header image will be visible behind it.', 'gallery_header_bar_gradient' => 'If enabled the header bar will have a gradient background aiming to improve the readability of the text, otherwise it will be transparent.', + 'site_logo' => 'When set, replaces the website title text in the gallery header bar.', + 'landing_logo' => 'When set, replaces the landing title and subtitle text in the landing page intro.', + 'landing_header_logo' => 'When set, replaces the landing title and subtitle text in the top-left corner of the landing page.', 'import_via_url_forbidden_localhost' => ' Disabling this expose your localhost to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_forbidden_local_ip' => ' Disabling this expose your internal network to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_require_https' => ' Disabling this will lower the security of the Import via URL functionality.', diff --git a/lang/bg/all_settings.php b/lang/bg/all_settings.php index e34a603c36f..bf097e3adef 100644 --- a/lang/bg/all_settings.php +++ b/lang/bg/all_settings.php @@ -263,6 +263,9 @@ 'gallery_header' => 'URL на заглавното изображение в изгледа на галерията', 'gallery_header_bar_transparent' => 'Направи заглавната лента прозрачна.', 'gallery_header_bar_gradient' => 'Добавяне на градиентен фон към заглавната лента.', + 'site_logo' => 'URL of logo image in the header bar', + 'landing_logo' => 'URL of logo image in the landing view', + 'landing_header_logo' => 'URL of logo image in the landing page header', 'import_via_url_forbidden_localhost' => 'Импортирането чрез URL не трябва да използва localhost', 'import_via_url_forbidden_local_ip' => 'Импортирането чрез URL не трябва да използва локални IP адреси', 'import_via_url_require_https' => 'Импортирането чрез URL трябва да използва HTTPS', @@ -605,6 +608,9 @@ 'gallery_header' => '', 'gallery_header_bar_transparent' => 'Ако е активирано, лентата на заглавието ще бъде прозрачна и заглавното изображение ще се вижда зад нея.', 'gallery_header_bar_gradient' => 'Ако е активирано, лентата на заглавието ще има градиентен фон за по-добра четимост на текста, в противен случай ще бъде прозрачна.', + 'site_logo' => 'When set, replaces the website title text in the gallery header bar.', + 'landing_logo' => 'When set, replaces the landing title and subtitle text in the landing page intro.', + 'landing_header_logo' => 'When set, replaces the landing title and subtitle text in the top-left corner of the landing page.', 'import_via_url_forbidden_localhost' => ' Деактивирането на това излага вашия localhost на функционалността за импортиране чрез URL и може да доведе до Server-Side Request Forgery (SSRF).', 'import_via_url_forbidden_local_ip' => ' Деактивирането на това излага вашата вътрешна мрежа на функционалността за импортиране чрез URL и може да доведе до Server-Side Request Forgery (SSRF).', 'import_via_url_require_https' => ' Деактивирането на това ще намали сигурността на функционалността за импортиране чрез URL.', diff --git a/lang/cz/all_settings.php b/lang/cz/all_settings.php index b99e5336d0b..dcd6cbee36a 100644 --- a/lang/cz/all_settings.php +++ b/lang/cz/all_settings.php @@ -265,6 +265,9 @@ 'gallery_header' => 'URL of header image in the gallery view', 'gallery_header_bar_transparent' => 'Make the header bar transparent.', 'gallery_header_bar_gradient' => 'Add a gradient background to the header bar.', + 'site_logo' => 'URL of logo image in the header bar', + 'landing_logo' => 'URL of logo image in the landing view', + 'landing_header_logo' => 'URL of logo image in the landing page header', 'import_via_url_forbidden_localhost' => 'Import via URL must not use localhost', 'import_via_url_forbidden_local_ip' => 'Import via URL must not use local IPs', 'import_via_url_require_https' => 'Import via URL must use https', @@ -607,6 +610,9 @@ 'gallery_header' => '', 'gallery_header_bar_transparent' => 'If enabled, the header bar will be transparent and the header image will be visible behind it.', 'gallery_header_bar_gradient' => 'If enabled the header bar will have a gradient background aiming to improve the readability of the text, otherwise it will be transparent.', + 'site_logo' => 'When set, replaces the website title text in the gallery header bar.', + 'landing_logo' => 'When set, replaces the landing title and subtitle text in the landing page intro.', + 'landing_header_logo' => 'When set, replaces the landing title and subtitle text in the top-left corner of the landing page.', 'import_via_url_forbidden_localhost' => ' Disabling this expose your localhost to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_forbidden_local_ip' => ' Disabling this expose your internal network to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_require_https' => ' Disabling this will lower the security of the Import via URL functionality.', diff --git a/lang/de/all_settings.php b/lang/de/all_settings.php index a5eeb022ee2..251f31ef20d 100644 --- a/lang/de/all_settings.php +++ b/lang/de/all_settings.php @@ -263,6 +263,9 @@ 'gallery_header' => 'URL des Header-Bildes in der Galerieansicht', 'gallery_header_bar_transparent' => 'Header-Leiste transparent darstellen', 'gallery_header_bar_gradient' => 'Verlaufshintergrund zur Header-Leiste hinzufügen', + 'site_logo' => 'URL of logo image in the header bar', + 'landing_logo' => 'URL of logo image in the landing view', + 'landing_header_logo' => 'URL of logo image in the landing page header', 'import_via_url_forbidden_localhost' => 'Import via URL darf nicht „localhost“ verwenden', 'import_via_url_forbidden_local_ip' => 'Import via URL darf keine lokalen IP-Adressen verwenden', 'import_via_url_require_https' => 'Import via URL muss HTTPS verwenden', @@ -605,6 +608,9 @@ 'gallery_header' => '', 'gallery_header_bar_transparent' => 'Wenn aktiviert, wird die Header-Leiste transparent dargestellt und das Header-Bild ist dahinter sichtbar.', 'gallery_header_bar_gradient' => 'Wenn aktiviert, erhält die Header-Leiste einen Verlaufshintergrund zur besseren Lesbarkeit des Textes; andernfalls wird sie transparent dargestellt.', + 'site_logo' => 'When set, replaces the website title text in the gallery header bar.', + 'landing_logo' => 'When set, replaces the landing title and subtitle text in the landing page intro.', + 'landing_header_logo' => 'When set, replaces the landing title and subtitle text in the top-left corner of the landing page.', 'import_via_url_forbidden_localhost' => ' Das Deaktivieren dieser Option setzt Ihren Localhost der Import-Funktion aus und kann zu Server-Side Request Forgery (SSRF) führen.', 'import_via_url_forbidden_local_ip' => ' Das Deaktivieren dieser Option setzt Ihr internes Netzwerk der Import-Funktion aus und kann zu Server-Side Request Forgery (SSRF) führen.', 'import_via_url_require_https' => ' Das Deaktivieren dieser Option verringert die Sicherheit der Import-via-URL-Funktion.', diff --git a/lang/el/all_settings.php b/lang/el/all_settings.php index b99e5336d0b..dcd6cbee36a 100644 --- a/lang/el/all_settings.php +++ b/lang/el/all_settings.php @@ -265,6 +265,9 @@ 'gallery_header' => 'URL of header image in the gallery view', 'gallery_header_bar_transparent' => 'Make the header bar transparent.', 'gallery_header_bar_gradient' => 'Add a gradient background to the header bar.', + 'site_logo' => 'URL of logo image in the header bar', + 'landing_logo' => 'URL of logo image in the landing view', + 'landing_header_logo' => 'URL of logo image in the landing page header', 'import_via_url_forbidden_localhost' => 'Import via URL must not use localhost', 'import_via_url_forbidden_local_ip' => 'Import via URL must not use local IPs', 'import_via_url_require_https' => 'Import via URL must use https', @@ -607,6 +610,9 @@ 'gallery_header' => '', 'gallery_header_bar_transparent' => 'If enabled, the header bar will be transparent and the header image will be visible behind it.', 'gallery_header_bar_gradient' => 'If enabled the header bar will have a gradient background aiming to improve the readability of the text, otherwise it will be transparent.', + 'site_logo' => 'When set, replaces the website title text in the gallery header bar.', + 'landing_logo' => 'When set, replaces the landing title and subtitle text in the landing page intro.', + 'landing_header_logo' => 'When set, replaces the landing title and subtitle text in the top-left corner of the landing page.', 'import_via_url_forbidden_localhost' => ' Disabling this expose your localhost to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_forbidden_local_ip' => ' Disabling this expose your internal network to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_require_https' => ' Disabling this will lower the security of the Import via URL functionality.', diff --git a/lang/en/all_settings.php b/lang/en/all_settings.php index 03a6c158c01..3da24c8b07d 100644 --- a/lang/en/all_settings.php +++ b/lang/en/all_settings.php @@ -265,6 +265,9 @@ 'gallery_header' => 'URL of header image in the gallery view', 'gallery_header_bar_transparent' => 'Make the header bar transparent.', 'gallery_header_bar_gradient' => 'Add a gradient background to the header bar.', + 'site_logo' => 'URL of logo image in the header bar', + 'landing_logo' => 'URL of logo image in the landing view', + 'landing_header_logo' => 'URL of logo image in the landing page header', 'import_via_url_forbidden_localhost' => 'Import via URL must not use localhost', 'import_via_url_forbidden_local_ip' => 'Import via URL must not use local IPs', 'import_via_url_require_https' => 'Import via URL must use https', @@ -607,6 +610,9 @@ 'gallery_header' => '', 'gallery_header_bar_transparent' => 'If enabled, the header bar will be transparent and the header image will be visible behind it.', 'gallery_header_bar_gradient' => 'If enabled the header bar will have a gradient background aiming to improve the readability of the text, otherwise it will be transparent.', + 'site_logo' => 'When set, replaces the website title text in the gallery header bar.', + 'landing_logo' => 'When set, replaces the landing title and subtitle text in the landing page intro.', + 'landing_header_logo' => 'When set, replaces the landing title and subtitle text in the top-left corner of the landing page.', 'import_via_url_forbidden_localhost' => ' Disabling this expose your localhost to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_forbidden_local_ip' => ' Disabling this expose your internal network to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_require_https' => ' Disabling this will lower the security of the Import via URL functionality.', diff --git a/lang/es/all_settings.php b/lang/es/all_settings.php index 362d7207a4c..72d2276f426 100644 --- a/lang/es/all_settings.php +++ b/lang/es/all_settings.php @@ -263,6 +263,9 @@ 'gallery_header' => 'URL of header image in the gallery view', 'gallery_header_bar_transparent' => 'Make the header bar transparent.', 'gallery_header_bar_gradient' => 'Add a gradient background to the header bar.', + 'site_logo' => 'URL of logo image in the header bar', + 'landing_logo' => 'URL of logo image in the landing view', + 'landing_header_logo' => 'URL of logo image in the landing page header', 'import_via_url_forbidden_localhost' => 'Import via URL must not use localhost', 'import_via_url_forbidden_local_ip' => 'Import via URL must not use local IPs', 'import_via_url_require_https' => 'Import via URL must use https', @@ -605,6 +608,9 @@ 'gallery_header' => '', 'gallery_header_bar_transparent' => 'If enabled, the header bar will be transparent and the header image will be visible behind it.', 'gallery_header_bar_gradient' => 'If enabled the header bar will have a gradient background aiming to improve the readability of the text, otherwise it will be transparent.', + 'site_logo' => 'When set, replaces the website title text in the gallery header bar.', + 'landing_logo' => 'When set, replaces the landing title and subtitle text in the landing page intro.', + 'landing_header_logo' => 'When set, replaces the landing title and subtitle text in the top-left corner of the landing page.', 'import_via_url_forbidden_localhost' => ' Disabling this expose your localhost to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_forbidden_local_ip' => ' Disabling this expose your internal network to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_require_https' => ' Disabling this will lower the security of the Import via URL functionality.', diff --git a/lang/fa/all_settings.php b/lang/fa/all_settings.php index b99e5336d0b..dcd6cbee36a 100644 --- a/lang/fa/all_settings.php +++ b/lang/fa/all_settings.php @@ -265,6 +265,9 @@ 'gallery_header' => 'URL of header image in the gallery view', 'gallery_header_bar_transparent' => 'Make the header bar transparent.', 'gallery_header_bar_gradient' => 'Add a gradient background to the header bar.', + 'site_logo' => 'URL of logo image in the header bar', + 'landing_logo' => 'URL of logo image in the landing view', + 'landing_header_logo' => 'URL of logo image in the landing page header', 'import_via_url_forbidden_localhost' => 'Import via URL must not use localhost', 'import_via_url_forbidden_local_ip' => 'Import via URL must not use local IPs', 'import_via_url_require_https' => 'Import via URL must use https', @@ -607,6 +610,9 @@ 'gallery_header' => '', 'gallery_header_bar_transparent' => 'If enabled, the header bar will be transparent and the header image will be visible behind it.', 'gallery_header_bar_gradient' => 'If enabled the header bar will have a gradient background aiming to improve the readability of the text, otherwise it will be transparent.', + 'site_logo' => 'When set, replaces the website title text in the gallery header bar.', + 'landing_logo' => 'When set, replaces the landing title and subtitle text in the landing page intro.', + 'landing_header_logo' => 'When set, replaces the landing title and subtitle text in the top-left corner of the landing page.', 'import_via_url_forbidden_localhost' => ' Disabling this expose your localhost to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_forbidden_local_ip' => ' Disabling this expose your internal network to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_require_https' => ' Disabling this will lower the security of the Import via URL functionality.', diff --git a/lang/fr/all_settings.php b/lang/fr/all_settings.php index bf28ac7c109..eca452686ef 100644 --- a/lang/fr/all_settings.php +++ b/lang/fr/all_settings.php @@ -263,6 +263,9 @@ 'gallery_header' => '', 'gallery_header_bar_transparent' => 'Si activé la barre d’en-tête devient transparente et laisse voir l’image.', 'gallery_header_bar_gradient' => 'Si activé ajoute un dégradé pour améliorer la lisibilité, sinon reste transparente.', + 'site_logo' => 'When set, replaces the website title text in the gallery header bar.', + 'landing_logo' => 'When set, replaces the landing title and subtitle text in the landing page intro.', + 'landing_header_logo' => 'When set, replaces the landing title and subtitle text in the top-left corner of the landing page.', 'import_via_url_forbidden_localhost' => ' Désactiver ceci expose localhost et peut mener à des SSRF.', 'import_via_url_forbidden_local_ip' => ' Désactiver ceci expose le réseau interne et peut mener à des SSRF.', 'import_via_url_require_https' => ' Désactiver ceci réduit la sécurité de l’import par URL.', @@ -605,6 +608,9 @@ 'gallery_header' => 'URL de l’image d’en-tête dans la vue galerie', 'gallery_header_bar_transparent' => 'Rendre la barre d’en-tête transparente.', 'gallery_header_bar_gradient' => 'Ajouter un fond en dégradé à la barre d’en-tête.', + 'site_logo' => 'URL of logo image in the header bar', + 'landing_logo' => 'URL of logo image in the landing view', + 'landing_header_logo' => 'URL of logo image in the landing page header', 'import_via_url_forbidden_localhost' => 'L’import via URL ne doit pas utiliser localhost', 'import_via_url_forbidden_local_ip' => 'L’import via URL ne doit pas utiliser d’adresses IP locales', 'import_via_url_require_https' => 'L’import via URL doit utiliser HTTPS', diff --git a/lang/hu/all_settings.php b/lang/hu/all_settings.php index b99e5336d0b..dcd6cbee36a 100644 --- a/lang/hu/all_settings.php +++ b/lang/hu/all_settings.php @@ -265,6 +265,9 @@ 'gallery_header' => 'URL of header image in the gallery view', 'gallery_header_bar_transparent' => 'Make the header bar transparent.', 'gallery_header_bar_gradient' => 'Add a gradient background to the header bar.', + 'site_logo' => 'URL of logo image in the header bar', + 'landing_logo' => 'URL of logo image in the landing view', + 'landing_header_logo' => 'URL of logo image in the landing page header', 'import_via_url_forbidden_localhost' => 'Import via URL must not use localhost', 'import_via_url_forbidden_local_ip' => 'Import via URL must not use local IPs', 'import_via_url_require_https' => 'Import via URL must use https', @@ -607,6 +610,9 @@ 'gallery_header' => '', 'gallery_header_bar_transparent' => 'If enabled, the header bar will be transparent and the header image will be visible behind it.', 'gallery_header_bar_gradient' => 'If enabled the header bar will have a gradient background aiming to improve the readability of the text, otherwise it will be transparent.', + 'site_logo' => 'When set, replaces the website title text in the gallery header bar.', + 'landing_logo' => 'When set, replaces the landing title and subtitle text in the landing page intro.', + 'landing_header_logo' => 'When set, replaces the landing title and subtitle text in the top-left corner of the landing page.', 'import_via_url_forbidden_localhost' => ' Disabling this expose your localhost to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_forbidden_local_ip' => ' Disabling this expose your internal network to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_require_https' => ' Disabling this will lower the security of the Import via URL functionality.', diff --git a/lang/it/all_settings.php b/lang/it/all_settings.php index b99e5336d0b..dcd6cbee36a 100644 --- a/lang/it/all_settings.php +++ b/lang/it/all_settings.php @@ -265,6 +265,9 @@ 'gallery_header' => 'URL of header image in the gallery view', 'gallery_header_bar_transparent' => 'Make the header bar transparent.', 'gallery_header_bar_gradient' => 'Add a gradient background to the header bar.', + 'site_logo' => 'URL of logo image in the header bar', + 'landing_logo' => 'URL of logo image in the landing view', + 'landing_header_logo' => 'URL of logo image in the landing page header', 'import_via_url_forbidden_localhost' => 'Import via URL must not use localhost', 'import_via_url_forbidden_local_ip' => 'Import via URL must not use local IPs', 'import_via_url_require_https' => 'Import via URL must use https', @@ -607,6 +610,9 @@ 'gallery_header' => '', 'gallery_header_bar_transparent' => 'If enabled, the header bar will be transparent and the header image will be visible behind it.', 'gallery_header_bar_gradient' => 'If enabled the header bar will have a gradient background aiming to improve the readability of the text, otherwise it will be transparent.', + 'site_logo' => 'When set, replaces the website title text in the gallery header bar.', + 'landing_logo' => 'When set, replaces the landing title and subtitle text in the landing page intro.', + 'landing_header_logo' => 'When set, replaces the landing title and subtitle text in the top-left corner of the landing page.', 'import_via_url_forbidden_localhost' => ' Disabling this expose your localhost to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_forbidden_local_ip' => ' Disabling this expose your internal network to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_require_https' => ' Disabling this will lower the security of the Import via URL functionality.', diff --git a/lang/ja/all_settings.php b/lang/ja/all_settings.php index b99e5336d0b..dcd6cbee36a 100644 --- a/lang/ja/all_settings.php +++ b/lang/ja/all_settings.php @@ -265,6 +265,9 @@ 'gallery_header' => 'URL of header image in the gallery view', 'gallery_header_bar_transparent' => 'Make the header bar transparent.', 'gallery_header_bar_gradient' => 'Add a gradient background to the header bar.', + 'site_logo' => 'URL of logo image in the header bar', + 'landing_logo' => 'URL of logo image in the landing view', + 'landing_header_logo' => 'URL of logo image in the landing page header', 'import_via_url_forbidden_localhost' => 'Import via URL must not use localhost', 'import_via_url_forbidden_local_ip' => 'Import via URL must not use local IPs', 'import_via_url_require_https' => 'Import via URL must use https', @@ -607,6 +610,9 @@ 'gallery_header' => '', 'gallery_header_bar_transparent' => 'If enabled, the header bar will be transparent and the header image will be visible behind it.', 'gallery_header_bar_gradient' => 'If enabled the header bar will have a gradient background aiming to improve the readability of the text, otherwise it will be transparent.', + 'site_logo' => 'When set, replaces the website title text in the gallery header bar.', + 'landing_logo' => 'When set, replaces the landing title and subtitle text in the landing page intro.', + 'landing_header_logo' => 'When set, replaces the landing title and subtitle text in the top-left corner of the landing page.', 'import_via_url_forbidden_localhost' => ' Disabling this expose your localhost to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_forbidden_local_ip' => ' Disabling this expose your internal network to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_require_https' => ' Disabling this will lower the security of the Import via URL functionality.', diff --git a/lang/nl/all_settings.php b/lang/nl/all_settings.php index b99e5336d0b..dcd6cbee36a 100644 --- a/lang/nl/all_settings.php +++ b/lang/nl/all_settings.php @@ -265,6 +265,9 @@ 'gallery_header' => 'URL of header image in the gallery view', 'gallery_header_bar_transparent' => 'Make the header bar transparent.', 'gallery_header_bar_gradient' => 'Add a gradient background to the header bar.', + 'site_logo' => 'URL of logo image in the header bar', + 'landing_logo' => 'URL of logo image in the landing view', + 'landing_header_logo' => 'URL of logo image in the landing page header', 'import_via_url_forbidden_localhost' => 'Import via URL must not use localhost', 'import_via_url_forbidden_local_ip' => 'Import via URL must not use local IPs', 'import_via_url_require_https' => 'Import via URL must use https', @@ -607,6 +610,9 @@ 'gallery_header' => '', 'gallery_header_bar_transparent' => 'If enabled, the header bar will be transparent and the header image will be visible behind it.', 'gallery_header_bar_gradient' => 'If enabled the header bar will have a gradient background aiming to improve the readability of the text, otherwise it will be transparent.', + 'site_logo' => 'When set, replaces the website title text in the gallery header bar.', + 'landing_logo' => 'When set, replaces the landing title and subtitle text in the landing page intro.', + 'landing_header_logo' => 'When set, replaces the landing title and subtitle text in the top-left corner of the landing page.', 'import_via_url_forbidden_localhost' => ' Disabling this expose your localhost to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_forbidden_local_ip' => ' Disabling this expose your internal network to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_require_https' => ' Disabling this will lower the security of the Import via URL functionality.', diff --git a/lang/no/all_settings.php b/lang/no/all_settings.php index e38e757cc5d..321fcc1b627 100644 --- a/lang/no/all_settings.php +++ b/lang/no/all_settings.php @@ -263,6 +263,9 @@ 'gallery_header' => 'URL of header image in the gallery view', 'gallery_header_bar_transparent' => 'Make the header bar transparent.', 'gallery_header_bar_gradient' => 'Add a gradient background to the header bar.', + 'site_logo' => 'URL of logo image in the header bar', + 'landing_logo' => 'URL of logo image in the landing view', + 'landing_header_logo' => 'URL of logo image in the landing page header', 'import_via_url_forbidden_localhost' => 'Import via URL must not use localhost', 'import_via_url_forbidden_local_ip' => 'Import via URL must not use local IPs', 'import_via_url_require_https' => 'Import via URL must use https', @@ -605,6 +608,9 @@ 'gallery_header' => '', 'gallery_header_bar_transparent' => 'If enabled, the header bar will be transparent and the header image will be visible behind it.', 'gallery_header_bar_gradient' => 'If enabled the header bar will have a gradient background aiming to improve the readability of the text, otherwise it will be transparent.', + 'site_logo' => 'When set, replaces the website title text in the gallery header bar.', + 'landing_logo' => 'When set, replaces the landing title and subtitle text in the landing page intro.', + 'landing_header_logo' => 'When set, replaces the landing title and subtitle text in the top-left corner of the landing page.', 'import_via_url_forbidden_localhost' => ' Disabling this expose your localhost to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_forbidden_local_ip' => ' Disabling this expose your internal network to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_require_https' => ' Disabling this will lower the security of the Import via URL functionality.', diff --git a/lang/pl/all_settings.php b/lang/pl/all_settings.php index b99e5336d0b..dcd6cbee36a 100644 --- a/lang/pl/all_settings.php +++ b/lang/pl/all_settings.php @@ -265,6 +265,9 @@ 'gallery_header' => 'URL of header image in the gallery view', 'gallery_header_bar_transparent' => 'Make the header bar transparent.', 'gallery_header_bar_gradient' => 'Add a gradient background to the header bar.', + 'site_logo' => 'URL of logo image in the header bar', + 'landing_logo' => 'URL of logo image in the landing view', + 'landing_header_logo' => 'URL of logo image in the landing page header', 'import_via_url_forbidden_localhost' => 'Import via URL must not use localhost', 'import_via_url_forbidden_local_ip' => 'Import via URL must not use local IPs', 'import_via_url_require_https' => 'Import via URL must use https', @@ -607,6 +610,9 @@ 'gallery_header' => '', 'gallery_header_bar_transparent' => 'If enabled, the header bar will be transparent and the header image will be visible behind it.', 'gallery_header_bar_gradient' => 'If enabled the header bar will have a gradient background aiming to improve the readability of the text, otherwise it will be transparent.', + 'site_logo' => 'When set, replaces the website title text in the gallery header bar.', + 'landing_logo' => 'When set, replaces the landing title and subtitle text in the landing page intro.', + 'landing_header_logo' => 'When set, replaces the landing title and subtitle text in the top-left corner of the landing page.', 'import_via_url_forbidden_localhost' => ' Disabling this expose your localhost to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_forbidden_local_ip' => ' Disabling this expose your internal network to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_require_https' => ' Disabling this will lower the security of the Import via URL functionality.', diff --git a/lang/pt/all_settings.php b/lang/pt/all_settings.php index b99e5336d0b..dcd6cbee36a 100644 --- a/lang/pt/all_settings.php +++ b/lang/pt/all_settings.php @@ -265,6 +265,9 @@ 'gallery_header' => 'URL of header image in the gallery view', 'gallery_header_bar_transparent' => 'Make the header bar transparent.', 'gallery_header_bar_gradient' => 'Add a gradient background to the header bar.', + 'site_logo' => 'URL of logo image in the header bar', + 'landing_logo' => 'URL of logo image in the landing view', + 'landing_header_logo' => 'URL of logo image in the landing page header', 'import_via_url_forbidden_localhost' => 'Import via URL must not use localhost', 'import_via_url_forbidden_local_ip' => 'Import via URL must not use local IPs', 'import_via_url_require_https' => 'Import via URL must use https', @@ -607,6 +610,9 @@ 'gallery_header' => '', 'gallery_header_bar_transparent' => 'If enabled, the header bar will be transparent and the header image will be visible behind it.', 'gallery_header_bar_gradient' => 'If enabled the header bar will have a gradient background aiming to improve the readability of the text, otherwise it will be transparent.', + 'site_logo' => 'When set, replaces the website title text in the gallery header bar.', + 'landing_logo' => 'When set, replaces the landing title and subtitle text in the landing page intro.', + 'landing_header_logo' => 'When set, replaces the landing title and subtitle text in the top-left corner of the landing page.', 'import_via_url_forbidden_localhost' => ' Disabling this expose your localhost to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_forbidden_local_ip' => ' Disabling this expose your internal network to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_require_https' => ' Disabling this will lower the security of the Import via URL functionality.', diff --git a/lang/ru/all_settings.php b/lang/ru/all_settings.php index b99e5336d0b..dcd6cbee36a 100644 --- a/lang/ru/all_settings.php +++ b/lang/ru/all_settings.php @@ -265,6 +265,9 @@ 'gallery_header' => 'URL of header image in the gallery view', 'gallery_header_bar_transparent' => 'Make the header bar transparent.', 'gallery_header_bar_gradient' => 'Add a gradient background to the header bar.', + 'site_logo' => 'URL of logo image in the header bar', + 'landing_logo' => 'URL of logo image in the landing view', + 'landing_header_logo' => 'URL of logo image in the landing page header', 'import_via_url_forbidden_localhost' => 'Import via URL must not use localhost', 'import_via_url_forbidden_local_ip' => 'Import via URL must not use local IPs', 'import_via_url_require_https' => 'Import via URL must use https', @@ -607,6 +610,9 @@ 'gallery_header' => '', 'gallery_header_bar_transparent' => 'If enabled, the header bar will be transparent and the header image will be visible behind it.', 'gallery_header_bar_gradient' => 'If enabled the header bar will have a gradient background aiming to improve the readability of the text, otherwise it will be transparent.', + 'site_logo' => 'When set, replaces the website title text in the gallery header bar.', + 'landing_logo' => 'When set, replaces the landing title and subtitle text in the landing page intro.', + 'landing_header_logo' => 'When set, replaces the landing title and subtitle text in the top-left corner of the landing page.', 'import_via_url_forbidden_localhost' => ' Disabling this expose your localhost to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_forbidden_local_ip' => ' Disabling this expose your internal network to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_require_https' => ' Disabling this will lower the security of the Import via URL functionality.', diff --git a/lang/sk/all_settings.php b/lang/sk/all_settings.php index b99e5336d0b..dcd6cbee36a 100644 --- a/lang/sk/all_settings.php +++ b/lang/sk/all_settings.php @@ -265,6 +265,9 @@ 'gallery_header' => 'URL of header image in the gallery view', 'gallery_header_bar_transparent' => 'Make the header bar transparent.', 'gallery_header_bar_gradient' => 'Add a gradient background to the header bar.', + 'site_logo' => 'URL of logo image in the header bar', + 'landing_logo' => 'URL of logo image in the landing view', + 'landing_header_logo' => 'URL of logo image in the landing page header', 'import_via_url_forbidden_localhost' => 'Import via URL must not use localhost', 'import_via_url_forbidden_local_ip' => 'Import via URL must not use local IPs', 'import_via_url_require_https' => 'Import via URL must use https', @@ -607,6 +610,9 @@ 'gallery_header' => '', 'gallery_header_bar_transparent' => 'If enabled, the header bar will be transparent and the header image will be visible behind it.', 'gallery_header_bar_gradient' => 'If enabled the header bar will have a gradient background aiming to improve the readability of the text, otherwise it will be transparent.', + 'site_logo' => 'When set, replaces the website title text in the gallery header bar.', + 'landing_logo' => 'When set, replaces the landing title and subtitle text in the landing page intro.', + 'landing_header_logo' => 'When set, replaces the landing title and subtitle text in the top-left corner of the landing page.', 'import_via_url_forbidden_localhost' => ' Disabling this expose your localhost to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_forbidden_local_ip' => ' Disabling this expose your internal network to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_require_https' => ' Disabling this will lower the security of the Import via URL functionality.', diff --git a/lang/sv/all_settings.php b/lang/sv/all_settings.php index ebe55de008f..71599e5b152 100644 --- a/lang/sv/all_settings.php +++ b/lang/sv/all_settings.php @@ -265,6 +265,9 @@ 'gallery_header' => 'URL of header image in the gallery view', 'gallery_header_bar_transparent' => 'Make the header bar transparent.', 'gallery_header_bar_gradient' => 'Add a gradient background to the header bar.', + 'site_logo' => 'URL of logo image in the header bar', + 'landing_logo' => 'URL of logo image in the landing view', + 'landing_header_logo' => 'URL of logo image in the landing page header', 'import_via_url_forbidden_localhost' => 'Import via URL must not use localhost', 'import_via_url_forbidden_local_ip' => 'Import via URL must not use local IPs', 'import_via_url_require_https' => 'Import via URL must use https', @@ -607,6 +610,9 @@ 'gallery_header' => '', 'gallery_header_bar_transparent' => 'If enabled, the header bar will be transparent and the header image will be visible behind it.', 'gallery_header_bar_gradient' => 'If enabled the header bar will have a gradient background aiming to improve the readability of the text, otherwise it will be transparent.', + 'site_logo' => 'When set, replaces the website title text in the gallery header bar.', + 'landing_logo' => 'When set, replaces the landing title and subtitle text in the landing page intro.', + 'landing_header_logo' => 'When set, replaces the landing title and subtitle text in the top-left corner of the landing page.', 'import_via_url_forbidden_localhost' => ' Disabling this expose your localhost to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_forbidden_local_ip' => ' Disabling this expose your internal network to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_require_https' => ' Disabling this will lower the security of the Import via URL functionality.', diff --git a/lang/tr/all_settings.php b/lang/tr/all_settings.php index 4d5e1afda26..6cc903c3735 100644 --- a/lang/tr/all_settings.php +++ b/lang/tr/all_settings.php @@ -264,6 +264,9 @@ 'gallery_header' => 'URL of header image in the gallery view', 'gallery_header_bar_transparent' => 'Make the header bar transparent.', 'gallery_header_bar_gradient' => 'Add a gradient background to the header bar.', + 'site_logo' => 'URL of logo image in the header bar', + 'landing_logo' => 'URL of logo image in the landing view', + 'landing_header_logo' => 'URL of logo image in the landing page header', 'import_via_url_forbidden_localhost' => 'Import via URL must not use localhost', 'import_via_url_forbidden_local_ip' => 'Import via URL must not use local IPs', 'import_via_url_require_https' => 'Import via URL must use https', @@ -606,6 +609,9 @@ 'gallery_header' => '', 'gallery_header_bar_transparent' => 'If enabled, the header bar will be transparent and the header image will be visible behind it.', 'gallery_header_bar_gradient' => 'If enabled the header bar will have a gradient background aiming to improve the readability of the text, otherwise it will be transparent.', + 'site_logo' => 'When set, replaces the website title text in the gallery header bar.', + 'landing_logo' => 'When set, replaces the landing title and subtitle text in the landing page intro.', + 'landing_header_logo' => 'When set, replaces the landing title and subtitle text in the top-left corner of the landing page.', 'import_via_url_forbidden_localhost' => ' Disabling this expose your localhost to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_forbidden_local_ip' => ' Disabling this expose your internal network to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_require_https' => ' Disabling this will lower the security of the Import via URL functionality.', diff --git a/lang/vi/all_settings.php b/lang/vi/all_settings.php index b99e5336d0b..dcd6cbee36a 100644 --- a/lang/vi/all_settings.php +++ b/lang/vi/all_settings.php @@ -265,6 +265,9 @@ 'gallery_header' => 'URL of header image in the gallery view', 'gallery_header_bar_transparent' => 'Make the header bar transparent.', 'gallery_header_bar_gradient' => 'Add a gradient background to the header bar.', + 'site_logo' => 'URL of logo image in the header bar', + 'landing_logo' => 'URL of logo image in the landing view', + 'landing_header_logo' => 'URL of logo image in the landing page header', 'import_via_url_forbidden_localhost' => 'Import via URL must not use localhost', 'import_via_url_forbidden_local_ip' => 'Import via URL must not use local IPs', 'import_via_url_require_https' => 'Import via URL must use https', @@ -607,6 +610,9 @@ 'gallery_header' => '', 'gallery_header_bar_transparent' => 'If enabled, the header bar will be transparent and the header image will be visible behind it.', 'gallery_header_bar_gradient' => 'If enabled the header bar will have a gradient background aiming to improve the readability of the text, otherwise it will be transparent.', + 'site_logo' => 'When set, replaces the website title text in the gallery header bar.', + 'landing_logo' => 'When set, replaces the landing title and subtitle text in the landing page intro.', + 'landing_header_logo' => 'When set, replaces the landing title and subtitle text in the top-left corner of the landing page.', 'import_via_url_forbidden_localhost' => ' Disabling this expose your localhost to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_forbidden_local_ip' => ' Disabling this expose your internal network to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_require_https' => ' Disabling this will lower the security of the Import via URL functionality.', diff --git a/lang/zh_CN/all_settings.php b/lang/zh_CN/all_settings.php index ebe55de008f..71599e5b152 100644 --- a/lang/zh_CN/all_settings.php +++ b/lang/zh_CN/all_settings.php @@ -265,6 +265,9 @@ 'gallery_header' => 'URL of header image in the gallery view', 'gallery_header_bar_transparent' => 'Make the header bar transparent.', 'gallery_header_bar_gradient' => 'Add a gradient background to the header bar.', + 'site_logo' => 'URL of logo image in the header bar', + 'landing_logo' => 'URL of logo image in the landing view', + 'landing_header_logo' => 'URL of logo image in the landing page header', 'import_via_url_forbidden_localhost' => 'Import via URL must not use localhost', 'import_via_url_forbidden_local_ip' => 'Import via URL must not use local IPs', 'import_via_url_require_https' => 'Import via URL must use https', @@ -607,6 +610,9 @@ 'gallery_header' => '', 'gallery_header_bar_transparent' => 'If enabled, the header bar will be transparent and the header image will be visible behind it.', 'gallery_header_bar_gradient' => 'If enabled the header bar will have a gradient background aiming to improve the readability of the text, otherwise it will be transparent.', + 'site_logo' => 'When set, replaces the website title text in the gallery header bar.', + 'landing_logo' => 'When set, replaces the landing title and subtitle text in the landing page intro.', + 'landing_header_logo' => 'When set, replaces the landing title and subtitle text in the top-left corner of the landing page.', 'import_via_url_forbidden_localhost' => ' Disabling this expose your localhost to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_forbidden_local_ip' => ' Disabling this expose your internal network to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_require_https' => ' Disabling this will lower the security of the Import via URL functionality.', diff --git a/lang/zh_TW/all_settings.php b/lang/zh_TW/all_settings.php index b99e5336d0b..dcd6cbee36a 100644 --- a/lang/zh_TW/all_settings.php +++ b/lang/zh_TW/all_settings.php @@ -265,6 +265,9 @@ 'gallery_header' => 'URL of header image in the gallery view', 'gallery_header_bar_transparent' => 'Make the header bar transparent.', 'gallery_header_bar_gradient' => 'Add a gradient background to the header bar.', + 'site_logo' => 'URL of logo image in the header bar', + 'landing_logo' => 'URL of logo image in the landing view', + 'landing_header_logo' => 'URL of logo image in the landing page header', 'import_via_url_forbidden_localhost' => 'Import via URL must not use localhost', 'import_via_url_forbidden_local_ip' => 'Import via URL must not use local IPs', 'import_via_url_require_https' => 'Import via URL must use https', @@ -607,6 +610,9 @@ 'gallery_header' => '', 'gallery_header_bar_transparent' => 'If enabled, the header bar will be transparent and the header image will be visible behind it.', 'gallery_header_bar_gradient' => 'If enabled the header bar will have a gradient background aiming to improve the readability of the text, otherwise it will be transparent.', + 'site_logo' => 'When set, replaces the website title text in the gallery header bar.', + 'landing_logo' => 'When set, replaces the landing title and subtitle text in the landing page intro.', + 'landing_header_logo' => 'When set, replaces the landing title and subtitle text in the top-left corner of the landing page.', 'import_via_url_forbidden_localhost' => ' Disabling this expose your localhost to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_forbidden_local_ip' => ' Disabling this expose your internal network to the Import via URL functionality and lead to Server-Side Request Forgery (SSRF).', 'import_via_url_require_https' => ' Disabling this will lower the security of the Import via URL functionality.', diff --git a/resources/js/components/headers/AlbumsHeader.vue b/resources/js/components/headers/AlbumsHeader.vue index 70ce0c66393..77df15ee7ab 100644 --- a/resources/js/components/headers/AlbumsHeader.vue +++ b/resources/js/components/headers/AlbumsHeader.vue @@ -15,14 +15,24 @@ @@ -104,11 +114,20 @@ -
+
+

{{ props.title }}

diff --git a/resources/js/components/headers/TimelineHeader.vue b/resources/js/components/headers/TimelineHeader.vue index b1271b36548..df5baa57c89 100644 --- a/resources/js/components/headers/TimelineHeader.vue +++ b/resources/js/components/headers/TimelineHeader.vue @@ -12,12 +12,17 @@