fix: @vueuse/head -> <meta> index.html

This commit is contained in:
2026-06-07 23:13:51 +03:00
parent f0165aaa2e
commit 96ac249acf
2 changed files with 52 additions and 43 deletions
+9
View File
@@ -4,6 +4,15 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<link rel="icon" href="/images/logo.png"> <link rel="icon" href="/images/logo.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Безопасный, быстрый и анонимный VPN-сервис для вашего ПК и смартфона. Защитите свои данные от посторонних глаз уже сегодня.">
<meta name="keywords" content="vpn, сервис, анонимность, безопасность, шифрование, купить vpn">
<meta property="og:title" content="uVPN">
<meta property="og:description" content="Безопасный, быстрый и анонимный VPN-сервис для вашего ПК и смартфона. Защитите свои данные от посторонних глаз уже сегодня.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://uvpn.shop/">
<meta property="og:site_name" content="uVPN">
<meta property="telegram:channel" content="@uvpn_shop">
<meta property="tg:site_verification" content="g7j8/rPFXfhyrq5q0QQV7EsYWv4=">
<title>uVPN</title> <title>uVPN</title>
</head> </head>
<body> <body>
+43 -43
View File
@@ -19,51 +19,51 @@ import StepsSection from '../components/StepsSection.vue'
import TestimonialsSection from '../components/TestimonialsSection.vue' import TestimonialsSection from '../components/TestimonialsSection.vue'
import FaqSection from '../components/FaqSection.vue' import FaqSection from '../components/FaqSection.vue'
import { useHead } from '@vueuse/head'; // import { useHead } from '@vueuse/head';
import { useRoute } from 'vue-router'; import { useRoute } from 'vue-router';
const route = useRoute(); const route = useRoute();
useHead({ // useHead({
title: route.meta.title, // title: route.meta.title,
meta: [ // meta: [
{ // {
name: 'description', // name: 'description',
content: route.meta.description // content: route.meta.description
}, // },
{ // {
name: 'keywords', // name: 'keywords',
content: route.meta.keywords // content: route.meta.keywords
}, // },
// Open Graph теги для соцсетей // // Open Graph теги для соцсетей
{ // {
property: 'og:title', // property: 'og:title',
content: route.meta.title // content: route.meta.title
}, // },
{ // {
property: 'og:description', // property: 'og:description',
content: route.meta.description // content: route.meta.description
}, // },
{ // {
property: 'og:type', // property: 'og:type',
content: 'website' // content: 'website'
}, // },
{ // {
property: 'og:url', // property: 'og:url',
content: window.location.href // Здесь можно также задать каноничный URL // content: window.location.href // Здесь можно также задать каноничный URL
}, // },
{ // {
property: 'og:site_name', // property: 'og:site_name',
content: route.meta.title // content: route.meta.title
}, // },
{ // {
property: 'telegram:channel', // property: 'telegram:channel',
content: '@uvpn_shop' // content: '@uvpn_shop'
}, // },
{ // {
property: 'tg:site_verification', // property: 'tg:site_verification',
content: 'g7j8/rPFXfhyrq5q0QQV7EsYWv4=' // content: 'g7j8/rPFXfhyrq5q0QQV7EsYWv4='
}, // },
] // ]
}); // });
</script> </script>