index.tmpl: hacer más legible
This commit is contained in:
parent
0a1a5e51b6
commit
8a5dace926
1 changed files with 8 additions and 2 deletions
|
@ -3,14 +3,20 @@
|
|||
<h1>NFTmashin</h1>
|
||||
<p><em>Beta: las copias pueden ser eliminadas en el futuro.</em></p>
|
||||
<p>NFTs descargados: {{ .NFTNum }}</p>
|
||||
<p>Valor total: <span class=dinero>USD ${{ printf "%.2f" .TotalUSDValue }}</span></p>
|
||||
<p>
|
||||
Valor total:
|
||||
<span class=dinero>USD ${{ printf "%.2f" .TotalUSDValue }}</span>
|
||||
</p>
|
||||
<a style=font-size:3rem href=/copiar>¡Copiar un NFT!</a>
|
||||
</section>
|
||||
<section>
|
||||
<h2>Algunos NFTs descargados</h2>
|
||||
{{range .NFTs}}
|
||||
<figure>
|
||||
<h3><a href="/nfts/{{.Id}}">{{.Asset.Name}}</a> (<span class=dinero>${{printf "%.2f" .GetUSDPrice}}</span>)</h3>
|
||||
<h3>
|
||||
<a href="/nfts/{{.Id}}">{{.Asset.Name}}</a>
|
||||
(<span class=dinero>${{printf "%.2f" .GetUSDPrice}}</span>)
|
||||
</h3>
|
||||
{{template "embed-nft" .}}
|
||||
</figure>
|
||||
<hr>
|
||||
|
|
Loading…
Reference in a new issue