Changes: - Updated app.json, eas.json configurations - Modified login, chat, profile, dashboard screens - Added profile subpages (about, edit, help, language, notifications, privacy, subscription, support, terms) - Updated BeneficiaryContext - Updated API service and types - Updated discussion questions scheme - Added .history to gitignore 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
82 lines
1.6 KiB
XML
82 lines
1.6 KiB
XML
import { Stack } from 'expo-router';
|
|
import { AppColors } from '@/constants/theme';
|
|
|
|
export default function ProfileLayout() {
|
|
return (
|
|
<Stack
|
|
screenOptions={{
|
|
headerStyle: {
|
|
backgroundColor: AppColors.background,
|
|
},
|
|
headerTintColor: AppColors.primary,
|
|
headerTitleStyle: {
|
|
fontWeight: '600',
|
|
},
|
|
headerBackTitleVisible: false,
|
|
headerShadowVisible: false,
|
|
}}
|
|
>
|
|
<Stack.Screen
|
|
name="edit"
|
|
options={{
|
|
title: 'Edit Profile',
|
|
}}
|
|
/>
|
|
<Stack.Screen
|
|
name="notifications"
|
|
options={{
|
|
title: 'Notifications',
|
|
}}
|
|
/>
|
|
<Stack.Screen
|
|
name="privacy"
|
|
options={{
|
|
title: 'Privacy & Security',
|
|
}}
|
|
/>
|
|
<Stack.Screen
|
|
name="help"
|
|
options={{
|
|
title: 'Help Center',
|
|
}}
|
|
/>
|
|
<Stack.Screen
|
|
name="support"
|
|
options={{
|
|
title: 'Contact Support',
|
|
}}
|
|
/>
|
|
<Stack.Screen
|
|
name="subscription"
|
|
options={{
|
|
title: 'WellNuo Pro',
|
|
}}
|
|
/>
|
|
<Stack.Screen
|
|
name="terms"
|
|
options={{
|
|
title: 'Terms of Service',
|
|
}}
|
|
/>
|
|
<Stack.Screen
|
|
name="privacy-policy"
|
|
options={{
|
|
title: 'Privacy Policy',
|
|
}}
|
|
/>
|
|
<Stack.Screen
|
|
name="about"
|
|
options={{
|
|
title: 'About WellNuo',
|
|
}}
|
|
/>
|
|
<Stack.Screen
|
|
name="language"
|
|
options={{
|
|
title: 'Language',
|
|
}}
|
|
/>
|
|
</Stack>
|
|
);
|
|
}
|