Update src/app/layout.tsx

This commit is contained in:
2026-03-05 16:06:48 +00:00
parent db8dcac102
commit 0bdd2575de

View File

@@ -1,54 +1,17 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Mulish } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const mulish = Mulish({
variable: "--font-mulish", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "NiaFoods - Fresh Groceries & Food Delivery in Nairobi", description: "Premium grocery supplier and food delivery service in Nairobi. Fresh produce, wholesale supply, and quality food items delivered to your door.", keywords: "groceries, food delivery, fresh produce, wholesale, Nairobi, Kenya, food supplier", openGraph: {
title: "NiaFoods - Fresh Groceries & Food Delivery", description: "Your trusted food supplier in Nairobi with fast delivery and premium quality products.", siteName: "NiaFoods", type: "website", images: [
{
url: "http://img.b2bpic.net/free-photo/omelette-with-sausages-cereal_23-2147693882.jpg", alt: "Fresh NiaFoods Products"},
],
},
twitter: {
card: "summary_large_image", title: "NiaFoods - Fresh Groceries & Food Delivery", description: "Premium grocery supplier in Nairobi with fast, reliable delivery.", images: ["http://img.b2bpic.net/free-photo/omelette-with-sausages-cereal_23-2147693882.jpg"],
},
robots: {
index: true,
follow: true,
},
};
title: "NiaFoods Limited - Fresh Groceries & Food Supplies in Nairobi", description: "Premium fresh produce, quality food items, and reliable delivery service across Nairobi."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${mulish.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1416,7 +1379,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}
}