Skip to content

Commit 012c0ef

Browse files
authored
Merge pull request #63 from kodadot/i18n
I18n - twitter rolls
2 parents cecb374 + 6db31a8 commit 012c0ef

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

โ€Ždashboard/src/App.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,13 @@ import Connector from '@vue-polkadot/vue-api';
2727
{ property: 'og:url', content: 'https://kodadot.xyz'},
2828
{ property: 'og:description', content: 'KodaDot ๐Ÿ–ผ๐Ÿ‘€ First Polkadot/Kusama NFT Market Explorer' },
2929
{ property: 'og:site_name', content: 'KodaDot ๐Ÿ–ผ๐Ÿ‘€ First Polkadot/Kusama NFT Market Explorer'},
30-
{ property: 'og:locale', content: 'en_US'},
3130
// { property: 'og:image', content: '/img/icons/android-chrome-256x256.png'}
31+
{ property: 'og:locale', content: 'en_US'},
32+
{ property: 'twitter:card', content: 'summary_large_image' },
33+
{ 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' },
36+
// { property: 'twitter:image', content: (this.nft.image as string) },
3237
]
3338
}
3439
},

โ€Ždashboard/src/components/rmrk/Gallery/GalleryItem.vue

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -215,14 +215,15 @@ type NFTType = NFTWithMeta;
215215
name: 'description',
216216
content: 'KodaDot ๐Ÿ–ผ๐Ÿ‘€ First Polkadot/Kusama NFT Market Explorer'
217217
},
218-
{ property: 'og:title', content: (this.nft.name as string) },
219218
{ property: 'og:type', content: 'website'},
219+
{ property: 'og:title', content: (this.nft.name as string) },
220220
{ property: 'og:description', content: (this.nft.description as string) },
221-
{ property: 'og:image', content: (this.nft.image as string) }
222-
// { property: 'og:title', content: this.nft.name || 'Artists Mint Title' },
223-
// { property: 'og:type', content: 'website'},
224-
// { property: 'og:description', content: this.nft.description || 'Artist Mint Description' },
225-
// { property: 'og:image', content: this.nft.image || require('@/assets/kodadot_logo_v1_transparent_400px.png') }
221+
{ property: 'og:image', content: (this.nft.image as string) },
222+
{ property: 'twitter:card', content: 'summary_large_image' },
223+
{ property: 'twitter:site', content: '@KodaDot' },
224+
{ property: 'twitter:title', content: (this.nft.name as string) },
225+
{ property: 'twitter:description', content: (this.nft.description as string) },
226+
{ property: 'twitter:image', content: (this.nft.image as string) },
226227
]
227228
}
228229
},

0 commit comments

Comments
ย (0)