Switch to version 1: modified src/app/layout.tsx
This commit is contained in:
@@ -1,21 +1,47 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Open_Sans } from "next/font/google";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
import "./globals.css";
|
||||
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
const openSans = Open_Sans({
|
||||
variable: "--font-open-sans",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "مطعم النجمه والهلال", description: "أفضل تجربة إفطار مصري أصيل. مفتوح 24 ساعة"
|
||||
title: "مطعم النجمه والهلال - أفضل إفطار مصري مفتوح 24 ساعة",
|
||||
description: "مطعم النجمه والهلال - أفضل تجربة إفطار مصري أصيل بمكونات طازجة. مفتوح 24 ساعة. اتصل الآن: 01148126838",
|
||||
keywords: "إفطار مصري, مطعم مصري, فلافل, كشري, شكشوكة, مطعم 24 ساعة, الدسوقي",
|
||||
openGraph: {
|
||||
title: "مطعم النجمه والهلال - إفطار مصري مميز 24 ساعة",
|
||||
description: "تمتع بأفضل الأطباق المصرية الأصيلة في مطعم النجمه والهلال. مفتوح طوال اليوم والليل",
|
||||
type: "website",
|
||||
siteName: "مطعم النجمه والهلال",
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "مطعم النجمه والهلال - إفطار مصري",
|
||||
description: "أفضل مطعم إفطار مصري مفتوح 24 ساعة",
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
}: Readonly<{
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
}>) {
|
||||
return (
|
||||
<html lang="ar" dir="rtl">
|
||||
<body className={inter.className}>{children}
|
||||
<html lang="ar" dir="rtl" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body className={`${openSans.variable} antialiased`}>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1383,6 +1409,7 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user