Hi, I'd like to place and order. Yeah, none pizza with left beef, plz.
This commit is contained in:
@@ -10,6 +10,8 @@ import {CenteredView} from '../util/Views'
|
|||||||
import {isWeb} from 'platform/detection'
|
import {isWeb} from 'platform/detection'
|
||||||
import {useWebMediaQueries} from 'lib/hooks/useWebMediaQueries'
|
import {useWebMediaQueries} from 'lib/hooks/useWebMediaQueries'
|
||||||
import {Trans} from '@lingui/macro'
|
import {Trans} from '@lingui/macro'
|
||||||
|
import {Logo} from '#/view/icons/Logo'
|
||||||
|
import {Logotype} from '#/view/icons/Logotype'
|
||||||
|
|
||||||
export const SplashScreen = ({
|
export const SplashScreen = ({
|
||||||
onDismiss,
|
onDismiss,
|
||||||
@@ -55,14 +57,15 @@ export const SplashScreen = ({
|
|||||||
styles.containerInner,
|
styles.containerInner,
|
||||||
isMobileWeb && styles.containerInnerMobile,
|
isMobileWeb && styles.containerInnerMobile,
|
||||||
pal.border,
|
pal.border,
|
||||||
|
{alignItems: 'center'},
|
||||||
]}>
|
]}>
|
||||||
<ErrorBoundary>
|
<ErrorBoundary>
|
||||||
<Text style={isMobileWeb ? styles.titleMobile : styles.title}>
|
<Logo width={92} fill="sky" />
|
||||||
Bluesky
|
|
||||||
</Text>
|
<View style={{paddingTop: 40, paddingBottom: 20}}>
|
||||||
<Text style={isMobileWeb ? styles.subtitleMobile : styles.subtitle}>
|
<Logotype width={161} />
|
||||||
See what's next
|
</View>
|
||||||
</Text>
|
|
||||||
<View testID="signinOrCreateAccount" style={styles.btns}>
|
<View testID="signinOrCreateAccount" style={styles.btns}>
|
||||||
<TouchableOpacity
|
<TouchableOpacity
|
||||||
testID="createAccountButton"
|
testID="createAccountButton"
|
||||||
@@ -117,8 +120,6 @@ function Footer({styles}: {styles: ReturnType<typeof useStyles>}) {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
const useStyles = () => {
|
const useStyles = () => {
|
||||||
const {isTabletOrMobile} = useWebMediaQueries()
|
|
||||||
const isMobileWeb = isWeb && isTabletOrMobile
|
|
||||||
return StyleSheet.create({
|
return StyleSheet.create({
|
||||||
container: {
|
container: {
|
||||||
height: '100%',
|
height: '100%',
|
||||||
@@ -161,8 +162,7 @@ const useStyles = () => {
|
|||||||
paddingBottom: 30,
|
paddingBottom: 30,
|
||||||
},
|
},
|
||||||
btns: {
|
btns: {
|
||||||
flexDirection: isMobileWeb ? 'column' : 'row',
|
gap: 10,
|
||||||
gap: 20,
|
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
paddingBottom: 40,
|
paddingBottom: 40,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user