77 lines
2.3 KiB
TypeScript
77 lines
2.3 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Montserrat, Inter } from "next/font/google";
|
|
import { Halant } from "next/font/google";
|
|
import "./globals.css";
|
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
import Tag from "@/tag/Tag";
|
|
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
|
|
|
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<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<ServiceWrapper>
|
|
<body
|
|
className={`${montserrat.variable} ${inter.variable} ${halant.variable} antialiased`}
|
|
>
|
|
<Tag />
|
|
{children}
|
|
<script
|
|
dangerouslySetInnerHTML={{
|
|
__html: `${getVisualEditScript()}`,
|
|
}}
|
|
/>
|
|
</body>
|
|
</ServiceWrapper>
|
|
</html>
|
|
);
|
|
} |