Update src/app/layout.tsx
This commit is contained in:
@@ -1,54 +1,28 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Nunito_Sans } 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 halant = Halant({
|
||||
variable: "--font-halant", subsets: ["latin"],
|
||||
weight: ["300", "400", "500", "600", "700"],
|
||||
const geist = Geist({
|
||||
variable: "--font-geist-sans", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const nunitoSans = Nunito_Sans({
|
||||
variable: "--font-nunito-sans", subsets: ["latin"],
|
||||
const geistMono = Geist_Mono({
|
||||
variable: "--font-geist-mono", subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Mix - Recipes, Cooking Tips & Meal Planning for Home Cooks", description: "Discover authentic recipes, master cooking techniques, plan nutritious meals, and learn about quality ingredients on Mix. Your trusted culinary guide for home cooking.", keywords: "recipes, cooking tips, meal planning, ingredient guides, home cooking, culinary techniques, food blog", openGraph: {
|
||||
title: "Mix - Your Culinary Companion for Home Cooking", description: "Explore recipes, cooking tips, meal planning, and ingredient guides designed for home cooks of all levels.", siteName: "Mix", type: "website", images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/front-view-chef-squeezing-lemon-raw-fish-slices-knife-cutting-board-vegetables-wood-serving-board-kitchen-table_179666-44306.jpg", alt: "Mix - Recipes and Cooking Guide"},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "Mix - Recipes, Tips & Meal Planning", description: "Your trusted guide for home cooking success. Discover recipes, techniques, and meal planning ideas.", images: ["http://img.b2bpic.net/free-photo/front-view-chef-squeezing-lemon-raw-fish-slices-knife-cutting-board-vegetables-wood-serving-board-kitchen-table_179666-44306.jpg"],
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
title: "Mix - Your Culinary Companion", description: "Discover authentic recipes, master cooking techniques, plan nutritious meals, and learn about quality ingredients."};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${nunitoSans.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
|
||||
{children}
|
||||
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1416,7 +1390,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user