Loading mobile/app/(tabs)/_layout.tsx +0 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,6 @@ export default function Layout() { color: LIGTHT_THEME.color.white, }, headerTitleAlign: "center", }} > <Tabs.Screen Loading mobile/app/(tabs)/travel_history.tsx +2 −3 Original line number Diff line number Diff line import { View } from "react-native"; import { TravelHistoryPage } from "../../src/screens/travel_history/travel_history_page"; export default function TravelHistoryScreen() { return ( <View > </View> <TravelHistoryPage/> ); } No newline at end of file mobile/app/state/[stateId]/town/[townId]/activity/_layout.tsx +19 −15 Original line number Diff line number Diff line import { Stack } from "expo-router"; import { LIGTHT_THEME } from "../../../../../../src/constants/theme"; export default function ActivitySelectionScreen() { return ( <Stack> <Stack.Screen name="[activityId]/index" options={ { headerShown: false } } /> <Stack.Screen name="[activityId]/travel" options={ { headerShown: false } } /> <Stack.Screen name="[activityId]/index" options={{ headerShown: false, }} /> <Stack.Screen name="[activityId]/travel" options={{ headerShown: false, }} /> </Stack> ); } mobile/app/travel_history/_layout.tsx 0 → 100644 +26 −0 Original line number Diff line number Diff line import { Stack } from "expo-router"; import { LIGTHT_THEME } from "../../src/constants/theme"; import { Button } from "react-native"; import { ShareButton } from "../../src/travel_history/components/share_button"; export default function Layout() { return ( <Stack screenOptions={{ headerStyle: { backgroundColor: LIGTHT_THEME.color.primary, }, headerTitleStyle: { color: LIGTHT_THEME.color.white, }, headerTitleAlign: "center", headerTintColor: LIGTHT_THEME.color.white, }} > <Stack.Screen name="details/[id]" options={{ title: "Travel Details", headerRight: () => <ShareButton onPress={() => {}}/> }}/> </Stack> ); } Loading
mobile/app/(tabs)/_layout.tsx +0 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,6 @@ export default function Layout() { color: LIGTHT_THEME.color.white, }, headerTitleAlign: "center", }} > <Tabs.Screen Loading
mobile/app/(tabs)/travel_history.tsx +2 −3 Original line number Diff line number Diff line import { View } from "react-native"; import { TravelHistoryPage } from "../../src/screens/travel_history/travel_history_page"; export default function TravelHistoryScreen() { return ( <View > </View> <TravelHistoryPage/> ); } No newline at end of file
mobile/app/state/[stateId]/town/[townId]/activity/_layout.tsx +19 −15 Original line number Diff line number Diff line import { Stack } from "expo-router"; import { LIGTHT_THEME } from "../../../../../../src/constants/theme"; export default function ActivitySelectionScreen() { return ( <Stack> <Stack.Screen name="[activityId]/index" options={ { headerShown: false } } /> <Stack.Screen name="[activityId]/travel" options={ { headerShown: false } } /> <Stack.Screen name="[activityId]/index" options={{ headerShown: false, }} /> <Stack.Screen name="[activityId]/travel" options={{ headerShown: false, }} /> </Stack> ); }
mobile/app/travel_history/_layout.tsx 0 → 100644 +26 −0 Original line number Diff line number Diff line import { Stack } from "expo-router"; import { LIGTHT_THEME } from "../../src/constants/theme"; import { Button } from "react-native"; import { ShareButton } from "../../src/travel_history/components/share_button"; export default function Layout() { return ( <Stack screenOptions={{ headerStyle: { backgroundColor: LIGTHT_THEME.color.primary, }, headerTitleStyle: { color: LIGTHT_THEME.color.white, }, headerTitleAlign: "center", headerTintColor: LIGTHT_THEME.color.white, }} > <Stack.Screen name="details/[id]" options={{ title: "Travel Details", headerRight: () => <ShareButton onPress={() => {}}/> }}/> </Stack> ); }