upd: projeect

Deskripsi:
- ui list project
- ui grid project
- ui create project

No Issues
This commit is contained in:
amel
2025-03-05 15:35:21 +08:00
parent 6afe99c314
commit 8806f33a8d
17 changed files with 400 additions and 20 deletions

View File

@@ -0,0 +1,29 @@
import ButtonBackHeader from "@/components/buttonBackHeader";
import HeaderRightProjectDetail from "@/components/project/headerProjectDetail";
import SectionProgress from "@/components/sectionProgress";
import SectionTanggalTugas from "@/components/sectionTanggalTugas";
import Styles from "@/constants/Styles";
import { router, Stack, useLocalSearchParams } from "expo-router";
import { SafeAreaView, ScrollView, Text, View } from "react-native";
export default function DetailProject() {
const { id } = useLocalSearchParams()
return (
<SafeAreaView>
<Stack.Screen
options={{
headerLeft: () => <ButtonBackHeader onPress={() => { router.back() }} />,
headerTitle: 'Judul Kegiatan',
headerTitleAlign: 'center',
headerRight: () => <HeaderRightProjectDetail id={id} />,
}}
/>
<ScrollView>
<View style={[Styles.p15]}>
<SectionProgress text="Kemajuan Kegiatan 50%" />
<SectionTanggalTugas />
</View>
</ScrollView>
</SafeAreaView>
)
}