@@ -7,6 +7,7 @@ import {msg, Trans} from '@lingui/macro'
|
|||||||
import {useLingui} from '@lingui/react'
|
import {useLingui} from '@lingui/react'
|
||||||
import {useMutation} from '@tanstack/react-query'
|
import {useMutation} from '@tanstack/react-query'
|
||||||
|
|
||||||
|
import {urls} from '#/lib/constants'
|
||||||
import {
|
import {
|
||||||
type CountryCode,
|
type CountryCode,
|
||||||
getDefaultCountry,
|
getDefaultCountry,
|
||||||
@@ -294,7 +295,7 @@ function LegalDisclaimer() {
|
|||||||
By continuing, you consent to this use. You may change your mind any
|
By continuing, you consent to this use. You may change your mind any
|
||||||
time by visiting settings.{' '}
|
time by visiting settings.{' '}
|
||||||
<InlineLinkText
|
<InlineLinkText
|
||||||
to="#"
|
to={urls.website.support.findFriendsPrivacyPolicy}
|
||||||
label={_(
|
label={_(
|
||||||
msg({
|
msg({
|
||||||
message: `Learn more about importing contacts`,
|
message: `Learn more about importing contacts`,
|
||||||
|
|||||||
@@ -203,9 +203,15 @@ export const EMOJI_REACTION_LIMIT = 5
|
|||||||
export const urls = {
|
export const urls = {
|
||||||
website: {
|
website: {
|
||||||
blog: {
|
blog: {
|
||||||
|
findFriendsAnnouncement:
|
||||||
|
'https://bsky.social/about/blog/12-16-2025-find-friends',
|
||||||
initialVerificationAnnouncement: `https://bsky.social/about/blog/04-21-2025-verification`,
|
initialVerificationAnnouncement: `https://bsky.social/about/blog/04-21-2025-verification`,
|
||||||
searchTipsAndTricks: 'https://bsky.social/about/blog/05-31-2024-search',
|
searchTipsAndTricks: 'https://bsky.social/about/blog/05-31-2024-search',
|
||||||
},
|
},
|
||||||
|
support: {
|
||||||
|
findFriendsPrivacyPolicy:
|
||||||
|
'https://bsky.social/about/support/find-friends-privacy-policy',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import {msg, Trans} from '@lingui/macro'
|
|||||||
import {useLingui} from '@lingui/react'
|
import {useLingui} from '@lingui/react'
|
||||||
import {useQuery} from '@tanstack/react-query'
|
import {useQuery} from '@tanstack/react-query'
|
||||||
|
|
||||||
|
import {urls} from '#/lib/constants'
|
||||||
import {atoms as a} from '#/alf'
|
import {atoms as a} from '#/alf'
|
||||||
import {Admonition} from '#/components/Admonition'
|
import {Admonition} from '#/components/Admonition'
|
||||||
import {Button, ButtonText} from '#/components/Button'
|
import {Button, ButtonText} from '#/components/Button'
|
||||||
@@ -39,7 +40,7 @@ export function StepFindContactsIntro() {
|
|||||||
matching with your contacts. We protect your information and you
|
matching with your contacts. We protect your information and you
|
||||||
control what happens next.{' '}
|
control what happens next.{' '}
|
||||||
<InlineLinkText
|
<InlineLinkText
|
||||||
to="#"
|
to={urls.website.blog.findFriendsAnnouncement}
|
||||||
label={_(
|
label={_(
|
||||||
msg({
|
msg({
|
||||||
message: `Learn more about importing contacts`,
|
message: `Learn more about importing contacts`,
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import {useIsFocused} from '@react-navigation/native'
|
|||||||
import {useMutation, useQuery, useQueryClient} from '@tanstack/react-query'
|
import {useMutation, useQuery, useQueryClient} from '@tanstack/react-query'
|
||||||
|
|
||||||
import {wait} from '#/lib/async/wait'
|
import {wait} from '#/lib/async/wait'
|
||||||
import {HITSLOP_10} from '#/lib/constants'
|
import {HITSLOP_10, urls} from '#/lib/constants'
|
||||||
import {isBlockedOrBlocking, isMuted} from '#/lib/moderation/blocked-and-muted'
|
import {isBlockedOrBlocking, isMuted} from '#/lib/moderation/blocked-and-muted'
|
||||||
import {
|
import {
|
||||||
type AllNavigatorParams,
|
type AllNavigatorParams,
|
||||||
@@ -125,7 +125,7 @@ function Intro() {
|
|||||||
matching with your contacts. We protect your information and you
|
matching with your contacts. We protect your information and you
|
||||||
control what happens next.{' '}
|
control what happens next.{' '}
|
||||||
<InlineLinkText
|
<InlineLinkText
|
||||||
to="#"
|
to={urls.website.blog.findFriendsAnnouncement}
|
||||||
label={_(
|
label={_(
|
||||||
msg({
|
msg({
|
||||||
message: `Learn more about importing contacts`,
|
message: `Learn more about importing contacts`,
|
||||||
|
|||||||
Reference in New Issue
Block a user