From f17873a67c114e23e0b77f9b6bb4d3dc2017f10c Mon Sep 17 00:00:00 2001 From: farhantock Date: Thu, 6 Jun 2024 12:30:49 +0700 Subject: [PATCH] feat(activity): page project activity --- src/screens/activity/index.js | 150 ++++++++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 src/screens/activity/index.js diff --git a/src/screens/activity/index.js b/src/screens/activity/index.js new file mode 100644 index 0000000..f2c2adc --- /dev/null +++ b/src/screens/activity/index.js @@ -0,0 +1,150 @@ +import React, { useEffect, useCallback, useMemo, useState, useRef } from 'react'; +import { Card, Text, Avatar, useTheme, IconButton, Appbar, Button, List, TouchableRipple } from 'react-native-paper'; +import { RefreshControl, StyleSheet, View, ScrollView, StatusBar } from 'react-native'; +import { colors } from '../../utils/color'; +import Icon from 'react-native-vector-icons/AntDesign'; +import { strings } from '../../utils/i18n'; + +export default function Activitycreen({ route, navigation }) { + const [expanded, setExpanded] = React.useState(true); + + return ( + + + + { navigation.goBack() }} /> + + + + { navigation.navigate('ShiftScreen') }}> + } + /> + + + { navigation.navigate('PPEScreen') }}> + } + /> + + { navigation.navigate('PPEScreen') }}> + } + /> + + { navigation.navigate('PPEScreen') }}> + } + /> + + + { navigation.navigate('BriefScreen') }}> + } + /> + + { navigation.navigate('PersonelScreen') }}> + } + /> + + { navigation.navigate('ActionActivityScreen') }}> + } + /> + + { navigation.navigate('TrainingActivityScreen') }}> + } + /> + + { navigation.navigate('VisitActivityScreen') }}> + } + /> + + { navigation.navigate('MutationBookScreen') }}> + } + /> + + { navigation.navigate('SpesialRequestAcitivityScreen') }}> + } + /> + + + + ) +} + +const styles = StyleSheet.create({ + container: { + flex: 1, + marginTop: 20, + backgroundColor: colors.pureWhite + }, + accordion: { + backgroundColor: colors.semiBlue, + color: colors.blue, + marginHorizontal: 10, + marginTop: 10, + borderRadius: 5 + }, + button: { + flex: 1, + margin: 5, + borderRadius: 5 + }, + row: { + flexDirection: 'row', + alignItems: 'center', + marginBottom: 5, + }, + buttonContainer: { + flexDirection: 'row', + justifyContent: 'space-between', + padding: 10, + paddingBottom: 20, + }, + +}) \ No newline at end of file