Update src/app/layout.tsx
This commit is contained in:
@@ -1,62 +1,33 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Manrope } from "next/font/google";
|
||||
import { DM_Sans } from "next/font/google";
|
||||
import { Halant } 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";
|
||||
import { ServiceWrapper } from "@/providers/serviceWrapper/ServiceWrapper";
|
||||
import { Tag } from "@/utils/tag";
|
||||
|
||||
const manrope = Manrope({
|
||||
variable: "--font-manrope", subsets: ["latin"],
|
||||
const geist = Geist({
|
||||
variable: "--font-geist-sans", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const dmSans = DM_Sans({
|
||||
variable: "--font-dm-sans", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const halant = Halant({
|
||||
variable: "--font-halant", subsets: ["latin"],
|
||||
weight: ["300", "400", "500", "600", "700"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
const geistMono = Geist_Mono({
|
||||
variable: "--font-geist-mono", subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "OBAID Nursery Farm Baloo | Premium Plants & Fruit Trees", description: "High-quality plants, persimmon trees, and fruit saplings in Nowshera. Trusted by farmers and plant lovers. ⭐4.9 rated. Call +92 313 9554161", keywords: "plant nursery Nowshera, fruit trees Pakistan, persimmon plants, nursery farm Peshawar, plants Baloo, garden plants KPK", metadataBase: new URL("https://obaidnursery.com"),
|
||||
alternates: {
|
||||
canonical: "https://obaidnursery.com"
|
||||
},
|
||||
openGraph: {
|
||||
title: "OBAID Nursery Farm Baloo | Premium Plants & Fruit Trees", description: "High-quality plants, persimmon trees, and fruit saplings in Nowshera. Trusted by farmers and plant lovers.", url: "https://obaidnursery.com", siteName: "OBAID Nursery Farm", type: "website", images: [{
|
||||
url: "http://img.b2bpic.net/free-photo/beautiful-view-field-covered-green-grass-captured-canggu-bali_181624-7666.jpg", alt: "OBAID Nursery Farm Premium Plants"
|
||||
}]
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "OBAID Nursery Farm Baloo | Premium Plants & Fruit Trees", description: "High-quality plants and fruit trees. Call +92 313 9554161", images: ["http://img.b2bpic.net/free-photo/beautiful-view-field-covered-green-grass-captured-canggu-bali_181624-7666.jpg"]
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true
|
||||
}
|
||||
};
|
||||
title: "Baidar G Restaurant Admin Panel", description: "Admin dashboard for managing restaurant menu, orders, and operations"};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${manrope.variable} ${dmSans.variable} ${halant.variable} ${inter.variable} antialiased`}
|
||||
>
|
||||
<body className={`${geist.variable} ${geistMono.variable}`}>
|
||||
<ServiceWrapper>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
</ServiceWrapper>
|
||||
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1424,7 +1395,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user