Inset in blue well

This commit is contained in:
Eric Bailey
2025-07-14 10:50:36 -05:00
parent 0689db8151
commit 72d3952d9f
@@ -3,7 +3,7 @@ import {View} from 'react-native'
import {msg, Trans} from '@lingui/macro' import {msg, Trans} from '@lingui/macro'
import {useLingui} from '@lingui/react' import {useLingui} from '@lingui/react'
import {atoms as a, useTheme} from '#/alf' import {atoms as a, select, useTheme} from '#/alf'
import {AgeAssuranceBadge} from '#/components/ageAssurance/AgeAssuranceBadge' import {AgeAssuranceBadge} from '#/components/ageAssurance/AgeAssuranceBadge'
import { import {
AgeAssuranceInitDialog, AgeAssuranceInitDialog,
@@ -58,6 +58,24 @@ export function AgeRestrictedScreen({
</Layout.Header.Outer> </Layout.Header.Outer>
<Layout.Content> <Layout.Content>
<View style={[a.p_lg]}> <View style={[a.p_lg]}>
<View
style={[
a.p_lg,
a.rounded_md,
a.border,
{
backgroundColor: select(t.name, {
light: t.palette.primary_25,
dark: t.palette.primary_25,
dim: t.palette.primary_25,
}),
borderColor: select(t.name, {
light: t.palette.primary_100,
dark: t.palette.primary_100,
dim: t.palette.primary_100,
}),
},
]}>
<AgeAssuranceInitDialog control={control} /> <AgeAssuranceInitDialog control={control} />
<View style={[a.align_start, a.pb_md]}> <View style={[a.align_start, a.pb_md]}>
@@ -66,9 +84,9 @@ export function AgeRestrictedScreen({
<Text style={[a.text_md, a.leading_snug, a.pb_sm]}> <Text style={[a.text_md, a.leading_snug, a.pb_sm]}>
<Trans> <Trans>
You're using Bluesky from a location that legally requires you You're using Bluesky from a location that legally requires
to verify your age prior to accessing certain features, like you to verify your age prior to accessing certain features,
adult content and direct messaging. like adult content and direct messaging.
</Trans> </Trans>
</Text> </Text>
@@ -88,7 +106,16 @@ export function AgeRestrictedScreen({
a.pt_md, a.pt_md,
a.gap_lg, a.gap_lg,
]}> ]}>
<Text style={[t.atoms.text_contrast_medium]}> <Text
style={[
{
color: select(t.name, {
light: t.palette.primary_800,
dark: t.palette.primary_800,
dim: t.palette.primary_800,
}),
},
]}>
<Trans>Age verification takes only a few minutes</Trans> <Trans>Age verification takes only a few minutes</Trans>
</Text> </Text>
@@ -104,6 +131,7 @@ export function AgeRestrictedScreen({
</Button> </Button>
</View> </View>
</View> </View>
</View>
</Layout.Content> </Layout.Content>
</Layout.Screen> </Layout.Screen>
</IsAgeRestricted.True> </IsAgeRestricted.True>