File size: 4,666 Bytes
f4854a1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
/* ============================================
   CONSTANTS
   ============================================ */

// Firebase collection names
export const COLLECTIONS = {
  USERS: 'users',
  DONATIONS: 'donations',
  CAMPAIGNS: 'campaigns',
  HELP_REQUESTS: 'helpRequests',
  VOLUNTEERS: 'volunteers',
  VOLUNTEER_ACTIVITIES: 'volunteerActivities',
  STORIES: 'stories',
  BLOG: 'blog',
  GALLERY: 'gallery',
  EVENTS: 'events',
  REPORTS: 'reports',
  NEWSLETTER: 'newsletter',
  SITE_CONTENT: 'siteContent',
};

// User roles
export const ROLES = {
  ADMIN: 'admin',
  CONTENT_MANAGER: 'content_manager',
  MANAGER: 'manager',
  VOLUNTEER_COORDINATOR: 'volunteer_coordinator',
  CITIZEN: 'citizen',
};

// Role hierarchy (higher index = higher access)
export const ROLE_HIERARCHY = [
  ROLES.CITIZEN,
  ROLES.VOLUNTEER_COORDINATOR,
  ROLES.MANAGER,
  ROLES.CONTENT_MANAGER,
  ROLES.ADMIN,
];

// Role display names
export const ROLE_LABELS = {
  [ROLES.ADMIN]: 'Administrator',
  [ROLES.CONTENT_MANAGER]: 'Content Manager',
  [ROLES.MANAGER]: 'Manager',
  [ROLES.VOLUNTEER_COORDINATOR]: 'Volunteer Coordinator',
  [ROLES.CITIZEN]: 'Citizen',
};

// Campaign categories
export const CAMPAIGN_CATEGORIES = [
  { value: 'medical', label: 'Medical Aid', icon: 'πŸ₯', color: '#EC4899' },
  { value: 'community', label: 'Community Development', icon: '🏘️', color: '#3B82F6' },
  { value: 'disaster', label: 'Disaster Relief', icon: 'πŸ†˜', color: '#EF4444' },
  { value: 'animal', label: 'Animal Welfare', icon: '🐾', color: '#10B981' },
];

// Urgency levels
export const URGENCY_LEVELS = [
  { value: 'critical', label: 'Critical', color: '#EF4444' },
  { value: 'high', label: 'High', color: '#F59E0B' },
  { value: 'medium', label: 'Medium', color: '#3B82F6' },
  { value: 'low', label: 'Low', color: '#10B981' },
];

// Donation presets
export const DONATION_PRESETS = [100, 500, 1000, 2500, 5000, 10000];

// Help request statuses
export const REQUEST_STATUSES = {
  SUBMITTED: 'submitted',
  UNDER_REVIEW: 'under_review',
  APPROVED: 'approved',
  REJECTED: 'rejected',
  FULFILLED: 'fulfilled',
};

// Volunteer statuses
export const VOLUNTEER_STATUSES = {
  PENDING: 'pending',
  APPROVED: 'approved',
  ACTIVE: 'active',
  INACTIVE: 'inactive',
};

// API base URL
export const API_BASE_URL = import.meta.env.VITE_API_URL || '/api';

// Razorpay public key
export const RAZORPAY_KEY_ID = import.meta.env.VITE_RAZORPAY_KEY_ID || '';


// Navigation links
export const NAV_LINKS = [
  { label: 'Home', path: '/' },
  { label: 'About', path: '/about' },
  { label: 'Our Work', path: '/our-work' },
  {
    label: 'Get Involved',
    path: '/get-involved',
    children: [
      { label: 'Donate Now', path: '/donate' },
      { label: 'Volunteer', path: '/volunteer' },
      { label: 'Request Help', path: '/help-request' },
    ],
  },
  // { label: 'Campaigns', path: '/campaigns' },
  // { label: 'Media Centre', path: '/media' },
  { label: 'Contact', path: '/contact' },
];

// Social media links
export const SOCIAL_LINKS = {
  facebook: 'https://facebook.com/socialshareandcare',
  twitter: 'https://twitter.com/socialsharecare',
  instagram: 'https://instagram.com/socialshareandcare',
  linkedin: 'https://linkedin.com/company/socialshareandcare',
  youtube: 'https://youtube.com/@socialshareandcare',
};

// Foundation info
export const FOUNDATION_INFO = {
  name: 'Social Share and Care Foundation',
  tagline: 'Small Help, Big Impact',
  email: 'info@socialshareandcare.org',
  phone: '+91 73541 71043 ',
  address: 'New Delhi, India',
  registrationNo: 'REG/2024/XXXXX',
  panNumber: 'AXXXX1234X',
  section80G: '80G/2024/XXXXX',
};

// Programs β€” 5 Key Pillars
export const PROGRAMS = [
  {
    id: 'medical',
    title: 'Medical Aid',
    description: 'Providing essential healthcare and aid to the sick.',
    icon: 'πŸ₯',
    color: '#EC4899',
    stats: {},
  },
  {
    id: 'education',
    title: "Children's Education",
    description: 'Empowering young minds with quality learning opportunities.',
    icon: 'πŸ“š',
    color: '#3B82F6',
    stats: {},
  },
  {
    id: 'animal',
    title: 'Animal Care',
    description: 'Ensuring welfare and protection for stray and needy animals.',
    icon: '🐾',
    color: '#10B981',
    stats: {},
  },
  {
    id: 'disaster',
    title: 'Disaster Relief',
    description: 'Delivering urgent support during crises and emergencies.',
    icon: 'πŸ†˜',
    color: '#EF4444',
    stats: {},
  },
  {
    id: 'elderly',
    title: 'Old Age Support',
    description: 'Offering dignity, care, and companionship to seniors.',
    icon: 'πŸ§“',
    color: '#8B5CF6',
    stats: {},
  },
];