feat: complete website implementation

This commit is contained in:
Radosław Smoliński
2026-06-21 21:53:15 +02:00
parent b147112bdc
commit dfd3888517
110 changed files with 18276 additions and 217 deletions
+32 -12
View File
@@ -1,20 +1,29 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import { Inter, Poppins } from "next/font/google";
import { Header } from "@/components/layout/Header";
import { TrustBar } from "@/components/layout/TrustBar";
import { Footer } from "@/components/layout/Footer";
import { GoogleAnalytics, GoogleTagManager } from "@next/third-parties/google";
import "./globals.css";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
const fontSans = Inter({
variable: "--font-sans",
subsets: ["latin", "latin-ext"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
const fontHeading = Poppins({
variable: "--font-heading",
weight: ["400", "500", "600", "700", "800"],
subsets: ["latin", "latin-ext"],
});
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
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"),
};
export default function RootLayout({
@@ -24,10 +33,21 @@ export default function RootLayout({
}>) {
return (
<html
lang="en"
className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}
lang="pl"
className={`${fontSans.variable} ${fontHeading.variable} h-full antialiased`}
>
<body className="min-h-full flex flex-col">{children}</body>
{process.env.NEXT_PUBLIC_GTM_ID && (
<GoogleTagManager gtmId={process.env.NEXT_PUBLIC_GTM_ID} />
)}
<body className="min-h-full flex flex-col bg-background text-foreground">
<Header />
<main className="flex-grow">{children}</main>
<TrustBar />
<Footer />
{process.env.NEXT_PUBLIC_GA_ID && (
<GoogleAnalytics gaId={process.env.NEXT_PUBLIC_GA_ID} />
)}
</body>
</html>
);
}