From 993877357dc3c4c4dcac838209e56ca4c6f79959 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Herg=C3=A8s?= Date: Sun, 10 Aug 2025 16:05:38 +0200 Subject: perf(video): display thumbnail for mobile --- src/component/VideoAuto.astro | 17 ++++++++++++----- src/pages/index.astro | 6 +++--- 2 files changed, 15 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/component/VideoAuto.astro b/src/component/VideoAuto.astro index ddfe1c8..8746b68 100644 --- a/src/component/VideoAuto.astro +++ b/src/component/VideoAuto.astro @@ -1,16 +1,23 @@ --- -const { src } = Astro.props; +const { src, thumb } = Astro.props; --- - +Video thumbnail diff --git a/src/pages/index.astro b/src/pages/index.astro index 3f793b6..4e8ac17 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -24,16 +24,16 @@ import Base from "../layout/Base.astro"; - + - + - +
-- cgit v1.2.3