Switch to version 1: modified src/app/layout.tsx
This commit is contained in:
@@ -1,20 +1,52 @@
|
||||
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 inter = Inter({ variable: "--font-inter", subsets: ["latin"] });
|
||||
const halant = Halant({
|
||||
variable: "--font-halant", subsets: ["latin"],
|
||||
weight: ["300", "400", "500", "600", "700"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
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."};
|
||||
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,
|
||||
},
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
}: Readonly<{
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
}>) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body className={`${inter.variable} antialiased`}>{children}
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1382,6 +1414,7 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user