diff --git a/src/pages/Support.tsx b/src/pages/Support.tsx index 822d512..e70b1d4 100644 --- a/src/pages/Support.tsx +++ b/src/pages/Support.tsx @@ -483,6 +483,46 @@ export default function Support() { + {/* Contact support card for "both" mode */} + {supportConfig?.support_type === 'both' && supportConfig.support_username && ( + + + + + + + + + + {t('support.contactUs')} + {supportConfig.support_username} + + + { + const username = supportConfig.support_username!.startsWith('@') + ? supportConfig.support_username!.slice(1) + : supportConfig.support_username!; + openTelegramLink(`https://t.me/${username}`); + }} + > + {t('support.contactUs')} + + + + )} + {/* Tickets List */} diff --git a/src/types/index.ts b/src/types/index.ts index 09ca609..5c8d509 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -474,7 +474,7 @@ export interface TicketDetail extends Omit