Update src/app/layout.tsx
This commit is contained in:
@@ -1,18 +1,22 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Poppins } 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 { Poppins } 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 poppins = Poppins({
|
||||
variable: "--font-poppins",
|
||||
@@ -20,6 +24,41 @@ const poppins = Poppins({
|
||||
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Odhady nemovitostí Slaný | Ing. Nožička",
|
||||
description: "Profesionální znalecké posudky pro banky, prodej a dědictví. Rychlá realizace do 5 dní. 100+ úspěšných odhad. Certifikovaný znalec v Slaném.",
|
||||
keywords: "odhad nemovitosti Slaný, znalecký posudek, odhad pro hypotéku, odhad domu Slaný",
|
||||
metadataBase: new URL("https://odhady-nozicka.cz"),
|
||||
alternates: {
|
||||
canonical: "https://odhady-nozicka.cz",
|
||||
},
|
||||
openGraph: {
|
||||
title: "Odhady nemovitostí Slaný | Profesionální znalecké posudky",
|
||||
description: "Certifikovaný odhadce. Rychlé odhady pro banky, prodej, dědictví. Slaný a okolí.",
|
||||
url: "https://odhady-nozicka.cz",
|
||||
siteName: "Ing. Ondřej Nožička",
|
||||
type: "website",
|
||||
images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/medium-shot-women-working-together_23-2149145157.jpg",
|
||||
alt: "Profesionální odhad nemovitosti",
|
||||
},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "Odhady nemovitostí Slaný",
|
||||
description: "Profesionální znalecké posudky do 5 dní",
|
||||
images: [
|
||||
"http://img.b2bpic.net/free-photo/medium-shot-women-working-together_23-2149145157.jpg",
|
||||
],
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
@@ -28,7 +67,9 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body className={`${poppins.variable} antialiased`}>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${poppins.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
<script
|
||||
@@ -40,4 +81,4 @@ export default function RootLayout({
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user