Bump nuxt version (#1093)

* Bump nuxt version

* tests

* bump again

* fix modals
This commit is contained in:
Geometrically
2023-04-13 15:27:41 -07:00
committed by GitHub
parent 5fd3a45c64
commit 4398563b85
8 changed files with 507 additions and 393 deletions

View File

@@ -132,6 +132,7 @@
/>
</Head>
<ModalModeration
v-if="$auth.user"
ref="modalModeration"
:project="project"
:status="moderationStatus"

View File

@@ -1,7 +1,7 @@
<template>
<div>
<Head>
<Title> {{ project.title }} - Gallery </Title>
<Title>{{ project.title }} - Gallery</Title>
<Meta name="og:title" :content="`${project.title} - Gallery`" />
<Meta name="description" :content="metaDescription" />
<Meta name="apple-mobile-web-app-title" :content="`${project.title} - Gallery`" />

View File

@@ -6,6 +6,16 @@
'alt-layout': $cosmetics.searchLayout,
}"
>
<Head>
<Title>Search {{ $formatProjectType(projectType.display) }}s - Modrinth</Title>
<Meta name="og:title" :content="`Search ${$formatProjectType(projectType.display)}s`" />
<Meta name="description" :content="metaDescription" />
<Meta
name="apple-mobile-web-app-title"
:content="`Search ${$formatProjectType(projectType.display)}s`"
/>
<Meta name="og:description" :content="metaDescription" />
</Head>
<aside
:class="{
'normal-page__sidebar': true,
@@ -406,6 +416,14 @@ export default defineNuxtComponent({
const currentPage = ref(1)
const projectType = ref({ id: 'mod', display: 'mod', actual: 'mod' })
const metaDescription = computed(
() =>
`Search and browse thousands of Minecraft ${data.$formatProjectType(
projectType.value.display
)}s on Modrinth with instant, accurate search results. Our filters help you quickly find the best Minecraft ${data.$formatProjectType(
projectType.value.display
)}s.`
)
if (route.query.q) {
query.value = route.query.q
}
@@ -676,6 +694,7 @@ export default defineNuxtComponent({
getSearchUrl,
searchLoading,
noLoad,
metaDescription,
}
},
computed: {