From 9679b9008d173873d09b4682d8d3c1088afd45e4 Mon Sep 17 00:00:00 2001 From: Dimitar765 Date: Fri, 27 Dec 2024 11:23:48 +0100 Subject: [PATCH] check v2 --- app/(root)/(tabs)/explore.tsx | 11 +++++++++++ app/{ => (root)/(tabs)}/index.tsx | 2 +- app/(root)/(tabs)/profile.tsx | 11 +++++++++++ app/(root)/properties/[id].tsx | 13 +++++++++++++ app/signin.tsx | 11 +++++++++++ 5 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 app/(root)/(tabs)/explore.tsx rename app/{ => (root)/(tabs)}/index.tsx (79%) create mode 100644 app/(root)/(tabs)/profile.tsx create mode 100644 app/(root)/properties/[id].tsx create mode 100644 app/signin.tsx diff --git a/app/(root)/(tabs)/explore.tsx b/app/(root)/(tabs)/explore.tsx new file mode 100644 index 0000000..d7e6555 --- /dev/null +++ b/app/(root)/(tabs)/explore.tsx @@ -0,0 +1,11 @@ +import { View, Text } from "react-native"; +import React from "react"; + +const Explore = () => { + return ( + + explore + + ); +}; +export default Explore; diff --git a/app/index.tsx b/app/(root)/(tabs)/index.tsx similarity index 79% rename from app/index.tsx rename to app/(root)/(tabs)/index.tsx index 866b635..c067347 100644 --- a/app/index.tsx +++ b/app/(root)/(tabs)/index.tsx @@ -9,7 +9,7 @@ export default function Index() { alignItems: "center", }} > - Edit app/index.tsx to edit this screen. + test expo & react native ); } diff --git a/app/(root)/(tabs)/profile.tsx b/app/(root)/(tabs)/profile.tsx new file mode 100644 index 0000000..0ffa186 --- /dev/null +++ b/app/(root)/(tabs)/profile.tsx @@ -0,0 +1,11 @@ +import { View, Text } from "react-native"; +import React from "react"; + +const Profile = () => { + return ( + + profile + + ); +}; +export default Profile; diff --git a/app/(root)/properties/[id].tsx b/app/(root)/properties/[id].tsx new file mode 100644 index 0000000..5bee409 --- /dev/null +++ b/app/(root)/properties/[id].tsx @@ -0,0 +1,13 @@ +import { View, Text } from "react-native"; +import React from "react"; +import { useLocalSearchParams } from "expo-router"; + +const Car = () => { + const { id } = useLocalSearchParams(); + return ( + + Car {id} + + ); +}; +export default Car; diff --git a/app/signin.tsx b/app/signin.tsx new file mode 100644 index 0000000..6aac187 --- /dev/null +++ b/app/signin.tsx @@ -0,0 +1,11 @@ +import { View, Text } from "react-native"; +import React from "react"; + +const SignIn = () => { + return ( + + Sign In + + ); +}; +export default SignIn;