Landing page (#353)

* Landing page

* Change legal corp name, remove google from privacy policy, other fixes
This commit is contained in:
Geometrically
2022-02-16 17:39:48 -07:00
committed by GitHub
parent e91b0500c5
commit 51a9a7b75d
22 changed files with 535 additions and 187 deletions

View File

@@ -208,9 +208,6 @@ export default {
this.previewImage = event.target.result
}
},
formatNumber(x) {
return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',')
},
sumDownloads() {
let sum = 0
@@ -218,7 +215,7 @@ export default {
sum += projects.downloads
}
return this.formatNumber(sum)
return this.$formatNumber(sum)
},
sumFollows() {
let sum = 0
@@ -227,7 +224,7 @@ export default {
sum += projects.followers
}
return this.formatNumber(sum)
return this.$formatNumber(sum)
},
async changeLayout() {
await this.$store.dispatch('cosmetics/save', {