diff --git a/web/src/components/AppLayout.tsx b/web/src/components/AppLayout.tsx index 32f65399..e4cd18dc 100644 --- a/web/src/components/AppLayout.tsx +++ b/web/src/components/AppLayout.tsx @@ -8,6 +8,11 @@ import { fetchUserTikis, getPrimaryRole, getTikiDisplayName, getTikiEmoji, getCi import { getAllScores, type UserScores } from '@pezkuwi/lib/scores'; import { getKycStatus } from '@pezkuwi/lib/kyc'; import LandingPageDesktop from './landing/LandingPageDesktop'; +import HeroSection from './HeroSection'; +import { NetworkStats } from './NetworkStats'; +import TrustScoreCalculator from './TrustScoreCalculator'; +import ChainSpecs from './ChainSpecs'; +import RewardDistribution from './RewardDistribution'; import { LanguageSwitcher } from './LanguageSwitcher'; import NotificationBell from './notifications/NotificationBell'; import ProposalWizard from './proposals/ProposalWizard'; @@ -56,11 +61,18 @@ interface AppItem { title: string; icon: string; imgIcon?: string; route: string; href?: string; comingSoon?: boolean; requiresAuth?: boolean; } -interface AppSection { titleKey: string; emoji: string; borderColor: string; apps: AppItem[]; } +interface AppSection { + titleKey: string; emoji: string; + headerBg: string; cardBg: string; iconBg: string; + apps: AppItem[]; +} const APP_SECTIONS: AppSection[] = [ { - titleKey: 'mobile.section.finance', emoji: '💰', borderColor: 'border-l-green-500', + titleKey: 'mobile.section.finance', emoji: '💰', + headerBg: 'bg-gradient-to-r from-green-900/80 to-green-800/60', + cardBg: 'bg-green-950/40 border border-green-700/30', + iconBg: 'hover:bg-green-900/40', apps: [ { title: 'mobile.app.wallet', icon: '👛', route: '/wallet' }, { title: 'mobile.app.bank', icon: '🏦', route: '/finance/bank' }, @@ -73,7 +85,10 @@ const APP_SECTIONS: AppSection[] = [ ], }, { - titleKey: 'mobile.section.governance', emoji: '🏛️', borderColor: 'border-l-red-500', + titleKey: 'mobile.section.governance', emoji: '🏛️', + headerBg: 'bg-gradient-to-r from-red-900/80 to-red-800/60', + cardBg: 'bg-red-950/40 border border-red-700/30', + iconBg: 'hover:bg-red-900/40', apps: [ { title: 'mobile.app.president', icon: '👑', route: '/elections', requiresAuth: true }, { title: 'mobile.app.assembly', icon: '🏛️', route: '/governance/assembly' }, @@ -86,7 +101,10 @@ const APP_SECTIONS: AppSection[] = [ ], }, { - titleKey: 'mobile.section.social', emoji: '💬', borderColor: 'border-l-blue-500', + titleKey: 'mobile.section.social', emoji: '💬', + headerBg: 'bg-gradient-to-r from-blue-900/80 to-blue-800/60', + cardBg: 'bg-blue-950/40 border border-blue-700/30', + iconBg: 'hover:bg-blue-900/40', apps: [ { title: 'mobile.app.whatsKurd', icon: '💬', route: '/social/whatskurd' }, { title: 'mobile.app.forum', icon: '📰', route: '/forum' }, @@ -99,7 +117,10 @@ const APP_SECTIONS: AppSection[] = [ ], }, { - titleKey: 'mobile.section.education', emoji: '📚', borderColor: 'border-l-yellow-500', + titleKey: 'mobile.section.education', emoji: '📚', + headerBg: 'bg-gradient-to-r from-amber-900/80 to-amber-800/60', + cardBg: 'bg-amber-950/40 border border-amber-700/30', + iconBg: 'hover:bg-amber-900/40', apps: [ { title: 'mobile.app.university', icon: '🎓', route: '/education/university' }, { title: 'mobile.app.perwerde', icon: '📖', route: '/education', requiresAuth: true }, @@ -477,7 +498,8 @@ const AppLayout: React.FC = () => {