Update src/app/layout.tsx

This commit is contained in:
2026-03-18 14:55:44 +00:00
parent 83602cf312
commit 74e17ef32b

View File

@@ -1,24 +1,63 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Nunito } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Nunito } from "next/font/google";
const halant = Halant({
variable: "--font-halant",
subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
export const metadata: Metadata = {
title: "Webild components 2",
description: "Generated by create next app",
};
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const nunito = Nunito({
variable: "--font-nunito",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "ReadAI - Intelligent PDF Book Reader",
description: "Experience the future of reading with ReadAI. AI-powered PDF book reader with comfortable reading modes, smart summaries, and multi-language support. Read smarter, read better.",
keywords: "PDF reader, ebook reader, AI summaries, book reader app, intelligent reading",
metadataBase: new URL("https://readai.com"),
alternates: {
canonical: "https://readai.com",
},
openGraph: {
title: "ReadAI - Intelligent PDF Book Reader",
description: "Transform your reading with AI-powered summaries, comfortable reading modes, and an organized library. The smartest way to read PDFs.",
url: "https://readai.com",
siteName: "ReadAI",
type: "website",
images: [
{
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B7ga6riEyo1UF2uwbMoLaWuNfy/a-modern-clean-pdf-book-reader-interface-1773845687798-565f43cf.png",
alt: "ReadAI PDF Reader Interface",
},
],
},
twitter: {
card: "summary_large_image",
title: "ReadAI - Intelligent PDF Book Reader",
description: "The future of reading is here. AI-powered summaries, custom reading modes, and perfect PDF preservation.",
images: [
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B7ga6riEyo1UF2uwbMoLaWuNfy/a-modern-clean-pdf-book-reader-interface-1773845687798-565f43cf.png",
],
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: Readonly<{
@@ -27,7 +66,9 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${nunito.variable} antialiased`}>
<body
className={`${halant.variable} ${inter.variable} ${nunito.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -39,4 +80,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}