refactor: unify domain and contact emails to canina.ir across all apps and seeds
Deploy Canina / deploy (push) Successful in 1m55s

This commit is contained in:
parsa aghaei committed 2026-08-19 11:52:36 +03:30
1 parent bc011f4407
commit 6eb45cd467
33 files changed
+662 -665

No files matched your search

+1 -1
View File
@@ -8,4 +8,4 @@ This version has breaking changes — APIs, conventions, and file structure may
نام برند رسمی «**کنینا**» / «**Canina**» است (نه «کانینو» / «Canino»). در سرتاسر پروژه باید از Canina / کنینا استفاده شود.
- CSS class names: `canina-blue`, `canina-gold`, `canina-teal`, `canina-dark`
- Store/cookie names: `canina-user`, `canina-cart`, `canina-pets`
- URL `https://canino-iran.com` (domain name, بدون تغییر می‌ماند)
- URL `https://canina.ir` (domain name)
+1 -1
View File
@@ -10,7 +10,7 @@ export const metadata: Metadata = {
openGraph: {
title: "درباره ما - کنینا ایران",
description: "داستان کنینا ایران و میراث ۴۰ ساله شرکت Canina pharma GmbH آلمان در تولید مکمل‌های فوق‌تخصصی دامپزشکی.",
url: "https://canina-iran.com/about",
url: "https://canina.ir/about",
siteName: "کنینا ایران",
locale: "fa_IR",
type: "website",
+1 -1
View File
@@ -10,7 +10,7 @@ export const metadata: Metadata = {
openGraph: {
title: "مجله سلامت حیوانات خانگی - کنینا ایران",
description: "آخرین مقالات، آموزش‌ها و اخبار علمی در زمینه نگهداری، تغذیه و سلامت سگ و گربه.",
url: "https://canina-iran.com/blog",
url: "https://canina.ir/blog",
siteName: "کنینا ایران",
locale: "fa_IR",
type: "website",
+1 -1
View File
@@ -10,7 +10,7 @@ export const metadata: Metadata = {
openGraph: {
title: "کاتالوگ رسمی مکمل‌های درمانی Canina Pharma Germany",
description: "دانلود و مشاهده آنلاین کاتالوگ مکمل‌های دارویی حیوانات خانگی کنینا آلمان",
url: "https://canina-iran.com/catalog",
url: "https://canina.ir/catalog",
siteName: "کنینا ایران",
locale: "fa_IR",
type: "website",
+1 -1
View File
@@ -10,7 +10,7 @@ export const metadata: Metadata = {
openGraph: {
title: "تماس با ما - کنینا ایران",
description: "راه‌های ارتباطی با نمایندگی رسمی مکمل‌های دامپزشکی کنینا در ایران.",
url: "https://canina-iran.com/contact",
url: "https://canina.ir/contact",
siteName: "کنینا ایران",
locale: "fa_IR",
type: "website",
+3 -3
View File
@@ -21,7 +21,7 @@ export async function generateMetadata(): Promise<Metadata> {
console.error('[SEO] Error fetching dynamic SEO settings:', err);
}
const siteUrl = seoSettings?.canonicalBaseUrl || process.env.NEXT_PUBLIC_SITE_URL || 'https://canina-iran.com';
const siteUrl = seoSettings?.canonicalBaseUrl || process.env.NEXT_PUBLIC_SITE_URL || 'https://canina.ir';
const titleDefault = seoSettings?.defaultMetaTitle || 'کنینا ایران - مکمل‌های درمانی حیوانات خانگی با گرید دارویی اختصاصی';
const descriptionDefault = seoSettings?.defaultMetaDescription || 'تدارک هوشمندانه سلامت برای همراهان وفادار شما. کنینا ایران واردکننده انحصاری مکمل‌های درمانی با گرید دارویی اختصاصی از آلمان.';
@@ -118,13 +118,13 @@ export default function RootLayout({
'@context': 'https://schema.org',
'@type': 'Organization',
name: 'کنینا ایران',
url: 'https://canina-iran.com',
url: 'https://canina.ir',
logo: 'https://canina.de/media/fb/d5/47/1683116813/Logo.png',
contactPoint: {
'@type': 'ContactPoint',
telephone: '+98-21-88884444',
contactType: 'customer service',
email: 'info@canina-iran.com',
email: 'info@canina.ir',
areaServed: 'IR',
availableLanguage: 'Persian'
}
+1 -1
View File
@@ -10,7 +10,7 @@ export const metadata: Metadata = {
openGraph: {
title: "کنینا ایران - مکمل‌های درمانی حیوانات خانگی با گرید دارویی اختصاصی",
description: "واردکننده انحصاری مکمل‌های درمانی با گرید دارویی اختصاصی از آلمان",
url: "https://canina-iran.com",
url: "https://canina.ir",
siteName: "کنینا ایران",
locale: "fa_IR",
type: "website",
+1 -1
View File
@@ -10,7 +10,7 @@ export const metadata: Metadata = {
openGraph: {
title: "حریم خصوصی کاربران - کنینا ایران",
description: "سیاست‌های حفاظت از اطلاعات شخصی کاربران در وب‌سایت کنینا ایران.",
url: "https://canina-iran.com/privacy",
url: "https://canina.ir/privacy",
siteName: "کنینا ایران",
locale: "fa_IR",
type: "website",
+1 -1
View File
@@ -1,7 +1,7 @@
import { MetadataRoute } from 'next';
export default function robots(): MetadataRoute.Robots {
const baseUrl = process.env.NEXT_PUBLIC_SITE_URL || 'https://canina-iran.com';
const baseUrl = process.env.NEXT_PUBLIC_SITE_URL || 'https://canina.ir';
const isStaging =
process.env.NEXT_PUBLIC_APP_ENV === 'staging' ||
process.env.NODE_ENV !== 'production' ||
@@ -48,7 +48,7 @@ export default async function ShopProductPage({ params }: { params: Promise<{ sl
return <ProductPage productSlug={resolvedParams.slug} />;
}
const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || 'https://canina-iran.com';
const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || 'https://canina.ir';
const productUrl = `${siteUrl}/shop/${resolvedParams.slug}`;
const priceInRial = product.priceValue * 10;
+1 -1
View File
@@ -10,7 +10,7 @@ export const metadata: Metadata = {
openGraph: {
title: "فروشگاه تخصصی مکمل‌های دارویی - کنینا ایران",
description: "خرید آنلاین انواع مکمل‌های درمانی، مفاصل و استخوان، گوارش و ایمنی، ویتامین‌ها و مراقبت‌های ویژه سگ و گربه.",
url: "https://canina-iran.com/shop",
url: "https://canina.ir/shop",
siteName: "کنینا ایران",
locale: "fa_IR",
type: "website",
+1 -1
View File
@@ -3,7 +3,7 @@ import { productService } from '../lib/services/productService';
import { PRODUCTS } from '../lib/data/products';
export default async function sitemap(): Promise<MetadataRoute.Sitemap> {
const baseUrl = process.env.NEXT_PUBLIC_SITE_URL || 'https://canina-iran.com';
const baseUrl = process.env.NEXT_PUBLIC_SITE_URL || 'https://canina.ir';
// Static routes
const staticRoutes: MetadataRoute.Sitemap = [
@@ -2,7 +2,7 @@ import Link from 'next/link';
import { ChevronRight } from 'lucide-react';
import type { Metadata } from 'next';
const API_URL = process.env.NEXT_PUBLIC_API_URL || 'https://apicanina.parsaaghayi.ir';
const API_URL = process.env.NEXT_PUBLIC_API_URL || 'https://api.canina.ir';
async function getWikiTerm(key: string) {
try {
+1 -1
View File
@@ -11,7 +11,7 @@ export const metadata: Metadata = {
openGraph: {
title: "دانشنامه ترکیبات دارویی و علمی - کنینا ایران",
description: "اطلاعات کامل در مورد مواد موثره، ویتامین‌ها و ترکیبات گیاهی به کار رفته در محصولات تخصصی کنینا ایران.",
url: "https://canina-iran.com/wiki",
url: "https://canina.ir/wiki",
siteName: "کنینا ایران",
locale: "fa_IR",
type: "website",
@@ -136,7 +136,7 @@ export default function ContactFormClient() {
<h4 className="text-xs font-black text-medical-gray-400 uppercase tracking-wider mb-1">
پست الکترونیک
</h4>
<p className="text-sm font-black text-medical-gray-900">info@canina-iran.com</p>
<p className="text-sm font-black text-medical-gray-900">info@canina.ir</p>
<p className="text-xs text-medical-gray-500 font-bold">
پاسخگویی در کمتر از ۲۴ ساعت کاری
</p>
-4
View File
@@ -29,10 +29,6 @@ const nextConfig: NextConfig = {
protocol: 'https',
hostname: 'stageapi.canina.ir',
},
{
protocol: 'https',
hostname: 'canina-iran.com',
},
{
protocol: 'https',
hostname: 'apicanina.parsaaghayi.ir',