From d6608c822370ca7aad42c0ed54caf421ead8bb50 Mon Sep 17 00:00:00 2001 From: Dawid Rycerz Date: Tue, 22 Jul 2025 17:11:44 +0300 Subject: Update widget --- src/components/widgets/Announcement.astro | 1 - src/components/widgets/CallToActionImage.astro | 18 ++--- src/components/widgets/Features2Custom.astro | 9 ++- src/components/widgets/Footer.astro | 4 +- src/components/widgets/Header.astro | 35 ++++++++- src/components/widgets/Map.astro | 6 +- src/components/widgets/Portfolio.astro | 6 +- src/components/widgets/Pricing.astro | 101 +++++++++++++------------ src/components/widgets/Steps2.astro | 10 ++- 9 files changed, 108 insertions(+), 82 deletions(-) (limited to 'src/components/widgets') diff --git a/src/components/widgets/Announcement.astro b/src/components/widgets/Announcement.astro index 8e4bf78..e3098d5 100644 --- a/src/components/widgets/Announcement.astro +++ b/src/components/widgets/Announcement.astro @@ -12,5 +12,4 @@ Skontaktuj się z nami - Darmowa wycena! » - diff --git a/src/components/widgets/CallToActionImage.astro b/src/components/widgets/CallToActionImage.astro index df13145..80e181e 100644 --- a/src/components/widgets/CallToActionImage.astro +++ b/src/components/widgets/CallToActionImage.astro @@ -47,27 +47,19 @@ const { image && (
{image.href ? ( - - {image.alt} + {image.alt} ) : ( - {image.alt} + {image.alt} )}
) } - \ No newline at end of file + diff --git a/src/components/widgets/Features2Custom.astro b/src/components/widgets/Features2Custom.astro index 18c1546..605fd08 100644 --- a/src/components/widgets/Features2Custom.astro +++ b/src/components/widgets/Features2Custom.astro @@ -33,7 +33,7 @@ const { } /> - + { items && items.length > 0 && (
{title}
{description && ( -

+

)} {callToAction && (

@@ -81,4 +84,4 @@ const {
) } -
\ No newline at end of file + diff --git a/src/components/widgets/Footer.astro b/src/components/widgets/Footer.astro index 70cac54..55501ff 100644 --- a/src/components/widgets/Footer.astro +++ b/src/components/widgets/Footer.astro @@ -1,7 +1,5 @@ --- import { Icon } from 'astro-icon/components'; -import { SITE } from 'astrowind:config'; -import { getHomePermalink } from '~/utils/permalinks'; interface Link { text?: string; @@ -23,7 +21,7 @@ export interface Props { theme?: string; } -const { socialLinks = [], secondaryLinks = [], links = [], footNote = '', theme = 'light' } = Astro.props; +const { socialLinks = [], footNote = '', theme = 'light' } = Astro.props; ---