complated

This commit is contained in:
Samandar Turgunboyev
2026-02-17 10:46:57 +05:00
parent 754f11804a
commit d747c72c8d
71 changed files with 917 additions and 397 deletions

View File

@@ -16,6 +16,7 @@ import {
View,
} from 'react-native';
import OneClick from '@/assets/images/one_click.png';
import PAYME from '@/assets/images/Payme_NEW.png';
import { useTranslation } from 'react-i18next';
import { price_calculation } from '../lib/api';
@@ -210,14 +211,13 @@ export default function CreateAdsScreens() {
style={[styles.safeArea, isDark ? styles.darkBg : styles.lightBg]}
>
<ScrollView contentContainerStyle={[styles.container, { paddingBottom: 90 }]}>
<Image
source={OneClick}
style={{ width: 180, height: 56, marginBottom: 10 }}
resizeMode="contain"
/>
<Text style={[styles.title, isDark ? styles.darkText : styles.lightText]}>
{currentStep === 1
? t("E'lon ma'lumotlari")
: currentStep === 2
? t('Sohalar')
: currentStep === 3
? t('Manzil')
: t("To'lov")}
{t("Bir Zumda Jonatish")}
</Text>
{currentStep === 1 && (
@@ -334,7 +334,7 @@ const styles = StyleSheet.create({
backgroundColor: '#f8fafc',
},
container: { padding: 20 },
title: { fontSize: 22, fontWeight: '800', marginBottom: 20 },
title: { fontSize: 18, fontWeight: '800', marginBottom: 20 },
darkText: {
color: '#f1f5f9',
},