Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
haileyok committed Jun 18, 2024
1 parent cf3442b commit a16d350
Showing 1 changed file with 13 additions and 19 deletions.
32 changes: 13 additions & 19 deletions src/screens/StarterPack/StarterPackLandingScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import {Logo} from 'view/icons/Logo'
import {atoms as a, useTheme} from '#/alf'
import {Button, ButtonText} from '#/components/Button'
import {useDialogControl} from '#/components/Dialog'
import {Divider} from '#/components/Divider'
import * as FeedCard from '#/components/FeedCard'
import {LinearGradientBackground} from '#/components/LinearGradientBackground'
import {ListMaybePlaceholder} from '#/components/Lists'
Expand Down Expand Up @@ -179,7 +178,8 @@ function LandingScreenLoaded({
<LinearGradientBackground
style={[
a.align_center,
a.gap_sm,
a.gap_lg,
a.px_lg,
a.py_2xl,
isTabletOrDesktop && {
borderBottomLeftRadius: 10,
Expand All @@ -192,22 +192,16 @@ function LandingScreenLoaded({
<View style={[a.flex_row, a.gap_md, a.pb_sm]}>
<Logo width={76} fill="white" />
</View>
<View style={[a.align_center, a.gap_xs]}>
<Text
style={[
a.font_bold,
a.text_5xl,
a.text_center,
{color: 'white'},
]}>
{record.name}
</Text>
<Text style={[a.font_bold, a.text_md, {color: 'white'}]}>
Starter pack by {creator.displayName || `@${creator.handle}`}
</Text>
</View>
<Text
style={[a.font_bold, a.text_5xl, a.text_center, {color: 'white'}]}>
{record.name}
</Text>
<Text
style={[a.text_center, a.font_bold, a.text_md, {color: 'white'}]}>
Starter pack by {creator.displayName || `@${creator.handle}`}
</Text>
</LinearGradientBackground>
<View style={[a.gap_2xl, a.mt_lg, a.mx_lg]}>
<View style={[a.gap_2xl, a.mx_lg, {marginTop: 50}]}>
{record.description ? (
<Text style={[a.text_md, t.atoms.text_contrast_medium]}>
{record.description}
Expand All @@ -234,7 +228,7 @@ function LandingScreenLoaded({
{joinedWeekCount} joined this week!
</Text>
) : null}
<Divider />
<View style={{height: 4}} />
<View style={[a.gap_3xl]}>
{starterPack.feeds?.length ? (
<View style={[a.gap_md]}>
Expand Down Expand Up @@ -285,7 +279,7 @@ function LandingScreenLoaded({
<Trans>You'll follow these people right away!</Trans>
) : (
<Trans>
You'll follow these people and {listItemsCount - 8}
You'll follow these people and {listItemsCount - 8}{' '}
others!
</Trans>
)}
Expand Down

0 comments on commit a16d350

Please sign in to comment.