|
|
|
@ -12,7 +12,7 @@ import { |
|
|
|
} from 'react-native'; |
|
|
|
import { SafeAreaView } from 'react-native-safe-area-context'; |
|
|
|
import { useJobProgress } from '../src/hooks'; |
|
|
|
import { colors, headerGradientShort } from '../src/theme'; |
|
|
|
import { colors, headerGradientShort , spacing } from '../src/theme'; |
|
|
|
import type { JobProgressCompany, JobProgressStage } from '../src/types'; |
|
|
|
|
|
|
|
const TABS: { key: 'all' | JobProgressStage; label: string }[] = [ |
|
|
|
@ -344,7 +344,7 @@ const styles = StyleSheet.create({ |
|
|
|
}, |
|
|
|
headerBtn: { width: 40, alignItems: 'center' }, |
|
|
|
headerTitle: { fontSize: 17, fontWeight: '700', color: colors.textPrimary }, |
|
|
|
body: { padding: 8, paddingBottom: 32 }, |
|
|
|
body: { padding: spacing.card, paddingBottom: 32 }, |
|
|
|
viewAllBtn: { |
|
|
|
flexDirection: 'row', |
|
|
|
alignItems: 'center', |
|
|
|
@ -359,8 +359,8 @@ const styles = StyleSheet.create({ |
|
|
|
marginRight: 2, |
|
|
|
}, |
|
|
|
statsCard: { |
|
|
|
borderRadius: 8, |
|
|
|
padding: 8, |
|
|
|
borderRadius: spacing.card, |
|
|
|
padding: spacing.card, |
|
|
|
marginBottom: 8, |
|
|
|
}, |
|
|
|
statsRow: { flexDirection: 'row', justifyContent: 'space-between' }, |
|
|
|
@ -371,8 +371,8 @@ const styles = StyleSheet.create({ |
|
|
|
flexDirection: 'row', |
|
|
|
alignItems: 'center', |
|
|
|
backgroundColor: colors.white, |
|
|
|
borderRadius: 8, |
|
|
|
padding: 8, |
|
|
|
borderRadius: spacing.card, |
|
|
|
padding: spacing.card, |
|
|
|
marginBottom: 8, |
|
|
|
borderWidth: 1, |
|
|
|
borderColor: colors.actionBorder, |
|
|
|
@ -396,8 +396,8 @@ const styles = StyleSheet.create({ |
|
|
|
tabTextActive: { color: colors.white, fontWeight: '600' }, |
|
|
|
emptyBox: { |
|
|
|
backgroundColor: colors.surface, |
|
|
|
borderRadius: 8, |
|
|
|
padding: 8, |
|
|
|
borderRadius: spacing.card, |
|
|
|
padding: spacing.card, |
|
|
|
alignItems: 'center', |
|
|
|
gap: 8, |
|
|
|
}, |
|
|
|
@ -413,8 +413,8 @@ const styles = StyleSheet.create({ |
|
|
|
sectionTitle: { fontSize: 16, fontWeight: '700', color: colors.textPrimary }, |
|
|
|
companyCard: { |
|
|
|
backgroundColor: colors.white, |
|
|
|
borderRadius: 8, |
|
|
|
padding: 8, |
|
|
|
borderRadius: spacing.card, |
|
|
|
padding: spacing.card, |
|
|
|
marginBottom: 8, |
|
|
|
borderWidth: 1, |
|
|
|
borderColor: colors.borderLight, |
|
|
|
@ -448,8 +448,8 @@ const styles = StyleSheet.create({ |
|
|
|
nextAction: { fontSize: 12, color: colors.textSecondary }, |
|
|
|
offerCard: { |
|
|
|
backgroundColor: colors.successLight, |
|
|
|
borderRadius: 8, |
|
|
|
padding: 8, |
|
|
|
borderRadius: spacing.card, |
|
|
|
padding: spacing.card, |
|
|
|
marginBottom: 8, |
|
|
|
borderWidth: 1, |
|
|
|
borderColor: colors.successBorder, |
|
|
|
@ -459,7 +459,7 @@ const styles = StyleSheet.create({ |
|
|
|
offerTag: { |
|
|
|
backgroundColor: colors.success, |
|
|
|
borderRadius: 10, |
|
|
|
paddingHorizontal: 8, |
|
|
|
paddingHorizontal: spacing.card, |
|
|
|
paddingVertical: 2, |
|
|
|
}, |
|
|
|
offerTagText: { fontSize: 11, fontWeight: '700', color: colors.white }, |
|
|
|
@ -469,8 +469,8 @@ const styles = StyleSheet.create({ |
|
|
|
offerDeadline: { fontSize: 12, color: colors.actionText, marginLeft: 4 }, |
|
|
|
card: { |
|
|
|
backgroundColor: colors.white, |
|
|
|
borderRadius: 8, |
|
|
|
padding: 8, |
|
|
|
borderRadius: spacing.card, |
|
|
|
padding: spacing.card, |
|
|
|
marginTop: 8, |
|
|
|
borderWidth: 1, |
|
|
|
borderColor: colors.borderLight, |
|
|
|
@ -493,6 +493,6 @@ const styles = StyleSheet.create({ |
|
|
|
barValue: { width: 20, fontSize: 11, color: colors.textSecondary, textAlign: 'right' }, |
|
|
|
center: { flex: 1, alignItems: 'center', justifyContent: 'center', paddingHorizontal: 40, gap: 12 }, |
|
|
|
tip: { fontSize: 14, color: colors.textSecondary }, |
|
|
|
retryBtn: { paddingHorizontal: 18, paddingVertical: 8, borderRadius: 16, backgroundColor: colors.primaryLight }, |
|
|
|
retryBtn: { paddingHorizontal: 18, paddingVertical: spacing.card, borderRadius: 16, backgroundColor: colors.primaryLight }, |
|
|
|
retryText: { fontSize: 13, fontWeight: '600', color: colors.primaryText }, |
|
|
|
}); |
|
|
|
|