@@ -6,7 +6,7 @@ interface WalletModalProps {
6
6
}
7
7
8
8
const WalletModal = ( { isOpen, onDisconnect } : WalletModalProps ) => {
9
- const { balance , enabledWallet, walletAddress, isConnected, connect } = useWalletStore ( )
9
+ const { enabledWallet, walletAddress, isConnected, connect } = useWalletStore ( )
10
10
11
11
if ( ! isOpen ) return null
12
12
@@ -32,29 +32,26 @@ const WalletModal = ({ isOpen, onDisconnect }: WalletModalProps) => {
32
32
}
33
33
34
34
return (
35
- < div className = "w-full bg-transparent flex justify-end " >
36
- < div className = "min-w-full sm:min-w-[37.8125rem] px-4 py-8 " >
35
+ < div className = "w-full bg-transparent flex justify-center " >
36
+ < div className = "min-w-full py-10 " >
37
37
< div className = "border-1 border-white rounded-md bg-transparent p-6" >
38
38
{ ! isConnected ? (
39
39
// Wallet not connected - show connection prompt
40
40
< div className = "flex flex-col items-start gap-2" >
41
41
< div className = "flex items-center gap-3" >
42
42
< img
43
- src = "/wallet -icon-white .svg"
44
- alt = "Wallet "
45
- className = "w-8 h-8 "
43
+ src = "/cardano -icon.svg"
44
+ alt = "cardano-icon "
45
+ className = "w-10 h-10 brightness-0 invert "
46
46
/>
47
47
< div className = "flex flex-col" >
48
48
< h3 className = "text-white font-medium text-lg" > Connect Wallet</ h3 >
49
- < p className = "text-white/70 text-sm " > Connect your wallet to purchase VPN access</ p >
49
+ < p className = "text-white/70 text-md py-2 " > Connect your wallet to purchase VPN access</ p >
50
50
</ div >
51
51
</ div >
52
- < div className = "text-center" >
53
- < p className = "text-white text-lg font-bold" > 0.00 < span className = "text-sm font-normal" > ADA</ span > </ p >
54
- </ div >
55
52
< button
56
53
onClick = { handleConnect }
57
- className = "bg-white text-black px-6 py-2 rounded-lg font-medium w-fit"
54
+ className = "bg-white text-black px-6 py-2 rounded-lg font-medium w-fit cursor-pointer hover:bg-[#f5f5f5] hover:scale-102 "
58
55
>
59
56
Connect Wallet
60
57
</ button >
@@ -66,30 +63,22 @@ const WalletModal = ({ isOpen, onDisconnect }: WalletModalProps) => {
66
63
< div className = "flex flex-col gap-4" >
67
64
< div className = "flex items-center gap-3" >
68
65
< img
69
- src = "/wallet -icon-white .svg"
66
+ src = "/cardano -icon.svg"
70
67
alt = "Wallet"
71
- className = "w-8 h-8 "
68
+ className = "w-10 h-10 brightness-0 invert "
72
69
/>
73
70
< div className = "flex flex-col" >
74
71
< h3 className = "text-white font-medium text-lg" > Your Wallet</ h3 >
75
- < p className = "text-white/70 text-sm max-w-[10rem] truncate" > { enabledWallet } : { walletAddress } </ p >
72
+ < p className = "text-white/70 text-md max-w-[15rem] py-1 truncate" > { enabledWallet } : { walletAddress } </ p >
76
73
</ div >
77
74
</ div >
78
75
< button
79
76
onClick = { onDisconnect }
80
- className = "bg-white text-black px-6 py-2 rounded-lg font-medium w-fit self-start"
77
+ className = "bg-white text-black px-6 py-2 rounded-lg font-medium w-fit self-start cursor-pointer hover:bg-[#f5f5f5] hover:scale-102 "
81
78
>
82
79
Disconnect
83
80
</ button >
84
81
</ div >
85
-
86
- { /* Right side */ }
87
- < div className = "text-right" >
88
- < p className = "text-white/70 text-sm mb-2 font-normal" > Wallet Balance</ p >
89
- < p className = "text-white text-2xl font-bold" >
90
- { balance || "0.00" } < span className = "text-sm font-normal" > ADA</ span >
91
- </ p >
92
- </ div >
93
82
</ div >
94
83
) }
95
84
</ div >
0 commit comments