Update src/app/layout.tsx

This commit is contained in:
2026-03-26 14:24:44 +00:00
parent 40de9347cb
commit ca58f1dca8

View File

@@ -1,24 +1,60 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Archivo } from "next/font/google";
import "./globals.css";
import "@/lib/gsap-setup";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Archivo } from "next/font/google";
export const metadata: Metadata = {
title: "Webild components 2",
description: "Generated by create next app",
};
const archivo = Archivo({
variable: "--font-archivo", subsets: ["latin"]
variable: "--font-archivo",
subsets: ["latin"]
});
export const metadata: Metadata = {
title: "SynapseAI: Advanced AI Platform",
description: "Our advanced AI platform empowers you to innovate, create, and scale faster than ever before. Experience the future of intelligent automation, creative generation, and data insights.",
keywords: ["AI", "artificial intelligence", "platform", "innovation", "data", "automation", "machine learning", "deep learning", "enterprise AI", "SynapseAI"],
metadataBase: new URL(process.env.NEXT_PUBLIC_SITE_URL || 'http://localhost:3000'),
openGraph: {
title: "SynapseAI: Advanced AI Platform",
description: "Our advanced AI platform empowers you to innovate, create, and scale faster than ever before. Experience the future of intelligent automation, creative generation, and data insights.",
url: new URL(process.env.NEXT_PUBLIC_SITE_URL || 'http://localhost:3000'),
siteName: "SynapseAI",
images: [
{
url: "/og-image.jpg", // Placeholder, ideally a generated image
width: 1200,
height: 630,
alt: "SynapseAI Platform"
}
],
locale: "en_US",
type: "website",
},
twitter: {
card: "summary_large_image",
title: "SynapseAI: Advanced AI Platform",
description: "Our advanced AI platform empowers you to innovate, create, and scale faster than ever before. Experience the future of intelligent automation, creative generation, and data insights.",
creator: "@SynapseAI",
images: ["/twitter-image.jpg"] // Placeholder
},
robots: {
index: true,
follow: true,
googleBot: {
index: true,
follow: true,
"max-video-preview": -1,
"max-image-preview": "large",
"max-snippet": -1,
},
},
alternates: {
canonical: '/',
},
};
export default function RootLayout({
children,
}: Readonly<{
@@ -27,7 +63,9 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${archivo.variable} antialiased`}>
<body
className={`${archivo.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -39,4 +77,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}