Ghost/ghost/admin/lib/koenig-editor/addon/components/koenig-card-embed/nft.hbs

21 lines
887 B
Handlebars
Raw Normal View History

<a href="{{this.payload.url}}" class="kg-nft-card">
<img class="kg-nft-image" src="{{this.payload.metadata.image_url}}">
<div class="kg-nft-metadata">
<div class="kg-nft-header">
2021-11-17 19:16:52 +03:00
<h4 class="kg-nft-title">
{{this.payload.metadata.title}}
<img src="https://static.ghost.org/v4.0.0/images/opensea-logo.png" class="kg-nft-opensea-logo">
</h4>
</div>
<div class="kg-nft-creator">
Created by <span class="kg-nft-creator-name">{{this.payload.metadata.author_name}}</span>
2021-11-17 16:05:51 +03:00
{{#if this.payload.metadata.collection_name}}
&bull; {{this.payload.metadata.collection_name}}
{{/if}}
</div>
{{#if this.payload.metadata.description}}
<p class="kg-nft-description">{{this.payload.metadata.description}}</p>
{{/if}}
</div>
</a>