feat: enhance support page with dynamic branding information and contact details

This commit is contained in:
2026-05-16 09:37:03 +03:30
parent 42b8476b96
commit 4f76056ac0
5 changed files with 80 additions and 22 deletions
+28
View File
@@ -3,6 +3,15 @@ export interface BrandingConfig {
manifestPath: string;
themeColor: string;
enableInstallPrompt?: boolean;
title: string;
fullTitle: string;
support: {
phones?: {
title: string;
phones: string[];
}[];
workingHours?: string;
};
}
export const brandingConfig: BrandingConfig = {
@@ -10,4 +19,23 @@ export const brandingConfig: BrandingConfig = {
manifestPath: '/favicon/site.webmanifest',
themeColor: '#ffffff',
enableInstallPrompt: false,
title: 'پنل مدیریت',
fullTitle: 'پنل مدیریت صورت‌حساب‌های مالیاتی',
support: {
phones: [
{
title: 'واحد پشتیبانی 1',
phones: ['021-91012345'],
},
{
title: 'واحد پشتیبانی 2',
phones: ['021-91012346'],
},
{
title: 'پاسخگویی اضطراری',
phones: ['0912-123-4567'],
},
],
workingHours: 'شنبه تا چهارشنبه: 8 صبح تا 5 عصر، پنجشنبه: 8 صبح تا 2 عصر',
},
};
+19
View File
@@ -5,4 +5,23 @@ export const brandingConfig: BrandingConfig = {
manifestPath: '/favicon/site.webmanifest',
themeColor: '#ffffff',
enableInstallPrompt: true,
title: 'تیس',
fullTitle: 'تیس - مدیریت صورت‌حساب‌های مالیاتی',
support: {
phones: [
{
title: 'واحد پشتیبانی 1',
phones: ['021-91012345'],
},
{
title: 'واحد پشتیبانی 2',
phones: ['021-91012346'],
},
{
title: 'پاسخگویی اضطراری',
phones: ['0912-123-4567'],
},
],
workingHours: 'شنبه تا چهارشنبه: 8 صبح تا 5 عصر، پنجشنبه: 8 صبح تا 2 عصر',
},
};