fix: update hero image and disable HSTS on localhost
This commit is contained in:
@@ -27,7 +27,7 @@ export function HeroSection({
|
||||
ctaLink = "/kontakt",
|
||||
secondaryCtaText = "Zobacz ofertę",
|
||||
secondaryCtaLink = "/sklep",
|
||||
backgroundImage = "/images/hero/hero-section-image.webp",
|
||||
backgroundImage = "/images/hero/home_page_hero.webp",
|
||||
features
|
||||
}: HeroSectionProps = {}) {
|
||||
return (
|
||||
|
||||
@@ -0,0 +1,386 @@
|
||||
commit 88cb4c516d41bf8d248f92df9bf79717ffa83ee4
|
||||
Author: MichalC <[email protected]>
|
||||
Date: Sat Aug 1 12:27:14 2026 +0200
|
||||
|
||||
fix: linting cleanup, TS errors, mobile cookie banner and hero max-width
|
||||
|
||||
diff --git a/components/sections/HeroSection.tsx b/components/sections/HeroSection.tsx
|
||||
index f508126..86aeb6e 100644
|
||||
--- a/components/sections/HeroSection.tsx
|
||||
+++ b/components/sections/HeroSection.tsx
|
||||
@@ -31,7 +31,7 @@ export function HeroSection({
|
||||
features
|
||||
}: HeroSectionProps = {}) {
|
||||
return (
|
||||
- <section className="relative bg-primary min-h-[480px] md:min-h-[600px] flex items-center overflow-hidden">
|
||||
+ <section className="relative bg-primary min-h-[480px] md:min-h-[600px] flex items-center overflow-hidden max-w-[2560px] mx-auto">
|
||||
{/* TODO ZDJĘCIE HERO: realne zdjęcie firmy/montażu, format poziomy min. 1920×1080, plik public/hero.jpg */}
|
||||
<Image
|
||||
src={backgroundImage}
|
||||
@@ -85,6 +85,11 @@ export function HeroSection({
|
||||
<ArrowRight className="size-5 group-hover:translate-x-1 transition-transform" />
|
||||
</Link>
|
||||
)}
|
||||
+ {secondaryCtaText && secondaryCtaLink && (
|
||||
+ <Link href={secondaryCtaLink} className="w-fit sm:w-auto btn btn-outline bg-white/10 text-white border-white/20 hover:bg-white hover:text-primary font-bold px-8">
|
||||
+ <span>{secondaryCtaText}</span>
|
||||
+ </Link>
|
||||
+ )}
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
commit 17a43fc6d63c11f904ab98c24cecdde24734722f
|
||||
Author: AI Assistant <[email protected]>
|
||||
Date: Wed Jul 22 21:36:54 2026 +0200
|
||||
|
||||
feat: update design elements, add AUX brand logo support and rename blog image
|
||||
|
||||
diff --git a/components/sections/HeroSection.tsx b/components/sections/HeroSection.tsx
|
||||
index da2561a..f508126 100644
|
||||
--- a/components/sections/HeroSection.tsx
|
||||
+++ b/components/sections/HeroSection.tsx
|
||||
@@ -78,16 +78,13 @@ export function HeroSection({
|
||||
)}
|
||||
|
||||
{/* CTA Buttons */}
|
||||
- <div className="mt-10 flex flex-col sm:flex-row items-center gap-4 w-full sm:w-auto">
|
||||
+ <div className="mt-10 flex flex-col sm:flex-row items-start sm:items-center gap-4 w-full sm:w-auto">
|
||||
{ctaText && ctaLink && (
|
||||
- <Link href={ctaLink} className="w-full sm:w-auto group btn btn-primary text-white font-bold">
|
||||
-
|
||||
- <span>{ctaText}</span>
|
||||
- <ArrowRight className="size-5 group-hover:translate-x-1 transition-transform" />
|
||||
-
|
||||
-</Link>
|
||||
+ <Link href={ctaLink} className="w-fit sm:w-auto group btn btn-primary text-white font-bold px-8">
|
||||
+ <span>{ctaText}</span>
|
||||
+ <ArrowRight className="size-5 group-hover:translate-x-1 transition-transform" />
|
||||
+ </Link>
|
||||
)}
|
||||
-
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
commit d545e7fdccd67e904e32c8da24dc3e1965a0a8e6
|
||||
Author: MichalC <[email protected]>
|
||||
Date: Sun Jul 19 14:01:52 2026 +0200
|
||||
|
||||
chore: rozwiązanie konfliktów, aktualizacja zależności i usunięcie wpisu na blogu
|
||||
|
||||
diff --git a/components/sections/HeroSection.tsx b/components/sections/HeroSection.tsx
|
||||
index 2881f15..da2561a 100644
|
||||
--- a/components/sections/HeroSection.tsx
|
||||
+++ b/components/sections/HeroSection.tsx
|
||||
@@ -18,7 +18,7 @@ export function HeroSection({
|
||||
eyebrow = "Wrocław i Dolny Śląsk",
|
||||
title = (
|
||||
<>
|
||||
- <span className="text-white">Klimatyzacja i pompy ciepła</span><br />
|
||||
+ <span className="text-white">Klimatyzacja</span><br />
|
||||
<span className="text-accent">na Dolnym Śląsku</span>
|
||||
</>
|
||||
),
|
||||
|
||||
commit d64266243ea788a9ec03a3b95d12056a7d1a5d87
|
||||
Author: AI Assistant <[email protected]>
|
||||
Date: Sun Jul 19 12:32:31 2026 +0200
|
||||
|
||||
fix: apply recent accessibility and layout changes
|
||||
|
||||
diff --git a/components/sections/HeroSection.tsx b/components/sections/HeroSection.tsx
|
||||
index c5b1d00..2881f15 100644
|
||||
--- a/components/sections/HeroSection.tsx
|
||||
+++ b/components/sections/HeroSection.tsx
|
||||
@@ -80,12 +80,12 @@ export function HeroSection({
|
||||
{/* CTA Buttons */}
|
||||
<div className="mt-10 flex flex-col sm:flex-row items-center gap-4 w-full sm:w-auto">
|
||||
{ctaText && ctaLink && (
|
||||
- <Link href={ctaLink} className="w-full sm:w-auto group">
|
||||
- <button className="btn btn-primary text-white font-bold w-full sm:w-auto">
|
||||
+ <Link href={ctaLink} className="w-full sm:w-auto group btn btn-primary text-white font-bold">
|
||||
+
|
||||
<span>{ctaText}</span>
|
||||
<ArrowRight className="size-5 group-hover:translate-x-1 transition-transform" />
|
||||
- </button>
|
||||
- </Link>
|
||||
+
|
||||
+</Link>
|
||||
)}
|
||||
|
||||
</div>
|
||||
|
||||
commit 03d425d4b1ad3360c495b1abc97352c190d69ccc
|
||||
Author: MichalC <[email protected]>
|
||||
Date: Sat Jul 4 19:38:22 2026 +0200
|
||||
|
||||
feat: nowe strony SEO, zdjęcia miast, loga marek, dane firmy, nawigacja, cennik
|
||||
|
||||
diff --git a/components/sections/HeroSection.tsx b/components/sections/HeroSection.tsx
|
||||
index 11f2089..c5b1d00 100644
|
||||
--- a/components/sections/HeroSection.tsx
|
||||
+++ b/components/sections/HeroSection.tsx
|
||||
@@ -27,7 +27,7 @@ export function HeroSection({
|
||||
ctaLink = "/kontakt",
|
||||
secondaryCtaText = "Zobacz ofertę",
|
||||
secondaryCtaLink = "/sklep",
|
||||
- backgroundImage = "/hero.jpg",
|
||||
+ backgroundImage = "/images/hero/hero-section-image.webp",
|
||||
features
|
||||
}: HeroSectionProps = {}) {
|
||||
return (
|
||||
|
||||
commit 59808f12432f76d087e901c1d14009cf47b6ced0
|
||||
Author: MichalC <[email protected]>
|
||||
Date: Sun Jun 28 15:03:36 2026 +0200
|
||||
|
||||
feat: Zaktualizuj sekcję hero, nawigację, kalkulator i formularz zgłoszenia awarii
|
||||
|
||||
diff --git a/components/sections/HeroSection.tsx b/components/sections/HeroSection.tsx
|
||||
index b24c640..11f2089 100644
|
||||
--- a/components/sections/HeroSection.tsx
|
||||
+++ b/components/sections/HeroSection.tsx
|
||||
@@ -15,14 +15,14 @@ export interface HeroSectionProps {
|
||||
}
|
||||
|
||||
export function HeroSection({
|
||||
- eyebrow = "Klimatyzacja i Pompy Ciepła",
|
||||
+ eyebrow = "Wrocław i Dolny Śląsk",
|
||||
title = (
|
||||
<>
|
||||
- Klimatyzacja, pompy ciepła<br className="hidden sm:inline" />
|
||||
- <span className="text-accent"> i usługi domowe</span>
|
||||
+ <span className="text-white">Klimatyzacja i pompy ciepła</span><br />
|
||||
+ <span className="text-accent">na Dolnym Śląsku</span>
|
||||
</>
|
||||
),
|
||||
- subtitle = "Oferujemy profesjonalny dobór, czysty montaż i sprawny serwis klimatyzacji oraz pomp ciepła. Solidnie, estetycznie i z pełną gwarancją.",
|
||||
+ subtitle = "Montaż, serwis i naprawa — przyjeżdżamy do Ciebie. Obsługujemy tam gdzie inni odmawiają, w tym klimatyzatory LG.",
|
||||
ctaText = "Darmowa wycena",
|
||||
ctaLink = "/kontakt",
|
||||
secondaryCtaText = "Zobacz ofertę",
|
||||
@@ -87,29 +87,10 @@ export function HeroSection({
|
||||
</button>
|
||||
</Link>
|
||||
)}
|
||||
- {secondaryCtaText && secondaryCtaLink && (
|
||||
- <Link href={secondaryCtaLink} className="w-full sm:w-auto">
|
||||
- <button className="btn btn-outline btn-primary bg-white font-bold w-full sm:w-auto">
|
||||
- {secondaryCtaText}
|
||||
- </button>
|
||||
- </Link>
|
||||
- )}
|
||||
- </div>
|
||||
|
||||
- {/* Trust Bar (Hero specific) */}
|
||||
- <div className="mt-8 flex items-center gap-3 text-sm font-medium text-white/80">
|
||||
- <div className="flex items-center text-yellow-400">
|
||||
- <Star className="size-4 fill-current" />
|
||||
- <Star className="size-4 fill-current" />
|
||||
- <Star className="size-4 fill-current" />
|
||||
- <Star className="size-4 fill-current" />
|
||||
- <Star className="size-4 fill-current" />
|
||||
- </div>
|
||||
- <span>
|
||||
- {/* MOCK: do podmiany */}
|
||||
- 4,9/5 w Google · 500+ realizacji · 12 lat na rynku
|
||||
- </span>
|
||||
</div>
|
||||
+
|
||||
+
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
commit 0c59086a6b96ff3ca28a56fb4c06a3afb43504ff
|
||||
Author: MichalC <[email protected]>
|
||||
Date: Sat Jun 27 18:09:22 2026 +0200
|
||||
|
||||
feat: implement compare functionality, checkout flow, and add 30 blog posts
|
||||
|
||||
diff --git a/components/sections/HeroSection.tsx b/components/sections/HeroSection.tsx
|
||||
index f08cb13..b24c640 100644
|
||||
--- a/components/sections/HeroSection.tsx
|
||||
+++ b/components/sections/HeroSection.tsx
|
||||
@@ -15,18 +15,18 @@ export interface HeroSectionProps {
|
||||
}
|
||||
|
||||
export function HeroSection({
|
||||
- eyebrow = "HVAC & Usługi Wykończeniowe",
|
||||
+ eyebrow = "Klimatyzacja i Pompy Ciepła",
|
||||
title = (
|
||||
<>
|
||||
Klimatyzacja, pompy ciepła<br className="hidden sm:inline" />
|
||||
<span className="text-accent"> i usługi domowe</span>
|
||||
</>
|
||||
),
|
||||
- subtitle = "Oferujemy profesjonalny dobór, czysty montaż i sprawny serwis. Wykończymy Twoje wnętrza i naprawimy instalacje. Solidnie i z polecenia.",
|
||||
+ subtitle = "Oferujemy profesjonalny dobór, czysty montaż i sprawny serwis klimatyzacji oraz pomp ciepła. Solidnie, estetycznie i z pełną gwarancją.",
|
||||
ctaText = "Darmowa wycena",
|
||||
ctaLink = "/kontakt",
|
||||
secondaryCtaText = "Zobacz ofertę",
|
||||
- secondaryCtaLink = "/uslugi-domowe",
|
||||
+ secondaryCtaLink = "/sklep",
|
||||
backgroundImage = "/hero.jpg",
|
||||
features
|
||||
}: HeroSectionProps = {}) {
|
||||
|
||||
commit 6bdfe18e18a61241abd3a464cf1ed5f80fd37c2b
|
||||
Author: Radosław Smoliński <[email protected]>
|
||||
Date: Mon Jun 22 00:45:57 2026 +0200
|
||||
|
||||
fix: ui tweaks including button styles, texts, and missing account link
|
||||
|
||||
diff --git a/components/sections/HeroSection.tsx b/components/sections/HeroSection.tsx
|
||||
index e8de06d..f08cb13 100644
|
||||
--- a/components/sections/HeroSection.tsx
|
||||
+++ b/components/sections/HeroSection.tsx
|
||||
@@ -70,7 +70,7 @@ export function HeroSection({
|
||||
<ul className="mt-6 grid grid-cols-2 gap-3 text-white/90 font-medium">
|
||||
{features.map((feature, idx) => (
|
||||
<li key={idx} className="flex items-center gap-2">
|
||||
- <Star className="size-4 text-accent fill-accent" />
|
||||
+ <Star className="size-4 text-yellow-400 fill-yellow-400" />
|
||||
{feature}
|
||||
</li>
|
||||
))}
|
||||
@@ -98,7 +98,7 @@ export function HeroSection({
|
||||
|
||||
{/* Trust Bar (Hero specific) */}
|
||||
<div className="mt-8 flex items-center gap-3 text-sm font-medium text-white/80">
|
||||
- <div className="flex items-center text-cta">
|
||||
+ <div className="flex items-center text-yellow-400">
|
||||
<Star className="size-4 fill-current" />
|
||||
<Star className="size-4 fill-current" />
|
||||
<Star className="size-4 fill-current" />
|
||||
|
||||
commit dfd38885170fe6556115d15fc33c4ed633aa82c9
|
||||
Author: Radosław Smoliński <[email protected]>
|
||||
Date: Sun Jun 21 21:53:15 2026 +0200
|
||||
|
||||
feat: complete website implementation
|
||||
|
||||
diff --git a/components/sections/HeroSection.tsx b/components/sections/HeroSection.tsx
|
||||
new file mode 100644
|
||||
index 0000000..e8de06d
|
||||
--- /dev/null
|
||||
+++ b/components/sections/HeroSection.tsx
|
||||
@@ -0,0 +1,117 @@
|
||||
+import Link from "next/link";
|
||||
+import Image from "next/image";
|
||||
+import { ArrowRight, Star } from "lucide-react";
|
||||
+
|
||||
+export interface HeroSectionProps {
|
||||
+ eyebrow?: string;
|
||||
+ title?: React.ReactNode;
|
||||
+ subtitle?: string;
|
||||
+ ctaText?: string;
|
||||
+ ctaLink?: string;
|
||||
+ secondaryCtaText?: string;
|
||||
+ secondaryCtaLink?: string;
|
||||
+ backgroundImage?: string;
|
||||
+ features?: string[];
|
||||
+}
|
||||
+
|
||||
+export function HeroSection({
|
||||
+ eyebrow = "HVAC & Usługi Wykończeniowe",
|
||||
+ title = (
|
||||
+ <>
|
||||
+ Klimatyzacja, pompy ciepła<br className="hidden sm:inline" />
|
||||
+ <span className="text-accent"> i usługi domowe</span>
|
||||
+ </>
|
||||
+ ),
|
||||
+ subtitle = "Oferujemy profesjonalny dobór, czysty montaż i sprawny serwis. Wykończymy Twoje wnętrza i naprawimy instalacje. Solidnie i z polecenia.",
|
||||
+ ctaText = "Darmowa wycena",
|
||||
+ ctaLink = "/kontakt",
|
||||
+ secondaryCtaText = "Zobacz ofertę",
|
||||
+ secondaryCtaLink = "/uslugi-domowe",
|
||||
+ backgroundImage = "/hero.jpg",
|
||||
+ features
|
||||
+}: HeroSectionProps = {}) {
|
||||
+ return (
|
||||
+ <section className="relative bg-primary min-h-[480px] md:min-h-[600px] flex items-center overflow-hidden">
|
||||
+ {/* TODO ZDJĘCIE HERO: realne zdjęcie firmy/montażu, format poziomy min. 1920×1080, plik public/hero.jpg */}
|
||||
+ <Image
|
||||
+ src={backgroundImage}
|
||||
+ alt="Montaż klimatyzacji i pomp ciepła"
|
||||
+ fill
|
||||
+ priority
|
||||
+ sizes="100vw"
|
||||
+ className="object-cover"
|
||||
+ />
|
||||
+
|
||||
+ {/* NAKŁADKA POD TEKST - jednolita, przyciemniająca */}
|
||||
+ <div className="absolute inset-0 bg-black/50" />
|
||||
+
|
||||
+ <div className="relative z-10 w-full max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16 md:py-24">
|
||||
+ <div className="flex flex-col items-start text-left max-w-3xl">
|
||||
+ {/* Badge */}
|
||||
+ {eyebrow && (
|
||||
+ <div className="inline-flex items-center gap-1.5 px-3.5 py-1.5 rounded-full bg-accent/20 border border-accent/30 text-white text-xs font-semibold uppercase tracking-wider mb-6 font-heading">
|
||||
+ <span className="size-2 rounded-full bg-accent" />
|
||||
+ {eyebrow}
|
||||
+ </div>
|
||||
+ )}
|
||||
+
|
||||
+ {/* Heading */}
|
||||
+ <h1 className="text-3xl md:text-5xl lg:text-6xl font-extrabold tracking-tight font-heading leading-[1.1] text-white">
|
||||
+ {title}
|
||||
+ </h1>
|
||||
+
|
||||
+ {/* Subtitle */}
|
||||
+ <p className="mt-6 text-base md:text-lg lg:text-xl text-white/90 max-w-2xl leading-relaxed">
|
||||
+ {subtitle}
|
||||
+ </p>
|
||||
+
|
||||
+ {/* Optional Features List */}
|
||||
+ {features && features.length > 0 && (
|
||||
+ <ul className="mt-6 grid grid-cols-2 gap-3 text-white/90 font-medium">
|
||||
+ {features.map((feature, idx) => (
|
||||
+ <li key={idx} className="flex items-center gap-2">
|
||||
+ <Star className="size-4 text-accent fill-accent" />
|
||||
+ {feature}
|
||||
+ </li>
|
||||
+ ))}
|
||||
+ </ul>
|
||||
+ )}
|
||||
+
|
||||
+ {/* CTA Buttons */}
|
||||
+ <div className="mt-10 flex flex-col sm:flex-row items-center gap-4 w-full sm:w-auto">
|
||||
+ {ctaText && ctaLink && (
|
||||
+ <Link href={ctaLink} className="w-full sm:w-auto group">
|
||||
+ <button className="btn btn-primary text-white font-bold w-full sm:w-auto">
|
||||
+ <span>{ctaText}</span>
|
||||
+ <ArrowRight className="size-5 group-hover:translate-x-1 transition-transform" />
|
||||
+ </button>
|
||||
+ </Link>
|
||||
+ )}
|
||||
+ {secondaryCtaText && secondaryCtaLink && (
|
||||
+ <Link href={secondaryCtaLink} className="w-full sm:w-auto">
|
||||
+ <button className="btn btn-outline btn-primary bg-white font-bold w-full sm:w-auto">
|
||||
+ {secondaryCtaText}
|
||||
+ </button>
|
||||
+ </Link>
|
||||
+ )}
|
||||
+ </div>
|
||||
+
|
||||
+ {/* Trust Bar (Hero specific) */}
|
||||
+ <div className="mt-8 flex items-center gap-3 text-sm font-medium text-white/80">
|
||||
+ <div className="flex items-center text-cta">
|
||||
+ <Star className="size-4 fill-current" />
|
||||
+ <Star className="size-4 fill-current" />
|
||||
+ <Star className="size-4 fill-current" />
|
||||
+ <Star className="size-4 fill-current" />
|
||||
+ <Star className="size-4 fill-current" />
|
||||
+ </div>
|
||||
+ <span>
|
||||
+ {/* MOCK: do podmiany */}
|
||||
+ 4,9/5 w Google · 500+ realizacji · 12 lat na rynku
|
||||
+ </span>
|
||||
+ </div>
|
||||
+ </div>
|
||||
+ </div>
|
||||
+ </section>
|
||||
+ );
|
||||
+}
|
||||
+5
-3
@@ -11,13 +11,13 @@ const cspHeader = `
|
||||
style-src 'self' 'unsafe-inline';
|
||||
img-src 'self' blob: data: https://images.unsplash.com https://placehold.co https://c.bing.com https://www.google-analytics.com;
|
||||
font-src 'self';
|
||||
connect-src 'self' https://www.google-analytics.com https://*.clarity.ms;
|
||||
connect-src 'self' ws: wss: https://www.google-analytics.com https://*.clarity.ms;
|
||||
frame-src 'self' https://www.google.com/recaptcha/ https://recaptcha.google.com/recaptcha/;
|
||||
object-src 'none';
|
||||
base-uri 'self';
|
||||
form-action 'self';
|
||||
frame-ancestors 'none';
|
||||
upgrade-insecure-requests;
|
||||
${process.env.NODE_ENV === 'production' ? 'upgrade-insecure-requests;' : ''}
|
||||
`.replace(/\s{2,}/g, ' ').trim();
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
@@ -41,8 +41,10 @@ const nextConfig: NextConfig = {
|
||||
{ key: 'X-XSS-Protection', value: '1; mode=block' },
|
||||
{ key: 'Referrer-Policy', value: 'strict-origin-when-cross-origin' },
|
||||
{ key: 'Content-Security-Policy', value: cspHeader },
|
||||
{ key: 'Strict-Transport-Security', value: 'max-age=31536000; includeSubDomains; preload' },
|
||||
{ key: 'Permissions-Policy', value: 'camera=(), microphone=(), geolocation=()' },
|
||||
...(process.env.NODE_ENV === 'production'
|
||||
? [{ key: 'Strict-Transport-Security', value: 'max-age=31536000; includeSubDomains; preload' }]
|
||||
: []),
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
+100
@@ -0,0 +1,100 @@
|
||||
import Link from "next/link";
|
||||
import Image from "next/image";
|
||||
import { ArrowRight, Star } from "lucide-react";
|
||||
|
||||
export interface HeroSectionProps {
|
||||
eyebrow?: string;
|
||||
title?: React.ReactNode;
|
||||
subtitle?: string;
|
||||
ctaText?: string;
|
||||
ctaLink?: string;
|
||||
secondaryCtaText?: string;
|
||||
secondaryCtaLink?: string;
|
||||
backgroundImage?: string;
|
||||
features?: string[];
|
||||
}
|
||||
|
||||
export function HeroSection({
|
||||
eyebrow = "Wrocław i Dolny Śląsk",
|
||||
title = (
|
||||
<>
|
||||
<span className="text-white">Klimatyzacja</span><br />
|
||||
<span className="text-accent">na Dolnym Śląsku</span>
|
||||
</>
|
||||
),
|
||||
subtitle = "Montaż, serwis i naprawa — przyjeżdżamy do Ciebie. Obsługujemy tam gdzie inni odmawiają, w tym klimatyzatory LG.",
|
||||
ctaText = "Darmowa wycena",
|
||||
ctaLink = "/kontakt",
|
||||
secondaryCtaText = "Zobacz ofertę",
|
||||
secondaryCtaLink = "/sklep",
|
||||
backgroundImage = "/images/hero/hero-section-image.webp",
|
||||
features
|
||||
}: HeroSectionProps = {}) {
|
||||
return (
|
||||
<section className="relative bg-primary min-h-[480px] md:min-h-[600px] flex items-center overflow-hidden max-w-[2560px] mx-auto">
|
||||
{/* TODO ZDJĘCIE HERO: realne zdjęcie firmy/montażu, format poziomy min. 1920×1080, plik public/hero.jpg */}
|
||||
<Image
|
||||
src={backgroundImage}
|
||||
alt="Montaż klimatyzacji i pomp ciepła"
|
||||
fill
|
||||
priority
|
||||
sizes="100vw"
|
||||
className="object-cover"
|
||||
/>
|
||||
|
||||
{/* NAKŁADKA POD TEKST - jednolita, przyciemniająca */}
|
||||
<div className="absolute inset-0 bg-black/50" />
|
||||
|
||||
<div className="relative z-10 w-full max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16 md:py-24">
|
||||
<div className="flex flex-col items-start text-left max-w-3xl">
|
||||
{/* Badge */}
|
||||
{eyebrow && (
|
||||
<div className="inline-flex items-center gap-1.5 px-3.5 py-1.5 rounded-full bg-accent/20 border border-accent/30 text-white text-xs font-semibold uppercase tracking-wider mb-6 font-heading">
|
||||
<span className="size-2 rounded-full bg-accent" />
|
||||
{eyebrow}
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Heading */}
|
||||
<h1 className="text-3xl md:text-5xl lg:text-6xl font-extrabold tracking-tight font-heading leading-[1.1] text-white">
|
||||
{title}
|
||||
</h1>
|
||||
|
||||
{/* Subtitle */}
|
||||
<p className="mt-6 text-base md:text-lg lg:text-xl text-white/90 max-w-2xl leading-relaxed">
|
||||
{subtitle}
|
||||
</p>
|
||||
|
||||
{/* Optional Features List */}
|
||||
{features && features.length > 0 && (
|
||||
<ul className="mt-6 grid grid-cols-2 gap-3 text-white/90 font-medium">
|
||||
{features.map((feature, idx) => (
|
||||
<li key={idx} className="flex items-center gap-2">
|
||||
<Star className="size-4 text-yellow-400 fill-yellow-400" />
|
||||
{feature}
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
)}
|
||||
|
||||
{/* CTA Buttons */}
|
||||
<div className="mt-10 flex flex-col sm:flex-row items-start sm:items-center gap-4 w-full sm:w-auto">
|
||||
{ctaText && ctaLink && (
|
||||
<Link href={ctaLink} className="w-fit sm:w-auto group btn btn-primary text-white font-bold px-8">
|
||||
<span>{ctaText}</span>
|
||||
<ArrowRight className="size-5 group-hover:translate-x-1 transition-transform" />
|
||||
</Link>
|
||||
)}
|
||||
{secondaryCtaText && secondaryCtaLink && (
|
||||
<Link href={secondaryCtaLink} className="w-fit sm:w-auto btn btn-outline bg-white/10 text-white border-white/20 hover:bg-white hover:text-primary font-bold px-8">
|
||||
<span>{secondaryCtaText}</span>
|
||||
</Link>
|
||||
)}
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
<svg fill="none" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.5 13.5V5.41a1 1 0 0 0-.3-.7L9.8.29A1 1 0 0 0 9.08 0H1.5v13.5A2.5 2.5 0 0 0 4 16h8a2.5 2.5 0 0 0 2.5-2.5m-1.5 0v-7H8v-5H3v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1M9.5 5V2.12L12.38 5zM5.13 5h-.62v1.25h2.12V5zm-.62 3h7.12v1.25H4.5zm.62 3h-.62v1.25h7.12V11z" clip-rule="evenodd" fill="#666" fill-rule="evenodd"/></svg>
|
||||
|
Before Width: | Height: | Size: 391 B |
@@ -1 +0,0 @@
|
||||
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.27 14.1a6.5 6.5 0 0 0 3.67-3.45q-1.24.21-2.7.34-.31 1.83-.97 3.1M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m.48-1.52a7 7 0 0 1-.96 0H7.5a4 4 0 0 1-.84-1.32q-.38-.89-.63-2.08a40 40 0 0 0 3.92 0q-.25 1.2-.63 2.08a4 4 0 0 1-.84 1.31zm2.94-4.76q1.66-.15 2.95-.43a7 7 0 0 0 0-2.58q-1.3-.27-2.95-.43a18 18 0 0 1 0 3.44m-1.27-3.54a17 17 0 0 1 0 3.64 39 39 0 0 1-4.3 0 17 17 0 0 1 0-3.64 39 39 0 0 1 4.3 0m1.1-1.17q1.45.13 2.69.34a6.5 6.5 0 0 0-3.67-3.44q.65 1.26.98 3.1M8.48 1.5l.01.02q.41.37.84 1.31.38.89.63 2.08a40 40 0 0 0-3.92 0q.25-1.2.63-2.08a4 4 0 0 1 .85-1.32 7 7 0 0 1 .96 0m-2.75.4a6.5 6.5 0 0 0-3.67 3.44 29 29 0 0 1 2.7-.34q.31-1.83.97-3.1M4.58 6.28q-1.66.16-2.95.43a7 7 0 0 0 0 2.58q1.3.27 2.95.43a18 18 0 0 1 0-3.44m.17 4.71q-1.45-.12-2.69-.34a6.5 6.5 0 0 0 3.67 3.44q-.65-1.27-.98-3.1" fill="#666"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg>
|
||||
|
Before Width: | Height: | Size: 1.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 98 KiB |
@@ -1 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 394 80"><path fill="#000" d="M262 0h68.5v12.7h-27.2v66.6h-13.6V12.7H262V0ZM149 0v12.7H94v20.4h44.3v12.6H94v21h55v12.6H80.5V0h68.7zm34.3 0h-17.8l63.8 79.4h17.9l-32-39.7 32-39.6h-17.9l-23 28.6-23-28.6zm18.3 56.7-9-11-27.1 33.7h17.8l18.3-22.7z"/><path fill="#000" d="M81 79.3 17 0H0v79.3h13.6V17l50.2 62.3H81Zm252.6-.4c-1 0-1.8-.4-2.5-1s-1.1-1.6-1.1-2.6.3-1.8 1-2.5 1.6-1 2.6-1 1.8.3 2.5 1a3.4 3.4 0 0 1 .6 4.3 3.7 3.7 0 0 1-3 1.8zm23.2-33.5h6v23.3c0 2.1-.4 4-1.3 5.5a9.1 9.1 0 0 1-3.8 3.5c-1.6.8-3.5 1.3-5.7 1.3-2 0-3.7-.4-5.3-1s-2.8-1.8-3.7-3.2c-.9-1.3-1.4-3-1.4-5h6c.1.8.3 1.6.7 2.2s1 1.2 1.6 1.5c.7.4 1.5.5 2.4.5 1 0 1.8-.2 2.4-.6a4 4 0 0 0 1.6-1.8c.3-.8.5-1.8.5-3V45.5zm30.9 9.1a4.4 4.4 0 0 0-2-3.3 7.5 7.5 0 0 0-4.3-1.1c-1.3 0-2.4.2-3.3.5-.9.4-1.6 1-2 1.6a3.5 3.5 0 0 0-.3 4c.3.5.7.9 1.3 1.2l1.8 1 2 .5 3.2.8c1.3.3 2.5.7 3.7 1.2a13 13 0 0 1 3.2 1.8 8.1 8.1 0 0 1 3 6.5c0 2-.5 3.7-1.5 5.1a10 10 0 0 1-4.4 3.5c-1.8.8-4.1 1.2-6.8 1.2-2.6 0-4.9-.4-6.8-1.2-2-.8-3.4-2-4.5-3.5a10 10 0 0 1-1.7-5.6h6a5 5 0 0 0 3.5 4.6c1 .4 2.2.6 3.4.6 1.3 0 2.5-.2 3.5-.6 1-.4 1.8-1 2.4-1.7a4 4 0 0 0 .8-2.4c0-.9-.2-1.6-.7-2.2a11 11 0 0 0-2.1-1.4l-3.2-1-3.8-1c-2.8-.7-5-1.7-6.6-3.2a7.2 7.2 0 0 1-2.4-5.7 8 8 0 0 1 1.7-5 10 10 0 0 1 4.3-3.5c2-.8 4-1.2 6.4-1.2 2.3 0 4.4.4 6.2 1.2 1.8.8 3.2 2 4.3 3.4 1 1.4 1.5 3 1.5 5h-5.8z"/></svg>
|
||||
|
Before Width: | Height: | Size: 1.3 KiB |
@@ -1 +0,0 @@
|
||||
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1155 1000"><path d="m577.3 0 577.4 1000H0z" fill="#fff"/></svg>
|
||||
|
Before Width: | Height: | Size: 128 B |
@@ -1 +0,0 @@
|
||||
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.5 2.5h13v10a1 1 0 0 1-1 1h-11a1 1 0 0 1-1-1zM0 1h16v11.5a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 0 12.5zm3.75 4.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5M7 4.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0m1.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5" fill="#666"/></svg>
|
||||
|
Before Width: | Height: | Size: 385 B |
Reference in New Issue
Block a user