Skip to content

Commit 04227a8

Browse files
committed
works for now
1 parent ed5aa8b commit 04227a8

5 files changed

Lines changed: 309 additions & 104 deletions

File tree

apps/navigator/app/_layout.tsx

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,29 @@
11
import { Stack } from 'expo-router';
2-
import { GestureHandlerRootView } from 'react-native-gesture-handler';
32
import { StatusBar } from 'react-native';
3+
import { useEffect } from 'react';
44

55
export default function RootLayout() {
6+
useEffect(() => {
7+
StatusBar.setBarStyle('dark-content');
8+
}, []);
9+
610
return (
7-
<GestureHandlerRootView style={{ flex: 1 }}>
8-
<StatusBar barStyle="light-content" />
9-
<Stack screenOptions={{ headerShown: false }}>
10-
<Stack.Screen name="index" />
11-
<Stack.Screen
12-
name="navigate"
13-
options={{
14-
animation: 'slide_from_bottom',
15-
gestureEnabled: true,
16-
}}
17-
/>
18-
<Stack.Screen
19-
name="search"
20-
options={{
21-
presentation: 'modal',
22-
animation: 'slide_from_bottom',
23-
}}
24-
/>
25-
</Stack>
26-
</GestureHandlerRootView>
11+
<Stack screenOptions={{ headerShown: false, contentStyle: { backgroundColor: '#FFFFFF' } }}>
12+
<Stack.Screen name="index" />
13+
<Stack.Screen
14+
name="navigate"
15+
options={{
16+
animation: 'slide_from_bottom',
17+
gestureEnabled: true,
18+
}}
19+
/>
20+
<Stack.Screen
21+
name="search"
22+
options={{
23+
presentation: 'modal',
24+
animation: 'slide_from_bottom',
25+
}}
26+
/>
27+
</Stack>
2728
);
2829
}

apps/navigator/app/index.tsx

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export default function HomeScreen() {
8282

8383
return (
8484
<LinearGradient
85-
colors={['#1a1a2e', '#16213e', '#0f3460']}
85+
colors={['#FFFFFF', '#F5F5F5', '#EEEEEE']}
8686
style={styles.container}
8787
>
8888
<View style={[styles.content, { paddingTop: insets.top + 20 }]}>
@@ -160,7 +160,7 @@ export default function HomeScreen() {
160160
disabled={!selectedFloor}
161161
>
162162
<LinearGradient
163-
colors={selectedFloor ? ['#4facfe', '#00f2fe'] : ['#666', '#888']}
163+
colors={selectedFloor ? ['#00274C', '#00274C'] : ['#999', '#AAA']}
164164
start={{ x: 0, y: 0 }}
165165
end={{ x: 1, y: 0 }}
166166
style={styles.startButtonGradient}
@@ -182,11 +182,11 @@ const styles = StyleSheet.create({
182182
flex: 1,
183183
justifyContent: 'center',
184184
alignItems: 'center',
185-
backgroundColor: '#1a1a2e',
185+
backgroundColor: '#FFFFFF',
186186
},
187187
loadingText: {
188188
marginTop: 12,
189-
color: '#fff',
189+
color: '#00274C',
190190
fontSize: 16,
191191
},
192192
content: {
@@ -200,12 +200,13 @@ const styles = StyleSheet.create({
200200
title: {
201201
fontSize: 42,
202202
fontWeight: '800',
203-
color: '#fff',
203+
color: '#00274C',
204204
letterSpacing: 2,
205205
},
206206
subtitle: {
207207
fontSize: 16,
208-
color: 'rgba(255,255,255,0.6)',
208+
color: '#00274C',
209+
opacity: 0.6,
209210
marginTop: 8,
210211
letterSpacing: 4,
211212
textTransform: 'uppercase',
@@ -215,7 +216,8 @@ const styles = StyleSheet.create({
215216
},
216217
sectionTitle: {
217218
fontSize: 14,
218-
color: 'rgba(255,255,255,0.5)',
219+
color: '#00274C',
220+
opacity: 0.5,
219221
marginBottom: 12,
220222
textTransform: 'uppercase',
221223
letterSpacing: 1,
@@ -229,21 +231,24 @@ const styles = StyleSheet.create({
229231
paddingHorizontal: 20,
230232
paddingVertical: 12,
231233
borderRadius: 16,
232-
backgroundColor: 'rgba(255,255,255,0.1)',
233-
borderWidth: 1,
234-
borderColor: 'rgba(255,255,255,0.1)',
234+
backgroundColor: '#F0F0F0',
235+
borderWidth: 2,
236+
borderColor: '#E0E0E0',
235237
},
236238
selectionItemActive: {
237-
backgroundColor: 'rgba(79,172,254,0.2)',
238-
borderColor: '#4facfe',
239+
backgroundColor: '#FFCB05',
240+
borderColor: '#00274C',
239241
},
240242
selectionText: {
241-
color: 'rgba(255,255,255,0.7)',
243+
color: '#00274C',
244+
opacity: 0.7,
242245
fontSize: 16,
243246
fontWeight: '500',
244247
},
245248
selectionTextActive: {
246-
color: '#4facfe',
249+
color: '#00274C',
250+
opacity: 1,
251+
fontWeight: '700',
247252
},
248253
buttonContainer: {
249254
flex: 1,
@@ -262,7 +267,7 @@ const styles = StyleSheet.create({
262267
alignItems: 'center',
263268
},
264269
startButtonText: {
265-
color: '#fff',
270+
color: '#FFCB05',
266271
fontSize: 18,
267272
fontWeight: '700',
268273
letterSpacing: 1,

0 commit comments

Comments
 (0)