- Fix seed-products.ts TS error (implicit any) and BOM handling - Re-run full seed to restore correct Persian encoding in DB - Fix productService query→search param mismatch - Fix IngredientWiki hardcoded port 4000→use settingsStore - Restore seed-products-data.json from git after accidental corruption
82 lines
2.6 KiB
TypeScript
82 lines
2.6 KiB
TypeScript
import type { Metadata } from 'next';
|
|
import './globals.css';
|
|
import ClientLayout from './ClientLayout';
|
|
|
|
export const metadata: Metadata = {
|
|
metadataBase: new URL(process.env.NEXT_PUBLIC_SITE_URL || 'https://canino-iran.com'),
|
|
title: {
|
|
template: '%s | کانینا ایران',
|
|
default: 'کانینا ایران - مکملهای درمانی حیوانات خانگی',
|
|
},
|
|
description: 'تدارک هوشمندانه سلامت برای همراهان وفادار شما. کانینا ایران واردکننده انحصاری مکملهای درمانی با گرید دارویی اختصاصی از آلمان.',
|
|
keywords: ['مکمل حیوانات خانگی', 'مکمل سگ', 'مکمل گربه', 'کانینا', 'داروی حیوانات', 'Canina Iran'],
|
|
authors: [{ name: 'Canina Iran' }],
|
|
creator: 'Canina Iran',
|
|
publisher: 'Canina Iran',
|
|
formatDetection: {
|
|
email: false,
|
|
address: false,
|
|
telephone: false,
|
|
},
|
|
openGraph: {
|
|
title: 'کانینا ایران - مکملهای درمانی حیوانات خانگی',
|
|
description: 'واردکننده انحصاری مکملهای درمانی با گرید دارویی اختصاصی از آلمان',
|
|
url: 'https://canino-iran.com',
|
|
siteName: 'کانینا ایران',
|
|
locale: 'fa_IR',
|
|
type: 'website',
|
|
},
|
|
twitter: {
|
|
card: 'summary_large_image',
|
|
title: 'کانینا ایران',
|
|
description: 'مکملهای درمانی حیوانات خانگی کانینا',
|
|
},
|
|
robots: {
|
|
index: true,
|
|
follow: true,
|
|
googleBot: {
|
|
index: true,
|
|
follow: true,
|
|
'max-video-preview': -1,
|
|
'max-image-preview': 'large',
|
|
'max-snippet': -1,
|
|
},
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
const jsonLd = {
|
|
'@context': 'https://schema.org',
|
|
'@type': 'Organization',
|
|
name: 'کانینا ایران',
|
|
url: 'https://canino-iran.com',
|
|
logo: 'https://canina.de/media/fb/d5/47/1683116813/Logo.png',
|
|
contactPoint: {
|
|
'@type': 'ContactPoint',
|
|
telephone: '+98-21-88884444',
|
|
contactType: 'customer service',
|
|
email: 'info@canino-iran.com',
|
|
areaServed: 'IR',
|
|
availableLanguage: 'Persian'
|
|
}
|
|
};
|
|
|
|
return (
|
|
<html lang="fa" dir="rtl">
|
|
<body className="min-h-screen bg-medical-gray-50 font-sans">
|
|
<script
|
|
type="application/ld+json"
|
|
dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }}
|
|
/>
|
|
<ClientLayout>
|
|
{children}
|
|
</ClientLayout>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|