diff --git a/app/(tabs)/_layout.tsx b/app/(tabs)/_layout.tsx index 09bb3c5..56a202b 100644 --- a/app/(tabs)/_layout.tsx +++ b/app/(tabs)/_layout.tsx @@ -36,13 +36,22 @@ export default function TabLayout() { }} /> ( + + ), + }} + /> + ( ), diff --git a/app/(tabs)/warning.tsx b/app/(tabs)/diary.tsx similarity index 91% rename from app/(tabs)/warning.tsx rename to app/(tabs)/diary.tsx index 11c5d91..87de40b 100644 --- a/app/(tabs)/warning.tsx +++ b/app/(tabs)/diary.tsx @@ -6,7 +6,7 @@ export default function Warning() { - Danh sách cảnh báo + Nhật Ký Chuyến Đi diff --git a/app/(tabs)/sensor.tsx b/app/(tabs)/sensor.tsx new file mode 100644 index 0000000..3b2ab4a --- /dev/null +++ b/app/(tabs)/sensor.tsx @@ -0,0 +1,35 @@ +import { Platform, ScrollView, StyleSheet, Text, View } from "react-native"; +import { SafeAreaView } from "react-native-safe-area-context"; + +export default function Sensor() { + return ( + + + + Cảm biến trên tàu + + + + ); +} + +const styles = StyleSheet.create({ + scrollContent: { + flexGrow: 1, + }, + container: { + alignItems: "center", + padding: 15, + }, + titleText: { + fontSize: 32, + fontWeight: "700", + lineHeight: 40, + marginBottom: 10, + fontFamily: Platform.select({ + ios: "System", + android: "Roboto", + default: "System", + }), + }, +}); diff --git a/components/tripInfo/NetListTable.tsx b/components/tripInfo/NetListTable.tsx index 90d6b24..a67a000 100644 --- a/components/tripInfo/NetListTable.tsx +++ b/components/tripInfo/NetListTable.tsx @@ -101,7 +101,7 @@ const NetListTable: React.FC = () => { {/* Cột Thao tác */} - + {/* { color="#333" style={{ marginLeft: 10 }} /> - + */} ))} @@ -138,7 +138,7 @@ const NetListTable: React.FC = () => { {/* Cột Thao tác */} - + {/* { color="#333" style={{ marginLeft: 10 }} /> - + */} ))} diff --git a/components/ui/icon-symbol.tsx b/components/ui/icon-symbol.tsx index b14bac8..7937b72 100644 --- a/components/ui/icon-symbol.tsx +++ b/components/ui/icon-symbol.tsx @@ -26,6 +26,8 @@ const MAPPING = { "arrowshape.down.fill": "arrow-drop-down", "arrowshape.up.fill": "arrow-drop-up", "exclamationmark.triangle.fill": "warning", + "book.closed.fill": "book", + "dot.radiowaves.left.and.right": "sensors", } as IconMapping; /**