Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
matmon12 committed Oct 16, 2024
1 parent 118e947 commit c2ccc1f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/pages/Post.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down

0 comments on commit c2ccc1f

Please sign in to comment.