canina/frontend/application/app/contact/page.tsx
parsaaghayi bd49fbc4a0
Some checks failed
Deploy Canina / deploy (push) Successful in 2m25s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 7s
fix(security): remediate audit vulnerabilities SEC-001 through SEC-023
2026-09-23 23:00:25 +03:30

68 lines
2.6 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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>
</>
);
}