trails/apps/mobile/app/(tabs)/_layout.tsx
Ullrich Schäfer 95fdbfee2f
Initialize Expo mobile app with tab navigation and monorepo support
- Expo managed project at apps/mobile/ with TypeScript
- Expo Router with 4 tabs: Map, Routes, Activities, Profile
- app.config.ts with monorepo experiment, bundle IDs, scheme
- Workspace packages linked: api, gpx, i18n, map-core, types
- Profile tab imports API_VERSION from @trails-cool/api to verify
  shared package resolution

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 23:05:57 +02:00

41 lines
793 B
TypeScript

import { Tabs } from "expo-router";
export default function TabLayout() {
return (
<Tabs
screenOptions={{
tabBarActiveTintColor: "#4A6B40",
headerShown: false,
}}
>
<Tabs.Screen
name="index"
options={{
title: "Map",
tabBarIcon: () => null,
}}
/>
<Tabs.Screen
name="routes"
options={{
title: "Routes",
tabBarIcon: () => null,
}}
/>
<Tabs.Screen
name="activities"
options={{
title: "Activities",
tabBarIcon: () => null,
}}
/>
<Tabs.Screen
name="profile"
options={{
title: "Profile",
tabBarIcon: () => null,
}}
/>
</Tabs>
);
}