- Created .gitignore to exclude sensitive files and directories. - Added API documentation in API_DOCUMENTATION.md. - Included deployment instructions in DEPLOYMENT.md. - Established project structure documentation in PROJECT_STRUCTURE.md. - Updated README.md with project status and team information. - Added recommendations and status tracking documents. - Introduced testing guidelines in TESTING.md. - Set up CI workflow in .github/workflows/ci.yml. - Created Dockerfile for backend and frontend setups. - Added various service and utility files for backend functionality. - Implemented frontend components and pages for user interface. - Included mobile app structure and services. - Established scripts for deployment across multiple chains.
53 lines
1.4 KiB
TypeScript
53 lines
1.4 KiB
TypeScript
import React from 'react';
|
|
import { createStackNavigator } from '@react-navigation/stack';
|
|
import { TabNavigator } from './TabNavigator';
|
|
import { WalletConnectScreen } from '../screens/WalletConnect';
|
|
import { PoolDetailsScreen } from '../screens/PoolDetails';
|
|
import { VaultDetailsScreen } from '../screens/VaultDetails';
|
|
import { ProposalDetailsScreen } from '../screens/ProposalDetails';
|
|
|
|
const Stack = createStackNavigator();
|
|
|
|
export function StackNavigator() {
|
|
return (
|
|
<Stack.Navigator
|
|
screenOptions={{
|
|
headerStyle: {
|
|
backgroundColor: '#3b82f6',
|
|
},
|
|
headerTintColor: '#ffffff',
|
|
headerTitleStyle: {
|
|
fontWeight: 'bold',
|
|
},
|
|
}}
|
|
>
|
|
<Stack.Screen
|
|
name="WalletConnect"
|
|
component={WalletConnectScreen}
|
|
options={{ headerShown: false }}
|
|
/>
|
|
<Stack.Screen
|
|
name="Main"
|
|
component={TabNavigator}
|
|
options={{ headerShown: false }}
|
|
/>
|
|
<Stack.Screen
|
|
name="PoolDetails"
|
|
component={PoolDetailsScreen}
|
|
options={{ title: 'Pool Details' }}
|
|
/>
|
|
<Stack.Screen
|
|
name="VaultDetails"
|
|
component={VaultDetailsScreen}
|
|
options={{ title: 'Vault Details' }}
|
|
/>
|
|
<Stack.Screen
|
|
name="ProposalDetails"
|
|
component={ProposalDetailsScreen}
|
|
options={{ title: 'Proposal Details' }}
|
|
/>
|
|
</Stack.Navigator>
|
|
);
|
|
}
|
|
|