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

Commit 9eda138

Browse files
authored
Merge pull request #410 from kodadot/main
Sitemap and few seo fixes
2 parents bc7b266 + 77a64e9 commit 9eda138

File tree

9 files changed

+141
-24
lines changed

9 files changed

+141
-24
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<!-- ALL-CONTRIBUTORS-BADGE:END -->
77

88
## Social medias
9+
* [KodaDot Discord](https://discord.gg/u6ymnbz4PR)
910
* [telegram.me/kodadot](https://t.me/kodadot)
1011
* [twitter.com/@KodaDot](https://twitter.com/KodaDot).
1112
* [r/KodaDot](https://www.reddit.com/r/KodaDot/)

dashboard/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ yarn-error.log*
2828
/test
2929

3030
# Local Netlify folder
31-
.netlify
31+
.netlify

dashboard/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
"build": "netlify-lambda build src-functions && vue-cli-service build",
88
"lint": "vue-cli-service lint",
99
"i18n:report": "vue-cli-service i18n:report --src './src/**/*.?(js|vue)' --locales './src/locales/**/*.json'",
10+
"lambda": "netlify-lambda serve src-functions",
1011
"start": "vue-cli-service serve",
11-
"lambda": "netlify-lambda serve src-functions"
12+
"sitemap": "vue-cli-service sitemap"
1213
},
1314
"engines": {
1415
"node": ">=14.0.0"
@@ -44,6 +45,7 @@
4445
"vue": "^2.6.12",
4546
"vue-audio-visual": "^2.2.2",
4647
"vue-class-component": "^7.2.6",
48+
"vue-cli-plugin-sitemap": "~2.3.0",
4749
"vue-clipboard2": "^0.3.1",
4850
"vue-i18n": "^8.24.4",
4951
"vue-meta": "^2.4.0",

dashboard/public/sitemap.xml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3+
<url>
4+
<loc>https://nft.kodadot.xyz/rmrk/rare</loc>
5+
<changefreq>daily</changefreq>
6+
<priority>1.0</priority>
7+
</url>
8+
<url>
9+
<loc>https://nft.kodadot.xyz/rmrk/gallery</loc>
10+
<changefreq>daily</changefreq>
11+
<priority>1.0</priority>
12+
</url>
13+
<url>
14+
<loc>https://nft.kodadot.xyz/rmrk/mint</loc>
15+
<changefreq>daily</changefreq>
16+
<priority>1.0</priority>
17+
</url>
18+
<url>
19+
<loc>https://nft.kodadot.xyz/rmrk/create</loc>
20+
<changefreq>daily</changefreq>
21+
<priority>1.0</priority>
22+
</url>
23+
<url>
24+
<loc>https://nft.kodadot.xyz/rmrk/credit</loc>
25+
<changefreq>daily</changefreq>
26+
<priority>1.0</priority>
27+
</url>
28+
<url>
29+
<loc>https://nft.kodadot.xyz/rmrk/faq</loc>
30+
<changefreq>daily</changefreq>
31+
<priority>1.0</priority>
32+
</url>
33+
</urlset>

dashboard/src/components/landing/Carbonless.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,10 @@ import { Component, Vue } from 'vue-property-decorator';
122122
@Component<Carbonless>({
123123
metaInfo() {
124124
return {
125+
title: 'KodaDOT cares about environmental impact',
126+
titleTemplate: '%s | Low Carbon NFTs',
125127
meta: [
128+
{ name: 'description', content: 'Creating Carbonless NFTs on Kusama' },
126129
{ property: 'og:title', content: 'KodaDOT cares about environmental impact'},
127130
{ property: 'og:image', content: 'https://nft.kodadot.xyz/kodadot_carbonless.jpg'},
128131
{ property: 'og:description', content: 'Creating Carbonless NFTs on Kusama'},

dashboard/src/components/landing/Sustainability.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,10 @@ import { Component, Vue } from 'vue-property-decorator';
9797
@Component<Sustainibility>({
9898
metaInfo() {
9999
return {
100+
title: 'KodaDot Kusama NFT explorer',
101+
titleTemplate: '%s | Low Carbon NFTs',
100102
meta: [
103+
{ name: 'description', content: 'KodaDot: Sustainibility mission' },
101104
{ property: 'og:title', content: 'KodaDot Kusama NFT explorer'},
102105
{ property: 'og:image', content: 'https://nft.kodadot.xyz/kodadot_carbonless.jpg'},
103106
{ property: 'og:description', content: 'KodaDot: Sustainibility mission'},

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,16 +133,15 @@ type NFTType = NFTWithMeta;
133133
metaInfo() {
134134
const image = `https://og-image-green-seven.vercel.app/${encodeURIComponent(this.nft.name as string)}.png?price=${this.nft.price ? Vue.filter('formatBalance')(this.nft.price, 12, 'KSM') : ''}&image=${(this.nft.image as string)}`;
135135
return {
136+
title: this.nft.name,
137+
titleTemplate: '%s | Low Carbon NFTs',
136138
meta: [
137-
{
138-
vmid: 'description',
139-
name: 'description',
140-
content: 'KodaDot - Kusama NFT Market Explorer'
141-
},
139+
{ name: 'description', content: (this.nft.description as string) },
142140
{ property: 'og:title', content: (this.nft.name as string) },
143141
{ property: 'og:description', content: (this.nft.description as string) },
144142
{ property: 'og:image', content: (image)},
145143
{ property: 'og:video', content: (this.nft.image as string) },
144+
{ property: 'og:author', content: (this.nft.currentOwner as string) },
146145
{ property: 'twitter:card', content: 'summary_large_image' },
147146
{ property: 'twitter:site', content: '@KodaDot' },
148147
{ property: 'twitter:title', content: (this.nft.name as string) },

dashboard/vue.config.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,26 @@ module.exports = {
4949
fallbackLocale: 'en',
5050
localeDir: 'locales',
5151
enableInSFC: true
52+
},
53+
sitemap: {
54+
baseURL: 'https://nft.kodadot.xyz',
55+
outputDir: './public',
56+
defaults: {
57+
changefreq: 'daily',
58+
priority: 1.0,
59+
},
60+
pretty: true,
61+
urls: [
62+
'/',
63+
'/rmrk/rare',
64+
'/rmrk/gallery',
65+
'/rmrk/mint',
66+
'/rmrk/create',
67+
'/rmrk/credit',
68+
'/rmrk/faq',
69+
'/carbonless',
70+
'/sustainability'
71+
]
5272
}
5373
}
5474
};

dashboard/yarn.lock

Lines changed: 73 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2735,7 +2735,7 @@ ajv-keywords@^3.1.0, ajv-keywords@^3.4.1, ajv-keywords@^3.5.2:
27352735
resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d"
27362736
integrity sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==
27372737

2738-
ajv@^6.1.0, ajv@^6.10.2, ajv@^6.12.2, ajv@^6.12.3, ajv@^6.12.4:
2738+
ajv@^6.1.0, ajv@^6.10.2, ajv@^6.12.2, ajv@^6.12.3, ajv@^6.12.4, ajv@^6.12.5:
27392739
version "6.12.6"
27402740
resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4"
27412741
integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==
@@ -3147,6 +3147,19 @@ bcrypt-pbkdf@^1.0.0:
31473147
dependencies:
31483148
tweetnacl "^0.14.3"
31493149

3150+
better-ajv-errors@^0.6.7:
3151+
version "0.6.7"
3152+
resolved "https://registry.yarnpkg.com/better-ajv-errors/-/better-ajv-errors-0.6.7.tgz#b5344af1ce10f434fe02fc4390a5a9c811e470d1"
3153+
integrity sha512-PYgt/sCzR4aGpyNy5+ViSQ77ognMnWq7745zM+/flYO4/Yisdtp9wDQW2IKCyVYPUxQt3E/b5GBSwfhd1LPdlg==
3154+
dependencies:
3155+
"@babel/code-frame" "^7.0.0"
3156+
"@babel/runtime" "^7.0.0"
3157+
chalk "^2.4.1"
3158+
core-js "^3.2.1"
3159+
json-to-ast "^2.0.3"
3160+
jsonpointer "^4.0.1"
3161+
leven "^3.1.0"
3162+
31503163
bfj@^6.1.1:
31513164
version "6.1.2"
31523165
resolved "https://registry.yarnpkg.com/bfj/-/bfj-6.1.2.tgz#325c861a822bcb358a41c78a33b8e6e2086dde7f"
@@ -3380,13 +3393,13 @@ browserify-zlib@^0.2.0:
33803393
pako "~1.0.5"
33813394

33823395
browserslist@^4.0.0, browserslist@^4.12.0, browserslist@^4.14.5, browserslist@^4.16.3, browserslist@^4.16.4, browserslist@^4.3.4:
3383-
version "4.16.4"
3384-
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.16.4.tgz#7ebf913487f40caf4637b892b268069951c35d58"
3385-
integrity sha512-d7rCxYV8I9kj41RH8UKYnvDYCRENUlHRgyXy/Rhr/1BaeLGfiCptEdFE8MIrvGfWbBFNjVYx76SQWvNX1j+/cQ==
3396+
version "4.16.6"
3397+
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.16.6.tgz#d7901277a5a88e554ed305b183ec9b0c08f66fa2"
3398+
integrity sha512-Wspk/PqO+4W9qp5iUTJsa1B/QrYn1keNCcEP5OvP7WBwT4KaDly0uONYmC6Xa3Z5IqnUgS0KcgLYu1l74x0ZXQ==
33863399
dependencies:
3387-
caniuse-lite "^1.0.30001208"
3400+
caniuse-lite "^1.0.30001219"
33883401
colorette "^1.2.2"
3389-
electron-to-chromium "^1.3.712"
3402+
electron-to-chromium "^1.3.723"
33903403
escalade "^3.1.1"
33913404
node-releases "^1.1.71"
33923405

@@ -3614,10 +3627,10 @@ caniuse-api@^3.0.0:
36143627
lodash.memoize "^4.1.2"
36153628
lodash.uniq "^4.5.0"
36163629

3617-
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001208:
3618-
version "1.0.30001209"
3619-
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001209.tgz#1bb4be0bd118e98e21cfb7ef617b1ef2164622f4"
3620-
integrity sha512-2Ktt4OeRM7EM/JaOZjuLzPYAIqmbwQMNnYbgooT+icoRGrKOyAxA1xhlnotBD1KArRSPsuJp3TdYcZYrL7qNxA==
3630+
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001219:
3631+
version "1.0.30001230"
3632+
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001230.tgz#8135c57459854b2240b57a4a6786044bdc5a9f71"
3633+
integrity sha512-5yBd5nWCBS+jWKTcHOzXwo5xzcj4ePE/yjtkZyUV1BTUmrBaA9MRGC+e7mxnqXSA90CmCA8L3eKLaSUkt099IQ==
36213634

36223635
canvas-renderer@~2.2.0:
36233636
version "2.2.0"
@@ -3870,6 +3883,11 @@ coa@^2.0.2:
38703883
chalk "^2.4.1"
38713884
q "^1.1.2"
38723885

3886+
3887+
version "0.0.230"
3888+
resolved "https://registry.yarnpkg.com/code-error-fragment/-/code-error-fragment-0.0.230.tgz#d736d75c832445342eca1d1fedbf17d9618b14d7"
3889+
integrity sha512-cadkfKp6932H8UkhzE/gcUqhRMNf8jHzkAN7+5Myabswaghu4xABTgPHDCjW+dBAJxj/SpkTYokpzDqY4pCzQw==
3890+
38733891
code-point-at@^1.0.0:
38743892
version "1.1.0"
38753893
resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
@@ -4122,6 +4140,11 @@ core-js@^2.4.0, core-js@^2.6.5:
41224140
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.12.tgz#d9333dfa7b065e347cc5682219d6f690859cc2ec"
41234141
integrity sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==
41244142

4143+
core-js@^3.2.1:
4144+
version "3.13.0"
4145+
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.13.0.tgz#58ca436bf01d6903aee3d364089868d0d89fe58d"
4146+
integrity sha512-iWDbiyha1M5vFwPFmQnvRv+tJzGbFAm6XimJUT0NgHYW3xZEs1SkCAcasWSVFxpI2Xb/V1DDJckq3v90+bQnog==
4147+
41254148
core-js@^3.7.0:
41264149
version "3.10.0"
41274150
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.10.0.tgz#9a020547c8b6879f929306949e31496bbe2ae9b3"
@@ -5031,10 +5054,10 @@ ejs@^2.6.1:
50315054
resolved "https://registry.yarnpkg.com/ejs/-/ejs-2.7.4.tgz#48661287573dcc53e366c7a1ae52c3a120eec9ba"
50325055
integrity sha512-7vmuyh5+kuUyJKePhQfRQBhXV5Ce+RnaeeQArKu1EAMpL3WbgMt5WG6uQZpEVvYSSsxMXRKOewtDk9RaTKXRlA==
50335056

5034-
electron-to-chromium@^1.3.712:
5035-
version "1.3.717"
5036-
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.717.tgz#78d4c857070755fb58ab64bcc173db1d51cbc25f"
5037-
integrity sha512-OfzVPIqD1MkJ7fX+yTl2nKyOE4FReeVfMCzzxQS+Kp43hZYwHwThlGP+EGIZRXJsxCM7dqo8Y65NOX/HP12iXQ==
5057+
electron-to-chromium@^1.3.723:
5058+
version "1.3.739"
5059+
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.739.tgz#f07756aa92cabd5a6eec6f491525a64fe62f98b9"
5060+
integrity sha512-+LPJVRsN7hGZ9EIUUiWCpO7l4E3qBYHNadazlucBfsXBbccDFNKUBAgzE68FnkWGJPwD/AfKhSzL+G+Iqb8A4A==
50385061

50395062
elliptic@^6.4.0, elliptic@^6.4.1, elliptic@^6.5.3, elliptic@^6.5.4:
50405063
version "6.5.4"
@@ -6025,6 +6048,11 @@ graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6
60256048
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.6.tgz#ff040b2b0853b23c3d31027523706f1885d76bee"
60266049
integrity sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ==
60276050

6051+
grapheme-splitter@^1.0.4:
6052+
version "1.0.4"
6053+
resolved "https://registry.yarnpkg.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e"
6054+
integrity sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==
6055+
60286056
graphlib@^2.1.7, graphlib@^2.1.8:
60296057
version "2.1.8"
60306058
resolved "https://registry.yarnpkg.com/graphlib/-/graphlib-2.1.8.tgz#5761d414737870084c92ec7b5dbcb0592c9d35da"
@@ -7026,6 +7054,14 @@ json-stringify-safe@~5.0.1:
70267054
resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb"
70277055
integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=
70287056

7057+
json-to-ast@^2.0.3:
7058+
version "2.1.0"
7059+
resolved "https://registry.yarnpkg.com/json-to-ast/-/json-to-ast-2.1.0.tgz#041a9fcd03c0845036acb670d29f425cea4faaf9"
7060+
integrity sha512-W9Lq347r8tA1DfMvAGn9QNcgYm4Wm7Yc+k8e6vezpMnRT+NHbtlxgNBXRVjXe9YM6eTn6+p/MKOlV/aABJcSnQ==
7061+
dependencies:
7062+
code-error-fragment "0.0.230"
7063+
grapheme-splitter "^1.0.4"
7064+
70297065
json3@^3.3.3:
70307066
version "3.3.3"
70317067
resolved "https://registry.yarnpkg.com/json3/-/json3-3.3.3.tgz#7fc10e375fc5ae42c4705a5cc0aa6f62be305b81"
@@ -7071,6 +7107,11 @@ jsonify@~0.0.0:
70717107
resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73"
70727108
integrity sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=
70737109

7110+
jsonpointer@^4.0.1:
7111+
version "4.1.0"
7112+
resolved "https://registry.yarnpkg.com/jsonpointer/-/jsonpointer-4.1.0.tgz#501fb89986a2389765ba09e6053299ceb4f2c2cc"
7113+
integrity sha512-CXcRvMyTlnR53xMcKnuMzfCA5i/nfblTnnr74CZb6C4vG39eu6w51t7nKmU5MfLfbTgGItliNyjO/ciNPDqClg==
7114+
70747115
jsprim@^1.2.2:
70757116
version "1.4.1"
70767117
resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2"
@@ -7154,6 +7195,11 @@ lazysizes@^5.3.2:
71547195
resolved "https://registry.yarnpkg.com/lazysizes/-/lazysizes-5.3.2.tgz#27f974c26f5fcc33e7db765c0f4930488c8a2984"
71557196
integrity sha512-22UzWP+Vedi/sMeOr8O7FWimRVtiNJV2HCa+V8+peZOw6QbswN9k58VUhd7i6iK5bw5QkYrF01LJbeJe0PV8jg==
71567197

7198+
leven@^3.1.0:
7199+
version "3.1.0"
7200+
resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2"
7201+
integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==
7202+
71577203
lines-and-columns@^1.1.6:
71587204
version "1.1.6"
71597205
resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00"
@@ -8090,9 +8136,9 @@ node-libs-browser@^2.2.1:
80908136
vm-browserify "^1.0.1"
80918137

80928138
node-releases@^1.1.71:
8093-
version "1.1.71"
8094-
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.71.tgz#cb1334b179896b1c89ecfdd4b725fb7bbdfc7dbb"
8095-
integrity sha512-zR6HoT6LrLCRBwukmrVbHv0EpEQjksO6GmFcZQQuCAy139BEsoVKPYnf3jongYW83fAa1torLGYwxxky/p28sg==
8139+
version "1.1.72"
8140+
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.72.tgz#14802ab6b1039a79a0c7d662b610a5bbd76eacbe"
8141+
integrity sha512-LLUo+PpH3dU6XizX3iVoubUNheF/owjXCZZ5yACDxNnPtgFuludV1ZL3ayK1kVep42Rmm0+R9/Y60NQbZ2bifw==
80968142

80978143
noop-logger@^0.1.1:
80988144
version "0.1.1"
@@ -11055,6 +11101,16 @@ vue-cli-plugin-i18n@^1.0.1:
1105511101
vue-i18n "^8.17.0"
1105611102
vue-i18n-extract "1.0.2"
1105711103

11104+
vue-cli-plugin-sitemap@~2.3.0:
11105+
version "2.3.0"
11106+
resolved "https://registry.yarnpkg.com/vue-cli-plugin-sitemap/-/vue-cli-plugin-sitemap-2.3.0.tgz#92539c1f1992e6ee61a42cb1f4be90fd8eef137e"
11107+
integrity sha512-oZRhYZUdze/wmIaDFkolHCu8MOH/M4B8WW5nx7MhpAJxguia9BYIFnv86d9ZNztCz2Oeat2JC7KLFgfRxSrUtw==
11108+
dependencies:
11109+
ajv "^6.12.5"
11110+
ajv-keywords "^3.5.2"
11111+
better-ajv-errors "^0.6.7"
11112+
chalk "^4.1.0"
11113+
1105811114
vue-clipboard2@^0.3.1:
1105911115
version "0.3.1"
1106011116
resolved "https://registry.yarnpkg.com/vue-clipboard2/-/vue-clipboard2-0.3.1.tgz#6e551fb7bd384889b28b0da3b12289ed6bca4894"

0 commit comments

Comments
 (0)