π Title
Implement expo-router navigation β replace single hardcoded screen in `App.tsx`
π Description
Currently `App.tsx` renders exactly one screen unconditionally (`InvestScreen`). `expo-router` is already in `package.json` but the app entry point is still `node_modules/expo/AppEntry.js` β expo-router is never activated. `@react-navigation/native` is installed but neither `@react-navigation/native-stack` nor `@react-navigation/bottom-tabs` are installed, so there is no working navigator.
The result: `PayScreen`, `SignIn`, `CreateAccountScreen`, and any future screens are completely unreachable. The BottomBar tab switching does nothing β `activeTab` state in `MainLayout` is set but never used to change what's rendered.
This issue wires up expo-router properly with a bottom-tab layout and registers all existing screens as real navigable routes.
β
Tasks to complete
π Documentation/context for AI
https://github.com/TrustUp-app/TrustUp-Frontend/tree/main/docs
Files to create:
- `app/_layout.tsx`
- `app/(tabs)/_layout.tsx`
- `app/(tabs)/index.tsx`
- `app/(tabs)/pay.tsx`
- `app/(tabs)/profile.tsx`
- `app/(tabs)/notifications.tsx`
- `app/sign-in.tsx`
- `app/create-account.tsx`
Files to modify:
- `package.json` (main entry)
- `components/shared/MainLayout.tsx` (remove tab state)
- `components/shared/BottomBar.tsx` (integrate with router or remove)
ποΈ Additional notes
- The tab bar should have 4 tabs: Home (house icon), Pay (credit-card icon), Notifications (bell icon), Profile (person icon)
- Auth screens (`sign-in`, `create-account`) live outside the `(tabs)` group β they should not show the tab bar
- Use `expo-router`'s `` component for the tab navigator β do not install `@react-navigation/bottom-tabs` separately
- The `NotificationsPanel` slide-in panel behavior should be replaced by a proper full-screen route at `/notifications`
- Keep `MainLayout.tsx` for the header only β remove the ScrollView wrapper and tab state from it
π Title
Implement expo-router navigation β replace single hardcoded screen in `App.tsx`
π Description
Currently `App.tsx` renders exactly one screen unconditionally (`InvestScreen`). `expo-router` is already in `package.json` but the app entry point is still `node_modules/expo/AppEntry.js` β expo-router is never activated. `@react-navigation/native` is installed but neither `@react-navigation/native-stack` nor `@react-navigation/bottom-tabs` are installed, so there is no working navigator.
The result: `PayScreen`, `SignIn`, `CreateAccountScreen`, and any future screens are completely unreachable. The BottomBar tab switching does nothing β `activeTab` state in `MainLayout` is set but never used to change what's rendered.
This issue wires up expo-router properly with a bottom-tab layout and registers all existing screens as real navigable routes.
β Tasks to complete
π Documentation/context for AI
https://github.com/TrustUp-app/TrustUp-Frontend/tree/main/docs
Files to create:
Files to modify:
ποΈ Additional notes