2021-11-10 13:38:54 +00:00
|
|
|
{{define "body"}}
|
|
|
|
<section style=text-align:center>
|
|
|
|
<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>
|
|
|
|
<a style=font-size:3rem href=/copiar>¡Copiar un NFT!</a>
|
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
<h2>Algunos NFTs descargados</h2>
|
|
|
|
{{range .NFTs}}
|
|
|
|
<figure>
|
|
|
|
<a href="/nfts/{{.Id}}">
|
2021-11-10 13:39:53 +00:00
|
|
|
{{if .IsVideo}}
|
|
|
|
<video controls loop src="/static/nfts/{{.FileName}}"></video>
|
|
|
|
{{else}}
|
|
|
|
<img src="/static/nfts/{{.FileName}}">
|
|
|
|
{{end}}
|
2021-11-10 13:38:54 +00:00
|
|
|
</a>
|
|
|
|
</figure>
|
|
|
|
{{end}}
|
|
|
|
</section>
|
|
|
|
{{end}}
|