Skip to content

Commit

Permalink
[UI] - Fixed grid layout (#57)
Browse files Browse the repository at this point in the history
Fixed grid layout
Made Product overview page dynamic and querying the real products
Removed additional tabs from product page
  • Loading branch information
srondss authored Apr 6, 2024
1 parent b767c27 commit f5a1141
Show file tree
Hide file tree
Showing 5 changed files with 309 additions and 340 deletions.
14 changes: 9 additions & 5 deletions web/src/app/manage/Manage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,31 +17,35 @@ GLam9tx5LoYZHWEb2kKz3GqJW8TJJ4Vd2Q5vp1T2vo1c
export const Manage = () => {
const mockApiData = [
{
id: "IBIT",
id: "AdXkDnJpFKqZeoUygLvm5dp2b5JGVPz3rEWfGCtB5Kc2",
symbol: "iBTC",
name: "iShares Bitcoin Trust",
aum: 15941890385,
nav: 39.72,
backgroundImage:
'url("https://api.glam.systems/image/EMAbk6kYhQbvtpqWyfvDPVJBvD5isMZvQT5aM4TyCAeG.png")'
},
{
id: "IETH",
id: "AdXkDnJpFKqZeoUygLvm5dp2b5JGVPz3rEWfGCtB5Kc2",
symbol: "iETH",
name: "iShares Ethereum Trust",
aum: 15941890385,
nav: 39.72,
backgroundImage:
'url("https://api.glam.systems/image/yurUzfjdrUH2ujsWwQkFsv8eQJiJwgbHQFUZtf5yqoV.png")'
},
{
id: "ISOL",
id: "AdXkDnJpFKqZeoUygLvm5dp2b5JGVPz3rEWfGCtB5Kc2",
symbol: "iSOL",
name: "iShares Solana Trust",
aum: 15941890385,
nav: 39.72,
backgroundImage:
'url("https://api.glam.systems/image/GLaMc99QpnP1VKNwwFjNgUk4vhrGKu2JanCKzYRmKAgY.png")'
},
{
id: "IBNK",
id: "AdXkDnJpFKqZeoUygLvm5dp2b5JGVPz3rEWfGCtB5Kc2",
symbol: "iBONK",
name: "iShares Bonk Trust",
aum: 15941890385,
nav: 39.72,
Expand Down Expand Up @@ -69,7 +73,7 @@ export const Manage = () => {
>
<div className="flex flex-col gap-[32px]">
<div className="flex flex-col">
<p className="gray">{position.id}</p>
<p className="gray">{position.symbol}</p>
<strong>{position.name}</strong>
</div>
<div className="flex flex-col">
Expand Down
Loading

0 comments on commit f5a1141

Please sign in to comment.