From a0daab2711ad64612b7e3d1a2a21bc2c2d0caacc Mon Sep 17 00:00:00 2001
From: ice <49827327+coding-ice@users.noreply.github.com>
Date: Mon, 24 Nov 2025 12:42:04 +0800
Subject: [PATCH] feat(seo): add meaningful
headings across all public
pages (#28569)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---
web/app/components/header/index.tsx | 36 ++++++++++++++---------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/web/app/components/header/index.tsx b/web/app/components/header/index.tsx
index ef24d471e0..e43a8bfa25 100644
--- a/web/app/components/header/index.tsx
+++ b/web/app/components/header/index.tsx
@@ -35,6 +35,7 @@ const Header = () => {
const { setShowPricingModal, setShowAccountSettingModal } = useModalContext()
const systemFeatures = useGlobalPublicStore(s => s.systemFeatures)
const isFreePlan = plan.type === Plan.sandbox
+ const isBrandingEnabled = systemFeatures.branding.enabled
const handlePlanClick = useCallback(() => {
if (isFreePlan)
setShowPricingModal()
@@ -42,20 +43,27 @@ const Header = () => {
setShowAccountSettingModal({ payload: ACCOUNT_SETTING_TAB.BILLING })
}, [isFreePlan, setShowAccountSettingModal, setShowPricingModal])
+ const renderLogo = () => (
+
+
+ {systemFeatures.branding.enabled && systemFeatures.branding.workspace_logo
+ ?
+ : }
+ {isBrandingEnabled && systemFeatures.branding.application_title ? systemFeatures.branding.application_title : 'dify'}
+
+
+ )
+
if (isMobile) {
return (
-
- {systemFeatures.branding.enabled && systemFeatures.branding.workspace_logo
- ?

- :
}
-
+ {renderLogo()}
/
@@ -82,15 +90,7 @@ const Header = () => {
return (
-
- {systemFeatures.branding.enabled && systemFeatures.branding.workspace_logo
- ?

- :
}
-
+ {renderLogo()}
/