fix folder

deksripsi:
- pindah folder user search & notifikasi ke (user)
This commit is contained in:
2025-07-08 11:47:32 +08:00
parent 8abf23fd13
commit b9af7e0ca7
11 changed files with 98 additions and 104 deletions

View File

@@ -0,0 +1,54 @@
import { BackButton } from "@/components";
import { MainColor } from "@/constants/color-palet";
import { HeaderStyles } from "@/styles/header-styles";
import { Ionicons } from "@expo/vector-icons";
import { router, Stack } from "expo-router";
export default function UserLayout() {
return (
<>
<Stack screenOptions={HeaderStyles}>
<Stack.Screen
name="home"
options={{
title: "HIPMI",
headerLeft: () => (
<Ionicons
name="search"
size={20}
color={MainColor.yellow}
onPress={() => router.push("/user-search")}
/>
),
headerRight: () => (
<Ionicons
name="notifications"
size={20}
color={MainColor.yellow}
onPress={() => router.push("/notifications")}
/>
),
}}
/>
{/* User Search */}
<Stack.Screen
name="user-search/index"
options={{
title: "Pencarian Pengguna",
headerLeft: () => <BackButton />,
}}
/>
{/* Notification */}
<Stack.Screen
name="notifications/index"
options={{
title: "Notifikasi",
headerLeft: () => <BackButton />,
}}
/>
</Stack>
</>
);
}

View File

@@ -0,0 +1,9 @@
import UiHome from "@/screens/Home/UiHome";
export default function Application() {
return (
<>
<UiHome />
</>
);
}

View File

@@ -0,0 +1,9 @@
import { TextCustom, ViewWrapper } from "@/components";
export default function Notifications() {
return (
<ViewWrapper>
<TextCustom>Notifications</TextCustom>
</ViewWrapper>
);
}

View File

@@ -0,0 +1,9 @@
import { TextCustom, ViewWrapper } from "@/components";
export default function UserSearch() {
return (
<ViewWrapper>
<TextCustom>User Search</TextCustom>
</ViewWrapper>
);
}