morethanadiagnosis-hub/mobile/app/(tabs)/_layout.tsx
admin 7eaacb08e1 feat: initialize React Native mobile app with Expo
Core features implemented:
- Expo cross-platform setup (iOS, Android, Web)
- Bottom tab navigation (Home, Resources, Community, Profile)
- Home screen with all major sections:
  * Hero section with mission statement
  * Happy Mail integration
  * Connect/Support section
  * Podcast information
  * Features grid
  * Wings of Remembrance
- Resources screen with curated support materials
- Community screen with support groups and circles
- Profile screen with user account management
- Auth layout structure (login, signup, forgot password)

Ready for:
- Authentication integration with FastAPI backend
- API integration for community features
- Database connectivity
- Testing on iOS, Android, and Web
2025-11-18 18:44:04 +00:00

69 lines
1.6 KiB
TypeScript

import { Tabs } from 'expo-router';
import { Ionicons } from '@expo/vector-icons';
export default function TabLayout() {
return (
<Tabs
screenOptions={{
headerShown: true,
tabBarActiveTintColor: '#0066cc',
tabBarInactiveTintColor: '#999',
headerStyle: {
backgroundColor: '#ffffff',
borderBottomColor: '#e0e0e0',
borderBottomWidth: 1,
},
headerTitleStyle: {
fontSize: 18,
fontWeight: '600',
color: '#000',
},
}}
>
<Tabs.Screen
name="index"
options={{
title: 'Home',
tabBarLabel: 'Home',
headerTitle: 'MoreThanADiagnosis',
tabBarIcon: ({ color, size }) => (
<Ionicons name="home" size={size} color={color} />
),
}}
/>
<Tabs.Screen
name="resources"
options={{
title: 'Resources',
tabBarLabel: 'Resources',
tabBarIcon: ({ color, size }) => (
<Ionicons name="book" size={size} color={color} />
),
}}
/>
<Tabs.Screen
name="community"
options={{
title: 'Community',
tabBarLabel: 'Community',
tabBarIcon: ({ color, size }) => (
<Ionicons name="people" size={size} color={color} />
),
}}
/>
<Tabs.Screen
name="profile"
options={{
title: 'Profile',
tabBarLabel: 'Profile',
tabBarIcon: ({ color, size }) => (
<Ionicons name="person" size={size} color={color} />
),
}}
/>
</Tabs>
);
}