itube-specs 0.0.992 → 0.0.994
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/components/info/main.vue
CHANGED
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
@click="onLogoClick"
|
|
12
12
|
>
|
|
13
13
|
<img
|
|
14
|
+
:alt="brandName"
|
|
14
15
|
class="layout-logo__image"
|
|
15
16
|
src="/img/logo.svg"
|
|
16
17
|
width="120"
|
|
17
18
|
height="20"
|
|
18
|
-
alt="gay.cool"
|
|
19
19
|
>
|
|
20
20
|
</NuxtLink>
|
|
21
21
|
</template>
|
|
@@ -29,6 +29,7 @@ const emit = defineEmits<{
|
|
|
29
29
|
}>();
|
|
30
30
|
|
|
31
31
|
const { generateLink } = useGenerateLink();
|
|
32
|
+
const { brandName } = useAppConfig();
|
|
32
33
|
|
|
33
34
|
function onLogoClick() {
|
|
34
35
|
emit('click');
|
package/package.json
CHANGED
|
@@ -140,12 +140,11 @@ const relatedCategories = computed(() => categoryInfo.value?.related);
|
|
|
140
140
|
|
|
141
141
|
const title = computed(() => categoryInfo.value?.title || '');
|
|
142
142
|
const metaTitle = computed(() => categoryInfo.value?.metaTitle || '');
|
|
143
|
-
const brandName = computed(() => useAppConfig().brandName);
|
|
144
143
|
const pageNumber = computed(() => route.query?.[ 'page' ] ? Number(route.query[ 'page' ]) : 1);
|
|
145
144
|
const pageText = computed(() => unref(pageNumber) === 1 ? '' : ` ${t('page')} ${unref(pageNumber)}`);
|
|
146
145
|
|
|
147
146
|
watchEffect(() => {
|
|
148
|
-
const categoryTitle = `${metaTitle.value}${pageText.value}
|
|
147
|
+
const categoryTitle = `${metaTitle.value}${pageText.value}`;
|
|
149
148
|
const categoryDescription = `${categoryInfo.value?.metaDescription || ''}${pageText.value}`;
|
|
150
149
|
|
|
151
150
|
useHead({
|