chore: UI and i18n updates — HomeScreen, ProfileScreen, Documents, Generate and locales

This commit is contained in:
2025-10-07 19:07:10 +05:30
parent 50972239b3
commit e0c68dbbd2
14 changed files with 1399 additions and 570 deletions

View File

@@ -1,50 +1 @@
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
import { useTranslation } from 'react-i18next';
import { NativeStackScreenProps } from '@react-navigation/native-stack';
import { Screen } from '../components/Screen';
import { SectionCard } from '../components/SectionCard';
import { ListButton } from '../components/ListButton';
import { TasksStackParamList } from '../types/navigation';
import { TaskHeader } from '../components/TaskHeader';
import { colors } from '../theme/colors';
type Props = NativeStackScreenProps<TasksStackParamList, 'CRM'>;
export const CRMScreen: React.FC<Props> = ({ navigation }) => {
const { t } = useTranslation();
return (
<Screen>
<TaskHeader
title={t('crm')}
caption={t('signalStudio')}
active="CRM"
onNavigate={screen => navigation.navigate(screen)}
/>
<SectionCard title={t('aiMisceles')} description={t('leadsMonitor')}>
<Text style={styles.cardBody}>
{t('pipelineExposure')}
</Text>
</SectionCard>
<View style={styles.actionsList}>
<ListButton label={t('aiInsights')} />
<ListButton label={t('recommendations')} />
<ListButton label={t('playbooks')} />
</View>
</Screen>
);
};
const styles = StyleSheet.create({
cardBody: {
fontSize: 14,
color: colors.textSecondary,
lineHeight: 22,
},
actionsList: {
gap: 14,
},
});
export { TasksScreen as CRMScreen } from './TasksScreen';