Add labels to a few missing places (#4838)

This commit is contained in:
Eric Bailey 2024-07-25 18:07:15 -05:00 committed by GitHub
parent e7b485f185
commit 783fd351ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 60 additions and 18 deletions

View file

@ -132,6 +132,7 @@ export const SplashScreen = ({
function Footer() {
const t = useTheme()
const {_} = useLingui()
return (
<View
@ -147,13 +148,19 @@ function Footer() {
a.flex_1,
t.atoms.border_contrast_medium,
]}>
<InlineLinkText to="https://bsky.social">
<InlineLinkText
label={_(msg`Learn more about Bluesky`)}
to="https://bsky.social">
<Trans>Business</Trans>
</InlineLinkText>
<InlineLinkText to="https://bsky.social/about/blog">
<InlineLinkText
label={_(msg`Read the Bluesky blog`)}
to="https://bsky.social/about/blog">
<Trans>Blog</Trans>
</InlineLinkText>
<InlineLinkText to="https://bsky.social/about/join">
<InlineLinkText
label={_(msg`See jobs at Bluesky`)}
to="https://bsky.social/about/join">
<Trans>Jobs</Trans>
</InlineLinkText>

View file

@ -73,7 +73,7 @@ export function HomeHeaderLayoutMobile({
]}>
{IS_DEV && (
<>
<Link to="/sys/debug">
<Link label="View storybook" to="/sys/debug">
<ColorPalette size="md" />
</Link>
</>

View file

@ -99,6 +99,7 @@ export function FeedShutdownMsg({feedUri}: {feedUri: string}) {
<Trans>
This feed is no longer online. We are showing{' '}
<InlineLinkText
label={_(msg`The Discover feed`)}
to="/profile/bsky.app/feed/whats-hot"
style={[a.text_md]}>
Discover

View file

@ -94,6 +94,7 @@ export function ExportCarDialog({
This feature is in beta. You can read more about repository
exports in{' '}
<InlineLinkText
label={_(msg`View blogpost for more details`)}
to="https://docs.bsky.app/blog/repo-export"
style={[a.text_sm]}>
this blogpost

View file

@ -13,18 +13,20 @@ export function Links() {
<H1>Links</H1>
<View style={[a.gap_md, a.align_start]}>
<InlineLinkText to="https://google.com" style={[a.text_lg]}>
<InlineLinkText label="foo" to="https://google.com" style={[a.text_lg]}>
https://google.com
</InlineLinkText>
<InlineLinkText to="https://google.com" style={[a.text_lg]}>
<InlineLinkText label="foo" to="https://google.com" style={[a.text_lg]}>
External with custom children (google.com)
</InlineLinkText>
<InlineLinkText
label="foo"
to="https://bsky.social"
style={[a.text_md, t.atoms.text_contrast_low]}>
Internal (bsky.social)
</InlineLinkText>
<InlineLinkText
label="foo"
to="https://bsky.app/profile/bsky.app"
style={[a.text_md]}>
Internal (bsky.app)