Loading backend/src/visited/templates/visit_template.ts +3 −1 Original line number Diff line number Diff line Loading @@ -19,6 +19,8 @@ export const visit_template = (places: string[]) => ` position: relative; display: flex; flex-direction: row; justify-content: center; align-items: center; height: 300px; width: 450px; gap: 10px; Loading @@ -29,7 +31,7 @@ export const visit_template = (places: string[]) => ` } .container .image { flex-grow: 1; max-width: 100%; max-width: 50%; height: 90%; border-radius: 10px; overflow: hidden; Loading mobile/app/_layout.tsx +4 −3 Original line number Diff line number Diff line Loading @@ -15,6 +15,7 @@ import { useSetUp, } from "../src/common/contexts/set_up_context"; import { useEffect } from "react"; import { LANG_CONSTANTS } from "../src/lang/lang"; export default function Root() { return ( Loading Loading @@ -129,10 +130,9 @@ const MainLayout = () => { }} /> <Stack.Screen name="routes/generate_manual_route" name="generate_route_manual" options={{ title: t("generateRouteMapScreen.title"), statusBarColor: LIGHT_THEME.color.primary, title: t(LANG_CONSTANTS.generateManualRouteScreenTitle), headerStyle: { backgroundColor: LIGHT_THEME.color.primary, }, Loading @@ -141,6 +141,7 @@ const MainLayout = () => { }, headerTitleAlign: "center", headerTintColor: LIGHT_THEME.color.white, statusBarColor: LIGHT_THEME.color.primary, }} /> <Stack.Screen Loading mobile/app/generate_route_manual.tsx 0 → 100644 +10 −0 Original line number Diff line number Diff line import { useLocalSearchParams } from "expo-router"; import { GenerateManualRoute } from "../src/route/screens/generate_manual_route_screen"; export default function GenerateManualRoutePage() { const { townId } = useLocalSearchParams<{ townId: string }>(); if (!townId) { return null; } return <GenerateManualRoute townId={+townId} />; } mobile/app/routes/generate_manual_route.tsxdeleted 100644 → 0 +0 −5 Original line number Diff line number Diff line import { GenerateManualRoute } from "../../src/route/screens/generate_manual_route_screen"; export const GenerateManualRoutePage = () => { return <GenerateManualRoute />; }; mobile/app/state/[stateId]/town/_layout.tsx +0 −8 Original line number Diff line number Diff line Loading @@ -20,14 +20,6 @@ export default function Layout() { }, headerTitleAlign: "center", headerTintColor: LIGHT_THEME.color.white, headerRight: () => ( <MaterialCommunityIcons name="map-marker-path" size={24} color={LIGHT_THEME.color.white} onPress={() => router.push("routes/generate_route")} /> ), }} /> <Stack.Screen Loading Loading
backend/src/visited/templates/visit_template.ts +3 −1 Original line number Diff line number Diff line Loading @@ -19,6 +19,8 @@ export const visit_template = (places: string[]) => ` position: relative; display: flex; flex-direction: row; justify-content: center; align-items: center; height: 300px; width: 450px; gap: 10px; Loading @@ -29,7 +31,7 @@ export const visit_template = (places: string[]) => ` } .container .image { flex-grow: 1; max-width: 100%; max-width: 50%; height: 90%; border-radius: 10px; overflow: hidden; Loading
mobile/app/_layout.tsx +4 −3 Original line number Diff line number Diff line Loading @@ -15,6 +15,7 @@ import { useSetUp, } from "../src/common/contexts/set_up_context"; import { useEffect } from "react"; import { LANG_CONSTANTS } from "../src/lang/lang"; export default function Root() { return ( Loading Loading @@ -129,10 +130,9 @@ const MainLayout = () => { }} /> <Stack.Screen name="routes/generate_manual_route" name="generate_route_manual" options={{ title: t("generateRouteMapScreen.title"), statusBarColor: LIGHT_THEME.color.primary, title: t(LANG_CONSTANTS.generateManualRouteScreenTitle), headerStyle: { backgroundColor: LIGHT_THEME.color.primary, }, Loading @@ -141,6 +141,7 @@ const MainLayout = () => { }, headerTitleAlign: "center", headerTintColor: LIGHT_THEME.color.white, statusBarColor: LIGHT_THEME.color.primary, }} /> <Stack.Screen Loading
mobile/app/generate_route_manual.tsx 0 → 100644 +10 −0 Original line number Diff line number Diff line import { useLocalSearchParams } from "expo-router"; import { GenerateManualRoute } from "../src/route/screens/generate_manual_route_screen"; export default function GenerateManualRoutePage() { const { townId } = useLocalSearchParams<{ townId: string }>(); if (!townId) { return null; } return <GenerateManualRoute townId={+townId} />; }
mobile/app/routes/generate_manual_route.tsxdeleted 100644 → 0 +0 −5 Original line number Diff line number Diff line import { GenerateManualRoute } from "../../src/route/screens/generate_manual_route_screen"; export const GenerateManualRoutePage = () => { return <GenerateManualRoute />; };
mobile/app/state/[stateId]/town/_layout.tsx +0 −8 Original line number Diff line number Diff line Loading @@ -20,14 +20,6 @@ export default function Layout() { }, headerTitleAlign: "center", headerTintColor: LIGHT_THEME.color.white, headerRight: () => ( <MaterialCommunityIcons name="map-marker-path" size={24} color={LIGHT_THEME.color.white} onPress={() => router.push("routes/generate_route")} /> ), }} /> <Stack.Screen Loading