From 2fe939d25ec1386177d2a00ab91851438d05c95e Mon Sep 17 00:00:00 2001 From: widgeter Date: Mon, 14 Aug 2023 14:29:09 +0200 Subject: [PATCH] Remove WidgetWrapper from Hero widget --- src/components/widgets/Hero.astro | 15 ++------------- src/pages/services.astro | 27 +++++++++------------------ 2 files changed, 11 insertions(+), 31 deletions(-) diff --git a/src/components/widgets/Hero.astro b/src/components/widgets/Hero.astro index 1c46bf9..b39bed8 100644 --- a/src/components/widgets/Hero.astro +++ b/src/components/widgets/Hero.astro @@ -1,7 +1,6 @@ --- import { Icon } from 'astro-icon/components'; import Image from '~/components/common/Image.astro'; -import WidgetWrapper from '../ui/WidgetWrapper.astro'; const { title = await Astro.slots.render('title'), @@ -10,20 +9,10 @@ const { callToAction = await Astro.slots.render('callToAction'), callToAction2 = await Astro.slots.render('callToAction2'), image = await Astro.slots.render('image'), - - id, - isDark = false, - classes = {}, - bg = await Astro.slots.render('bg'), } = Astro.props; --- - +
@@ -104,4 +93,4 @@ const {
- +
diff --git a/src/pages/services.astro b/src/pages/services.astro index 1dd3254..9e49f6b 100644 --- a/src/pages/services.astro +++ b/src/pages/services.astro @@ -14,24 +14,15 @@ const metadata = { - - - Elevate your projects with our stunning templates - - - - Explore our meticulously crafted templates tailored to various industries and purposes. From captivating - presentations to functional website designs, we offer the tools you need to succeed. - - -
-
-
+