From 6bdfe18e18a61241abd3a464cf1ed5f80fd37c2b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rados=C5=82aw=20Smoli=C5=84ski?=
<188348702+rasm-its@users.noreply.github.com>
Date: Mon, 22 Jun 2026 00:45:57 +0200
Subject: [PATCH] fix: ui tweaks including button styles, texts, and missing
account link
---
app/layout.tsx | 19 +++-----
components/forms/ContactForm.tsx | 3 +-
components/layout/Footer.tsx | 14 ++++--
components/layout/Header.tsx | 8 ---
components/sections/HeroSection.tsx | 4 +-
components/sections/Testimonials.tsx | 4 +-
components/ui/AnalyticsWrapper.tsx | 26 ++++++++++
components/ui/CookieSettingsTrigger.tsx | 16 ++++++
content/process.ts | 2 +-
lib/consent-store.ts | 65 +++++++++++++++++++++++++
10 files changed, 129 insertions(+), 32 deletions(-)
create mode 100644 components/ui/AnalyticsWrapper.tsx
create mode 100644 components/ui/CookieSettingsTrigger.tsx
create mode 100644 lib/consent-store.ts
diff --git a/app/layout.tsx b/app/layout.tsx
index 01811e7..e9a1e88 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -4,27 +4,23 @@ import { Header } from "@/components/layout/Header";
import { TrustBar } from "@/components/layout/TrustBar";
import { Footer } from "@/components/layout/Footer";
import { CookieBanner } from "@/components/ui/CookieBanner";
-import { GoogleAnalytics, GoogleTagManager } from "@next/third-parties/google";
+import { AnalyticsWrapper } from "@/components/ui/AnalyticsWrapper";
import "./globals.css";
const fontSans = Inter({
+ subsets: ["latin"],
variable: "--font-sans",
- subsets: ["latin", "latin-ext"],
});
const fontHeading = Poppins({
- variable: "--font-heading",
+ subsets: ["latin"],
weight: ["400", "500", "600", "700", "800"],
- subsets: ["latin", "latin-ext"],
+ variable: "--font-heading",
});
export const metadata: Metadata = {
- title: {
- default: "Klimatyzacja, pompy ciepła i usługi domowe",
- template: "%s | HVAC & Usługi Domowe",
- },
- description: "Montaż klimatyzacji, pompy ciepła, remonty i hydraulika. Dobór, montaż i serwis. Darmowa konsultacja.",
- metadataBase: new URL("http://localhost:3000"),
+ title: "ThermCool | Klimatyzacja i Pompy Ciepła",
+ description: "Zapewniamy profesjonalny montaż klimatyzacji, pomp ciepła oraz kompleksowe usługi remontowo-wykończeniowe. Sprawdź naszą ofertę!",
};
export default function RootLayout({
@@ -37,14 +33,13 @@ export default function RootLayout({
lang="pl"
className={`${fontSans.variable} ${fontHeading.variable} h-full antialiased`}
>
-