Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit 4faae02

Browse files
authored
Merge pull request #116 from kodadot/main
add ipfs ulrs to facts
2 parents 059ae5f + caa7747 commit 4faae02

File tree

3 files changed

+24
-10
lines changed

3 files changed

+24
-10
lines changed

dashboard/src/App.vue

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,28 @@ import { Component, Vue, Watch } from 'vue-property-decorator';
1010
import { cryptoWaitReady } from '@polkadot/util-crypto';
1111
import keyring from '@polkadot/ui-keyring';
1212
import Navbar from './components/Navbar.vue';
13-
import Connector from '@vue-polkadot/vue-api';
1413
1514
@Component<Dashboard>({
1615
metaInfo() {
1716
return {
18-
title: 'KodaDot 🖼👀 First Polkadot/Kusama NFT Market Explorer',
17+
title: '🖼 👀 KodaDot | Polkadot/Kusama NFT Market Explorer',
1918
titleTemplate: '%s | KodaDot',
2019
meta: [{
2120
vmid: 'description',
2221
name: 'description',
23-
content: 'KodaDot 🖼👀 First Polkadot/Kusama NFT Market Explorer'
22+
content: '🖼 👀 KodaDot | Polkadot/Kusama NFT Market Explorer'
2423
},
25-
{ property: 'og:title', content: 'KodaDot 🖼👀 First Polkadot/Kusama NFT Market Explorer' },
24+
{ property: 'og:title', content: '🖼 👀 KodaDot | Polkadot/Kusama NFT Market Explorer' },
2625
{ property: 'og:type', content: 'website'},
27-
{ property: 'og:url', content: 'https://kodadot.xyz'},
28-
{ property: 'og:description', content: 'KodaDot 🖼👀 First Polkadot/Kusama NFT Market Explorer' },
29-
{ property: 'og:site_name', content: 'KodaDot 🖼👀 First Polkadot/Kusama NFT Market Explorer'},
26+
{ property: 'og:url', content: 'https://nft.kodadot.xyz'},
27+
{ property: 'og:description', content: ' 🖼 👀 KodaDot | Polkadot/Kusama NFT Market Explorer' },
28+
{ property: 'og:site_name', content: ' 🖼 👀 KodaDot | Polkadot/Kusama NFT Market Explorer'},
3029
// { property: 'og:image', content: '/img/icons/android-chrome-256x256.png'}
3130
{ property: 'og:locale', content: 'en_US'},
3231
{ property: 'twitter:card', content: 'summary_large_image' },
3332
{ property: 'twitter:site', content: '@KodaDot' },
34-
{ property: 'twitter:title', content: 'KodaDot 🖼👀 First Polkadot/Kusama NFT Market Explorer' },
35-
{ property: 'twitter:description', content: 'KodaDot 🖼👀 First Polkadot/Kusama NFT Market Explorer' },
33+
{ property: 'twitter:title', content: ' 🖼 👀 KodaDot | Polkadot/Kusama NFT Market Explorer' },
34+
{ property: 'twitter:description', content: ' 🖼 👀 KodaDot | Polkadot/Kusama NFT Market Explorer' },
3635
// { property: 'twitter:image', content: (this.nft.image as string) },
3736
]
3837
}

dashboard/src/components/rmrk/Gallery/GalleryItem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ type NFTType = NFTWithMeta;
102102
{
103103
vmid: 'description',
104104
name: 'description',
105-
content: 'KodaDot 🖼👀 First Polkadot/Kusama NFT Market Explorer'
105+
content: '🖼 👀 KodaDot Polkadot/Kusama NFT Market Explorer'
106106
},
107107
{ property: 'og:type', content: 'website'},
108108
{ property: 'og:title', content: (this.nft.name as string) },

dashboard/src/components/rmrk/Gallery/Item/Facts.vue

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@
3030
</p>
3131
<p class="subtitle is-size-6">
3232
<b>IPFS</b>: <a :href="nft.image">Link to media</a>
33+
<p> Undefined for crawler? Next time try these gateways, add CID after and open it</p>
34+
<ul>
35+
<li v-for="gw in gwList"
36+
:key="gw">
37+
{{gw}}
38+
</li>
39+
</ul>
3340
</p>
3441
</div>
3542
</div>
@@ -43,5 +50,13 @@ import { Component, Prop, Vue, Watch } from 'vue-property-decorator';
4350
@Component({})
4451
export default class Facts extends Vue {
4552
@Prop() public nft!: any;
53+
54+
public gwList: any = [
55+
'https://gateway.pinata.cloud/ipfs/',
56+
'https://cloudflare-ipfs.com/ipfs/',
57+
'https://gateway.ipfs.io/ipfs/',
58+
'https://ipfs.fleek.co/ipfs/',
59+
'https://dweb.link/ipfs/',
60+
]
4661
}
4762
</script>

0 commit comments

Comments
 (0)