Update src/app/layout.tsx
This commit is contained in:
@@ -1,28 +1,57 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Montserrat, Inter } from "next/font/google";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
||||
import { Montserrat } from "next/font/google";
|
||||
|
||||
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Webild components 2",
|
||||
description: "Generated by create next app",
|
||||
};
|
||||
|
||||
const montserrat = Montserrat({
|
||||
variable: "--font-montserrat",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
const halant = Halant({
|
||||
variable: "--font-halant",
|
||||
subsets: ["latin"],
|
||||
weight: ["300", "400", "500", "600", "700"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Diesel - Enterprise Software Platform",
|
||||
description: "Enterprise-grade software that scales with your business. Real-time analytics, 500+ integrations, 99.99% uptime, and bank-grade security.",
|
||||
keywords: "enterprise software, business platform, analytics, integration, scalable solutions",
|
||||
openGraph: {
|
||||
title: "Diesel - Enterprise Software Platform",
|
||||
description: "Transform your operations with enterprise software built for scale.",
|
||||
siteName: "Diesel",
|
||||
type: "website",
|
||||
images: [
|
||||
{
|
||||
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ar14Romu8cXPoV1qZTRMemg0LL/a-sophisticated-enterprise-software-dash-1773335761706-27964fdb.png",
|
||||
alt: "Diesel enterprise software dashboard",
|
||||
},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "Diesel - Enterprise Software Platform",
|
||||
description: "Enterprise-grade software that scales with your business.",
|
||||
images: [
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ar14Romu8cXPoV1qZTRMemg0LL/a-sophisticated-enterprise-software-dash-1773335761706-27964fdb.png",
|
||||
],
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
@@ -31,16 +60,18 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body className={`${montserrat.variable} ${inter.variable} antialiased`}>
|
||||
<body
|
||||
className={`${montserrat.variable} ${inter.variable} ${halant.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `${getVisualEditScript()}`
|
||||
}}
|
||||
/>
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `${getVisualEditScript()}`,
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user