managarten/apps-archived/nutriphi/apps/mobile/app/(tabs)/_layout.tsx
Till-JS 61d181fbc2 chore: archive inactive projects to apps-archived/
Move inactive projects out of active workspace:
- bauntown (community website)
- maerchenzauber (AI story generation)
- memoro (voice memo app)
- news (news aggregation)
- nutriphi (nutrition tracking)
- reader (reading app)
- uload (URL shortener)
- wisekeep (AI wisdom extraction)

Update CLAUDE.md documentation:
- Add presi to active projects
- Document archived projects section
- Update workspace configuration

Archived apps can be re-activated by moving back to apps/

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 07:03:59 +01:00

46 lines
1.1 KiB
TypeScript

import { Tabs } from 'expo-router';
import { TabBarIcon } from '../../components/TabBarIcon';
import { CameraModal } from '../../components/camera/CameraModal';
import { useAppStore } from '../../store/AppStore';
import { useTheme } from '../../hooks/useTheme';
export default function TabLayout() {
const { showCameraModal, cameraMode } = useAppStore();
const { isDark } = useTheme();
return (
<>
<Tabs
screenOptions={{
tabBarActiveTintColor: '#6366f1',
tabBarStyle: {
backgroundColor: isDark ? '#1f2937' : 'white',
borderTopWidth: 1,
borderTopColor: isDark ? '#374151' : '#e5e7eb',
},
}}
>
<Tabs.Screen
name="index"
options={{
title: 'Meals',
tabBarIcon: ({ color }) => (
<TabBarIcon sfSymbol="fork.knife" fallbackIcon="cutlery" color={color} />
),
}}
/>
<Tabs.Screen
name="two"
options={{
title: 'Stats',
tabBarIcon: ({ color }) => (
<TabBarIcon sfSymbol="chart.bar" fallbackIcon="bar-chart" color={color} />
),
}}
/>
</Tabs>
{showCameraModal && <CameraModal mode={cameraMode || 'camera'} />}
</>
);
}