-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
57 additions
and
54 deletions.
There are no files selected for viewing
104 changes: 54 additions & 50 deletions
104
apps/taiga-lumbermill/src/dashboards/crypto/components/nft/nft-list/nft-list.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,64 @@ | ||
<div class="info"> | ||
<h3 class="row-title tui-space_top-0 tui-space_bottom-0">Top NFTs</h3> | ||
<div class="list"> | ||
@for (nft of nfts; track $index) { | ||
<button | ||
tuiCardLarge | ||
tuiSurface="elevated" | ||
class="card-nft" | ||
(click)="updateItem($index)" | ||
> | ||
<tui-avatar | ||
class="logo-nft" | ||
[src]="nft.src" | ||
/> | ||
<div | ||
class="text" | ||
[style.margin-top]="0" | ||
<tui-scrollbar> | ||
<div class="list"> | ||
@for (nft of nfts; track $index) { | ||
<button | ||
tuiCardLarge | ||
tuiSurface="elevated" | ||
class="card-nft" | ||
(click)="updateItem($index)" | ||
> | ||
<p class="nft-name tui-space_top-1 tui-space_bottom-0">{{ nft.name }}</p> | ||
<p | ||
tuiSubtitle | ||
class="tui-space_top-0 tui-space_bottom-0" | ||
<tui-avatar | ||
class="logo-nft" | ||
[src]="nft.src" | ||
/> | ||
<div | ||
class="text" | ||
[style.margin-top]="0" | ||
> | ||
{{ nft.price | tuiAmount: 'USD' | async }} | ||
</p> | ||
</div> | ||
</button> | ||
} | ||
</div> | ||
<p class="nft-name tui-space_top-1 tui-space_bottom-0">{{ nft.name }}</p> | ||
<p | ||
tuiSubtitle | ||
class="tui-space_top-0 tui-space_bottom-0" | ||
> | ||
{{ nft.price | tuiAmount: 'USD' | async }} | ||
</p> | ||
</div> | ||
</button> | ||
} | ||
</div> | ||
</tui-scrollbar> | ||
</div> | ||
<div class="info"> | ||
<h3 class="row-title tui-space_top-0 tui-space_bottom-0">Recent bought NFTs</h3> | ||
<div class="list"> | ||
@for (nft of nfts; track $index) { | ||
<button | ||
tuiCardLarge | ||
tuiSurface="elevated" | ||
class="card-nft" | ||
(click)="updateItem($index)" | ||
> | ||
<tui-avatar | ||
class="logo-nft" | ||
[src]="nft.src" | ||
/> | ||
<div | ||
class="text" | ||
[style.margin-top]="0" | ||
<tui-scrollbar> | ||
<div class="list"> | ||
@for (nft of nfts; track $index) { | ||
<button | ||
tuiCardLarge | ||
tuiSurface="elevated" | ||
class="card-nft" | ||
(click)="updateItem($index)" | ||
> | ||
<p class="nft-name tui-space_top-1 tui-space_bottom-0">{{ nft.name }}</p> | ||
<p | ||
tuiSubtitle | ||
class="tui-space_top-0 tui-space_bottom-0" | ||
<tui-avatar | ||
class="logo-nft" | ||
[src]="nft.src" | ||
/> | ||
<div | ||
class="text" | ||
[style.margin-top]="0" | ||
> | ||
{{ nft.price | tuiAmount: 'USD' | async }} | ||
</p> | ||
</div> | ||
</button> | ||
} | ||
</div> | ||
<p class="nft-name tui-space_top-1 tui-space_bottom-0">{{ nft.name }}</p> | ||
<p | ||
tuiSubtitle | ||
class="tui-space_top-0 tui-space_bottom-0" | ||
> | ||
{{ nft.price | tuiAmount: 'USD' | async }} | ||
</p> | ||
</div> | ||
</button> | ||
} | ||
</div> | ||
</tui-scrollbar> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters