feature & fix

deskripsi:
- new component Clickable
- new folder (image) untuk take picture dan imaga preview
- fix klik gambar
# No Issue
This commit is contained in:
2025-07-10 16:47:02 +08:00
parent 2c94638e27
commit c5798b3127
9 changed files with 127 additions and 32 deletions

View File

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

View File

@@ -1,7 +1,6 @@
import { MainColor } from "@/constants/color-palet";
import { BackButton } from "@/components";
import { HeaderStyles } from "@/styles/header-styles";
import { Ionicons } from "@expo/vector-icons";
import { router, Stack } from "expo-router";
import { Stack } from "expo-router";
export default function ApplicationLayout() {
return (
@@ -11,17 +10,19 @@ export default function ApplicationLayout() {
{/* Take Picture */}
<Stack.Screen
name="take-picture/[id]/index"
name="(image)/take-picture/[id]/index"
options={{
title: "Ambil Gambar",
headerLeft: () => (
<Ionicons
name="arrow-back"
size={20}
color={MainColor.yellow}
onPress={() => router.back()}
/>
),
headerLeft: () => <BackButton />,
}}
/>
{/* Preview Image */}
<Stack.Screen
name="(image)/preview-image/[id]/index"
options={{
title: "Preview Gambar",
headerLeft: () => <BackButton />,
}}
/>
</Stack>