Update src/app/layout.tsx
This commit is contained in:
@@ -1,32 +1,31 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Poppins } from "next/font/google";
|
import { Source_Code_Pro } from "next/font/google";
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||||
import Tag from "@/tag/Tag";
|
import Tag from "@/tag/Tag";
|
||||||
|
|
||||||
const poppins = Poppins({
|
const sourceCodePro = Source_Code_Pro({
|
||||||
variable: "--font-poppins",
|
variable: "--font-source-code-pro",
|
||||||
subsets: ["latin"],
|
subsets: ["latin"],
|
||||||
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
|
|
||||||
});
|
});
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "2 - Premium Specialty Coffee",
|
title: "1 - Premium Specialty Coffee",
|
||||||
description: "Discover exceptional specialty coffee at 2. Premium beans, expert baristas, welcoming atmosphere.",
|
description: "Discover exceptional specialty coffee at 1. Premium beans, expert baristas, welcoming atmosphere.",
|
||||||
keywords: ["specialty coffee", "coffee shop", "espresso", "cafe", "artisan coffee"],
|
keywords: ["specialty coffee", "coffee shop", "espresso", "cafe", "artisan coffee"],
|
||||||
robots: {
|
robots: {
|
||||||
index: true,
|
index: true,
|
||||||
follow: true,
|
follow: true,
|
||||||
},
|
},
|
||||||
openGraph: {
|
openGraph: {
|
||||||
title: "2 - Premium Specialty Coffee",
|
title: "1 - Premium Specialty Coffee",
|
||||||
description: "Discover exceptional specialty coffee at 2",
|
description: "Discover exceptional specialty coffee at 1",
|
||||||
siteName: "2",
|
siteName: "1",
|
||||||
type: "website",
|
type: "website",
|
||||||
images: [
|
images: [
|
||||||
{
|
{
|
||||||
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766749013962-htnou8d4.jpg",
|
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766749013962-htnou8d4.jpg",
|
||||||
alt: "2 coffee",
|
alt: "1 coffee",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@@ -41,7 +40,7 @@ export default function RootLayout({
|
|||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en" suppressHydrationWarning>
|
||||||
<ServiceWrapper>
|
<ServiceWrapper>
|
||||||
<body
|
<body
|
||||||
className={poppins.variable}
|
className={sourceCodePro.variable}
|
||||||
>
|
>
|
||||||
<Tag />
|
<Tag />
|
||||||
{children}
|
{children}
|
||||||
@@ -1267,4 +1266,4 @@ export default function RootLayout({
|
|||||||
</ServiceWrapper>
|
</ServiceWrapper>
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user