-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: update auth flow navigation
- Loading branch information
1 parent
ef101d3
commit cd44d16
Showing
8 changed files
with
56 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { Compass, Wallet } from "@tamagui/lucide-icons"; | ||
import { Tabs } from "expo-router"; | ||
|
||
export default function TabLayout() { | ||
return ( | ||
<Tabs | ||
screenOptions={{ | ||
tabBarInactiveTintColor: "black", | ||
|
||
headerShown: false, | ||
}} | ||
> | ||
<Tabs.Screen | ||
name="home" | ||
options={{ | ||
title: "Home", | ||
tabBarIcon: ({ color }) => <Wallet color={color} />, | ||
}} | ||
/> | ||
<Tabs.Screen | ||
name="explore" | ||
options={{ | ||
title: "Explore", | ||
tabBarIcon: ({ color }) => <Compass color={color} />, | ||
}} | ||
/> | ||
</Tabs> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { Text, YStack } from "tamagui"; | ||
|
||
export default function Explore() { | ||
return ( | ||
<YStack alignItems="center" flex={1} paddingTop={20} backgroundColor="white"> | ||
<Text>Explore screen</Text> | ||
</YStack> | ||
); | ||
} |
2 changes: 1 addition & 1 deletion
2
apps/mobile/app/(auth)/Home.tsx → apps/mobile/app/(auth)/(tabs)/home.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters