Update src/app/layout.tsx
This commit is contained in:
@@ -1,18 +1,22 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Halant } from "next/font/google";
|
import { Halant } from "next/font/google";
|
||||||
import { Inter } from "next/font/google";
|
import { Inter } from "next/font/google";
|
||||||
|
import { Poppins } 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";
|
||||||
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
||||||
import { Poppins } from "next/font/google";
|
|
||||||
|
|
||||||
|
const halant = Halant({
|
||||||
|
variable: "--font-halant",
|
||||||
|
subsets: ["latin"],
|
||||||
|
weight: ["300", "400", "500", "600", "700"],
|
||||||
|
});
|
||||||
|
|
||||||
|
const inter = Inter({
|
||||||
export const metadata: Metadata = {
|
variable: "--font-inter",
|
||||||
title: "Webild components 2",
|
subsets: ["latin"],
|
||||||
description: "Generated by create next app",
|
});
|
||||||
};
|
|
||||||
|
|
||||||
const poppins = Poppins({
|
const poppins = Poppins({
|
||||||
variable: "--font-poppins",
|
variable: "--font-poppins",
|
||||||
@@ -20,6 +24,30 @@ const poppins = Poppins({
|
|||||||
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
|
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
|
||||||
});
|
});
|
||||||
|
|
||||||
|
export const metadata: Metadata = {
|
||||||
|
title: "Marlils Studio – Contemporary Creative Design",
|
||||||
|
description: "Marlils is a contemporary creative studio specializing in interior design, graphic design, branding, and custom objects. Founded by Laura and Maria.",
|
||||||
|
keywords: "interior design, graphic design, branding, custom objects, creative studio, design services",
|
||||||
|
openGraph: {
|
||||||
|
title: "Marlils Studio – Contemporary Creative Design",
|
||||||
|
description: "Contemporary creative studio creating spaces and identities meant to be lived in, not just admired.",
|
||||||
|
siteName: "Marlils Studio",
|
||||||
|
type: "website",
|
||||||
|
images: [
|
||||||
|
{
|
||||||
|
url: "http://img.b2bpic.net/free-photo/minimalist-modern-vases-books-arrangement_23-2149681092.jpg",
|
||||||
|
alt: "Marlils Studio",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
twitter: {
|
||||||
|
card: "summary_large_image",
|
||||||
|
title: "Marlils Studio – Contemporary Creative Design",
|
||||||
|
description: "Contemporary creative studio specializing in interior design, graphic design, and branding.",
|
||||||
|
images: ["http://img.b2bpic.net/free-photo/minimalist-modern-vases-books-arrangement_23-2149681092.jpg"],
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: Readonly<{
|
}: Readonly<{
|
||||||
@@ -28,7 +56,9 @@ export default function RootLayout({
|
|||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en" suppressHydrationWarning>
|
||||||
<ServiceWrapper>
|
<ServiceWrapper>
|
||||||
<body className={`${poppins.variable} antialiased`}>
|
<body
|
||||||
|
className={`${halant.variable} ${inter.variable} ${poppins.variable} antialiased`}
|
||||||
|
>
|
||||||
<Tag />
|
<Tag />
|
||||||
{children}
|
{children}
|
||||||
<script
|
<script
|
||||||
@@ -40,4 +70,4 @@ export default function RootLayout({
|
|||||||
</ServiceWrapper>
|
</ServiceWrapper>
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user