+ );
};
const faqData = [
- {
- question: 'Can I file a complaint anonymously?',
- answer: 'Currently, you must register to file a complaint so authorities can track and respond.',
- },
- {
- question: 'What happens after I submit a complaint?',
- answer: 'Your complaint is reviewed by the appropriate department and progress is tracked.',
- },
- {
- question: 'How long does it take to resolve?',
- answer: 'Timelines vary, but we aim to address issues within 7 working days.',
- },
- {
- question: 'Will I be notified of status changes?',
- answer: "Yes, you'll receive email or dashboard updates on status changes.",
- },
+ {
+ question: 'Can I file a complaint anonymously?',
+ answer: 'Currently, you must register to file a complaint so authorities can track and respond.',
+ },
+ {
+ question: 'What happens after I submit a complaint?',
+ answer: 'Your complaint is reviewed by the appropriate department and progress is tracked.',
+ },
+ {
+ question: 'How long does it take to resolve?',
+ answer: 'Timelines vary, but we aim to address issues within 7 working days.',
+ },
+ {
+ question: 'Will I be notified of status changes?',
+ answer: "Yes, you'll receive email or dashboard updates on status changes.",
+ },
];
const Resources = () => {
- const [openIndex, setOpenIndex] = useState(null);
+ const [openIndex, setOpenIndex] = useState(null);
- const toggleFAQ = (index) => {
- setOpenIndex(openIndex === index ? null : index);
- };
+ const toggleFAQ = (index) => {
+ setOpenIndex(openIndex === index ? null : index);
+ };
- return (
-
+ Everything you need to know about filing complaints and accessing civic services
+
+
-
- {/* Header */}
-
-
- Citizen Resources
-
-
- Everything you need to know about filing complaints and accessing civic services
-
-
+
+ {/* Rights & Responsibilities */}
+
+
+
+
+
+
Your Rights & Responsibilities
+
+
+ You have the right to file civic complaints and receive timely updates. Please note that misuse or filing false complaints may lead to appropriate action being taken.
+
+
-
- {/* Rights & Responsibilities */}
-
-
-
-
-
-
Your Rights & Responsibilities
-
-
- You have the right to file civic complaints and receive timely updates. Please note that misuse or filing false complaints may lead to appropriate action being taken.
-
-
+ {/* How to File */}
+
+
+
+
+
+
How to File a Complaint
+
+
+ {[
+ 'Login to your account using your credentials',
+ 'Click "File a Complaint" from your dashboard',
+ 'Provide complete and accurate issue details',
+ 'Submit your complaint and track the status anytime',
+ ].map((step, index) => (
+
+
+ {index + 1}
+
+ {step}
+
+ ))}
+
+
- {/* How to File */}
-
-
-
-
-
-
How to File a Complaint
-
-
- {[
- 'Login to your account using your credentials',
- 'Click "File a Complaint" from your dashboard',
- 'Provide complete and accurate issue details',
- 'Submit your complaint and track the status anytime',
- ].map((step, index) => (
-