From a9d58f8df8f8573e06ad6570cfd4740312d42edb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Herg=C3=A8s?= Date: Sat, 9 Aug 2025 16:17:14 +0200 Subject: feat(batteur): videos --- public/batteur/video/balance.webm | Bin 0 -> 3825269 bytes public/batteur/video/bb.webm | Bin 0 -> 10313092 bytes public/batteur/video/solo.webm | Bin 0 -> 6658917 bytes src/component/VideoAuto.astro | 7 +++++++ src/pages/index.astro | 4 ++++ src/scss/style.scss | 4 ++++ 6 files changed, 15 insertions(+) create mode 100644 public/batteur/video/balance.webm create mode 100644 public/batteur/video/bb.webm create mode 100644 public/batteur/video/solo.webm create mode 100644 src/component/VideoAuto.astro diff --git a/public/batteur/video/balance.webm b/public/batteur/video/balance.webm new file mode 100644 index 0000000..7657ba3 Binary files /dev/null and b/public/batteur/video/balance.webm differ diff --git a/public/batteur/video/bb.webm b/public/batteur/video/bb.webm new file mode 100644 index 0000000..c37b43d Binary files /dev/null and b/public/batteur/video/bb.webm differ diff --git a/public/batteur/video/solo.webm b/public/batteur/video/solo.webm new file mode 100644 index 0000000..d231915 Binary files /dev/null and b/public/batteur/video/solo.webm differ diff --git a/src/component/VideoAuto.astro b/src/component/VideoAuto.astro new file mode 100644 index 0000000..c8b0fe6 --- /dev/null +++ b/src/component/VideoAuto.astro @@ -0,0 +1,7 @@ +--- +const { src } = Astro.props; +--- + + diff --git a/src/pages/index.astro b/src/pages/index.astro index b43b927..481a688 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,6 +1,7 @@ --- import "../scss/style.scss"; import ImageBackground from "../component/ImageBackground.astro"; +import VideoAuto from "../component/VideoAuto.astro"; --- @@ -32,10 +33,13 @@ import ImageBackground from "../component/ImageBackground.astro"; + + + diff --git a/src/scss/style.scss b/src/scss/style.scss index c0f977b..d44b054 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -78,3 +78,7 @@ article { .bg img { height: 100%; } + +.bg video { + height: 100%; +} -- cgit v1.2.3