Skip to content

Commit 44fbb43

Browse files
authored
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.
1 parent c03f164 commit 44fbb43

3 files changed

Lines changed: 21 additions & 4 deletions

File tree

src/lib/community/BrandContext.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ const BLACKSKY_CONFIG: RawCommunityConfig = {
6262
main: 'https://blacksky.community',
6363
shortlink: 'https://go.blacksky.community',
6464
},
65+
links: {
66+
privacy: 'https://blackskyweb.xyz/about/support/privacy-policy',
67+
tos: 'https://www.blackskyweb.xyz/about/support/tos',
68+
community: 'https://assembly.blacksky.community/8bbfunvvau',
69+
contribute: '/support',
70+
},
6571
},
6672
}
6773

src/screens/Settings/PrivacyAndSecuritySettings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export function PrivacyAndSecuritySettingsScreen({}: Props) {
153153
label={_(
154154
msg`Learn more about what is public on ${brand.metadata.displayName}.`,
155155
)}
156-
to={brand.web.links.privacy}>
156+
to="https://blueskyweb.zendesk.com/hc/en-us/articles/15835264007693-Data-Privacy">
157157
<Trans>
158158
Learn more about what is public on{' '}
159159
{brand.metadata.displayName}.

src/view/shell/desktop/RightNav.tsx

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ export function DesktopRightNav({routeName}: {routeName: string}) {
104104
<>
105105
<InlineLinkText
106106
to={brand.web.links.contribute}
107+
style={[t.atoms.text_contrast_medium]}
107108
label={_(msg`Support Us`)}>
108109
{_(msg`Support Us`)}
109110
</InlineLinkText>
@@ -114,21 +115,31 @@ export function DesktopRightNav({routeName}: {routeName: string}) {
114115
<>
115116
<InlineLinkText
116117
to={brand.web.links.community}
118+
style={[t.atoms.text_contrast_medium]}
117119
label={_(msg`Discussion`)}>
118120
{_(msg`Discussion`)}
119121
</InlineLinkText>
120122
{' \u2022 '}
121123
</>
122124
) : null}
123-
<InlineLinkText to={brand.web.links.privacy} label={_(msg`Privacy`)}>
125+
<InlineLinkText
126+
to={brand.web.links.privacy}
127+
style={[t.atoms.text_contrast_medium]}
128+
label={_(msg`Privacy`)}>
124129
{_(msg`Privacy`)}
125130
</InlineLinkText>
126131
{' \u2022 '}
127-
<InlineLinkText to={brand.web.links.tos} label={_(msg`Terms`)}>
132+
<InlineLinkText
133+
to={brand.web.links.tos}
134+
style={[t.atoms.text_contrast_medium]}
135+
label={_(msg`Terms`)}>
128136
{_(msg`Terms`)}
129137
</InlineLinkText>
130138
{' \u2022 '}
131-
<InlineLinkText label={_(msg`Help`)} to={HELP_DESK_URL}>
139+
<InlineLinkText
140+
label={_(msg`Help`)}
141+
to={HELP_DESK_URL}
142+
style={[t.atoms.text_contrast_medium]}>
132143
{_(msg`Help`)}
133144
</InlineLinkText>
134145
</Text>

0 commit comments

Comments
 (0)