From 2452e045d32994ccd00f16e5dbc9a2d97d697a70 Mon Sep 17 00:00:00 2001 From: Dawid Rycerz Date: Tue, 5 Aug 2025 19:59:36 +0300 Subject: feat: various fixes --- README.md | 2 +- src/components/ui/HeroButton.astro | 4 ++-- src/components/widgets/Features2Custom.astro | 6 +++--- src/components/widgets/HeroBackground.astro | 6 +++--- src/components/widgets/Pricing.astro | 18 +++++++++--------- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 5342558..b2ab3d0 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ This website is built with: ```bash git clone - cd customworks.com + cd customworks.pl ``` 2. **Install dependencies** diff --git a/src/components/ui/HeroButton.astro b/src/components/ui/HeroButton.astro index f7a07c6..0d85f87 100644 --- a/src/components/ui/HeroButton.astro +++ b/src/components/ui/HeroButton.astro @@ -23,7 +23,7 @@ const variants = { { type === 'button' || type === 'submit' || type === 'reset' ? ( - ) : ( diff --git a/src/components/widgets/Features2Custom.astro b/src/components/widgets/Features2Custom.astro index 605fd08..a52b8d0 100644 --- a/src/components/widgets/Features2Custom.astro +++ b/src/components/widgets/Features2Custom.astro @@ -53,13 +53,13 @@ const { {items.map(({ title, description, icon, iconSvg, callToAction, classes: itemClasses = {} }) => (
{(icon || iconSvg || defaultIcon) && ( -
+
{iconSvg ? (
) : ( @@ -70,7 +70,7 @@ const {
{title}
{description && (

)} diff --git a/src/components/widgets/HeroBackground.astro b/src/components/widgets/HeroBackground.astro index 904bc23..a88174b 100644 --- a/src/components/widgets/HeroBackground.astro +++ b/src/components/widgets/HeroBackground.astro @@ -61,7 +61,7 @@ const { CustomWorks Logo +

{Array.isArray(actions) ? ( actions.map((action) => ( -
+
)) diff --git a/src/components/widgets/Pricing.astro b/src/components/widgets/Pricing.astro index b0c2fa1..8333fde 100644 --- a/src/components/widgets/Pricing.astro +++ b/src/components/widgets/Pricing.astro @@ -26,7 +26,7 @@ const { classes={{ container: 'max-w-xl sm:mx-auto lg:max-w-2xl', title: 'text-4xl md:text-5xl font-bold tracking-tighter mb-4 font-heading', - subtitle: 'max-w-3xl mx-auto sm:text-center text-xl text-muted dark:text-slate-400', + subtitle: 'max-w-3xl mx-auto sm:text-center text-xl text-muted dark:text-slate-800', }} />
@@ -39,15 +39,15 @@ const { .filter((_, index) => index % 2 === 0) .map((item) => (
- {item.title &&

{item.title}

} -
+ {item.title &&

{item.title}

} +
{item.entries && item.entries.length > 0 && ( {item.entries.map((entry) => ( - + ))} @@ -66,14 +66,14 @@ const { .map((item) => (
{item.title &&

{item.title}

} -
+
{item.entries && item.entries.length > 0 && (
- {entry.price} + {entry.price}
{item.entries.map((entry) => ( - + ))} @@ -89,7 +89,7 @@ const {
{ (await Astro.slots.render('disclaimer')) && ( -
+
) } -- cgit v1.2.3
- {entry.price} + {entry.price}