From cd56ab8fb6def9832d397b24937346b504a49296 Mon Sep 17 00:00:00 2001 From: Satoshi Qazi Muhammed Date: Fri, 19 Jun 2026 17:32:57 -0700 Subject: [PATCH] =?UTF-8?q?feat(social):=20replace=20Help=20tile=20with=20?= =?UTF-8?q?Loto=20(Newroz)=20=E2=86=92=20loto.pex.mom?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In the Social section of both the desktop app grid and the mobile home, the Help tile becomes a Loto tile with the Newroz flame logo (loto-icon.svg) that opens loto.pex.mom in a new tab. Adds the mobile.app.loto i18n key in all 6 locales. Help remains reachable from the landing page. --- web/public/loto-icon.svg | 72 +++++++++++++++++++++++++ web/src/components/AppLayout.tsx | 2 +- web/src/components/MobileHomeLayout.tsx | 2 +- web/src/i18n/locales/ar.ts | 1 + web/src/i18n/locales/ckb.ts | 1 + web/src/i18n/locales/en.ts | 1 + web/src/i18n/locales/fa.ts | 1 + web/src/i18n/locales/kmr.ts | 1 + web/src/i18n/locales/tr.ts | 1 + 9 files changed, 80 insertions(+), 2 deletions(-) create mode 100644 web/public/loto-icon.svg diff --git a/web/public/loto-icon.svg b/web/public/loto-icon.svg new file mode 100644 index 00000000..1f415c97 --- /dev/null +++ b/web/public/loto-icon.svg @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/web/src/components/AppLayout.tsx b/web/src/components/AppLayout.tsx index 08366f65..2b1f48fc 100644 --- a/web/src/components/AppLayout.tsx +++ b/web/src/components/AppLayout.tsx @@ -111,7 +111,7 @@ const APP_SECTIONS: AppSection[] = [ { title: 'mobile.app.forum', icon: '📰', route: '/forum' }, { title: 'mobile.app.kurdMedia', icon: '📺', route: '/social/kurdmedia' }, { title: 'mobile.app.events', icon: '📅', route: '/forum', href: 'https://kurdishtts.pezkiwi.app' }, - { title: 'mobile.app.help', icon: '❓', route: '/help' }, + { title: 'mobile.app.loto', icon: '🔥', imgIcon: '/loto-icon.svg', route: '/forum', href: 'https://loto.pex.mom' }, { title: 'mobile.app.music', icon: '🎵', route: '/forum', comingSoon: true }, { title: 'mobile.app.rewshenbir',icon: '📡', imgIcon: '/rewshenbir-icon.png', route: '/rewshenbir', href: 'https://rewshenbir.pezkuwi.app' }, { title: 'mobile.app.referral', icon: '👥', route: '/dashboard', requiresAuth: true }, diff --git a/web/src/components/MobileHomeLayout.tsx b/web/src/components/MobileHomeLayout.tsx index 812b1df9..2ab88727 100644 --- a/web/src/components/MobileHomeLayout.tsx +++ b/web/src/components/MobileHomeLayout.tsx @@ -88,7 +88,7 @@ const APP_SECTIONS: AppSection[] = [ { title: 'mobile.app.forum', icon: '📰', route: '/forum' }, { title: 'mobile.app.kurdMedia', icon: '📺', route: '/social/kurdmedia' }, { title: 'mobile.app.events', icon: '📅', route: '/forum', href: 'https://kurdishtts.pezkiwi.app' }, - { title: 'mobile.app.help', icon: '❓', route: '/help' }, + { title: 'mobile.app.loto', icon: '🔥', imgIcon: '/loto-icon.svg', route: '/forum', href: 'https://loto.pex.mom' }, { title: 'mobile.app.music', icon: '🎵', route: '/forum', comingSoon: true }, { title: 'mobile.app.rewshenbir', icon: '📡', imgIcon: '/rewshenbir-icon.png', route: '/rewshenbir', href: 'https://rewshenbir.pezkuwi.app' }, { title: 'mobile.app.referral', icon: '👥', route: '/dashboard', requiresAuth: true }, diff --git a/web/src/i18n/locales/ar.ts b/web/src/i18n/locales/ar.ts index 9913aa12..07dc4ad7 100644 --- a/web/src/i18n/locales/ar.ts +++ b/web/src/i18n/locales/ar.ts @@ -3804,6 +3804,7 @@ export default { 'mobile.app.kurdMedia': 'كورد ميديا', 'mobile.app.events': 'الفعاليات', 'mobile.app.help': 'المساعدة', + 'mobile.app.loto': 'لوتو', 'mobile.app.music': 'الموسيقى', 'mobile.app.vpn': 'VPN', 'mobile.app.referral': 'الإحالة', diff --git a/web/src/i18n/locales/ckb.ts b/web/src/i18n/locales/ckb.ts index 0aa6772d..69ae3cc3 100644 --- a/web/src/i18n/locales/ckb.ts +++ b/web/src/i18n/locales/ckb.ts @@ -3794,6 +3794,7 @@ export default { 'mobile.app.kurdMedia': 'کوردمیدیا', 'mobile.app.events': 'چالاکی', 'mobile.app.help': 'یارمەتی', + 'mobile.app.loto': 'لۆتۆ', 'mobile.app.music': 'مۆسیقا', 'mobile.app.vpn': 'VPN', 'mobile.app.referral': 'ئاماژە', diff --git a/web/src/i18n/locales/en.ts b/web/src/i18n/locales/en.ts index 67dca3d3..7b2fedbd 100644 --- a/web/src/i18n/locales/en.ts +++ b/web/src/i18n/locales/en.ts @@ -3856,6 +3856,7 @@ export default { 'mobile.app.kurdMedia': 'KurdMedia', 'mobile.app.events': 'Events', 'mobile.app.help': 'Help', + 'mobile.app.loto': 'Loto', 'mobile.app.music': 'Music', 'mobile.app.vpn': 'VPN', 'mobile.app.rewshenbir': 'Rewshenbir', diff --git a/web/src/i18n/locales/fa.ts b/web/src/i18n/locales/fa.ts index 51188e77..670fa3a1 100644 --- a/web/src/i18n/locales/fa.ts +++ b/web/src/i18n/locales/fa.ts @@ -3838,6 +3838,7 @@ export default { 'mobile.app.kurdMedia': 'کوردمدیا', 'mobile.app.events': 'رویدادها', 'mobile.app.help': 'کمک', + 'mobile.app.loto': 'لاتاری', 'mobile.app.music': 'موسیقی', 'mobile.app.vpn': 'VPN', 'mobile.app.referral': 'ارجاع', diff --git a/web/src/i18n/locales/kmr.ts b/web/src/i18n/locales/kmr.ts index 42e3ed03..94fa48d3 100644 --- a/web/src/i18n/locales/kmr.ts +++ b/web/src/i18n/locales/kmr.ts @@ -3821,6 +3821,7 @@ export default { 'mobile.app.kurdMedia': 'KurdMedya', 'mobile.app.events': 'Çalakî', 'mobile.app.help': 'Alîkarî', + 'mobile.app.loto': 'Loto', 'mobile.app.music': 'Muzîk', 'mobile.app.vpn': 'VPN', 'mobile.app.rewshenbir': 'Rewşenbir', diff --git a/web/src/i18n/locales/tr.ts b/web/src/i18n/locales/tr.ts index 18dc5b9a..9f6fb24b 100644 --- a/web/src/i18n/locales/tr.ts +++ b/web/src/i18n/locales/tr.ts @@ -3824,6 +3824,7 @@ export default { 'mobile.app.kurdMedia': 'KurdMedya', 'mobile.app.events': 'Etkinlikler', 'mobile.app.help': 'Yardım', + 'mobile.app.loto': 'Loto', 'mobile.app.music': 'Müzik', 'mobile.app.vpn': 'VPN', 'mobile.app.rewshenbir': 'Rewshenbir',