diff --git a/src/blocks/Hero/Component.tsx b/src/blocks/Hero/Component.tsx index 37a07d7..a09749b 100644 --- a/src/blocks/Hero/Component.tsx +++ b/src/blocks/Hero/Component.tsx @@ -74,9 +74,9 @@ export const HeroBlock: React.FC = ({ imageLoaded ? 'opacity-100 scale-100' : 'opacity-0 scale-105' }`} /> - {/* Zmniejszony gradient dla lepszej widoczności zdjęcia */} -
-
+ {/* Ciemny gradient pod spodem, by biały tekst był świetnie czytelny, a zdjęcie pozostało nasycone */} +
+
) : (
@@ -94,7 +94,7 @@ export const HeroBlock: React.FC = ({ > {title} {titleAccent && ( @@ -108,7 +108,7 @@ export const HeroBlock: React.FC = ({ {subtitle} diff --git a/src/blocks/PageHeader/Component.tsx b/src/blocks/PageHeader/Component.tsx index 3d5b18b..c91e12d 100644 --- a/src/blocks/PageHeader/Component.tsx +++ b/src/blocks/PageHeader/Component.tsx @@ -32,9 +32,9 @@ export const PageHeaderBlock: React.FC = ({ title, subtitle, im imageLoaded ? 'opacity-100 scale-100' : 'opacity-0 scale-105' }`} /> - {/* Zmniejszony gradient dla lepszej widoczności zdjęcia */} -
-
+ {/* Ciemny gradient pod spodem, by biały tekst był świetnie czytelny, a zdjęcie pozostało nasycone */} +
+
) : (
@@ -49,11 +49,11 @@ export const PageHeaderBlock: React.FC = ({ title, subtitle, im transition={{ duration: 0.6, ease: [0.16, 1, 0.3, 1] }} className="max-w-4xl" > -

+

{title}

{subtitle && ( -

+

{subtitle}

)}