@@ -80,25 +80,31 @@ const DashLeft = () => {
8080
8181 { /* CARDS */ }
8282 < Container
83- className = "bg-slate-300 m-10 p-5"
83+ className = "bg-slate-300 m-10 p-5 rounded-xl "
8484 style = { {
8585 maxWidth : "90%" ,
8686 backgroundColor : "#1b1e29" ,
87- borderRadius : "20px" ,
87+ // borderRadius: "20px",
8888 color : "#c7cad9" ,
8989 } }
9090 >
9191 < div >
9292 < div className = "flex justify-between" >
93- < div className = "flex" >
94- < Image
93+ < div className = "flex items-center " >
94+ { /* <Image
9595 src={matic}
9696 alt="matic"
9797 width="50"
9898 height="50"
9999 style={{ borderRadius: "50px" }}
100- />
101- < span className = "m-2" > MATIC</ span >
100+ /> */ }
101+ < div className = "flex flex-row items-center gap-x-[10px] text-[14px] text-white w-auto h-[50px] p-[5px] px-[8px] rounded-[20px] font-medium pr-[15px] ml-[10px] bg-[#404557]" >
102+ < div className = "flex justify-center w-[40px] h-[40px] rounded-full bg-white p-[4px] box-border" >
103+ < img src = "./assets/matic.svg" alt = "maticLogo" />
104+ </ div >
105+ MATIC
106+ </ div >
107+ { /* <span className="m-2">MATIC</span> */ }
102108 </ div >
103109 < div >
104110 < div style = { { color : "#696c80" } } > Price</ div >
@@ -107,21 +113,25 @@ const DashLeft = () => {
107113 </ div >
108114 </ div >
109115 </ div >
110- < div className = "m-2 h-1 " > </ div >
116+ < div className = "m-2 text-[#4489ff] text-[12px] overflow-ellipsis overflow-hidden " > </ div >
111117 </ div >
112118 < hr style = { { background : "#C77DFF" , height : "0.05px" } } />
113119
114120 < div >
115121 < div className = "flex justify-between mt-3" >
116122 < div className = "flex" >
117- < Image
123+ { /* <Image
118124 src={usdc}
119125 alt="matic"
120126 width="50"
121127 height="50"
122128 style={{ borderRadius: "50px" }}
123- />
124- < span className = "m-2" > USDT</ span >
129+ /> */ }
130+ < div className = "flex flex-row items-center gap-x-[10px] text-[14px] text-white w-auto h-[50px] p-[5px] px-[8px] rounded-[20px] font-medium pr-[15px] ml-[10px] bg-[#404557]" >
131+ < img className = "w-[40px] h-[40px] rounded-full" src = "./assets/usdc.svg" alt = "usdcLogo" />
132+ USDT
133+ </ div >
134+ { /* <span className="m-2">MATIC</span> */ }
125135 </ div >
126136 < div >
127137 < div > Price</ div >
@@ -130,14 +140,85 @@ const DashLeft = () => {
130140 </ div >
131141 </ div >
132142 </ div >
133- < div className = "mt-2" >
134- 0x466DD1e48570FAA2E7f69B75139813e4F8EF75c2
143+ < div className = "m-2 text-[#4489ff] text-[12px] overflow-ellipsis overflow-hidden" > 0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270</ div >
144+ </ div >
145+ </ Container >
146+
147+ < Container
148+ className = "bg-slate-300 m-10 p-5 rounded-xl"
149+ style = { {
150+ maxWidth : "90%" ,
151+ backgroundColor : "#1b1e29" ,
152+ // borderRadius: "20px",
153+ color : "#c7cad9" ,
154+ } }
155+ >
156+ < div >
157+ < div className = "flex justify-between mb-5" style = { { color : "#696c80" } } >
158+ < div className = "pl-[28px]" > My tokens</ div >
159+ < div > Current Value</ div >
160+ </ div >
161+ < div className = "flex justify-between mb-4" >
162+ < div className = "flex items-center" >
163+ { /* <Image
164+ src={matic}
165+ alt="matic"
166+ width="50"
167+ height="50"
168+ style={{ borderRadius: "50px" }}
169+ /> */ }
170+ < div className = "flex flex-row items-center gap-x-[10px] text-[14px] text-white w-auto h-[50px] p-[5px] px-[8px] rounded-[20px] font-medium pr-[15px] ml-[10px] bg-[#404557]" >
171+ < div className = "flex justify-center w-[40px] h-[40px] rounded-full bg-white p-[4px] box-border" >
172+ < img src = "./assets/matic.svg" alt = "maticLogo" />
173+ </ div >
174+ MATIC
175+ </ div >
176+ { /* <span className="m-2">MATIC</span> */ }
177+ </ div >
178+ < div >
179+ < div style = { { color : "#696c80" } } > Price</ div >
180+ < div >
181+ { maticVal . rate !== undefined
182+ ? maticVal . rate
183+ : Math . round ( dummyMatic ) . toFixed ( 2 ) }
184+ </ div >
185+ </ div >
186+ </ div >
187+ { /* <div className="m-2 text-[#4489ff] text-[12px] overflow-ellipsis overflow-hidden">0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270</div> */ }
188+ </ div >
189+ < hr style = { { background : "#C77DFF" , height : "0.05px" } } />
190+
191+ < div >
192+ < div className = "flex justify-between mt-3 mb-2" >
193+ < div className = "flex" >
194+ { /* <Image
195+ src={usdc}
196+ alt="matic"
197+ width="50"
198+ height="50"
199+ style={{ borderRadius: "50px" }}
200+ /> */ }
201+ < div className = "flex flex-row items-center gap-x-[10px] text-[14px] text-white w-auto h-[50px] p-[5px] px-[8px] rounded-[20px] font-medium pr-[15px] ml-[10px] bg-[#404557]" >
202+ < img className = "w-[40px] h-[40px] rounded-full" src = "./assets/usdc.svg" alt = "usdcLogo" />
203+ USDC
204+ </ div >
205+ { /* <span className="m-2">MATIC</span> */ }
206+ </ div >
207+ < div >
208+ < div > Price</ div >
209+ < div >
210+ { usdVal . rate !== undefined
211+ ? usdVal . rate
212+ : Math . round ( dummyMatic ) . toFixed ( 2 ) }
213+ </ div >
214+ </ div >
135215 </ div >
216+ { /* <div className="m-2 text-[#4489ff] text-[12px] overflow-ellipsis overflow-hidden">0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270</div> */ }
136217 </ div >
137218 </ Container >
138219
139220 { /* User's balance details */ }
140- < Container
221+ { /* <Container
141222 className="bg-slate-300 m-10 rounded-xl p-5 "
142223 style={{
143224 maxWidth: "90%",
@@ -169,7 +250,7 @@ const DashLeft = () => {
169250 </div>
170251 </div>
171252 </div>
172- < div className = "m-2 h-1" > </ div >
253+ <div className="m-2 text-[#4489ff] text-[12px] overflow-ellipsis overflow-hidden">0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270 </div>
173254 </div>
174255 <hr style={{ background: "#C77DFF", height: "0.05px" }} />
175256 <div>
@@ -192,7 +273,7 @@ const DashLeft = () => {
192273 </div>
193274 <div className="mt-2"></div>
194275 </div>
195- </ Container >
276+ </Container> */ }
196277 </ div >
197278 ) ;
198279} ;
0 commit comments