Update src/app/layout.tsx

This commit is contained in:
2026-03-07 08:25:20 +00:00
parent 6f9ab59baf
commit 4461cc87fd

View File

@@ -1,74 +1,25 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Montserrat } 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"],
});
import "./styles/variables.css";
import "./styles/base.css";
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const montserrat = Montserrat({
variable: "--font-montserrat",
subsets: ["latin"],
variable: "--font-inter", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "AuthVault - Enterprise Secure Authentication System",
description: "Military-grade secure authentication with bcrypt encryption, 2FA, session management, and SQL injection protection. Trusted by enterprises worldwide.",
keywords: "secure authentication, login system, 2FA, two-factor authentication, password hashing, bcrypt, session management, SQL injection protection",
metadataBase: new URL("https://example.com"),
alternates: {
canonical: "https://example.com",
},
openGraph: {
title: "AuthVault - Enterprise Secure Authentication",
description: "Military-grade encryption and advanced security features for enterprise authentication.",
url: "https://example.com",
siteName: "AuthVault",
type: "website",
images: [
{
url: "http://img.b2bpic.net/free-photo/software-developers-using-laptop-data-center-managing-server-virtualization_482257-122525.jpg",
alt: "Secure authentication dashboard",
},
],
},
twitter: {
card: "summary_large_image",
title: "AuthVault - Secure Authentication System",
description: "Enterprise-grade authentication with military-grade encryption and 2FA.",
images: ["http://img.b2bpic.net/free-photo/software-developers-using-laptop-data-center-managing-server-virtualization_482257-122525.jpg"],
},
robots: {
index: true,
follow: true,
},
};
title: "AuthVault - Secure Authentication", description: "Enterprise-grade secure authentication system with military-grade encryption and two-factor authentication."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${montserrat.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={`${inter.variable} antialiased`}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1436,7 +1387,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}
}