From dc199d803fdf7b29281089244db2040963feb571 Mon Sep 17 00:00:00 2001 From: Alexis <35.alexis.pele@gmail.com> Date: Wed, 7 Aug 2024 20:24:17 +0200 Subject: [PATCH] Added glow prop to button --- src/components/Button.astro | 105 +++++++++++++++++++++--------------- src/pages/index.astro | 33 +++++++----- 2 files changed, 83 insertions(+), 55 deletions(-) diff --git a/src/components/Button.astro b/src/components/Button.astro index 185cba7..8ab204a 100644 --- a/src/components/Button.astro +++ b/src/components/Button.astro @@ -1,12 +1,29 @@ - \ No newline at end of file diff --git a/src/pages/index.astro b/src/pages/index.astro index c6da120..f1d6cce 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -15,18 +15,34 @@ import Layout from '../layouts/Layout.astro';

Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam sint placeat dolores nemo asperiores minus, quam commodi cum?

-
+
+ +
-
-
-
+
+
+
{ } #shape-filter { - height: 100%; - width: 100%; - position: absolute; - z-index: 2; backdrop-filter: blur(10vmax); } @@ -124,9 +136,6 @@ document.addEventListener('mousemove', throttle((event) => { left: 50%; top: 50%; transform: translateX(-50%) translateY(-50%); - border-radius: 50%; - aspect-ratio: 1; animation: shape-spin 13s infinite; - will-change: transform, scroll-position; }