test gemini
This commit is contained in:
@@ -1,37 +1,54 @@
|
||||
diff --git a/src/view/com/auth/SplashScreen.tsx b/src/view/com/auth/SplashScreen.tsx
|
||||
index 3442d1bdf..2b059af52 100644
|
||||
index 3442d1bdf..034310a17 100644
|
||||
--- a/src/view/com/auth/SplashScreen.tsx
|
||||
+++ b/src/view/com/auth/SplashScreen.tsx
|
||||
@@ -40,16 +40,6 @@ export const SplashScreen = ({
|
||||
<View style={[a.pb_sm, a.pt_5xl]}>
|
||||
<Logotype width={161} fill={t.atoms.text.color} />
|
||||
</View>
|
||||
-
|
||||
- <Text
|
||||
- style={[
|
||||
- a.text_md,
|
||||
- a.font_semi_bold,
|
||||
- t.atoms.text_contrast_medium,
|
||||
- a.text_center,
|
||||
- ]}>
|
||||
- <Trans>What's up?</Trans>
|
||||
- </Text>
|
||||
</View>
|
||||
@@ -1,18 +1,18 @@
|
||||
-import {View} from 'react-native'
|
||||
-import Animated, {FadeIn, FadeOut} from 'react-native-reanimated'
|
||||
-import {useSafeAreaInsets} from 'react-native-safe-area-context'
|
||||
-import {msg, Trans} from '@lingui/macro'
|
||||
-import {useLingui} from '@lingui/react'
|
||||
+import { View } from 'react-native'
|
||||
+import Animated, { FadeIn, FadeOut } from 'react-native-reanimated'
|
||||
+import { useSafeAreaInsets } from 'react-native-safe-area-context'
|
||||
+import { msg, Trans } from '@lingui/macro'
|
||||
+import { useLingui } from '@lingui/react'
|
||||
|
||||
<View
|
||||
@@ -94,7 +84,7 @@ export const SplashScreen = ({
|
||||
style={[
|
||||
a.px_lg,
|
||||
a.pt_md,
|
||||
- a.pb_2xl,
|
||||
+ a.pb_md,
|
||||
a.justify_center,
|
||||
a.align_center,
|
||||
]}>
|
||||
@@ -102,6 +92,17 @@ export const SplashScreen = ({
|
||||
-import {useHaptics} from '#/lib/haptics'
|
||||
-import {ErrorBoundary} from '#/view/com/util/ErrorBoundary'
|
||||
-import {CenteredView} from '#/view/com/util/Views'
|
||||
-import {Logo} from '#/view/icons/Logo'
|
||||
-import {Logotype} from '#/view/icons/Logotype'
|
||||
-import {atoms as a, useTheme} from '#/alf'
|
||||
-import {AppLanguageDropdown} from '#/components/AppLanguageDropdown'
|
||||
-import {Button, ButtonText} from '#/components/Button'
|
||||
-import {Text} from '#/components/Typography'
|
||||
+import { useHaptics } from '#/lib/haptics'
|
||||
+import { ErrorBoundary } from '#/view/com/util/ErrorBoundary'
|
||||
+import { CenteredView } from '#/view/com/util/Views'
|
||||
+import { Logo } from '#/view/icons/Logo'
|
||||
+import { Logotype } from '#/view/icons/Logotype'
|
||||
+import { atoms as a, useTheme } from '#/alf'
|
||||
+import { AppLanguageDropdown } from '#/components/AppLanguageDropdown'
|
||||
+import { Button, ButtonText } from '#/components/Button'
|
||||
+import { Text } from '#/components/Typography'
|
||||
|
||||
export const SplashScreen = ({
|
||||
onPressSignin,
|
||||
@@ -22,7 +22,7 @@ export const SplashScreen = ({
|
||||
onPressCreateAccount: () => void
|
||||
}) => {
|
||||
const t = useTheme()
|
||||
- const {_} = useLingui()
|
||||
+ const { _ } = useLingui()
|
||||
|
||||
const playHaptic = useHaptics()
|
||||
const insets = useSafeAreaInsets()
|
||||
@@ -102,7 +102,18 @@ export const SplashScreen = ({
|
||||
<AppLanguageDropdown />
|
||||
</View>
|
||||
</View>
|
||||
- <View style={{height: insets.bottom}} />
|
||||
+ <View
|
||||
+ style={[
|
||||
+ a.px_lg,
|
||||
@@ -43,75 +60,7 @@ index 3442d1bdf..2b059af52 100644
|
||||
+ © syui
|
||||
+ </Text>
|
||||
+ </View>
|
||||
<View style={{height: insets.bottom}} />
|
||||
+ <View style={{ height: insets.bottom }} />
|
||||
</ErrorBoundary>
|
||||
</Animated.View>
|
||||
diff --git a/src/view/com/auth/SplashScreen.web.tsx b/src/view/com/auth/SplashScreen.web.tsx
|
||||
index 22dd23d7f..08cd8aa33 100644
|
||||
--- a/src/view/com/auth/SplashScreen.web.tsx
|
||||
+++ b/src/view/com/auth/SplashScreen.web.tsx
|
||||
@@ -3,7 +3,9 @@ import {Pressable, View} from 'react-native'
|
||||
import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome'
|
||||
import {msg, Trans} from '@lingui/macro'
|
||||
import {useLingui} from '@lingui/react'
|
||||
+import {useNavigation} from '@react-navigation/native'
|
||||
|
||||
+import {NavigationProp} from '#/lib/routes/types'
|
||||
import {useWebMediaQueries} from '#/lib/hooks/useWebMediaQueries'
|
||||
import {useKawaiiMode} from '#/state/preferences/kawaii'
|
||||
import {ErrorBoundary} from '#/view/com/util/ErrorBoundary'
|
||||
@@ -93,15 +95,6 @@ export const SplashScreen = ({
|
||||
<Logotype width={161} fill={t.atoms.text.color} />
|
||||
</View>
|
||||
)}
|
||||
-
|
||||
- <Text
|
||||
- style={[
|
||||
- a.text_md,
|
||||
- a.font_semi_bold,
|
||||
- t.atoms.text_contrast_medium,
|
||||
- ]}>
|
||||
- <Trans>What's up?</Trans>
|
||||
- </Text>
|
||||
</View>
|
||||
|
||||
<View
|
||||
@@ -150,7 +143,6 @@ export const SplashScreen = ({
|
||||
|
||||
function Footer() {
|
||||
const t = useTheme()
|
||||
- const {_} = useLingui()
|
||||
|
||||
return (
|
||||
<View
|
||||
@@ -168,26 +160,12 @@ function Footer() {
|
||||
a.flex_1,
|
||||
t.atoms.border_contrast_medium,
|
||||
]}>
|
||||
- <InlineLinkText
|
||||
- label={_(msg`Learn more about Bluesky`)}
|
||||
- to="https://bsky.social">
|
||||
- <Trans>Business</Trans>
|
||||
- </InlineLinkText>
|
||||
- <InlineLinkText
|
||||
- label={_(msg`Read the Bluesky blog`)}
|
||||
- to="https://bsky.social/about/blog">
|
||||
- <Trans>Blog</Trans>
|
||||
- </InlineLinkText>
|
||||
- <InlineLinkText
|
||||
- label={_(msg`See jobs at Bluesky`)}
|
||||
- to="https://bsky.social/about/join">
|
||||
- <Trans comment="Link to a page with job openings at Bluesky">
|
||||
- Jobs
|
||||
- </Trans>
|
||||
- </InlineLinkText>
|
||||
-
|
||||
<View style={a.flex_1} />
|
||||
|
||||
+ <Text style={[a.text_xs, t.atoms.text_contrast_low]}>
|
||||
+ © syui
|
||||
+ </Text>
|
||||
+
|
||||
<AppLanguageDropdown />
|
||||
</View>
|
||||
)
|
||||
</CenteredView>
|
||||
|
||||
Reference in New Issue
Block a user