From af83dfa7d8b44f2c37d905f0365d3ab52aff1e9f Mon Sep 17 00:00:00 2001 From: Firq Date: Fri, 29 Dec 2023 20:20:08 +0100 Subject: [PATCH] Improved custom youtube embed component --- src/components/youtubeEmbed.astro | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/components/youtubeEmbed.astro b/src/components/youtubeEmbed.astro index 16882c6..e0a99fa 100644 --- a/src/components/youtubeEmbed.astro +++ b/src/components/youtubeEmbed.astro @@ -1,7 +1,5 @@ --- import { YouTube } from '@astro-community/astro-embed-youtube' -import type { ImageMetadata } from 'astro' - export interface Props { id: string thumbnail: string @@ -11,9 +9,7 @@ const { id, thumbnail } = Astro.props ---
-