Update src/app/layout.tsx

This commit is contained in:
2026-03-17 02:37:27 +00:00
parent 1a01af7a4f
commit 947f017385

View File

@@ -1,18 +1,22 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Inter_Tight } 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 { Inter_Tight } 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 interTight = Inter_Tight({
variable: "--font-inter-tight",
@@ -20,6 +24,39 @@ const interTight = Inter_Tight({
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
});
export const metadata: Metadata = {
title: "GCM School Library Management System | Barcode & Offline-First",
description: "Complete library management solution with barcode scanning, offline-first architecture, ISBN cataloging, and real-time circulation tracking for schools.",
keywords: "library management, barcode scanning, ISBN cataloging, offline-first, book inventory, school library, circulation management",
metadataBase: new URL("https://library.gcm.edu.in"),
alternates: {
canonical: "https://library.gcm.edu.in",
},
openGraph: {
title: "GCM School Library Management System",
description: "Streamline your school library with barcode-based management, offline operation, and comprehensive circulation control.",
url: "https://library.gcm.edu.in",
siteName: "GCM Library System",
images: [
{
url: "http://img.b2bpic.net/free-photo/young-man-managing-his-bike-business_23-2149039068.jpg",
alt: "GCM Library Management Dashboard",
},
],
type: "website",
},
twitter: {
card: "summary_large_image",
title: "GCM School Library Management System",
description: "Efficient library management with offline-first reliability and barcode automation.",
images: ["http://img.b2bpic.net/free-photo/young-man-managing-his-bike-business_23-2149039068.jpg"],
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: Readonly<{
@@ -28,7 +65,9 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${interTight.variable} antialiased`}>
<body
className={`${halant.variable} ${inter.variable} ${interTight.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -40,4 +79,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}