Update src/app/layout.tsx

This commit is contained in:
2026-03-05 09:32:50 +00:00
parent 27eda07eaa
commit dc1cc1bf55

View File

@@ -1,53 +1,20 @@
import type { Metadata } from "next";
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";
const montserrat = Montserrat({
variable: "--font-montserrat", subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "ConnectHub - Professional Communication Platform", description: "Connect beautifully with seamless chat and HD calling. Enterprise-grade security, crystal-clear quality. Join 500K+ users communicating on ConnectHub.", keywords: "communication platform, chat app, video calling, team messaging, secure messaging, business communication", metadataBase: new URL("https://connecthub.io"),
alternates: {
canonical: "https://connecthub.io"
},
openGraph: {
title: "ConnectHub - Professional Communication Platform", description: "Experience the next generation of communication with crystal-clear chat and calling.", url: "https://connecthub.io", siteName: "ConnectHub", type: "website", images: [
{
url: "http://img.b2bpic.net/free-photo/team-working-together-project_23-2149325483.jpg", alt: "ConnectHub communication platform"
}
]
},
twitter: {
card: "summary_large_image", title: "ConnectHub - Professional Communication Platform", description: "Connect beautifully with seamless chat and HD calling.", images: ["http://img.b2bpic.net/free-photo/team-working-together-project_23-2149325483.jpg"]
},
robots: {
index: true,
follow: true
}
};
title: "ConnectHub - Premium Communication Platform", description: "Experience the next generation of communication with crystal-clear chat and calling. Built for teams, designed for connection."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${montserrat.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={inter.className}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1415,7 +1382,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}