From c2ccc1ff794d0b1fd77dbf3d0edc991d1caccdb5 Mon Sep 17 00:00:00 2001 From: Matvey Date: Thu, 17 Oct 2024 00:02:59 +0300 Subject: [PATCH] deploy --- src/pages/Post.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/pages/Post.vue b/src/pages/Post.vue index d5b1be6..3ef142d 100644 --- a/src/pages/Post.vue +++ b/src/pages/Post.vue @@ -43,17 +43,23 @@ import { readToDB } from "@/server/index"; import { query, where } from "firebase/firestore"; import { postsRef } from "@/server/firebase.config"; import AkarIconsVkFill from "~icons/akar-icons/vk-fill"; +import MdiOkRu from '~icons/mdi/ok-ru'; const post = ref(); const loadingPost = ref(false); const errorPost = ref(); const route = useRoute(); +const currentUrl = window.location.href; const links = markRaw([ { icon: AkarIconsVkFill, - link: `https://vk.com/share.php?url=${window.location.href}`, + link: `https://vk.com/share.php?url=${currentUrl}`, }, + { + icon: MdiOkRu, + link: `https://connect.ok.ru/dk?st.cmd=WidgetSharePreview&st.shareUrl=${currentUrl}` + } ]); onMounted(() => {