mtcute/docs/.vitepress/components/EmbedPost.vue
alina sireneva 05077aa640
Some checks failed
Build and deploy typedoc / build (push) Waiting to run
Build and deploy docs / build (push) Successful in 1m56s
Tests / test-deno (push) Successful in 1m56s
Tests / test-bun (push) Successful in 2m5s
Tests / test-node (node22) (push) Successful in 2m14s
Tests / test-node (node20) (push) Successful in 2m21s
Tests / test-node (node18) (push) Successful in 2m29s
Tests / test-web (chromium) (push) Successful in 2m21s
Tests / test-web (firefox) (push) Successful in 1m33s
Tests / lint (push) Failing after 7m0s
Tests / e2e (push) Has been skipped
Tests / e2e-deno (push) Has been skipped
chore: moved docs inside the main repo
Co-authored-by: Kamilla 'ova <me@kamillaova.dev>
Co-authored-by: Alina Chebakova <chebakov05@gmail.com>
Co-authored-by: Kravets <57632712+kravetsone@users.noreply.github.com>
Co-authored-by: starkow <hello@starkow.dev>
Co-authored-by: sireneva <150665887+sireneva@users.noreply.github.com>
2025-01-17 08:50:23 +03:00

13 lines
No EOL
311 B
Vue

<script setup lang="ts">
import { useData } from 'vitepress'
const { isDark } = useData()
const { link, height } = defineProps<{
link: string
height?: number
}>()
</script>
<template>
<iframe :src="`https://t.me/${link}?embed=1&color=d990c3&dark=${+isDark}`" :height="height"></iframe>
</template>