@@ -118,19 +118,20 @@ const components = {
118118}
119119@Component <CollectionItem >({
120120 metaInfo() {
121+ const image = ` https://og-image-green-seven.vercel.app/${encodeURIComponent (this .collection .name as string )}.png?price=Items: ${this .collection ?.nfts ?.length }&image=${(this .meta .image as string )} `
121122 return {
122123 title: ' KodaDot cares about environmental impact' ,
123124 titleTemplate: ' %s | Low Carbon NFTs' ,
124125 meta: [
125126 { name: ' description' , content: ' Creating Carbonless NFTs on Kusama' },
126127 { property: ' og:title' , content: this .collection .name || ' KodaDot cares about environmental impact' },
127128 { property: ' og:url' , content: ' https://nft.kodadot.xyz/' + this .$route .path },
128- { property: ' og:image' , content: this . meta . image || ' https://nft.kodadot.xyz/kodadot_carbonless.jpg ' },
129+ { property: ' og:image' , content: image },
129130 { property: ' og:description' , content: this .meta .description || ' Creating Carbonless NFTs on Kusama' },
130131 { property: ' twitter:card' , content: ' summary_large_image' },
131132 { property: ' twitter:title' , content: this .collection .name || ' KodaDOT cares about environmental impact' },
132133 { property: ' twitter:description' , content: this .meta .description || ' Creating Carbonless NFTs on Kusama' },
133- { property: ' twitter:image' , content: this . meta . image || ' https://nft.kodadot.xyz/kodadot_carbonless.jpg ' },
134+ { property: ' twitter:image' , content: image },
134135 ]
135136 }
136137 },
0 commit comments