Donation
Add: - donation/[id]/fund-disbursement.tsx - donation/[id]/(news)/list-of-news.tsx Fix: screens/Donation/ProgressSection.tsx ### No Issue
This commit is contained in:
@@ -1,17 +1,27 @@
|
||||
import { ProgressCustom, Spacing, Grid, TextCustom } from "@/components";
|
||||
import {
|
||||
ClickableCustom,
|
||||
Grid,
|
||||
ProgressCustom,
|
||||
Spacing,
|
||||
TextCustom,
|
||||
} from "@/components";
|
||||
import { MainColor } from "@/constants/color-palet";
|
||||
import { ICON_SIZE_MEDIUM } from "@/constants/constans-value";
|
||||
import { Ionicons, MaterialIcons } from "@expo/vector-icons";
|
||||
import { router } from "expo-router";
|
||||
import { View } from "react-native";
|
||||
|
||||
export default function Donation_ProgressSection() {
|
||||
return (
|
||||
<>
|
||||
<View>
|
||||
<ProgressCustom size="lg" />
|
||||
<Spacing />
|
||||
<Grid>
|
||||
<Grid.Col span={4}>
|
||||
export default function Donation_ProgressSection({ id }: { id: string }) {
|
||||
return (
|
||||
<>
|
||||
<View>
|
||||
<ProgressCustom size="lg" />
|
||||
<Spacing />
|
||||
<Grid>
|
||||
<Grid.Col span={4}>
|
||||
<ClickableCustom
|
||||
onPress={() => router.push(`/donation/${id}/list-of-donatur`)}
|
||||
>
|
||||
<View style={{ alignItems: "center" }}>
|
||||
<Ionicons
|
||||
name="flower-sharp"
|
||||
@@ -21,15 +31,11 @@ export default function Donation_ProgressSection() {
|
||||
<Spacing height={10} />
|
||||
<TextCustom size="small">Donatur</TextCustom>
|
||||
</View>
|
||||
</Grid.Col>
|
||||
<Grid.Col
|
||||
span={4}
|
||||
style={{
|
||||
borderLeftWidth: 1,
|
||||
borderLeftColor: MainColor.white,
|
||||
borderRightWidth: 1,
|
||||
borderRightColor: MainColor.white,
|
||||
}}
|
||||
</ClickableCustom>
|
||||
</Grid.Col>
|
||||
<Grid.Col span={4}>
|
||||
<ClickableCustom
|
||||
onPress={() => router.push(`/donation/${id}/(news)/list-of-news`)}
|
||||
>
|
||||
<View style={{ alignItems: "center" }}>
|
||||
<Ionicons
|
||||
@@ -40,8 +46,12 @@ export default function Donation_ProgressSection() {
|
||||
<Spacing height={10} />
|
||||
<TextCustom size="small">Kabar Terbaru</TextCustom>
|
||||
</View>
|
||||
</Grid.Col>
|
||||
<Grid.Col span={4}>
|
||||
</ClickableCustom>
|
||||
</Grid.Col>
|
||||
<Grid.Col span={4}>
|
||||
<ClickableCustom
|
||||
onPress={() => router.push(`/donation/${id}/fund-disbursement`)}
|
||||
>
|
||||
<View style={{ alignItems: "center" }}>
|
||||
<MaterialIcons
|
||||
name="transfer-within-a-station"
|
||||
@@ -51,9 +61,10 @@ export default function Donation_ProgressSection() {
|
||||
<Spacing height={10} />
|
||||
<TextCustom size="small">Pencairan Dana</TextCustom>
|
||||
</View>
|
||||
</Grid.Col>
|
||||
</Grid>
|
||||
</View>
|
||||
</>
|
||||
);
|
||||
}
|
||||
</ClickableCustom>
|
||||
</Grid.Col>
|
||||
</Grid>
|
||||
</View>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user