fix: @vueuse/head -> <meta> index.html
This commit is contained in:
@@ -4,6 +4,15 @@
|
||||
<meta charset="UTF-8">
|
||||
<link rel="icon" href="/images/logo.png">
|
||||
<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>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
+43
-43
@@ -19,51 +19,51 @@ import StepsSection from '../components/StepsSection.vue'
|
||||
import TestimonialsSection from '../components/TestimonialsSection.vue'
|
||||
import FaqSection from '../components/FaqSection.vue'
|
||||
|
||||
import { useHead } from '@vueuse/head';
|
||||
// import { useHead } from '@vueuse/head';
|
||||
import { useRoute } from 'vue-router';
|
||||
|
||||
const route = useRoute();
|
||||
|
||||
useHead({
|
||||
title: route.meta.title,
|
||||
meta: [
|
||||
{
|
||||
name: 'description',
|
||||
content: route.meta.description
|
||||
},
|
||||
{
|
||||
name: 'keywords',
|
||||
content: route.meta.keywords
|
||||
},
|
||||
// Open Graph теги для соцсетей
|
||||
{
|
||||
property: 'og:title',
|
||||
content: route.meta.title
|
||||
},
|
||||
{
|
||||
property: 'og:description',
|
||||
content: route.meta.description
|
||||
},
|
||||
{
|
||||
property: 'og:type',
|
||||
content: 'website'
|
||||
},
|
||||
{
|
||||
property: 'og:url',
|
||||
content: window.location.href // Здесь можно также задать каноничный URL
|
||||
},
|
||||
{
|
||||
property: 'og:site_name',
|
||||
content: route.meta.title
|
||||
},
|
||||
{
|
||||
property: 'telegram:channel',
|
||||
content: '@uvpn_shop'
|
||||
},
|
||||
{
|
||||
property: 'tg:site_verification',
|
||||
content: 'g7j8/rPFXfhyrq5q0QQV7EsYWv4='
|
||||
},
|
||||
]
|
||||
});
|
||||
// useHead({
|
||||
// title: route.meta.title,
|
||||
// meta: [
|
||||
// {
|
||||
// name: 'description',
|
||||
// content: route.meta.description
|
||||
// },
|
||||
// {
|
||||
// name: 'keywords',
|
||||
// content: route.meta.keywords
|
||||
// },
|
||||
// // Open Graph теги для соцсетей
|
||||
// {
|
||||
// property: 'og:title',
|
||||
// content: route.meta.title
|
||||
// },
|
||||
// {
|
||||
// property: 'og:description',
|
||||
// content: route.meta.description
|
||||
// },
|
||||
// {
|
||||
// property: 'og:type',
|
||||
// content: 'website'
|
||||
// },
|
||||
// {
|
||||
// property: 'og:url',
|
||||
// content: window.location.href // Здесь можно также задать каноничный URL
|
||||
// },
|
||||
// {
|
||||
// property: 'og:site_name',
|
||||
// content: route.meta.title
|
||||
// },
|
||||
// {
|
||||
// property: 'telegram:channel',
|
||||
// content: '@uvpn_shop'
|
||||
// },
|
||||
// {
|
||||
// property: 'tg:site_verification',
|
||||
// content: 'g7j8/rPFXfhyrq5q0QQV7EsYWv4='
|
||||
// },
|
||||
// ]
|
||||
// });
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user