feat: initial project scaffold with Watch companion app

This commit is contained in:
2026-08-04 17:28:06 +02:00
parent adbb4f01c5
commit 43b6467efb
65 changed files with 6361 additions and 166 deletions
+41
View File
@@ -0,0 +1,41 @@
import { createNativeStackNavigator } from "@react-navigation/native-stack";
import { WorkoutStackParamList } from "./types";
import { WorkoutListScreen } from "../features/workout-builder/screens/WorkoutListScreen";
import { BuilderScreen } from "../features/workout-builder/screens/BuilderScreen";
import { TemplatesScreen } from "../features/templates/screens/TemplatesScreen";
import { PreSwimScreen } from "../features/active-workout/screens/PreSwimScreen";
const Stack = createNativeStackNavigator<WorkoutStackParamList>();
export function WorkoutNavigator() {
return (
<Stack.Navigator
screenOptions={{
headerStyle: { backgroundColor: "#0ea5e9" },
headerTintColor: "#fff",
headerTitleStyle: { fontWeight: "bold" },
}}
>
<Stack.Screen
name="WorkoutList"
component={WorkoutListScreen}
options={{ title: "Workouts" }}
/>
<Stack.Screen
name="Builder"
component={BuilderScreen}
options={{ title: "Build Workout" }}
/>
<Stack.Screen
name="Templates"
component={TemplatesScreen}
options={{ title: "Templates" }}
/>
<Stack.Screen
name="PreSwim"
component={PreSwimScreen}
options={{ title: "Start Swim" }}
/>
</Stack.Navigator>
);
}