diff --git a/src/components/VideoEmbed.astro b/src/components/VideoEmbed.astro index 54de916..c3af5e6 100644 --- a/src/components/VideoEmbed.astro +++ b/src/components/VideoEmbed.astro @@ -3,17 +3,26 @@ import { YouTube } from '@astro-community/astro-embed-youtube' interface Props { youtubeId: string - bilibiliUrl: string + bilibiliUrl?: string } const { youtubeId, bilibiliUrl } = Astro.props --- -
+
- + { + bilibiliUrl && ( +