feat: Zaktualizuj sekcję hero, nawigację, kalkulator i formularz zgłoszenia awarii

This commit is contained in:
MichalC
2026-06-28 15:03:36 +02:00
parent 002a325dfb
commit 59808f1243
22 changed files with 1465 additions and 345 deletions
+22 -14
View File
@@ -2,7 +2,7 @@
import { useState, useEffect } from "react";
import Link from "next/link";
import { User, ShoppingBag, Menu, Phone } from "lucide-react";
import { User, ShoppingBag, Menu, Phone, Wrench } from "lucide-react";
import { NavDropdown } from "./NavDropdown";
import { GlobalSearch } from "./GlobalSearch";
import { MobileMenu } from "./MobileMenu";
@@ -164,24 +164,24 @@ export function Header() {
sections={acSections}
align="left"
/>
<NavDropdown
label="Miasta"
sections={miastaSections}
align="left"
/>
<Link
href="/pompy-ciepla"
className="text-sm font-medium text-primary hover:text-accent transition-colors"
>
Pompy ciepła
</Link>
<NavDropdown
label="Miasta"
sections={miastaSections}
align="left"
/>
<Link
href="/realizacje"
href="/kalkulator"
className="text-sm font-medium text-primary hover:text-accent transition-colors"
>
Realizacje
Dobór urządzenia
</Link>
<Link
href="/blog"
className="text-sm font-medium text-primary hover:text-accent transition-colors"
@@ -203,11 +203,19 @@ export function Header() {
</nav>
{/* CTA Button */}
<Link href="/kontakt" className="hidden lg:flex">
<button className="btn btn-primary font-bold">
Darmowa wycena
</button>
</Link>
<div className="hidden lg:flex items-center gap-3">
<Link href="/zgloszenie-awarii">
<button className="flex items-center gap-1.5 px-4 py-2 bg-red-500 text-white rounded-xl font-bold text-sm hover:bg-red-600 transition-colors whitespace-nowrap">
<Wrench className="size-4" />
Zgłoś awarię
</button>
</Link>
<Link href="/kontakt">
<button className="btn btn-primary font-bold">
Darmowa wycena
</button>
</Link>
</div>
</div>
</header>