Update src/app/layout.tsx

This commit is contained in:
2026-03-20 17:12:16 +00:00
parent a9eab2e756
commit d804524b53

View File

@@ -1,18 +1,22 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Roboto } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Roboto } from "next/font/google";
const halant = Halant({
variable: "--font-halant",
subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
export const metadata: Metadata = {
title: "Webild components 2",
description: "Generated by create next app",
};
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const roboto = Roboto({
variable: "--font-roboto",
@@ -20,6 +24,39 @@ const roboto = Roboto({
weight: ["100", "300", "400", "500", "700", "900"],
});
export const metadata: Metadata = {
title: "ZPHU Welmar - Obróbka Metalu CNC Międzyrzecz",
description: "Profesjonalna obróbka metalu i tworzyw CNC w Międzyrzeczu. Toczenie, frezowanie, spawanie TIG/MAG. Szybka wycena, precyzja, terminowość. Zadzwoń teraz!",
keywords: "obróbka metalu Międzyrzecz, CNC Międzyrzecz, toczenie CNC, frezowanie CNC, spawanie TIG MAG, obróbka tworzyw, metal machining Poland",
metadataBase: new URL("https://welmar.pl"),
alternates: {
canonical: "https://welmar.pl",
},
openGraph: {
title: "ZPHU Welmar - Profesjonalna Obróbka Metalu CNC",
description: "Precyzja, doświadczenie i szybka realizacja. Zadzwoń teraz na +48 (95) 123-4567",
type: "website",
siteName: "ZPHU Welmar",
url: "https://welmar.pl",
images: [
{
url: "http://img.b2bpic.net/free-photo/working-process-steel-factory_140725-7627.jpg",
alt: "ZPHU Welmar CNC Machining",
},
],
},
twitter: {
card: "summary_large_image",
title: "ZPHU Welmar - Obróbka Metalu CNC",
description: "Profesjonalne usługi toczenia, frezowania i spawania. Międzyrzecz.",
images: ["http://img.b2bpic.net/free-photo/working-process-steel-factory_140725-7627.jpg"],
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: Readonly<{
@@ -28,7 +65,9 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${roboto.variable} antialiased`}>
<body
className={`${halant.variable} ${inter.variable} ${roboto.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -40,4 +79,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}