Skip to content

Commit 6db31a8

Browse files
committed
twitter rules
1 parent 7762e55 commit 6db31a8

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,12 @@ 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) },
221221
{ property: 'og:image', content: (this.nft.image as string) },
222-
{ property: 'twitter:creator', content: '@KodaDot' },
222+
{ property: 'twitter:card', content: 'summary_large_image' },
223+
{ property: 'twitter:site', content: '@KodaDot' },
223224
{ property: 'twitter:title', content: (this.nft.name as string) },
224225
{ property: 'twitter:description', content: (this.nft.description as string) },
225226
{ property: 'twitter:image', content: (this.nft.image as string) },

0 commit comments

Comments
Β (0)