68 lines
2.6 KiB
TypeScript
68 lines
2.6 KiB
TypeScript
import type { Metadata } from "next";
|
||
import ContactFormClient from "@/components/ContactFormClient";
|
||
import { getPageMetadata } from "@/lib/seo";
|
||
|
||
export async function generateMetadata(): Promise<Metadata> {
|
||
return getPageMetadata('contact', {
|
||
canonicalPath: '/contact',
|
||
fallbackTitle: 'تماس با ما و مشاوره تخصصی دامپزشکی',
|
||
fallbackDesc: 'راههای ارتباطی با دفتر مرکزی کنینا ایران، مشاوره تلفنی رایگان، پشتیبانی آنلاین و نشانی.',
|
||
});
|
||
}
|
||
|
||
import { generateLocalBusinessSchema, generateBreadcrumbSchema, safeJsonLd } from "@/lib/schema";
|
||
|
||
export default function ContactPage() {
|
||
const localBusinessSchema = generateLocalBusinessSchema({
|
||
name: 'کنینا ایران',
|
||
url: 'https://canina.ir',
|
||
telephone: '+989211231517',
|
||
address: {
|
||
streetAddress: 'تهران، جردن، خیابان سعیدی، ساختمان کنینا، طبقه ۵، واحد ۱۹',
|
||
addressLocality: 'تهران',
|
||
addressRegion: 'تهران',
|
||
postalCode: '1967812345',
|
||
addressCountry: 'IR',
|
||
},
|
||
});
|
||
|
||
const breadcrumbs = generateBreadcrumbSchema([
|
||
{ name: 'صفحه اصلی', url: 'https://canina.ir' },
|
||
{ name: 'تماس با ما', url: 'https://canina.ir/contact' },
|
||
]);
|
||
|
||
return (
|
||
<>
|
||
<script
|
||
type="application/ld+json"
|
||
dangerouslySetInnerHTML={{ __html: safeJsonLd(localBusinessSchema) }}
|
||
/>
|
||
<script
|
||
type="application/ld+json"
|
||
dangerouslySetInnerHTML={{ __html: safeJsonLd(breadcrumbs) }}
|
||
/>
|
||
<div className="bg-medical-gray-50 py-16 px-4 sm:px-6 lg:px-8 font-vazir" dir="rtl">
|
||
<div className="max-w-6xl mx-auto space-y-16">
|
||
|
||
{/* Title */}
|
||
<div className="text-center space-y-4">
|
||
<span className="inline-flex items-center gap-2 px-4 py-2 bg-canina-blue/5 border border-canina-blue/10 rounded-full text-canina-blue text-xs font-black uppercase tracking-widest">
|
||
پاسخگوی شما هستیم
|
||
</span>
|
||
<h1 className="text-4xl lg:text-5xl font-black text-medical-gray-900 leading-tight">
|
||
تماس با <span className="text-canina-blue italic">کنینا ایران</span>
|
||
</h1>
|
||
<p className="text-lg text-medical-gray-500 max-w-2xl mx-auto leading-relaxed">
|
||
جهت مشاوره تخصصی، خرید عمده و پیگیری سفارشات با ما در ارتباط باشید.
|
||
</p>
|
||
</div>
|
||
|
||
<ContactFormClient />
|
||
|
||
</div>
|
||
</div>
|
||
</>
|
||
);
|
||
}
|
||
|