update login, modal detail in tripInfo

This commit is contained in:
2025-11-01 19:47:45 +07:00
parent eea1482a88
commit 52d2f0f78b
11 changed files with 674 additions and 22 deletions

View File

@@ -1,4 +1,12 @@
import { Platform, ScrollView, StyleSheet, Text, View } from "react-native";
import { Link } from "expo-router";
import {
Platform,
ScrollView,
StyleSheet,
Text,
TouchableOpacity,
View,
} from "react-native";
import { SafeAreaView } from "react-native-safe-area-context";
export default function Warning() {
@@ -7,6 +15,12 @@ export default function Warning() {
<ScrollView contentContainerStyle={styles.scrollContent}>
<View style={styles.container}>
<Text style={styles.titleText}>Nhật Chuyến Đi</Text>
<Link href="/modal" asChild>
<TouchableOpacity style={styles.button}>
<Text style={styles.buttonText}>Mở Modal</Text>
</TouchableOpacity>
</Link>
</View>
</ScrollView>
</SafeAreaView>
@@ -32,4 +46,16 @@ const styles = StyleSheet.create({
default: "System",
}),
},
button: {
backgroundColor: "#007AFF",
paddingVertical: 14,
paddingHorizontal: 24,
borderRadius: 8,
marginTop: 20,
},
buttonText: {
color: "#fff",
fontSize: 16,
fontWeight: "600",
},
});