Update src/app/layout.tsx
This commit is contained in:
@@ -1,24 +1,61 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Figtree } 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 { Figtree } 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 figtree = Figtree({
|
||||
variable: "--font-figtree",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Makss un Morics - Authentic Pizza in Riga, Latvia",
|
||||
description: "Authentic Neapolitan pizza made with imported ingredients in Riga. Order online or visit our restaurant at Biķernieku iela 57. Open daily 12-11 PM.",
|
||||
keywords: "pizza Riga, authentic pizza, Neapolitan pizza, Italian restaurant Latvia, pizza delivery Riga, pizza takeout",
|
||||
metadataBase: new URL("https://makssunmorics.lv"),
|
||||
alternates: {
|
||||
canonical: "https://makssunmorics.lv",
|
||||
},
|
||||
openGraph: {
|
||||
title: "Makss un Morics - Authentic Pizza in Riga",
|
||||
description: "Experience authentic Neapolitan pizza made fresh in our wood-fired oven. Order online or visit us today!",
|
||||
url: "https://makssunmorics.lv",
|
||||
siteName: "Makss un Morics",
|
||||
type: "website",
|
||||
images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/top-view-pizza-topping-arrangement_23-2148601651.jpg",
|
||||
alt: "Makss un Morics Authentic Pizza",
|
||||
},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "Makss un Morics - Authentic Pizza in Riga",
|
||||
description: "Fresh authentic pizza made daily. Order now!",
|
||||
images: ["http://img.b2bpic.net/free-photo/top-view-pizza-topping-arrangement_23-2148601651.jpg"],
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
@@ -27,7 +64,9 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body className={`${figtree.variable} antialiased`}>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${figtree.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
<script
|
||||
@@ -39,4 +78,4 @@ export default function RootLayout({
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user