Update src/app/layout.tsx

This commit is contained in:
2026-03-05 12:46:26 +00:00
parent 16cf3860ef
commit 729bb42f44

View File

@@ -1,54 +1,24 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Inter_Tight } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import "./styles/variables.css";
import "./styles/base.css";
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const interTight = Inter_Tight({
variable: "--font-inter-tight", subsets: ["latin"],
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
});
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Hydraulik Pruszków | HYDROFOBIA Usługi 24/7", description: "Profesjonalne usługi hydrauliczne w Pruszkowie. Szybka pomoc, uczciwe ceny, 5.0 opinii. Dostępni 24/7 do nagłych awarii. Zadzwoń: 501 979 478", keywords: "hydraulik Pruszków, usługi hydrauliczne, naprawa rur, montaż armatury, wodę Piastów, Ursus, Raszyn", robots: {
index: true,
follow: true,
},
openGraph: {
title: "Hydraulik Pruszków | HYDROFOBIA", description: "Solidne usługi hydrauliczne. Szybki dojazd, jasna wycena i trwała naprawa.", type: "website", siteName: "HYDROFOBIA", images: [
{
url: "http://img.b2bpic.net/free-photo/wrench-flexible-connector-dark-table_23-2147772298.jpg", alt: "Profesjonalne usługi hydrauliczne"},
],
},
twitter: {
card: "summary_large_image", title: "Hydraulik Pruszków | HYDROFOBIA", description: "Solidne usługi hydrauliczne. Szybki dojazd, jasna wycena i trwała naprawa."},
};
title: "ElectriPro - Electrical Services", description: "Professional electrical services for residential and commercial needs"};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${interTight.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={inter.className}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1416,7 +1386,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}