Update src/app/layout.tsx
This commit is contained in:
@@ -1,51 +1,28 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Mulish } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Geist, Geist_Mono } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
|
||||
const mulish = Mulish({
|
||||
variable: "--font-mulish", subsets: ["latin"],
|
||||
const geist = Geist({
|
||||
variable: "--font-geist-sans", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
const geistMono = Geist_Mono({
|
||||
variable: "--font-geist-mono", subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Nefis Kebab - Meilleur Kebab à Maurecourt", description: "Découvrez le meilleur kebab à Maurecourt. Ingrédients frais, cuisine turque authentique, accueil chaleureux. Commandez en ligne ou appelez: 01 39 27 85 32", keywords: "kebab Maurecourt, restaurant Maurecourt, kebab near me, cuisine turque, brochettes agneau, merguez", metadataBase: new URL("https://nefis-kebab.local"),
|
||||
alternates: {
|
||||
canonical: "https://nefis-kebab.local"},
|
||||
openGraph: {
|
||||
title: "Nefis Kebab - Le Meilleur Kebab de Maurecourt", description: "Ingrédients frais, recettes authentiques turques, service amical. Commandez maintenant!", url: "https://nefis-kebab.local", siteName: "Nefis Kebab", type: "website", images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/top-view-sliced-delicious-shaurma-meat-sandwich-with-bread-vegetables-black-table_140725-104373.jpg", alt: "Nefis Kebab - Fresh Grilled Kebab"},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "Nefis Kebab - Meilleur Kebab à Maurecourt", description: "Ingrédients frais, authenticité, accueil chaleureux", images: ["http://img.b2bpic.net/free-photo/top-view-sliced-delicious-shaurma-meat-sandwich-with-bread-vegetables-black-table_140725-104373.jpg"],
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
title: "Create Next app", description: "Generated by create next app"};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${mulish.variable} ${inter.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
|
||||
{children}
|
||||
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1413,7 +1390,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user