Skip to content

Commit

Permalink
Added padding on bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewlee348 committed Dec 3, 2024
1 parent aaf431b commit 0fb807e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
Binary file modified src/assets/images/recovery-wallet-bg-mobile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/assets/images/trial.jpg
Binary file not shown.
3 changes: 1 addition & 2 deletions src/components/recovery/WalletList.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Box, Text, truncateAddress, useMediaQuery } from '@0xsequence/design-system'
import { Box, Text, truncateAddress } from '@0xsequence/design-system'
import { useState } from 'react'

import FilledRoundCheckBox, { ROUND_CHECKBOX_SIZE } from '~/components/helpers/FilledRoundCheckBox'
Expand All @@ -10,7 +10,6 @@ export default function WalletList({
possibleWallets: string[]
handleSelectWallet: (wallet: string) => void
}) {
const isMobile = useMediaQuery('isMobile')
const [selectedWallet, setSelectedWallet] = useState<string>(possibleWallets[0])

const gapWidth = 2
Expand Down
6 changes: 3 additions & 3 deletions src/routes/Landing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import {
Box,
Button,
Card,
Divider,
Image,
Modal,
Text,
Expand All @@ -18,8 +17,8 @@ import { AuthStore } from '~/stores/AuthStore'
import contractsIcon from '~/assets/icons/contracts.svg'
import walletIcon from '~/assets/icons/wallet.svg'
import bgImage from '~/assets/images/recovery-wallet-bg.jpg'
import bgImageMobile from '~/assets/images/recovery-wallet-bg-mobile.jpg'
import SequenceRecoveryLogo from '~/assets/images/sequence-wallet-recovery.svg'
import trial from '~/assets/images/trial.jpg'

const desktopBg = {
backgroundImage: `url(${bgImage})`,
Expand Down Expand Up @@ -66,6 +65,7 @@ export default function Landing() {
justifyContent={isMobile ? 'center' : 'flex-start'}
style={isMobile ? { paddingTop: '40px' } : desktopBg}
padding={isMobile ? '4' : '20'}
paddingBottom={isMobile ? '14' : '0'}
>
<Box
flexDirection="column"
Expand All @@ -78,7 +78,7 @@ export default function Landing() {
<Box flexDirection="column" justifyContent="center" alignItems={isMobile ? 'center' : 'flex-start'}>
<Image src={SequenceRecoveryLogo} height="8" paddingX="4" />

{isMobile && <Image src={trial} style={{ maxWidth: 'calc(100% + 32px)' }} />}
{isMobile && <Image src={bgImageMobile} style={{ maxWidth: 'calc(100% + 32px)' }} />}

<Text
textAlign={isMobile ? 'center' : 'left'}
Expand Down

0 comments on commit 0fb807e

Please sign in to comment.