Skip to content

Commit 9f584df

Browse files
authored
Merge pull request #235 from oasisprotocol/ml/wrap/unify-connect-wallet-page
wrap: Unify connect wallet page
2 parents 295a49c + d7e83d4 commit 9f584df

File tree

4 files changed

+22
-3
lines changed

4 files changed

+22
-3
lines changed

.changelog/235.trivial.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
wrap: Unify connect wallet page

ui/src/wrap/components/Layout/index.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@
6262

6363
@media screen and (min-width: 1000px) {
6464
.main {
65-
max-width: 620px;
66-
padding: 4.625rem 0 0;
65+
max-width: 670px;
66+
padding: 1.5rem 0 0;
6767
}
6868

6969
.footer {

wrap/src/pages/ConnectWallet/index.module.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
.connectWallet {
2+
display: flex;
3+
flex-direction: column;
4+
gap: 1.5rem;
5+
align-items: flex-start;
6+
width: 100%;
7+
8+
button {
9+
&&& {
10+
padding: 0 32px;
11+
border-radius: 999px;
12+
}
13+
}
14+
}
15+
116
.subHeader {
217
margin-bottom: 34dvh;
318
}

wrap/src/pages/ConnectWallet/index.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@ import { FC } from 'react'
22
import classes from './index.module.css'
33
import { ConnectButton } from '@rainbow-me/rainbowkit'
44
import { withConnectedWallet } from '../../hoc/withConnectedWallet'
5+
import { WrapLogoIcon } from '@oasisprotocol/rose-app-ui'
56

67
const ConnectWalletCmp: FC = () => {
78
return (
8-
<div>
9+
<div className={classes.connectWallet}>
10+
<WrapLogoIcon />
11+
912
<p className={classes.subHeader}>
1013
Quickly wrap your ROSE into wROSE and vice versa with the (un)wrap ROSE tool.
1114
<br />

0 commit comments

Comments
 (0)