83 lines
2.6 KiB
TypeScript
83 lines
2.6 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Halant } from "next/font/google";
|
|
import { Inter } from "next/font/google";
|
|
import { Public_Sans } from "next/font/google";
|
|
import "./globals.css";
|
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
import Tag from "@/tag/Tag";
|
|
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
|
|
|
const halant = Halant({
|
|
variable: "--font-halant",
|
|
subsets: ["latin"],
|
|
weight: ["300", "400", "500", "600", "700"],
|
|
});
|
|
|
|
const inter = Inter({
|
|
variable: "--font-inter",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const publicSans = Public_Sans({
|
|
variable: "--font-public-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Authentix: Universal Product Authentication Platform | Anti-Counterfeiting",
|
|
description: "Verify product authenticity instantly with encrypted digital tags. Empower consumers, retailers, customs, and institutions with universal QR code verification.",
|
|
keywords: "product authentication, QR code verification, anti-counterfeiting, digital tags, authenticity verification, counterfeit detection",
|
|
metadataBase: new URL("https://authentix.io"),
|
|
alternates: {
|
|
canonical: "https://authentix.io",
|
|
},
|
|
openGraph: {
|
|
title: "Authentix - Universal Product Authentication",
|
|
description: "Instantly verify genuine products with encrypted digital authentication tags",
|
|
url: "https://authentix.io",
|
|
siteName: "Authentix",
|
|
type: "website",
|
|
images: [
|
|
{
|
|
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApK36kyn1kwVNKLOdLba9gIgOn/a-modern-dashboard-interface-showing-qr--1773284090792-762c55bf.png",
|
|
alt: "Product verification dashboard",
|
|
},
|
|
],
|
|
},
|
|
twitter: {
|
|
card: "summary_large_image",
|
|
title: "Authentix - Verify Product Authenticity",
|
|
description: "Universal QR code authentication platform for brands, retailers, and consumers",
|
|
images: [
|
|
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApK36kyn1kwVNKLOdLba9gIgOn/a-modern-dashboard-interface-showing-qr--1773284090792-762c55bf.png",
|
|
],
|
|
},
|
|
robots: {
|
|
index: true,
|
|
follow: true,
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<ServiceWrapper>
|
|
<body
|
|
className={`${halant.variable} ${inter.variable} ${publicSans.variable} antialiased`}
|
|
>
|
|
<Tag />
|
|
{children}
|
|
<script
|
|
dangerouslySetInnerHTML={{
|
|
__html: `${getVisualEditScript()}`
|
|
}}
|
|
/>
|
|
</body>
|
|
</ServiceWrapper>
|
|
</html>
|
|
);
|
|
} |