Skip to content

Commit 9b6ed78

Browse files
swansontecpaullinator
authored andcommitted
Move the gift card tile up a section
1 parent bc943cd commit 9b6ed78

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

src/components/scenes/HomeScene.tsx

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -270,30 +270,30 @@ export const HomeScene: React.FC<Props> = props => {
270270
)}
271271
</EdgeAnim>
272272
) : null}
273+
<EdgeAnim enter={fadeInUp30}>
274+
<HomeTileCard
275+
title={lstrings.spend_crypto}
276+
footer={lstrings.spend_crypto_footer}
277+
gradientBackground={theme.spendCardGradient}
278+
nodeBackground={
279+
<View style={styles.spendBackgroundImageContainer}>
280+
<FastImage
281+
source={spendCryptoIcon}
282+
style={styles.spendBackgroundImage}
283+
resizeMode="contain"
284+
/>
285+
</View>
286+
}
287+
onPress={handleSpendPress}
288+
/>
289+
</EdgeAnim>
273290
</>
274291
{blogPosts == null || blogPosts.length === 0 ? null : (
275292
<>
276293
<SectionHeader leftTitle={lstrings.edgeucation_articles} />
277294
<ContentPostCarousel contentPosts={blogPosts} />
278295
</>
279296
)}
280-
<EdgeAnim enter={fadeInUp30}>
281-
<HomeTileCard
282-
title={lstrings.spend_crypto}
283-
footer={lstrings.spend_crypto_footer}
284-
gradientBackground={theme.spendCardGradient}
285-
nodeBackground={
286-
<View style={styles.spendBackgroundImageContainer}>
287-
<FastImage
288-
source={spendCryptoIcon}
289-
style={styles.spendBackgroundImage}
290-
resizeMode="contain"
291-
/>
292-
</View>
293-
}
294-
onPress={handleSpendPress}
295-
/>
296-
</EdgeAnim>
297297
<>
298298
<SectionHeader
299299
leftTitle={lstrings.title_markets}

0 commit comments

Comments
 (0)