Skip to content

Commit 9e4dd33

Browse files
committed
style: spClub design change
1 parent a5c313a commit 9e4dd33

File tree

3 files changed

+22
-6
lines changed

3 files changed

+22
-6
lines changed

src/components/AccountList/SpClub.tsx

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ export default function SpClub() {
88

99
return (
1010
<div className={`account-wrapper referral-program ${isOpen ? 'active' : ''}`}>
11-
{/* <div className="account-main-card" onClick={() => setIsOpen((prev) => !prev)}> */}
12-
<div className="disabled account-main-card">
13-
<div>
11+
<div className="account-main-card" onClick={() => setIsOpen((prev) => !prev)}>
12+
{/* <div className="disabled account-main-card"> */}
13+
<div className="name">
1414
<h3>Join SP Club</h3>
15-
<img className="chevron" src="./assets/right-chevron.svg" />
15+
<img height='16px' width='16px' className="chevron" src="./assets/right-chevron.svg" />
1616
</div>
1717
</div>
1818
<div className="info-card">
@@ -21,6 +21,22 @@ export default function SpClub() {
2121
<p>Input you inviter wallet address</p>
2222
<input value={walletAddress} onChange={(e) => setWalletAddress(e.target.value)} placeholder="wallet address" />
2323
</div>
24+
25+
<div style={{ width: '100%', display: 'flex', justifyContent: 'center', gap: '24px', flexDirection: 'row', alignItems: 'center' }}>
26+
<div style={{ width: '100%', height: '1px', background: '#FFFFFF' }} />
27+
28+
<div>
29+
<p style={{ fontSize: '20px' }}>or</p>
30+
</div>
31+
32+
<div style={{ width: '100%', height: '1px', background: '#FFFFFF' }} />
33+
34+
</div>
35+
36+
<div style={{ width: '100%' }}>
37+
<p style={{ width: '100%', textAlign: 'center', fontSize: '16px' }}>Get Silent Pass Passport and join the club</p>
38+
</div>
39+
2440
<button><p>Confirm</p></button>
2541
</div>
2642
</div>

src/components/AccountList/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
}
4242

4343
.referral-program.account-wrapper.active {
44-
height: 230px;
44+
height: 340px;
4545
}
4646

4747
.account-wrapper.active .account-main-card {

src/components/SwapInput/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
}
2424

2525
.referral-program.account-wrapper.active {
26-
height: 230px;
26+
height: 340px;
2727
}
2828

2929
.account-wrapper.active .account-main-card {

0 commit comments

Comments
 (0)