Build the RTL Next.js experience with live catalog, journal, customer interactions, and SEO-ready canonical routes. Co-authored-by: Cursor <cursoragent@cursor.com>
39 lines
1.0 KiB
TypeScript
39 lines
1.0 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { AuthProvider } from "@/components/auth-provider";
|
|
import { Footer } from "@/components/footer";
|
|
import { Header } from "@/components/header";
|
|
import { MotionObserver } from "@/components/motion-observer";
|
|
import "./globals.css";
|
|
|
|
export const metadata: Metadata = {
|
|
metadataBase: new URL("https://glassmond.com"),
|
|
title: {
|
|
default: "آینه هوشمند گلسموند",
|
|
template: "%s | گلسموند",
|
|
},
|
|
description:
|
|
"تولیدکننده آینههای هوشمند، ضد بخار و آرایشی با استاندارد IP64، گارانتی یکساله و ده سال خدمات پس از فروش.",
|
|
icons: {
|
|
icon: "/images/logo.png",
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="fa" dir="rtl">
|
|
<body>
|
|
<AuthProvider>
|
|
<MotionObserver />
|
|
<Header />
|
|
<main>{children}</main>
|
|
<Footer />
|
|
</AuthProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|