@@ -1501,6 +1537,18 @@ export default function SmsSettingsPage() {
+
{
+ handleOpenAddRuleModal(p.id, 'ORDER_PAID', `ارسال الگو ${p.id} - ${p.title}`);
+ }}
+ className="px-2.5 py-1.5 bg-purple-50 text-purple-700 hover:bg-purple-100 rounded-lg text-xs font-bold transition-colors border border-purple-200 flex items-center gap-1"
+ title="ایجاد سناریوی پیامک جدید با این الگو (مثلاً برای مشتری، مدیر، یا شرکت ارسال)"
+ >
+
+ افزودن به سناریوها
+
+
{
if (e.target.value) {
@@ -1510,15 +1558,16 @@ export default function SmsSettingsPage() {
}}
defaultValue=""
className="text-[11px] font-bold bg-gray-50 border border-gray-200 rounded-lg p-1.5 text-gray-700 outline-none hover:border-purple-300"
+ title="تنظیم به عنوان الگوی پیشفرض سیستمی"
>
- انتساب به رویداد...
+ الگوی پیشفرض...
- کد تایید OTP
- تایید ثبت سفارش
- کد رهگیری پست
- درخواست همکار B2B
- یادآور پرونده سلامت پت
+ پیشفرض: کد تایید OTP
+ پیشفرض: تایید ثبت سفارش
+ پیشفرض: کد رهگیری پست
+ پیشفرض: درخواست همکار B2B
+ پیشفرض: یادآور پرونده سلامت پت
= {
- 'تنظیمات کاتالوگمود و حالت صیانت': [
- 'maintenance_mode',
- 'maintenance_title',
- 'maintenance_desc',
- 'maintenance_eta',
- 'maintenance_contact_phone',
- 'maintenance_badge',
- 'catalog_mode',
- 'catalog_hide_prices',
- 'catalog_disable_cart',
- 'catalog_disable_checkout',
- ],
- 'هدر و ناوبری': [
- 'shipping_notice',
- 'brand_name_fa',
- 'brand_subtitle',
- 'nav_solutions',
- 'nav_products',
- 'nav_wiki',
- 'nav_blog',
- 'nav_pet_profiles',
- 'nav_search_placeholder',
- 'nav_search_button',
- 'nav_pet_switcher_title',
- 'nav_register_pet',
- 'nav_wallet_orders',
- 'nav_logout',
- 'nav_login',
- 'nav_cart',
- ],
- 'بنر اصلی (Hero)': [
- 'hero_badge',
- 'hero_title',
- 'hero_desc',
- 'hero_btn_advisor',
- 'hero_btn_products',
- 'hero_image_badge',
- 'hero_image_title',
- 'hero_quality_standard',
- 'hero_image_url',
- 'hero_stat_founded',
- 'hero_stat_agencies',
- 'hero_stat_german_formula',
- ],
- 'دستیار سلامت': [
- 'advisor_badge',
- 'advisor_title',
- 'advisor_subtitle',
- 'advisor_step1_title',
- 'advisor_step1_desc',
- 'advisor_pet_name_label',
- 'advisor_pet_name_placeholder',
- 'advisor_pet_breed_label',
- 'advisor_pet_breed_placeholder',
- 'advisor_submit_btn',
- 'advisor_validation_warning',
- 'advisor_step2_title',
- 'advisor_step2_desc',
- 'advisor_age_label',
- 'advisor_weight_label',
- 'advisor_activity_label',
- 'advisor_back',
- 'advisor_next_final',
- 'advisor_step3_title',
- 'advisor_step3_desc',
- 'advisor_complete',
- ],
- 'محصولات برگزیده': [
- 'featured_badge',
- 'featured_title_line1',
- 'featured_title_line2',
- 'featured_desc',
- 'featured_view_all',
- 'product_view_details',
- 'featured_no_products_title',
- 'featured_no_products_desc',
- ],
- 'ویدئوها': [
- 'videos_badge',
- 'videos_title',
- 'videos_title_highlight',
- 'videos_desc',
- 'videos_view_all',
- ],
- 'کارتهای ناوبری': [
- 'nav_card_shop_title',
- 'nav_card_shop_desc',
- 'nav_card_shop_cta',
- 'nav_card_wiki_title',
- 'nav_card_wiki_desc',
- 'nav_card_wiki_cta',
- ],
- 'درباره ما': [
- 'about_label',
- 'about_title',
- 'about_item1_title',
- 'about_item1_desc',
- 'about_item2_title',
- 'about_item2_desc',
- 'about_item3_title',
- 'about_item3_desc',
- ],
- 'CTA': [
- 'cta_title',
- 'cta_desc',
- 'cta_btn_primary',
- 'cta_btn_secondary',
- ],
- 'فوتر': [
- 'footer_brand_title',
- 'footer_brand_subtitle',
- 'footer_brand_desc',
- 'footer_links_title',
- 'footer_link_products',
- 'footer_link_blog',
- 'footer_link_profiles',
- 'footer_link_wiki',
- 'footer_link_b2b',
- 'footer_contact_title',
- 'footer_phone_label',
- 'footer_phone',
- 'footer_email_label',
- 'footer_email',
- 'footer_address_label',
- 'footer_address',
- 'footer_auth_title',
- 'footer_auth_desc',
- 'footer_auth_badge',
- 'footer_copyright',
- 'footer_about',
- 'footer_contact',
- 'footer_privacy',
- ],
-};
-
-const V1_GROUP_PAGE_MAP: Record = {
- 'بنر اصلی (Hero)': 'hero',
- 'هدر و ناوبری': 'header',
- 'دستیار سلامت': 'advisor',
- 'ویدئوها': 'videos',
- 'CTA': 'videos',
- 'کارتهای ناوبری': 'hero',
- 'فوتر': 'footer',
-};
-
-// Structured Page Builder v2 Definitions
+// Structured Page Builder Definitions
interface SectionField {
key: string;
label: string;
@@ -297,6 +140,25 @@ const SITE_PAGES: AppSitePage[] = [
{ key: 'hero_stat_german_formula', label: 'آمار فرمولاسیون آلمانی', type: 'text' },
],
},
+ {
+ id: 'smart_advisor',
+ title: 'مشاور و تجویز هوشمند (Smart Advisor)',
+ icon: Sparkles,
+ fields: [
+ { key: 'advisor_badge', label: 'بج بالای بخش مشاور', type: 'text' },
+ { key: 'advisor_title', label: 'عنوان اصلی مشاور سلامت (H2)', type: 'rich-text' },
+ { key: 'advisor_subtitle', label: 'متن توضیحات راهنمای ۴ قدمه', type: 'rich-text' },
+ { key: 'advisor_card1_title', label: 'عنوان کارت ۱ (چرا ثبت شناسنامه؟)', type: 'text' },
+ { key: 'advisor_card1_desc', label: 'متن کارت ۱ (دوز دقیق و فرمول غلیظ)', type: 'rich-text' },
+ { key: 'advisor_card1_footer', label: 'برچسب پایین کارت ۱', type: 'text' },
+ { key: 'advisor_card2_title', label: 'عنوان کارت ۲ (تطبیق علائم بالینی)', type: 'text' },
+ { key: 'advisor_card2_desc', label: 'متن کارت ۲ (تطبیق علائم مثل لنگیدن و ریزش مو)', type: 'rich-text' },
+ { key: 'advisor_card2_footer', label: 'برچسب پایین کارت ۲', type: 'text' },
+ { key: 'advisor_card3_title', label: 'عنوان کارت ۳ (پایش موجودی و یادآور)', type: 'text' },
+ { key: 'advisor_card3_desc', label: 'متن کارت ۳ (تنظیم زمان مصرف و هشدار شارژ)', type: 'rich-text' },
+ { key: 'advisor_card3_footer', label: 'برچسب پایین کارت ۳', type: 'text' },
+ ],
+ },
{
id: 'featured',
title: 'محصولات برگزیده (Featured Products)',
@@ -307,6 +169,8 @@ const SITE_PAGES: AppSitePage[] = [
{ key: 'featured_title_line2', label: 'عنوان سطر دوم محصولات برگزیده', type: 'rich-text' },
{ key: 'featured_desc', label: 'توضیحات معرفی مکملها', type: 'rich-text' },
{ key: 'featured_view_all', label: 'متن دکمه مشاهده همه محصولات', type: 'text' },
+ { key: 'featured_no_products_title', label: 'عنوان در صورت عدم وجود محصول', type: 'text' },
+ { key: 'featured_no_products_desc', label: 'متن توضیح عدم وجود محصول', type: 'text' },
],
},
{
@@ -341,12 +205,52 @@ const SITE_PAGES: AppSitePage[] = [
fields: [
{ key: 'about_label', label: 'برچسب بالای بخش', type: 'text' },
{ key: 'about_title', label: 'عنوان اصلی درباره کنینا', type: 'rich-text' },
- { key: 'about_item1_title', label: 'عنوان ویژگی اول (استاندارد دارویی)', type: 'text' },
+ { key: 'about_image_url', label: 'تصویر آزمایشگاه و معرفی برند', type: 'image' },
+ { key: 'about_image_alt', label: 'متن جایگزین (Alt) تصویر درباره برند', type: 'text' },
+ { key: 'about_badge_title', label: 'عنوان بج روی تصویر (پیشفرض: کیفیت)', type: 'text' },
+ { key: 'about_badge_subtitle', label: 'زیرعنوان بج روی تصویر (پیشفرض: استانداردهای فوقدارویی)', type: 'text' },
+ { key: 'about_item1_title', label: 'عنوان ویژگی اول (مواد اولیه نایاب)', type: 'text' },
{ key: 'about_item1_desc', label: 'توضیحات ویژگی اول', type: 'rich-text' },
- { key: 'about_item2_title', label: 'عنوان ویژگی دوم (فرمولاسیون تخصصی)', type: 'text' },
+ { key: 'about_item1_footnote', label: 'پاورقی ویژگی اول (استاندارد انسانی)', type: 'text' },
+ { key: 'about_item2_title', label: 'عنوان ویژگی دوم (فاقد مواد نگهدارنده)', type: 'text' },
{ key: 'about_item2_desc', label: 'توضیحات ویژگی دوم', type: 'rich-text' },
- { key: 'about_item3_title', label: 'عنوان ویژگی سوم (تاییدیه دامپزشکان)', type: 'text' },
+ { key: 'about_item3_title', label: 'عنوان ویژگی سوم (تاییدیه اروپا)', type: 'text' },
{ key: 'about_item3_desc', label: 'توضیحات ویژگی سوم', type: 'rich-text' },
+ { key: 'about_item3_footnote', label: 'پاورقی ویژگی سوم (استانداردهای HACCP & IFS)', type: 'text' },
+ ],
+ },
+ {
+ id: 'testimonials',
+ title: 'نظرات دامپزشکان و مشتریان (Testimonials)',
+ icon: Award,
+ fields: [
+ { key: 'testimonials_badge', label: 'بج بالای بخش نظرات', type: 'text' },
+ { key: 'testimonials_title_1', label: 'بخش اول عنوان نظرات', type: 'text' },
+ { key: 'testimonials_title_2', label: 'بخش رنگی عنوان نظرات', type: 'text' },
+ { key: 'testimonials_desc', label: 'توضیحات معرفی بخش نظرات', type: 'rich-text' },
+ ],
+ },
+ {
+ id: 'blog_preview',
+ title: 'پیشنمایش مقالات وبلاگ (Blog Preview)',
+ icon: FileText,
+ fields: [
+ { key: 'blog_preview_badge', label: 'بج بالای مقالات وبلاگ', type: 'text' },
+ { key: 'blog_preview_title', label: 'بخش اول عنوان مقالات', type: 'text' },
+ { key: 'blog_preview_title_highlight', label: 'بخش هایلایت عنوان مقالات', type: 'text' },
+ { key: 'blog_preview_desc', label: 'توضیحات کوتاه زیر عنوان مقالات', type: 'rich-text' },
+ { key: 'blog_preview_view_all', label: 'متن دکمه مشاهده همه مقالات', type: 'text' },
+ ],
+ },
+ {
+ id: 'faq',
+ title: 'سوالات متداول (FAQ Section)',
+ icon: HelpCircle,
+ fields: [
+ { key: 'faq_badge', label: 'بج بالای سوالات متداول', type: 'text' },
+ { key: 'faq_title_1', label: 'بخش اول تیتر سوالات متداول', type: 'text' },
+ { key: 'faq_title_2', label: 'بخش رنگی تیتر سوالات متداول', type: 'text' },
+ { key: 'faq_desc', label: 'توضیحات کوتاه زیر تیتر', type: 'rich-text' },
],
},
{
@@ -356,8 +260,8 @@ const SITE_PAGES: AppSitePage[] = [
fields: [
{ key: 'cta_title', label: 'عنوان اصلی کادر دعوت به خرید (H2)', type: 'rich-text' },
{ key: 'cta_desc', label: 'متن توضیحات و ترغیب', type: 'rich-text' },
- { key: 'cta_btn_primary', label: 'متن دکمه اصلی (خرید مکمل)', type: 'text' },
- { key: 'cta_btn_secondary', label: 'متن دکمه ثانویه (مشاوره دامپزشک)', type: 'text' },
+ { key: 'cta_btn_primary', label: 'متن دکمه اصلی (دریافت رژیم مکمل رایگان)', type: 'text' },
+ { key: 'cta_btn_secondary', label: 'متن دکمه ثانویه (پروانه دامپزشکی و اصالت کالا)', type: 'text' },
],
},
],
@@ -374,11 +278,13 @@ const SITE_PAGES: AppSitePage[] = [
title: 'هدر و فیلترهای فروشگاه',
icon: Sliders,
fields: [
- { key: 'shop_page_title', label: 'عنوان صفحه فروشگاه (H1)', type: 'rich-text' },
- { key: 'shop_page_desc', label: 'توضیحات سئو بالای فروشگاه', type: 'rich-text' },
- { key: 'shop_filter_categories', label: 'عنوان فیلتر دستهبندیها', type: 'text' },
- { key: 'shop_filter_price', label: 'عنوان فیلتر محدوده قیمت', type: 'text' },
- { key: 'shop_search_placeholder', label: 'متن کادر جستجوی محصولات', type: 'text' },
+ { key: 'shop_catalog_title', label: 'تیتر بالای لیست محصولات (پیشفرض: کاتولوگ دارویی Canina - پاک کنید تا پنهان شود)', type: 'rich-text' },
+ { key: 'shop_filter_title', label: 'عنوان سایدبار فیلترها (پیشفرض: فیلترهای تخصصی)', type: 'text' },
+ { key: 'shop_filter_pet_type', label: 'عنوان فیلتر نوع پت', type: 'text' },
+ { key: 'shop_filter_solutions', label: 'عنوان فیلتر راهکار درمانی', type: 'text' },
+ { key: 'shop_search_placeholder', label: 'متن کادر جستجوی محصول', type: 'text' },
+ { key: 'shop_promo_card_title', label: 'عنوان کارت بنفش سایدبار (مشاوره رایگان)', type: 'text' },
+ { key: 'shop_promo_card_desc', label: 'متن کارت بنفش سایدبار', type: 'rich-text' },
],
},
],
@@ -678,7 +584,6 @@ const SHARED_FOOTER_FIELDS: SectionField[] = [
export default function UITexts() {
const [searchParams, setSearchParams] = useSearchParams();
- const [versionTab, setVersionTabState] = useState<'v2' | 'v1'>(() => (searchParams.get('version') as 'v2' | 'v1') || 'v2');
const [v2SubTab, setV2SubTabState] = useState<'header' | 'footer' | 'pages'>(() => (searchParams.get('subTab') as 'header' | 'footer' | 'pages') || 'pages');
const [openPageId, setOpenPageIdState] = useState(() => searchParams.get('pageId') || 'home');
const [openSectionId, setOpenSectionIdState] = useState(() => searchParams.get('sectionId') || 'seo');
@@ -694,11 +599,6 @@ export default function UITexts() {
setSearchParams(cleaned, { replace: true });
};
- const setVersionTab = (v: 'v2' | 'v1') => {
- setVersionTabState(v);
- updateUrlState({ version: v === 'v2' ? null : v });
- };
-
const setV2SubTab = (t: 'header' | 'footer' | 'pages') => {
setV2SubTabState(t);
updateUrlState({ subTab: t === 'pages' ? null : t });
@@ -717,7 +617,6 @@ export default function UITexts() {
// State
const [texts, setTexts] = useState>({});
const [edits, setEdits] = useState>({});
- const [search, setSearch] = useState('');
const [savingKey, setSavingKey] = useState(null);
const [savedKey, setSavedKey] = useState(null);
const [loading, setLoading] = useState(true);
@@ -738,13 +637,6 @@ export default function UITexts() {
updateUrlState({ iconKey: k });
};
- // Legacy v1 State
- const [v1ActiveTab, setV1ActiveTabState] = useState(() => searchParams.get('v1Tab') || 'all');
- const setV1ActiveTab = (tab: string) => {
- setV1ActiveTabState(tab);
- updateUrlState({ v1Tab: tab === 'all' ? null : tab });
- };
-
useEffect(() => {
let isSubscribed = true;
@@ -1014,43 +906,8 @@ export default function UITexts() {
-
- {/* Main Version Switcher: v2 (New Structure) vs v1 (Legacy) */}
-
-
- setVersionTab('v2')}
- className={`px-5 py-2.5 rounded-xl text-xs font-black transition-all flex items-center gap-2 cursor-pointer ${
- versionTab === 'v2'
- ? 'bg-gradient-to-r from-purple-600 to-indigo-600 text-white shadow-md shadow-purple-200'
- : 'text-gray-600 hover:bg-gray-100'
- }`}
- >
-
- ویرایشگر پیشرفته صفحات ({SITE_PAGES.length} صفحه فعال)
-
-
- setVersionTab('v1')}
- className={`px-4 py-2.5 rounded-xl text-xs font-bold transition-all flex items-center gap-2 cursor-pointer ${
- versionTab === 'v1'
- ? 'bg-gray-800 text-white shadow-sm'
- : 'text-gray-500 hover:bg-gray-100'
- }`}
- >
- نمای کلاسیک (v1 Legacy)
-
-
-
-
- {versionTab === 'v2' ? 'نسخه مدرن آکاردئونی تفکیکشده به همراه Google SERP' : 'نسخه پشتیبان فهرستی'}
-
-
-
- {versionTab === 'v2' ? (
-
+ {/* Modern Page Builder Interface */}
+
{/* Sub Tabs: Header, Footer, Site Pages */}
)}
-
- ) : (
- /* Legacy v1 Interface */
-
- {/* Search */}
-
-
- setSearch(e.target.value)}
- className="w-full bg-transparent border-none text-xs focus:outline-none font-bold"
- />
-
-
- {/* Section Tabs v1 */}
-
- {V1_PAGE_TABS.map((tab) => {
- const Icon = tab.icon;
- const isActive = v1ActiveTab === tab.id;
- return (
- setV1ActiveTab(tab.id)}
- className={`px-4 py-2.5 rounded-xl text-xs font-black transition-all shrink-0 flex items-center gap-2 border cursor-pointer ${
- isActive
- ? 'bg-purple-600 text-white border-purple-600 shadow-md'
- : 'bg-white text-gray-700 border-gray-200 hover:bg-gray-50'
- }`}
- >
-
- {tab.label}
-
- );
- })}
-
-
- {/* Content Groups v1 */}
-
- {Object.entries(V1_GROUPS).map(([groupTitle, keys]) => {
- const mappedTab = V1_GROUP_PAGE_MAP[groupTitle] || 'other';
- if (v1ActiveTab !== 'all' && mappedTab !== v1ActiveTab) return null;
-
- const filteredKeys = keys.filter((key) => {
- if (!search) return true;
- const currentVal = edits[key] ?? texts[key] ?? '';
- return key.toLowerCase().includes(search.toLowerCase()) || currentVal.includes(search);
- });
-
- if (filteredKeys.length === 0) return null;
-
- return (
-
-
-
- {groupTitle}
-
-
-
- {filteredKeys.map((key) => {
- const val = edits[key] ?? texts[key] ?? '';
- const isImg = isImageKey(key);
-
- return (
-
-
- {key}
-
-
-
- {val.length > 60 && !isImg ? (
-
-
- );
- })}
-
-
- );
- })}
-
-
- )}
+
{/* Media Selector Modal */}
{mediaSelectorKey && (
diff --git a/frontend/admin-panel/src/pages/Users.tsx b/frontend/admin-panel/src/pages/Users.tsx
index b6bd4f2c..b0ad0572 100644
--- a/frontend/admin-panel/src/pages/Users.tsx
+++ b/frontend/admin-panel/src/pages/Users.tsx
@@ -579,14 +579,14 @@ export default function Users() {
شماره موبایل
*
-
+
setCreateFormData({ ...createFormData, mobile: e.target.value })}
- className="w-full pl-3 pr-9 py-2.5 rounded-xl border border-gray-200 focus:border-purple-500 outline-none font-mono text-left"
+ className="w-full pl-3.5 pr-10 py-2.5 rounded-xl border border-gray-200 focus:border-purple-500 outline-none font-mono text-left"
dir="ltr"
/>
@@ -595,13 +595,13 @@ export default function Users() {
ایمیل (اختیاری)
-
+
setCreateFormData({ ...createFormData, email: e.target.value })}
- className="w-full pl-3 pr-9 py-2.5 rounded-xl border border-gray-200 focus:border-purple-500 outline-none font-mono text-left"
+ className="w-full pl-3.5 pr-10 py-2.5 rounded-xl border border-gray-200 focus:border-purple-500 outline-none font-mono text-left"
dir="ltr"
/>
@@ -610,13 +610,13 @@ export default function Users() {
رمز عبور (اختیاری)
-
+
setCreateFormData({ ...createFormData, password: e.target.value })}
- className="w-full pl-3 pr-9 py-2.5 rounded-xl border border-gray-200 focus:border-purple-500 outline-none text-left"
+ className="w-full pl-3.5 pr-10 py-2.5 rounded-xl border border-gray-200 focus:border-purple-500 outline-none font-mono text-left"
dir="ltr"
/>
diff --git a/frontend/application/app/HomeClient.tsx b/frontend/application/app/HomeClient.tsx
index 2b4841fe..92913ccf 100644
--- a/frontend/application/app/HomeClient.tsx
+++ b/frontend/application/app/HomeClient.tsx
@@ -117,16 +117,16 @@ export default function HomeClient({ initialData }: HomeClientProps) {
-
{getText('quality', "کیفیت")}
-
{getText('ultra_pharmaceutical', "استانداردهای فوقدارویی")}
+
{getText('about_badge_title', getText('quality', "کیفیت"))}
+
{getText('about_badge_subtitle', getText('ultra_pharmaceutical', "استانداردهای فوقدارویی"))}
@@ -151,12 +151,12 @@ export default function HomeClient({ initialData }: HomeClientProps) {
{item.desc}
{idx === 0 && (
- * تهیه شده با بالاترین استانداردهای دارویی انسان - کاملاً بیخطر در صورت لیسیده شدن توسط حیوان.
+ {getText('about_item1_footnote', "* تهیه شده با بالاترین استانداردهای دارویی انسان - کاملاً بیخطر در صورت لیسیده شدن توسط حیوان.")}
)}
{idx === 2 && (
- * تاییدیه رسمی ایمنی مواد غذایی و دارویی (HACCP & IFS) از اتحادیه اروپا.
+ {getText('about_item3_footnote', "* تاییدیه رسمی ایمنی مواد غذایی و دارویی (HACCP & IFS) از اتحادیه اروپا.")}
)}
diff --git a/frontend/application/app/favicon.ico b/frontend/application/app/favicon.ico
index 718d6fea..ea66fec4 100644
Binary files a/frontend/application/app/favicon.ico and b/frontend/application/app/favicon.ico differ
diff --git a/frontend/application/app/page.tsx b/frontend/application/app/page.tsx
index 7622b239..771b215a 100644
--- a/frontend/application/app/page.tsx
+++ b/frontend/application/app/page.tsx
@@ -12,7 +12,10 @@ import { HomeApiResponse } from "../lib/types";
async function getHomeData(): Promise
{
try {
- const apiUrl = process.env.INTERNAL_API_URL || process.env.NEXT_PUBLIC_API_URL || 'http://localhost:4001/api';
+ const apiUrl =
+ process.env.INTERNAL_API_URL ||
+ process.env.NEXT_PUBLIC_API_URL ||
+ (process.env.NODE_ENV === 'production' ? 'https://api.canina.ir/api' : 'http://127.0.0.1:4400/api');
const res = await fetch(`${apiUrl}/home`, {
next: { revalidate: 3600, tags: ['home-data'] },
});
diff --git a/frontend/application/components/ArchivePage.tsx b/frontend/application/components/ArchivePage.tsx
index 540cdbaa..d730b8d2 100644
--- a/frontend/application/components/ArchivePage.tsx
+++ b/frontend/application/components/ArchivePage.tsx
@@ -439,7 +439,7 @@ export default function ArchivePage({
-
فیلترهای تخصصی
+ {getText('shop_filter_title', 'فیلترهای تخصصی')}
setIsMobileFilterOpen(false)}
@@ -452,7 +452,7 @@ export default function ArchivePage({
{/* Pet Type */}
-
نوع پت
+
{getText('shop_filter_pet_type', 'نوع پت')}
{[
{ id: "all", label: "هر دو", icon:
},
@@ -473,7 +473,7 @@ export default function ArchivePage({
{/* Solutions */}
-
راهکار درمانی
+
{getText('shop_filter_solutions', 'راهکار درمانی')}
@@ -270,15 +272,17 @@ export default function SmartAdvisor({ onComplete, rules = [] }: SmartAdvisorPro
-
تطبیق علائم بالینی
+
+ {getText('advisor_card2_title', 'تطبیق علائم بالینی')}
+
- با انتخاب علائمی مثل لنگیدن یا ریزش مو، دقیقترین راهکار مکمل آلمانی به همراه دلایل علمی به شما پیشنهاد میشود.
+ {getText('advisor_card2_desc', 'با انتخاب علائمی مثل لنگیدن یا ریزش مو، دقیقترین راهکار مکمل آلمانی به همراه دلایل علمی به شما پیشنهاد میشود.')}
- پیشنهاد هدفمند و تخصصی
+ {getText('advisor_card2_footer', 'پیشنهاد هدفمند و تخصصی')}
@@ -288,15 +292,17 @@ export default function SmartAdvisor({ onComplete, rules = [] }: SmartAdvisorPro
-
پایش موجودی و یادآور
+
+ {getText('advisor_card3_title', 'پایش موجودی و یادآور')}
+
- زمانهای مصرف مکملها تنظیم شده و سیستم قبل از اتمام دوره درمانی، هشدار شارژ مجدد ارسال خواهد کرد.
+ {getText('advisor_card3_desc', 'زمانهای مصرف مکملها تنظیم شده و سیستم قبل از اتمام دوره درمانی، هشدار شارژ مجدد ارسال خواهد کرد.')}
- تکمیل منظم دوره درمان
+ {getText('advisor_card3_footer', 'تکمیل منظم دوره درمان')}
diff --git a/frontend/application/lib/seo.ts b/frontend/application/lib/seo.ts
index 1047d9e3..a7a863a1 100644
--- a/frontend/application/lib/seo.ts
+++ b/frontend/application/lib/seo.ts
@@ -45,7 +45,7 @@ export async function getSeoConfig(): Promise
{
const apiBase =
process.env.INTERNAL_API_URL ||
process.env.NEXT_PUBLIC_API_URL ||
- 'http://localhost:4001/api';
+ (process.env.NODE_ENV === 'production' ? 'https://api.canina.ir/api' : 'http://127.0.0.1:4400/api');
try {
const res = await fetch(`${apiBase}/settings/ui-texts`, {
diff --git a/frontend/application/public/images/favicons/android-chrome-192x192.png b/frontend/application/public/images/favicons/android-chrome-192x192.png
new file mode 100644
index 00000000..fc76577b
Binary files /dev/null and b/frontend/application/public/images/favicons/android-chrome-192x192.png differ
diff --git a/frontend/application/public/images/favicons/android-chrome-512x512.png b/frontend/application/public/images/favicons/android-chrome-512x512.png
new file mode 100644
index 00000000..7319ed6a
Binary files /dev/null and b/frontend/application/public/images/favicons/android-chrome-512x512.png differ
diff --git a/frontend/application/public/images/favicons/apple-touch-icon.png b/frontend/application/public/images/favicons/apple-touch-icon.png
new file mode 100644
index 00000000..c277489f
Binary files /dev/null and b/frontend/application/public/images/favicons/apple-touch-icon.png differ
diff --git a/frontend/application/public/images/favicons/favicon-16x16.png b/frontend/application/public/images/favicons/favicon-16x16.png
new file mode 100644
index 00000000..2483d1f8
Binary files /dev/null and b/frontend/application/public/images/favicons/favicon-16x16.png differ
diff --git a/frontend/application/public/images/favicons/favicon-32x32.png b/frontend/application/public/images/favicons/favicon-32x32.png
new file mode 100644
index 00000000..9b3553c0
Binary files /dev/null and b/frontend/application/public/images/favicons/favicon-32x32.png differ
diff --git a/frontend/application/public/images/favicons/favicon.ico b/frontend/application/public/images/favicons/favicon.ico
new file mode 100644
index 00000000..ea66fec4
Binary files /dev/null and b/frontend/application/public/images/favicons/favicon.ico differ
diff --git a/frontend/application/public/images/favicons/site.webmanifest b/frontend/application/public/images/favicons/site.webmanifest
new file mode 100644
index 00000000..45dc8a20
--- /dev/null
+++ b/frontend/application/public/images/favicons/site.webmanifest
@@ -0,0 +1 @@
+{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
\ No newline at end of file