This commit is contained in:
Hailey
2024-06-17 20:35:40 -07:00
parent cf3442b751
commit a16d350aeb
@@ -30,7 +30,6 @@ import {Logo} from 'view/icons/Logo'
import {atoms as a, useTheme} from '#/alf' import {atoms as a, useTheme} from '#/alf'
import {Button, ButtonText} from '#/components/Button' import {Button, ButtonText} from '#/components/Button'
import {useDialogControl} from '#/components/Dialog' import {useDialogControl} from '#/components/Dialog'
import {Divider} from '#/components/Divider'
import * as FeedCard from '#/components/FeedCard' import * as FeedCard from '#/components/FeedCard'
import {LinearGradientBackground} from '#/components/LinearGradientBackground' import {LinearGradientBackground} from '#/components/LinearGradientBackground'
import {ListMaybePlaceholder} from '#/components/Lists' import {ListMaybePlaceholder} from '#/components/Lists'
@@ -179,7 +178,8 @@ function LandingScreenLoaded({
<LinearGradientBackground <LinearGradientBackground
style={[ style={[
a.align_center, a.align_center,
a.gap_sm, a.gap_lg,
a.px_lg,
a.py_2xl, a.py_2xl,
isTabletOrDesktop && { isTabletOrDesktop && {
borderBottomLeftRadius: 10, borderBottomLeftRadius: 10,
@@ -192,22 +192,16 @@ function LandingScreenLoaded({
<View style={[a.flex_row, a.gap_md, a.pb_sm]}> <View style={[a.flex_row, a.gap_md, a.pb_sm]}>
<Logo width={76} fill="white" /> <Logo width={76} fill="white" />
</View> </View>
<View style={[a.align_center, a.gap_xs]}> <Text
<Text style={[a.font_bold, a.text_5xl, a.text_center, {color: 'white'}]}>
style={[ {record.name}
a.font_bold, </Text>
a.text_5xl, <Text
a.text_center, style={[a.text_center, a.font_bold, a.text_md, {color: 'white'}]}>
{color: 'white'}, Starter pack by {creator.displayName || `@${creator.handle}`}
]}> </Text>
{record.name}
</Text>
<Text style={[a.font_bold, a.text_md, {color: 'white'}]}>
Starter pack by {creator.displayName || `@${creator.handle}`}
</Text>
</View>
</LinearGradientBackground> </LinearGradientBackground>
<View style={[a.gap_2xl, a.mt_lg, a.mx_lg]}> <View style={[a.gap_2xl, a.mx_lg, {marginTop: 50}]}>
{record.description ? ( {record.description ? (
<Text style={[a.text_md, t.atoms.text_contrast_medium]}> <Text style={[a.text_md, t.atoms.text_contrast_medium]}>
{record.description} {record.description}
@@ -234,7 +228,7 @@ function LandingScreenLoaded({
{joinedWeekCount} joined this week! {joinedWeekCount} joined this week!
</Text> </Text>
) : null} ) : null}
<Divider /> <View style={{height: 4}} />
<View style={[a.gap_3xl]}> <View style={[a.gap_3xl]}>
{starterPack.feeds?.length ? ( {starterPack.feeds?.length ? (
<View style={[a.gap_md]}> <View style={[a.gap_md]}>
@@ -285,7 +279,7 @@ function LandingScreenLoaded({
<Trans>You'll follow these people right away!</Trans> <Trans>You'll follow these people right away!</Trans>
) : ( ) : (
<Trans> <Trans>
You'll follow these people and {listItemsCount - 8} You'll follow these people and {listItemsCount - 8}{' '}
others! others!
</Trans> </Trans>
)} )}