new featur

deskripsi:
- search user
- notifications
This commit is contained in:
2025-06-30 10:39:04 +08:00
parent 3849e03a1a
commit c1bee77629
8 changed files with 101 additions and 18 deletions

View File

@@ -28,7 +28,7 @@ export default function ApplicationLayout() {
name="search"
size={20}
color={MainColor.yellow}
onPress={() => router.back()}
onPress={() => router.push("/(application)/user-search")}
/>
),
headerRight: () => (
@@ -36,7 +36,7 @@ export default function ApplicationLayout() {
name="notifications"
size={20}
color={MainColor.yellow}
onPress={() => router.back()}
onPress={() => router.push("/(application)/notifications")}
/>
),
}}
@@ -73,7 +73,7 @@ export default function ApplicationLayout() {
/>
<Stack.Screen
name="market-place/index"
name="marketplace/index"
options={{
title: "Market Place",
headerLeft: () => (
@@ -101,6 +101,51 @@ export default function ApplicationLayout() {
),
}}
/>
<Stack.Screen
name="event/index"
options={{
title: "Event",
headerLeft: () => (
<Ionicons
name="arrow-back"
size={20}
color={MainColor.yellow}
onPress={() => router.back()}
/>
),
}}
/>
<Stack.Screen
name="user-search/index"
options={{
title: "Pencarian Pengguna",
headerLeft: () => (
<Ionicons
name="arrow-back"
size={20}
color={MainColor.yellow}
onPress={() => router.back()}
/>
),
}}
/>
<Stack.Screen
name="notifications/index"
options={{
title: "Notifikasi",
headerLeft: () => (
<Ionicons
name="arrow-back"
size={20}
color={MainColor.yellow}
onPress={() => router.back()}
/>
),
}}
/>
</Stack>
</>
);

View File

@@ -0,0 +1,9 @@
import { Text, View } from "react-native";
export default function Notifications() {
return (
<View>
<Text>Notifications</Text>
</View>
);
}

View File

@@ -0,0 +1,9 @@
import { Text, View } from "react-native";
export default function UserSearch() {
return (
<View>
<Text>User Search</Text>
</View>
)
}