From 44fbb43d2652d012d06ad501d017557e1ebdc7e2 Mon Sep 17 00:00:00 2001 From: "ruuuuu.de" Date: Tue, 7 Jul 2026 17:23:57 -0400 Subject: [PATCH] fix: restore footer links + styling regressed by brand config (#107) (#111) #107 switched the footer to brand.web.links.* but BLACKSKY_CONFIG defined no links, so Support Us/Discussion disappeared and Privacy/Terms fell back to the wrong blacksky.community URLs; it also dropped text_contrast_medium, rendering links in primary blue instead of muted gray. - Populate BLACKSKY_CONFIG.web.links (contribute, community, privacy, tos) so the footer renders on desktop and mobile with the correct blackskyweb.xyz targets. - Restore text_contrast_medium on the RightNav footer links. - Point the 'what is public' visibility note to the Bluesky Zendesk Data-Privacy article (matching upstream) instead of the brand privacy policy. --- src/lib/community/BrandContext.tsx | 6 ++++++ .../Settings/PrivacyAndSecuritySettings.tsx | 2 +- src/view/shell/desktop/RightNav.tsx | 17 ++++++++++++++--- 3 files changed, 21 insertions(+), 4 deletions(-) diff --git a/src/lib/community/BrandContext.tsx b/src/lib/community/BrandContext.tsx index 12db33a21..49ae42fc4 100644 --- a/src/lib/community/BrandContext.tsx +++ b/src/lib/community/BrandContext.tsx @@ -62,6 +62,12 @@ const BLACKSKY_CONFIG: RawCommunityConfig = { main: 'https://blacksky.community', shortlink: 'https://go.blacksky.community', }, + links: { + privacy: 'https://blackskyweb.xyz/about/support/privacy-policy', + tos: 'https://www.blackskyweb.xyz/about/support/tos', + community: 'https://assembly.blacksky.community/8bbfunvvau', + contribute: '/support', + }, }, } diff --git a/src/screens/Settings/PrivacyAndSecuritySettings.tsx b/src/screens/Settings/PrivacyAndSecuritySettings.tsx index 87d7d669f..668c27740 100644 --- a/src/screens/Settings/PrivacyAndSecuritySettings.tsx +++ b/src/screens/Settings/PrivacyAndSecuritySettings.tsx @@ -153,7 +153,7 @@ export function PrivacyAndSecuritySettingsScreen({}: Props) { label={_( msg`Learn more about what is public on ${brand.metadata.displayName}.`, )} - to={brand.web.links.privacy}> + to="https://blueskyweb.zendesk.com/hc/en-us/articles/15835264007693-Data-Privacy"> Learn more about what is public on{' '} {brand.metadata.displayName}. diff --git a/src/view/shell/desktop/RightNav.tsx b/src/view/shell/desktop/RightNav.tsx index 839921dad..315815f82 100644 --- a/src/view/shell/desktop/RightNav.tsx +++ b/src/view/shell/desktop/RightNav.tsx @@ -104,6 +104,7 @@ export function DesktopRightNav({routeName}: {routeName: string}) { <> {_(msg`Support Us`)} @@ -114,21 +115,31 @@ export function DesktopRightNav({routeName}: {routeName: string}) { <> {_(msg`Discussion`)} {' \u2022 '} ) : null} - + {_(msg`Privacy`)} {' \u2022 '} - + {_(msg`Terms`)} {' \u2022 '} - + {_(msg`Help`)} -- knotmirror 0.0.1