diff --git a/src/components/video/timestamps.astro b/src/components/video/timestamps.astro new file mode 100644 index 0000000..0511e4b --- /dev/null +++ b/src/components/video/timestamps.astro @@ -0,0 +1,26 @@ +--- +const { + video +} = Astro.props + +const hasTimeStamps = video.timestamps.length > 0 + +--- +{ hasTimeStamps && +
+}