🔍 Improving SEO

This commit is contained in:
Liyas Thomas
2020-06-21 11:26:19 +05:30
parent fe9c08e92a
commit a38ef9e29e
7 changed files with 28 additions and 16 deletions

View File

@@ -219,7 +219,6 @@ export default {
login: () => import("~/components/firebase/login"),
logout: () => import("~/components/firebase/logout"),
},
data() {
return {
// NOTE:: You need to first set the CSS for your theme in /assets/css/themes.scss
@@ -327,7 +326,6 @@ export default {
fb,
}
},
watch: {
proxySettings: {
deep: true,
@@ -337,7 +335,6 @@ export default {
},
},
},
methods: {
applyTheme({ class: name, color, aceEditor }) {
this.applySetting("THEME_CLASS", name)
@@ -409,12 +406,10 @@ export default {
}
},
},
beforeMount() {
this.settings.THEME_CLASS = document.documentElement.className
this.settings.THEME_COLOR = this.getActiveColor()
},
computed: {
proxySettings() {
return {
@@ -423,5 +418,10 @@ export default {
}
},
},
head() {
return {
title: `Settings • ${this.$store.state.name}`,
}
},
}
</script>