SEO cleanup (#1367)

* SEO/Metadata cleanup

May split rules changes into its own PR

* Revert rules/terms changes as they are now on a separate branch

* Update [searchProjectType].vue

* Update terms.vue
This commit is contained in:
Emma Alexia Triphora
2023-09-22 12:45:03 -04:00
committed by GitHub
parent bd4da4f365
commit fc64719bb8
29 changed files with 261 additions and 473 deletions
+9 -30
View File
@@ -451,35 +451,14 @@
</div>
</template>
<script>
export default defineNuxtComponent({
head: {
title: 'California Privacy Notice - Modrinth',
meta: [
{
hid: 'description',
name: 'description',
content:
'The California privacy notice of Modrinth, an open source modding platform focused on Minecraft.',
},
{
hid: 'apple-mobile-web-app-title',
name: 'apple-mobile-web-app-title',
content: 'California Privacy Notice',
},
{
hid: 'og:title',
name: 'og:title',
content: 'California Privacy Notice',
},
{
hid: 'og:url',
name: 'og:url',
content: 'https://modrinth.com/legal/ccpa',
},
],
},
<script setup>
const description =
'The California Privacy Notice of Modrinth, an open source modding platform focused on Minecraft.'
useSeoMeta({
title: 'California Privacy Notice - Modrinth',
description,
ogTitle: 'California Privacy Notice',
ogDescription: description,
})
</script>
<style lang="scss" scoped></style>
+8 -31
View File
@@ -88,37 +88,14 @@
</div>
</template>
<script>
export default defineNuxtComponent({
name: 'CmpInfo',
<script setup>
const description =
'Information about the Rewards Program of Modrinth, an open source modding platform focused on Minecraft.'
head: {
title: 'Rewards Program Information - Modrinth',
meta: [
{
hid: 'description',
name: 'description',
content:
'The rewards program information of Modrinth, an open source modding platform focused on Minecraft.',
},
{
hid: 'apple-mobile-web-app-title',
name: 'apple-mobile-web-app-title',
content: 'Rewards Program Information',
},
{
hid: 'og:title',
name: 'og:title',
content: 'Rewards Program Information',
},
{
hid: 'og:url',
name: 'og:url',
content: 'https://modrinth.com/legal/cmp-info',
},
],
},
useSeoMeta({
title: 'Rewards Program Information - Modrinth',
description,
ogTitle: 'Rewards Program Information',
ogDescription: description,
})
</script>
<style scoped></style>
+9 -30
View File
@@ -63,35 +63,14 @@
</div>
</template>
<script>
export default defineNuxtComponent({
head: {
title: 'Rewards Program Terms - Modrinth',
meta: [
{
hid: 'description',
name: 'description',
content:
'The rewards program terms of Modrinth, an open source modding platform focused on Minecraft.',
},
{
hid: 'apple-mobile-web-app-title',
name: 'apple-mobile-web-app-title',
content: 'Rewards Program Terms',
},
{
hid: 'og:title',
name: 'og:title',
content: 'Rewards Program Terms',
},
{
hid: 'og:url',
name: 'og:url',
content: 'https://modrinth.com/legal/cmp',
},
],
},
<script setup>
const description =
'The Rewards Program Terms of Modrinth, an open source modding platform focused on Minecraft.'
useSeoMeta({
title: 'Rewards Program Terms - Modrinth',
description,
ogTitle: 'Rewards Program Terms',
ogDescription: description,
})
</script>
<style lang="scss" scoped></style>
+9 -30
View File
@@ -101,35 +101,14 @@
</div>
</template>
<script>
export default defineNuxtComponent({
head: {
title: 'Copyright - Modrinth',
meta: [
{
hid: 'description',
name: 'description',
content:
'The Copyright Policy of Modrinth, an open source modding platform focused on Minecraft.',
},
{
hid: 'apple-mobile-web-app-title',
name: 'apple-mobile-web-app-title',
content: 'Copyright Policy',
},
{
hid: 'og:title',
name: 'og:title',
content: 'Copyright Policy',
},
{
hid: 'og:url',
name: 'og:url',
content: 'https://modrinth.com/legal/copyright',
},
],
},
<script setup>
const description =
'The Copyright Policy of Modrinth, an open source modding platform focused on Minecraft.'
useSeoMeta({
title: 'Copyright Policy - Modrinth',
description,
ogTitle: 'Copyright Policy',
ogDescription: description,
})
</script>
<style lang="scss" scoped></style>
+9 -30
View File
@@ -308,35 +308,14 @@
</div>
</template>
<script>
export default defineNuxtComponent({
head: {
title: 'Privacy - Modrinth',
meta: [
{
hid: 'description',
name: 'description',
content:
'The Privacy Policy of Modrinth, an open source modding platform focused on Minecraft.',
},
{
hid: 'apple-mobile-web-app-title',
name: 'apple-mobile-web-app-title',
content: 'Privacy Policy',
},
{
hid: 'og:title',
name: 'og:title',
content: 'Privacy Policy',
},
{
hid: 'og:url',
name: 'og:url',
content: 'https://modrinth.com/legal/privacy',
},
],
},
<script setup>
const description =
'The Privacy Policy of Modrinth, an open source modding platform focused on Minecraft.'
useSeoMeta({
title: 'Privacy Policy - Modrinth',
description,
ogTitle: 'Privacy Policy',
ogDescription: description,
})
</script>
<style lang="scss" scoped></style>
+9 -30
View File
@@ -134,35 +134,14 @@
</div>
</template>
<script>
export default defineNuxtComponent({
head: {
title: 'Rules - Modrinth',
meta: [
{
hid: 'description',
name: 'description',
content:
'The Content Rules of Modrinth, an open source modding platform focused on Minecraft.',
},
{
hid: 'apple-mobile-web-app-title',
name: 'apple-mobile-web-app-title',
content: 'Content Rules',
},
{
hid: 'og:title',
name: 'og:title',
content: 'Content Rules',
},
{
hid: 'og:url',
name: 'og:url',
content: 'https://modrinth.com/legal/rules',
},
],
},
<script setup>
const description =
'The Content Rules of Modrinth, an open source modding platform focused on Minecraft.'
useSeoMeta({
title: 'Content Rules - Modrinth',
description,
ogTitle: 'Content Rules',
ogDescription: description,
})
</script>
<style lang="scss" scoped></style>
+9 -30
View File
@@ -52,35 +52,14 @@
</div>
</template>
<script>
export default defineNuxtComponent({
head: {
title: 'Security Notice - Modrinth',
meta: [
{
hid: 'description',
name: 'description',
content:
'The Security Notice of Modrinth, an open source modding platform focused on Minecraft.',
},
{
hid: 'apple-mobile-web-app-title',
name: 'apple-mobile-web-app-title',
content: 'Security Notice',
},
{
hid: 'og:title',
name: 'og:title',
content: 'Security Notice',
},
{
hid: 'og:url',
name: 'og:url',
content: 'https://modrinth.com/legal/security',
},
],
},
<script setup>
const description =
'The Security Notice of Modrinth, an open source modding platform focused on Minecraft.'
useSeoMeta({
title: 'Security Notice - Modrinth',
description,
ogTitle: 'Security Notice',
ogDescription: description,
})
</script>
<style lang="scss" scoped></style>
+9 -30
View File
@@ -583,35 +583,14 @@
</div>
</template>
<script>
export default defineNuxtComponent({
head: {
title: 'Terms - Modrinth',
meta: [
{
hid: 'description',
name: 'description',
content:
'The Terms and Conditions of Modrinth, an open source modding platform focused on Minecraft.',
},
{
hid: 'apple-mobile-web-app-title',
name: 'apple-mobile-web-app-title',
content: 'Terms and Conditions',
},
{
hid: 'og:title',
name: 'og:title',
content: 'Terms and Conditions',
},
{
hid: 'og:url',
name: 'og:url',
content: 'https://modrinth.com/legal/terms',
},
],
},
<script setup>
const description =
'The Terms of Use of Modrinth, an open source modding platform focused on Minecraft.'
useSeoMeta({
title: 'Terms of Use - Modrinth',
description,
ogTitle: 'Terms of Use',
ogDescription: description,
})
</script>
<style lang="scss" scoped></style>