Update src/app/layout.tsx

This commit is contained in:
2026-03-06 17:41:42 +00:00
parent 1cc950413f
commit b637d7f565

View File

@@ -1,74 +1,28 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Mulish } from "next/font/google";
import { Geist, Geist_Mono } 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 geist = Geist({
variable: "--font-geist-sans", subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const mulish = Mulish({
variable: "--font-mulish",
subsets: ["latin"],
const geistMono = Geist_Mono({
variable: "--font-geist-mono", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "AICompare - Compare AI Tools & Find Your Perfect Solution",
description: "Discover and compare the best AI tools. Unbiased reviews, detailed comparisons, pricing analysis, and performance benchmarks for ChatGPT, Claude, Gemini, and 50+ more.",
keywords: "AI tool comparison, compare AI tools, AI comparison platform, AI reviews, ChatGPT vs Claude, AI pricing",
metadataBase: new URL("https://aicompare.io"),
alternates: {
canonical: "https://aicompare.io",
},
openGraph: {
title: "AICompare - AI Tool Comparison Platform",
description: "Compare 50+ AI tools with detailed features, pricing, and user reviews. Find the perfect AI solution.",
url: "https://aicompare.io",
siteName: "AICompare",
type: "website",
images: [
{
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Aa6B6Nab987RVltEHQ53KP70Jb/modern-ai-comparison-dashboard-with-mult-1772818372312-1145f4c8.png",
alt: "AICompare platform dashboard",
},
],
},
twitter: {
card: "summary_large_image",
title: "AICompare - Compare AI Tools Instantly",
description: "Comprehensive AI tool comparison platform with 50+ tools, unbiased reviews, and detailed comparisons.",
images: ["https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Aa6B6Nab987RVltEHQ53KP70Jb/modern-ai-comparison-dashboard-with-mult-1772818372312-1145f4c8.png"],
},
robots: {
index: true,
follow: true,
},
};
title: "AICompare - AI Tool Comparison Platform", description: "Compare AI tools side-by-side with our comprehensive comparison platform. Find the perfect AI tool for your needs."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${mulish.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={`${geist.variable} ${geistMono.variable}`}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1436,7 +1390,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}
}