-1
src/lib/statsig/gates.ts
-1
src/lib/statsig/gates.ts
-34
src/screens/Signup/StepInfo/Policies.tsx
-34
src/screens/Signup/StepInfo/Policies.tsx
···
4
4
import {msg, Trans} from '@lingui/macro'
5
5
import {useLingui} from '@lingui/react'
6
6
7
-
import {webLinks} from '#/lib/constants'
8
-
import {useGate} from '#/lib/statsig/statsig'
9
7
import {atoms as a, useTheme} from '#/alf'
10
8
import {Admonition} from '#/components/Admonition'
11
9
import {InlineLinkText} from '#/components/Link'
12
10
import {Text} from '#/components/Typography'
13
11
14
-
function CommunityGuidelinesNotice({}: {}) {
15
-
const {_} = useLingui()
16
-
const gate = useGate()
17
-
18
-
if (gate('disable_onboarding_policy_update_notice')) return null
19
-
20
-
return (
21
-
<View style={[a.pt_xs]}>
22
-
<Admonition type="tip">
23
-
<Trans>
24
-
You also agree to{' '}
25
-
<InlineLinkText
26
-
label={_(msg`Bluesky's Community Guidelines`)}
27
-
to={webLinks.communityDeprecated}>
28
-
Bluesky’s Community Guidelines
29
-
</InlineLinkText>
30
-
. An{' '}
31
-
<InlineLinkText
32
-
label={_(msg`Bluesky's Updated Community Guidelines`)}
33
-
to={webLinks.community}>
34
-
updated version of our Community Guidelines
35
-
</InlineLinkText>{' '}
36
-
will take effect on October 15th.
37
-
</Trans>
38
-
</Admonition>
39
-
</View>
40
-
)
41
-
}
42
-
43
12
export const Policies = ({
44
13
serviceDescription,
45
14
needsGuardian,
···
67
36
This service has not provided terms of service or a privacy policy.
68
37
</Trans>
69
38
</Admonition>
70
-
<CommunityGuidelinesNotice />
71
39
</View>
72
40
)
73
41
}
···
145
113
</Trans>
146
114
</Admonition>
147
115
) : undefined}
148
-
149
-
<CommunityGuidelinesNotice />
150
116
</View>
151
117
)
152
118
}