Update src/app/layout.tsx

This commit is contained in:
2026-03-07 15:36:00 +00:00
parent e1e4f4fca2
commit e2f8a32fce

View File

@@ -1,52 +1,20 @@
import type { Metadata } from "next";
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";
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const inter = Inter({ variable: "--font-inter", subsets: ["latin"] });
export const metadata: Metadata = {
title: "DevFlow - Modern SaaS Development Platform", description: "Build powerful APIs in minutes with DevFlow. Deploy production-ready backends with zero infrastructure headaches. Trusted by 5,000+ developers worldwide.", keywords: "SaaS development, API platform, backend as a service, developer tools, cloud infrastructure", metadataBase: new URL("https://devflow.example.com"),
alternates: {
canonical: "https://devflow.example.com"},
openGraph: {
title: "DevFlow - Build Powerful APIs in Minutes", description: "The modern platform for SaaS development. Deploy production-ready backends with zero infrastructure headaches.", url: "https://devflow.example.com", siteName: "DevFlow", type: "website", images: [
{
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Acga3gZMuJ1u5NFOmdV5iuAkfE/professional-headshot-of-a-young-female--1772897523639-f9c1a001.png", alt: "DevFlow Platform Dashboard"},
],
},
twitter: {
card: "summary_large_image", title: "DevFlow - Build Powerful APIs in Minutes", description: "The modern platform for SaaS development", images: ["https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Acga3gZMuJ1u5NFOmdV5iuAkfE/professional-headshot-of-a-young-female--1772897523639-f9c1a001.png"],
},
robots: {
index: true,
follow: true,
},
};
title: "DevFlow - Build Powerful APIs in Minutes", description: "DevFlow is the modern platform for SaaS development. Deploy production-ready backends with zero infrastructure headaches. Trusted by 5,000+ developers worldwide."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={`${inter.variable} antialiased`}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1414,7 +1382,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}