create-gufran-expo-app 2.0.4 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/package.json +3 -3
  2. package/template/src/navigation/AuthStack.tsx +6 -25
  3. package/template/src/navigation/MainStack.tsx +0 -148
  4. package/template/src/navigation/RootNavigator.tsx +4 -26
  5. package/template/src/navigation/index.ts +0 -1
  6. package/template/src/navigation/navigationRef.ts +1 -1
  7. package/template/src/screens/HomeScreen.tsx +3 -215
  8. package/template/src/screens/auth/LoginScreen.tsx +13 -13
  9. package/template/src/screens/auth/index.ts +1 -6
  10. package/template/src/screens/index.ts +0 -35
  11. package/template/src/services/api.ts +5 -5
  12. package/template/src/services/authService.ts +3 -299
  13. package/template/src/services/mainServices.ts +19 -1914
  14. package/template/src/types/navigation.ts +5 -155
  15. package/template/src/utils/index.ts +5 -8
  16. package/template/src/navigation/MiddleStack.tsx +0 -35
  17. package/template/src/screens/auth/AddMamber.tsx +0 -428
  18. package/template/src/screens/auth/ForgotPasswordScreen.tsx +0 -176
  19. package/template/src/screens/auth/OTPVerifyScreen.tsx +0 -359
  20. package/template/src/screens/auth/RegisterScreen.tsx +0 -430
  21. package/template/src/screens/auth/SuccessScreen.tsx +0 -201
  22. package/template/src/screens/chat/ChatScreen.tsx +0 -1819
  23. package/template/src/screens/chat/ChatThreadsScreen.tsx +0 -360
  24. package/template/src/screens/chat/ReportMessageScreen.tsx +0 -238
  25. package/template/src/screens/clubs/Announcements.tsx +0 -426
  26. package/template/src/screens/clubs/BuyRaffleTicketsScreen.tsx +0 -568
  27. package/template/src/screens/clubs/ClubDeteils.tsx +0 -497
  28. package/template/src/screens/clubs/JoinClub.tsx +0 -841
  29. package/template/src/screens/events/EventScreen.tsx +0 -460
  30. package/template/src/screens/raffles/MyReferralMembersScreen.tsx +0 -758
  31. package/template/src/screens/raffles/RaffleDetailsScreen.tsx +0 -762
  32. package/template/src/screens/raffles/RafflesScreen.tsx +0 -495
  33. package/template/src/screens/raffles/SetRaffleReminderScreen.tsx +0 -390
  34. package/template/src/screens/teams/JoinTeamScreen.tsx +0 -464
  35. package/template/src/screens/teams/MyTeamDetailsScreen.tsx +0 -979
  36. package/template/src/screens/teams/MyTeamScreen.tsx +0 -568
  37. package/template/src/screens/teams/PendingRequestsScreen.tsx +0 -426
  38. package/template/src/screens/volunteerOpportunities/SetReminderScreen.tsx +0 -631
  39. package/template/src/screens/volunteerOpportunities/VolunteerOpportunitiesDetailsScreen.tsx +0 -1049
  40. package/template/src/screens/volunteerOpportunities/VolunteerOpportunitiesScreen.tsx +0 -608
  41. package/template/src/utils/ClubSearchManager.ts +0 -222
@@ -1,631 +0,0 @@
1
- import React, { useMemo, useState } from 'react';
2
- import { View, Text, StyleSheet, StatusBar, Platform, TouchableOpacity, Image, FlatList } from 'react-native';
3
- import { SetReminderScreenProps } from '../../types/navigation';
4
- import { theme } from '../../constants';
5
- import { moderateScale } from '../../utils/scaling';
6
- import { Fonts } from '../../constants/Fonts';
7
- import SVG from '../../assets/icons';
8
- import { SafeAreaView } from 'react-native-safe-area-context';
9
- import { useVolunteerOpportunityDetails, useSetVolunteerReminder, useVolunteerReminder, useDeleteVolunteerReminder } from '../../services/mainServices';
10
- import { ReminderCardItem, SetReminderModal } from '../../components/common';
11
- import ToastManager from '../../components/common/ToastManager';
12
- import { getApiErrorInfo } from '../../services';
13
- import moment from 'moment';
14
-
15
-
16
-
17
-
18
- export const SetReminderScreen: React.FC<SetReminderScreenProps> = ({ navigation, route }) => {
19
- const { selectedClub, item: itemDeteils } = route?.params ?? {};
20
- const opportunityId = itemDeteils?.id;
21
- const clubId = selectedClub?.id;
22
- const memberId = selectedClub?.selectedMember?.id;
23
- const [isReminderModalOpen, setIsReminderModalOpen] = useState<boolean>(false);
24
-
25
- const { data: opportunityResponse, isLoading, error } = useVolunteerOpportunityDetails(opportunityId);
26
- const { data: reminderResponse, isLoading: isReminderLoading, refetch: refetchReminder } = useVolunteerReminder(opportunityId, clubId, memberId);
27
-
28
- const setReminderMutation = useSetVolunteerReminder();
29
- const deleteReminderMutation = useDeleteVolunteerReminder();
30
-
31
- const opportunityDetails = opportunityResponse?.data?.data
32
- const details = useMemo(() => opportunityDetails?.data?.data ?? itemDeteils ?? {}, [opportunityDetails?.data?.data, itemDeteils]);
33
-
34
- const reminderDataRaw = reminderResponse?.data?.data;
35
- const reminderData = reminderDataRaw?.opportunityReminders ?? [];
36
-
37
-
38
- // Handle setting reminder
39
- const handleSetReminder = async (reminderDateTime: Date) => {
40
- if (!opportunityId || !memberId || !clubId) {
41
- ToastManager.error('Missing Information', 'Unable to set reminder. Missing required information.');
42
- return;
43
- }
44
-
45
- try {
46
- // Format date using moment for API
47
- const formattedDateTime = moment(reminderDateTime).format("YYYY-MM-DDTHH:mm:ssZ");
48
-
49
- const response = await setReminderMutation.mutateAsync({
50
- reminderDateTime: formattedDateTime,
51
- opportunityId: opportunityId,
52
- memberId: memberId,
53
- clubId: clubId,
54
- });
55
-
56
-
57
- ToastManager.success('Success', response.data?.message);
58
-
59
- // Close modal
60
- setIsReminderModalOpen(false);
61
-
62
- // Refetch the reminder data to update the UI
63
- refetchReminder();
64
- } catch (error: any) {
65
- console.error('Failed to set reminder:', error);
66
- const errorInfo = getApiErrorInfo(error);
67
- ToastManager.error(errorInfo?.message);
68
- ToastManager.error('Error', errorInfo?.message || 'Failed to set reminder. Please try again.');
69
- }
70
- };
71
-
72
- // Handle deleting reminder
73
- const handleDeleteReminder = async (reminderId: number | string | undefined) => {
74
- if (!opportunityId) {
75
- ToastManager.error('Error', 'Unable to delete reminder. Missing opportunity ID.');
76
- return;
77
- }
78
-
79
- if (!reminderId) {
80
- ToastManager.error('Error', 'Unable to delete reminder. Missing reminder ID.');
81
- console.error('reminderId is undefined or null:', reminderId);
82
- return;
83
- }
84
-
85
- try {
86
- const reminderIdNumber = typeof reminderId === 'string' ? parseInt(reminderId, 10) : reminderId;
87
-
88
- if (isNaN(reminderIdNumber)) {
89
- ToastManager.error('Error', 'Invalid reminder ID format.');
90
- return;
91
- }
92
-
93
- await deleteReminderMutation.mutateAsync({
94
- opportunityId: opportunityId,
95
- reminderId: reminderIdNumber,
96
- clubId: clubId,
97
- memberId: memberId,
98
- });
99
-
100
- ToastManager.success('Success', 'Reminder has been deleted successfully!');
101
-
102
- // Refetch the reminder data to update the UI
103
- refetchReminder();
104
- } catch (error: any) {
105
- console.error('Failed to delete reminder:', error);
106
- ToastManager.error('Error', error?.message || 'Failed to delete reminder. Please try again.');
107
- }
108
- };
109
-
110
-
111
-
112
-
113
- return (
114
-
115
-
116
- <View style={styles.container}>
117
- <StatusBar
118
- barStyle="light-content"
119
- backgroundColor={theme.colors.blue}
120
- translucent={Platform.OS === 'android' ? true : false}
121
- />
122
- {Platform.OS === 'ios' && <View style={styles.statusBarBackground} />}
123
- <SafeAreaView style={styles.safeArea}>
124
- <View style={styles.header}>
125
- <View style={styles.navRow}>
126
- <TouchableOpacity onPress={() => navigation.goBack()} hitSlop={{ top: 12, bottom: 12, left: 12, right: 12 }}>
127
- <SVG.arrowLeft_white width={moderateScale(25)} height={moderateScale(25)} />
128
- </TouchableOpacity>
129
- <View style={styles.clubInfoContainer}>
130
- <View style={styles.userConSty}>
131
- {selectedClub?.clubImage ? (
132
- <Image
133
- source={{ uri: selectedClub.clubImage }}
134
- style={styles.userDetailsSty}
135
- resizeMode="cover"
136
- />
137
- ) : (
138
- <View style={styles.placeholderLogoHeader}>
139
- <SVG.UsersIcon width={moderateScale(20)} height={moderateScale(20)} />
140
- </View>
141
- )}
142
- </View>
143
- <Text style={styles.userNameSty}>{selectedClub?.clubName ?? 'Unknown Club'}</Text>
144
- </View>
145
- </View>
146
- <View style={styles.headerMain}>
147
- <Text style={styles.headerTitle}>{details?.title ?? 'Volunteer Opportunity'}</Text>
148
- <View style={styles.opMetaRow}>
149
- <SVG.locationWhite width={moderateScale(18)} height={moderateScale(18)} />
150
- <Text style={styles.opMetaText}>{details?.address}</Text>
151
- </View>
152
- {itemDeteils?.scheduleDate && (
153
- <View style={styles.opMetaRow}>
154
- <SVG.CalendarWhite width={moderateScale(18)} height={moderateScale(18)} />
155
- <Text style={styles.opMetaText}>{itemDeteils.scheduleDate}</Text>
156
- </View>
157
- )}
158
- </View>
159
- </View>
160
- <View style={styles.content}>
161
- <Text style={styles.sectionTitle}>
162
- MY REMINDERS
163
- </Text>
164
- {isLoading ? (
165
- <View style={styles.loadingContainer}>
166
- <Text style={styles.emptyText}>Loading opportunity details...</Text>
167
- </View>
168
- ) : error ? (
169
- <View style={styles.loadingContainer}>
170
- <Text style={styles.errorText}>Error loading opportunity details.</Text>
171
- </View>
172
- ) : (
173
- <FlatList
174
- data={reminderData}
175
- style={styles.reminderList}
176
- keyExtractor={(item) => item?.reminderId?.toString() || item?.reminderDateTime.toString()}
177
- ListFooterComponent={<></>}
178
- ListFooterComponentStyle={styles.reminderListFooter}
179
- showsVerticalScrollIndicator={false}
180
- renderItem={({ item }) => {
181
- const reminderId = item?.reminderId;
182
- return (
183
- <ReminderCardItem
184
- reminderData={item}
185
- onDelete={() => {
186
- if (reminderId) {
187
- handleDeleteReminder(reminderId);
188
- } else {
189
- console.warn('Cannot delete: reminderId is missing', item);
190
- ToastManager.error('Error', 'Cannot delete reminder: ID is missing.');
191
- }
192
- }}
193
- />
194
- );
195
- }}
196
- ListEmptyComponent={() => {
197
- return (
198
- <View style={styles.emptyState}>
199
- <Text style={styles.emptyStateText}>
200
- No reminders set yet
201
- </Text>
202
- </View>
203
- );
204
- }}
205
- />
206
- )}
207
- </View>
208
-
209
- {/* Add Reminder Button */}
210
- <TouchableOpacity
211
- style={styles.addReminderButton}
212
- onPress={() => setIsReminderModalOpen(true)}
213
- activeOpacity={0.7}
214
- >
215
- <Text style={styles.addReminderButtonText}>+</Text>
216
- </TouchableOpacity>
217
- </SafeAreaView>
218
-
219
- {/* Set Reminder Modal */}
220
- <SetReminderModal
221
- maxDate={reminderDataRaw?.scheduledDate}
222
- visible={isReminderModalOpen}
223
- onClose={() => setIsReminderModalOpen(false)}
224
- onSave={handleSetReminder}
225
- onSuccessClose={true}
226
- />
227
- </View>
228
- );
229
- };
230
-
231
- const styles = StyleSheet.create({
232
- container: {
233
- flex: 1,
234
- backgroundColor: theme.colors.blue,
235
- },
236
- statusBarBackground: {
237
- position: 'absolute',
238
- top: 0,
239
- left: 0,
240
- right: 0,
241
- height: Platform.OS === 'ios' ? 44 : 0,
242
- backgroundColor: theme.colors.blue,
243
- zIndex: 1000,
244
- },
245
- safeArea: {
246
- flex: 1,
247
- backgroundColor: theme.colors.blue,
248
- },
249
- header: {
250
- paddingBottom: theme.spacing.lg,
251
- backgroundColor: theme.colors.blue,
252
- },
253
- reminderListFooter: {
254
- marginBottom: moderateScale(50),
255
- },
256
- navRow: {
257
- flexDirection: 'row',
258
- alignItems: 'center',
259
- paddingHorizontal: theme.spacing.lg,
260
- },
261
- clubInfoContainer: {
262
- flexDirection: 'row',
263
- alignItems: 'center',
264
- },
265
- userConSty: {
266
- marginHorizontal: moderateScale(10),
267
- width: moderateScale(30),
268
- height: moderateScale(30),
269
- borderRadius: moderateScale(15),
270
- borderWidth: 1.5,
271
- borderColor: theme.colors.imageBorder,
272
- backgroundColor: theme.colors.background,
273
- alignItems: 'center',
274
- justifyContent: 'center',
275
- },
276
- placeholderLogoHeader: {
277
- width: moderateScale(24),
278
- height: moderateScale(24),
279
- borderRadius: moderateScale(12),
280
- alignItems: 'center',
281
- justifyContent: 'center',
282
- },
283
- userDetailsSty: {
284
- width: moderateScale(30),
285
- height: moderateScale(30),
286
- borderRadius: moderateScale(15),
287
- resizeMode: 'cover',
288
- },
289
- userNameSty: {
290
- color: theme.colors.white,
291
- fontFamily: Fonts.outfitMedium,
292
- fontSize: moderateScale(15),
293
- },
294
- headerMain: {
295
- paddingHorizontal: theme.spacing.lg,
296
- marginTop: theme.spacing.sm,
297
- },
298
- headerSubtitle: {
299
- fontFamily: Fonts.outfitMedium,
300
- fontSize: theme.typography.fontSize.xs,
301
- color: 'rgba(255, 255, 255, 0.7)',
302
- marginBottom: theme.spacing.xs,
303
- },
304
- headerTitle: {
305
- fontFamily: Fonts.outfitSemiBold,
306
- fontSize: moderateScale(24),
307
- color: theme.colors.white,
308
- marginBottom: theme.spacing.sm,
309
- },
310
- opMetaRow: {
311
- flexDirection: 'row',
312
- alignItems: 'center',
313
- marginBottom: theme.spacing.xs,
314
- },
315
- opMetaText: {
316
- marginLeft: theme.spacing.xs,
317
- fontFamily: Fonts.outfitRegular,
318
- fontSize: theme.typography.fontSize.xs,
319
- color: 'rgba(255, 255, 255, 0.85)',
320
- },
321
- content: {
322
- flex: 1,
323
- backgroundColor: theme.colors.background,
324
- borderTopLeftRadius: moderateScale(28),
325
- borderTopRightRadius: moderateScale(28),
326
- paddingTop: moderateScale(10),
327
- paddingBottom: theme.spacing.md,
328
- paddingHorizontal: theme.spacing.lg
329
- },
330
- reminderList: {
331
- flex: 1,
332
- },
333
- section: {
334
- marginBottom: theme.spacing.lg,
335
- },
336
- sectionHeaderRow: {
337
- flexDirection: 'row',
338
- alignItems: 'center',
339
- justifyContent: 'space-between',
340
- marginBottom: theme.spacing.sm,
341
- },
342
- sectionTitle: {
343
- fontFamily: Fonts.outfitRegular,
344
- fontSize: theme.typography.fontSize.sm,
345
- color: theme.colors.blue,
346
- marginBottom: theme.spacing.sm,
347
- },
348
- listTitle: {
349
- fontFamily: Fonts.outfitSemiBold,
350
- fontSize: theme.typography.fontSize.sm,
351
- color: theme.colors.blue,
352
- },
353
- sectionSubtitle: {
354
- fontFamily: Fonts.outfitMedium,
355
- fontSize: theme.typography.fontSize.sm,
356
- color: theme.colors.DarkGray,
357
- },
358
- descriptionText: {
359
- marginTop: theme.spacing.xs,
360
- fontFamily: Fonts.outfitRegular,
361
- fontSize: theme.typography.fontSize.sm,
362
- color: theme.colors.paraText,
363
- lineHeight: moderateScale(22),
364
- },
365
- timeSlotsRow: {
366
- flexDirection: 'row',
367
- flexWrap: 'wrap',
368
- marginTop: theme.spacing.sm,
369
- },
370
- timeSlotChip: {
371
- flexDirection: 'row',
372
- paddingHorizontal: theme.spacing.xs,
373
- paddingVertical: theme.spacing.xs,
374
- borderRadius: theme.borderRadius.xxl,
375
- backgroundColor: theme.colors.surface,
376
- borderWidth: 1,
377
- borderColor: '#E2E8F0',
378
- marginRight: theme.spacing.sm,
379
- marginBottom: theme.spacing.sm,
380
- },
381
- timeSlotChipActive: {
382
- backgroundColor: theme.colors.blue,
383
- borderColor: theme.colors.blue,
384
- },
385
- timeSlotChipText: {
386
- fontFamily: Fonts.outfitRegular,
387
- fontSize: theme.typography.fontSize.xs,
388
- color: theme.colors.DarkGray,
389
- },
390
- timeSlotChipTextActive: {
391
- color: theme.colors.white,
392
- },
393
- quickActionsRow: {
394
- marginTop: theme.spacing.sm,
395
- gap: theme.spacing.md
396
- },
397
- primaryActionButton: {
398
- flex: 1,
399
- flexDirection: 'row',
400
- alignItems: 'center',
401
- justifyContent: 'center',
402
- backgroundColor: theme.colors.blue,
403
- paddingVertical: theme.spacing.sm,
404
- borderRadius: theme.borderRadius.xxl,
405
- marginRight: theme.spacing.sm,
406
- },
407
- primaryActionText: {
408
- marginLeft: theme.spacing.sm,
409
- fontFamily: Fonts.outfitSemiBold,
410
- fontSize: theme.typography.fontSize.md,
411
- color: theme.colors.white,
412
- },
413
- reminderButton: {
414
- flex: 1,
415
- flexDirection: 'row',
416
- alignItems: 'center',
417
- justifyContent: 'center',
418
- borderWidth: 1.5,
419
- borderColor: theme.colors.appleGreen,
420
- borderRadius: theme.borderRadius.xxl,
421
- paddingVertical: theme.spacing.sm,
422
- paddingHorizontal: theme.spacing.md,
423
- backgroundColor: theme.colors.background,
424
- },
425
- reminderText: {
426
- marginLeft: theme.spacing.sm,
427
- fontFamily: Fonts.outfitMedium,
428
- fontSize: theme.typography.fontSize.md,
429
- color: theme.colors.appleGreen,
430
- },
431
- reminderIndicator: {
432
- flexDirection: 'row',
433
- alignItems: 'center',
434
- },
435
- reminderTrack: {
436
- width: moderateScale(28),
437
- height: moderateScale(4),
438
- backgroundColor: theme.colors.appleGreen,
439
- borderRadius: moderateScale(2),
440
- marginRight: theme.spacing.xs,
441
- },
442
- reminderKnob: {
443
- width: moderateScale(12),
444
- height: moderateScale(12),
445
- borderRadius: moderateScale(6),
446
- backgroundColor: theme.colors.appleGreen,
447
- },
448
- volunteerFilterScroll: {
449
- paddingVertical: theme.spacing.xs,
450
- paddingRight: theme.spacing.lg,
451
- },
452
- volunteerFilterChip: {
453
- paddingHorizontal: theme.spacing.md,
454
- paddingVertical: theme.spacing.xs,
455
- borderRadius: theme.borderRadius.xxl,
456
- backgroundColor: theme.colors.lightLavenderGray,
457
- },
458
- volunteerFilterChipActive: {
459
- backgroundColor: theme.colors.blue,
460
- },
461
- volunteerFilterText: {
462
- fontFamily: Fonts.outfitMedium,
463
- fontSize: theme.typography.fontSize.sm,
464
- color: theme.colors.DarkGray,
465
- },
466
- volunteerFilterTextActive: {
467
- color: theme.colors.white,
468
- },
469
- volunteerList: {
470
- },
471
- volunteerCard: {
472
- flexDirection: 'row',
473
- alignItems: 'center',
474
- justifyContent: 'space-between',
475
- borderRadius: moderateScale(18),
476
- paddingHorizontal: theme.spacing.sm,
477
- paddingVertical: theme.spacing.sm,
478
- marginBottom: theme.spacing.sm,
479
- backgroundColor: theme.colors.lightLavenderGray,
480
- },
481
- volunteerInfo: {
482
- flex: 1,
483
- flexDirection: 'row',
484
- justifyContent: 'space-between',
485
- alignItems: 'center'
486
-
487
- },
488
- volunteerSlot: {
489
- fontFamily: Fonts.outfitMedium,
490
- fontSize: theme.typography.fontSize.sm,
491
- color: theme.colors.black,
492
- },
493
- volunteerSlotText: {
494
- marginTop: theme.spacing.xs,
495
- fontFamily: Fonts.outfitRegular,
496
- fontSize: theme.typography.fontSize.xs,
497
- color: theme.colors.DarkGray,
498
- },
499
- emptyState: {
500
- paddingVertical: theme.spacing.lg,
501
- alignItems: 'center',
502
- justifyContent: 'center',
503
- },
504
- emptyStateText: {
505
- fontFamily: Fonts.outfitMedium,
506
- fontSize: theme.typography.fontSize.sm,
507
- color: theme.colors.DarkGray,
508
- },
509
- loadingContainer: {
510
- flex: 1,
511
- justifyContent: 'center',
512
- alignItems: 'center',
513
- paddingHorizontal: theme.spacing.lg,
514
- },
515
- emptyText: {
516
- fontFamily: Fonts.outfitMedium,
517
- fontSize: theme.typography.fontSize.md,
518
- color: theme.colors.DarkGray,
519
- textAlign: 'center',
520
- },
521
- errorText: {
522
- fontFamily: Fonts.outfitMedium,
523
- fontSize: theme.typography.fontSize.md,
524
- color: theme.colors.cancelButton,
525
- marginTop: theme.spacing.md,
526
- textAlign: 'center',
527
- },
528
-
529
- setReminderButtonText: {
530
- color: theme.colors.appleGreen,
531
- fontWeight: theme.typography.fontWeight.semibold,
532
- },
533
- chatButtonText: {
534
- color: theme.colors.white,
535
- fontWeight: theme.typography.fontWeight.semibold,
536
- },
537
- saveButton: {
538
- // marginTop: theme.spacing.md,
539
- width: '100%',
540
- },
541
-
542
-
543
-
544
-
545
-
546
- modalOverlay: {
547
- flex: 1,
548
- justifyContent: 'flex-end',
549
- },
550
- modalBackdrop: {
551
- position: 'absolute',
552
- top: 0,
553
- left: 0,
554
- right: 0,
555
- bottom: 0,
556
- backgroundColor: 'rgba(0, 0, 0, 0.5)',
557
- },
558
- modalContainer: {
559
- backgroundColor: theme.colors.white,
560
- borderTopLeftRadius: moderateScale(20),
561
- borderTopRightRadius: moderateScale(20),
562
- paddingHorizontal: theme.spacing.lg,
563
- paddingTop: theme.spacing.sm,
564
- paddingBottom: theme.spacing.xl,
565
- height: '45%',
566
- maxHeight: '45%',
567
- },
568
- dragHandle: {
569
- width: moderateScale(40),
570
- height: moderateScale(4),
571
- backgroundColor: theme.colors.border,
572
- borderRadius: moderateScale(2),
573
- alignSelf: 'center',
574
- marginBottom: theme.spacing.sm,
575
- },
576
- reminderCard: {
577
- flexDirection: 'row',
578
- alignItems: 'center',
579
- backgroundColor: theme.colors.surface,
580
- borderRadius: theme.borderRadius.lg,
581
- padding: theme.spacing.md,
582
- borderWidth: 1,
583
- borderColor: theme.colors.appleGreen,
584
- marginTop: theme.spacing.sm,
585
- },
586
- reminderIconContainer: {
587
- width: moderateScale(40),
588
- height: moderateScale(40),
589
- borderRadius: moderateScale(20),
590
- backgroundColor: theme.colors.appleGreen,
591
- alignItems: 'center',
592
- justifyContent: 'center',
593
- marginRight: theme.spacing.sm,
594
- },
595
- reminderContent: {
596
- flex: 1,
597
- },
598
- reminderLabel: {
599
- fontFamily: Fonts.outfitRegular,
600
- fontSize: theme.typography.fontSize.xs,
601
- color: theme.colors.DarkGray,
602
- marginBottom: theme.spacing.xs,
603
- },
604
- reminderDateTime: {
605
- fontFamily: Fonts.outfitSemiBold,
606
- fontSize: theme.typography.fontSize.md,
607
- color: theme.colors.black,
608
- },
609
- addReminderButton: {
610
- position: 'absolute',
611
- bottom: moderateScale(50),
612
- right: moderateScale(25),
613
- width: moderateScale(56),
614
- height: moderateScale(56),
615
- borderRadius: moderateScale(28),
616
- backgroundColor: theme.colors.blue,
617
- alignItems: 'center',
618
- justifyContent: 'center',
619
- shadowColor: theme.colors.black,
620
- shadowOpacity: 0.3,
621
- shadowRadius: 8,
622
- shadowOffset: { width: 0, height: 4 },
623
- elevation: 8,
624
- },
625
- addReminderButtonText: {
626
- fontFamily: Fonts.outfitSemiBold,
627
- fontSize: moderateScale(32),
628
- color: theme.colors.white,
629
- marginBottom: moderateScale(2),
630
- },
631
- });