mtcute/docs/.vitepress/components/EmbedPost.vue
alina sireneva dbaedf9933
Some checks failed
Tests / e2e (push) Blocked by required conditions
Tests / e2e-deno (push) Blocked by required conditions
Tests / test-deno (push) Successful in 1m46s
Tests / test-node (node22) (push) Successful in 1m59s
Tests / test-bun (push) Successful in 2m1s
Tests / test-node (node20) (push) Successful in 2m7s
Tests / test-node (node18) (push) Successful in 2m12s
Tests / test-web (chromium) (push) Successful in 2m5s
Build and deploy docs / build (push) Has been cancelled
Tests / test-web (firefox) (push) Has been cancelled
Tests / lint (push) Has been cancelled
Build and deploy typedoc / build (push) Has been cancelled
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:41:20 +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>