fix folder

deskripsi:
- pindah folder portofolio ke (user)
This commit is contained in:
2025-07-08 12:11:35 +08:00
parent b80968999e
commit 55b4b1fa8d
5 changed files with 14 additions and 11 deletions

View File

@@ -95,6 +95,14 @@ export default function UserLayout() {
headerLeft: () => <BackButton />, headerLeft: () => <BackButton />,
}} }}
/> />
{/* Portofolio */}
<Stack.Screen
name="portofolio"
options={{
headerShown: false,
}}
/>
</Stack> </Stack>
</> </>
); );

View File

@@ -1,11 +1,11 @@
import { Text, View } from "react-native"; import { TextCustom, ViewWrapper } from "@/components";
import { useLocalSearchParams } from "expo-router"; import { useLocalSearchParams } from "expo-router";
export default function PortofolioCreate() { export default function PortofolioCreate() {
const { id } = useLocalSearchParams(); const { id } = useLocalSearchParams();
return ( return (
<View> <ViewWrapper>
<Text>Portofolio Create {id}</Text> <TextCustom>Portofolio Create {id}</TextCustom>
</View> </ViewWrapper>
); );
} }

View File

@@ -20,6 +20,7 @@ export default function PortofolioLayout() {
name="[id]/create" name="[id]/create"
options={{ title: "Tambah Portofolio" }} options={{ title: "Tambah Portofolio" }}
/> />
</Stack> </Stack>
</> </>
); );

View File

@@ -17,13 +17,7 @@ export default function ApplicationLayout() {
}} }}
/> />
{/* Portofolio */}
<Stack.Screen
name="portofolio"
options={{
headerShown: false,
}}
/>
{/* Take Picture */} {/* Take Picture */}
<Stack.Screen <Stack.Screen