Skip to content

Commit

Permalink
Update PC view
Browse files Browse the repository at this point in the history
  • Loading branch information
saltict committed Sep 7, 2024
1 parent 4582d27 commit bc7db6b
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

# production
/build
/.idea
/.vscode

# misc
.DS_Store
Expand Down
13 changes: 11 additions & 2 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,20 @@
font-weight: 500;
}

.install-row {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}

.install-area {
display: flex;
align-items: center;
justify-content: center;
border-radius: 11.178px;
border: 0.918px solid var(--icon-white-100-white, #FFF);
padding: 16px 44px 10px 44px;
}
padding: 16px 44px 10px 44px;
margin-left: 8px;
margin-right: 8px;
}
20 changes: 12 additions & 8 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,18 @@ function App() {
</svg>
</div>
<span className="download-title">Install SubWallet on your mobile device</span>
<div className="install-area">
{isIOS ? (<a href={iOSLink} className='app-link'>
<img alt="Download from App Store" src='/app-store-badge.svg'/>
</a>)
: (<a href={androidLink} className='app-link'>
<img alt="Get it on Google Play" src='/play-store-badge.svg'/>
</a>)}
</div>
<div className="install-row">
{!isAndroid && <div className="install-area">
<a href={iOSLink} className='app-link'>
<img alt="Download from App Store" src='/app-store-badge.svg'/>
</a>
</div>}
{!isIOS && <div className="install-area">
<a href={androidLink} className='app-link'>
<img alt="Get it on Google Play" src='/play-store-badge.svg'/>
</a>
</div>}
</div>
</header>
</div>
);
Expand Down

0 comments on commit bc7db6b

Please sign in to comment.