From 7a1d3e79171b966b891357d73079d58488ecb18b Mon Sep 17 00:00:00 2001 From: Satoshi Qazi Muhammed Date: Mon, 15 Jun 2026 17:54:19 -0700 Subject: [PATCH] =?UTF-8?q?feat(social):=20wire=20DKS=20Rojname=20?= =?UTF-8?q?=E2=86=92=20news.pex.mom=20and=20Events=20=E2=86=92=20kurdishtt?= =?UTF-8?q?s.pezkiwi.app?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - KurdMedia: DKS Rojname channel now links to the Dijital Kurdistan News site - Social Events item opens the Kurdish TTS app (was coming-soon/locked) - applies across mobile drawer, mobile home and desktop landing pallets --- web/src/components/AppLayout.tsx | 2 +- web/src/components/MobileHomeLayout.tsx | 2 +- .../components/landing/LandingPageDesktop.tsx | 2 +- web/src/pages/social/KurdMediaPage.tsx | 47 +++++++++++++------ 4 files changed, 36 insertions(+), 17 deletions(-) diff --git a/web/src/components/AppLayout.tsx b/web/src/components/AppLayout.tsx index 4ae885e3..08366f65 100644 --- a/web/src/components/AppLayout.tsx +++ b/web/src/components/AppLayout.tsx @@ -110,7 +110,7 @@ const APP_SECTIONS: AppSection[] = [ { title: 'mobile.app.whatsKurd', icon: '💬', route: '/social/whatskurd' }, { title: 'mobile.app.forum', icon: '📰', route: '/forum' }, { title: 'mobile.app.kurdMedia', icon: '📺', route: '/social/kurdmedia' }, - { title: 'mobile.app.events', icon: '📅', route: '/forum', comingSoon: true }, + { title: 'mobile.app.events', icon: '📅', route: '/forum', href: 'https://kurdishtts.pezkiwi.app' }, { title: 'mobile.app.help', icon: '❓', route: '/help' }, { 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' }, diff --git a/web/src/components/MobileHomeLayout.tsx b/web/src/components/MobileHomeLayout.tsx index 9a45aaa3..812b1df9 100644 --- a/web/src/components/MobileHomeLayout.tsx +++ b/web/src/components/MobileHomeLayout.tsx @@ -87,7 +87,7 @@ const APP_SECTIONS: AppSection[] = [ { title: 'mobile.app.whatsKurd', icon: '💬', route: '/social/whatskurd' }, { title: 'mobile.app.forum', icon: '📰', route: '/forum' }, { title: 'mobile.app.kurdMedia', icon: '📺', route: '/social/kurdmedia' }, - { title: 'mobile.app.events', icon: '📅', route: '/forum', comingSoon: true }, + { title: 'mobile.app.events', icon: '📅', route: '/forum', href: 'https://kurdishtts.pezkiwi.app' }, { title: 'mobile.app.help', icon: '❓', route: '/help' }, { 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' }, diff --git a/web/src/components/landing/LandingPageDesktop.tsx b/web/src/components/landing/LandingPageDesktop.tsx index 3af2090b..56a4b9a0 100644 --- a/web/src/components/landing/LandingPageDesktop.tsx +++ b/web/src/components/landing/LandingPageDesktop.tsx @@ -1099,7 +1099,7 @@ const LandingPageDesktop: React.FC = () => { - + diff --git a/web/src/pages/social/KurdMediaPage.tsx b/web/src/pages/social/KurdMediaPage.tsx index ff0665f9..9b42faa9 100644 --- a/web/src/pages/social/KurdMediaPage.tsx +++ b/web/src/pages/social/KurdMediaPage.tsx @@ -9,6 +9,7 @@ interface MediaChannel { descriptionKu: string; description: string; color: string; + url?: string; } interface SocialPlatform { @@ -21,7 +22,7 @@ interface SocialPlatform { const MEDIA_CHANNELS: MediaChannel[] = [ { id: 'dkstv', nameKu: 'DKS TV', name: 'DKS TV', icon: '📺', descriptionKu: 'Televizyona Dewleta Dijîtal a Kurdistanê', description: 'Digital Kurdistan State Television', color: '#E53935' }, - { id: 'dksgzt', nameKu: 'DKS Rojname', name: 'DKS Gazette', icon: '📰', descriptionKu: 'Nûçe û Daxuyaniyên Fermî', description: 'Official News & Announcements', color: '#1E88E5' }, + { id: 'dksgzt', nameKu: 'DKS Rojname', name: 'DKS Gazette', icon: '📰', descriptionKu: 'Nûçe û Daxuyaniyên Fermî', description: 'Official News & Announcements', color: '#1E88E5', url: 'https://news.pex.mom' }, { id: 'dksradio', nameKu: 'DKS Radyo', name: 'DKS Radio', icon: '📻', descriptionKu: 'Radyoya Dewleta Dijîtal a Kurdistanê', description: 'Digital Kurdistan State Radio', color: '#7B1FA2' }, { id: 'dksmusic', nameKu: 'DKS Muzîk', name: 'DKS Music', icon: '🎵', descriptionKu: 'Weşana Muzîka Kurdî', description: 'Kurdish Music Streaming', color: '#00897B' }, { id: 'dkspodcast',nameKu: 'DKS Podcast', name: 'DKS Podcast', icon: '🎙️', descriptionKu: 'Podcast û Gotûbêjên Kurdî', description: 'Kurdish Podcasts & Talks', color: '#F4511E' }, @@ -71,20 +72,38 @@ export default function KurdMediaPage() {

{t('kurdMedia.channels.desc', 'Weşanên fermî yên Dewleta Dijîtal a Kurdistanê.')}

{t('kurdMedia.channels.descEn', 'Official broadcasts of Digital Kurdistan State. TV, radio, news and more.')}

- {MEDIA_CHANNELS.map(ch => ( -
-
- {ch.icon} + {MEDIA_CHANNELS.map(ch => { + const inner = ( + <> +
+ {ch.icon} +
+
+

{ch.nameKu}

+

{ch.descriptionKu}

+
+ {ch.url ? ( + + {t('kurdMedia.open', 'Open')} ↗ + + ) : ( + + {t('kurdMedia.soon', 'Soon')} + + )} + + ); + return ch.url ? ( + + {inner} + + ) : ( +
+ {inner}
-
-

{ch.nameKu}

-

{ch.descriptionKu}

-
- - {t('kurdMedia.soon', 'Soon')} - -
- ))} + ); + })}