-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
92 changed files
with
3,026 additions
and
805 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,7 @@ | ||
module.exports = { | ||
extends: ['expo', 'prettier'], | ||
plugins: ['prettier'], | ||
rules: { | ||
'prettier/prettier': 'error', | ||
}, | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { Stack } from 'expo-router'; | ||
import 'react-native-reanimated'; | ||
|
||
|
||
const Layout=()=> { | ||
|
||
return ( | ||
<Stack> | ||
<Stack.Screen name="welcome" options={{ headerShown: false }} /> | ||
<Stack.Screen name="sign-up" options={{ headerShown: false }} /> | ||
<Stack.Screen name="sign-in" options={{ headerShown: false }} /> | ||
</Stack> | ||
); | ||
} | ||
|
||
export default Layout; |
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,14 @@ | ||
import { View, Text } from "react-native" | ||
import { SafeAreaView } from "react-native-safe-area-context" | ||
|
||
const SignIn = () => { | ||
return( | ||
<SafeAreaView> | ||
<Text> | ||
SignIn | ||
</Text> | ||
</SafeAreaView> | ||
) | ||
} | ||
|
||
export default SignIn; |
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,14 @@ | ||
import { View, Text } from "react-native" | ||
import { SafeAreaView } from "react-native-safe-area-context" | ||
|
||
const SignUp = () => { | ||
return( | ||
<SafeAreaView> | ||
<Text> | ||
SignUp | ||
</Text> | ||
</SafeAreaView> | ||
) | ||
} | ||
|
||
export default SignUp; |
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,39 @@ | ||
import { onboarding } from "@/constants" | ||
import { router } from "expo-router" | ||
import { useRef, useState } from "react" | ||
import { View, Text, TouchableOpacity } from "react-native" | ||
import { SafeAreaView } from "react-native-safe-area-context" | ||
import Swiper from "react-native-swiper" | ||
import { Image } from "react-native" | ||
|
||
const Onboarding = () => { | ||
const swiperRef = useRef<Swiper>(null) | ||
const [activeIndex, setActiveIndex] = useState(0) | ||
return ( | ||
<SafeAreaView className="flex h-full items-center justify-between"> | ||
<TouchableOpacity onPress={() => { router.replace("/(auth)/sign-up") }} | ||
className="w-full flex justify-end items-end p-5"> | ||
<Text className="text-black text-md font-JakartaBold">Skip</Text> | ||
</TouchableOpacity> | ||
<Swiper ref={swiperRef} | ||
loop={false} | ||
dot={<View className="w-[32px] h-[4px] mx-1 bg-[#E2E8F0] rounded-full" />} | ||
activeDot={<View className="w-[32px] h-[4px] mx-1 bg-[#0286FF] rounded-full" />} | ||
onIndexChanged={(index) => setActiveIndex(index)} | ||
> | ||
{onboarding.map((item)=>( | ||
<View key={item.id} className="flex items-center justify-center p-5"> | ||
<Image | ||
source={item.image} | ||
className="w-full h-[300px]" | ||
resizeMode="contain" | ||
/> | ||
<Text>{item.title}</Text></View> | ||
))} | ||
|
||
</Swiper> | ||
</SafeAreaView> | ||
) | ||
} | ||
|
||
export default Onboarding; |
Empty file.
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,14 @@ | ||
import { View, Text } from "react-native" | ||
import { SafeAreaView } from "react-native-safe-area-context" | ||
|
||
const Chat = () => { | ||
return( | ||
<SafeAreaView> | ||
<Text> | ||
Chat | ||
</Text> | ||
</SafeAreaView> | ||
) | ||
} | ||
|
||
export default Chat; |
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,14 @@ | ||
import { View, Text } from "react-native" | ||
import { SafeAreaView } from "react-native-safe-area-context" | ||
|
||
const Home = () => { | ||
return( | ||
<SafeAreaView> | ||
<Text> | ||
Home | ||
</Text> | ||
</SafeAreaView> | ||
) | ||
} | ||
|
||
export default Home; |
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,14 @@ | ||
import { View, Text } from "react-native" | ||
import { SafeAreaView } from "react-native-safe-area-context" | ||
|
||
const Profile = () => { | ||
return( | ||
<SafeAreaView> | ||
<Text> | ||
Profile | ||
</Text> | ||
</SafeAreaView> | ||
) | ||
} | ||
|
||
export default Profile; |
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,14 @@ | ||
import { View, Text } from "react-native" | ||
import { SafeAreaView } from "react-native-safe-area-context" | ||
|
||
const Rides = () => { | ||
return( | ||
<SafeAreaView> | ||
<Text> | ||
Rides | ||
</Text> | ||
</SafeAreaView> | ||
) | ||
} | ||
|
||
export default Rides; |
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.