Files
cd533b1e-bdb4-40ff-a1ad-475…/src/app/layout.tsx
2026-03-16 18:20:39 +00:00

82 lines
2.6 KiB
TypeScript

import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Montserrat } 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";
const halant = Halant({
variable: "--font-halant",
subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const montserrat = Montserrat({
variable: "--font-montserrat",
subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "DevPlatform - All-in-One Development Platform",
description: "Build, deploy, and scale applications faster with integrated development tools, AI-powered features, and enterprise infrastructure management.",
keywords: "development platform, DevOps, cloud computing, AI-powered development, full-stack development",
metadataBase: new URL("https://devplatform.dev"),
alternates: {
canonical: "https://devplatform.dev",
},
openGraph: {
title: "DevPlatform - All-in-One Development Platform",
description: "Transform your development workflow with portable environments, multi-LLM integration, and enterprise infrastructure tools.",
type: "website",
siteName: "DevPlatform",
images: [
{
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B2QgD03BGzZCcdct8OQoSGmHLm/a-sleek-modern-software-development-plat-1773685170875-ebd384df.png",
alt: "DevPlatform Dashboard",
},
],
},
twitter: {
card: "summary_large_image",
title: "DevPlatform - All-in-One Development Platform",
description: "Build, deploy, and scale applications faster with integrated development tools.",
images: [
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B2QgD03BGzZCcdct8OQoSGmHLm/a-sleek-modern-software-development-plat-1773685170875-ebd384df.png",
],
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${montserrat.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}