|
| 1 | +"use client;" |
| 2 | + |
| 3 | +import FAQ from "./FAQ"; |
| 4 | + |
| 5 | +const faqList = [ |
| 6 | + { |
| 7 | + question: "What is the purpose of this website?", |
| 8 | + answer: |
| 9 | + "This platform helps VIT students visualize and manage their FFCS timetables more efficiently. It simplifies the course selection process and offers tools to compare and plan schedules." |
| 10 | + }, |
| 11 | + { |
| 12 | + question: "Can we share timetables?", |
| 13 | + answer: |
| 14 | + "Yes, after generating a timetable, you can share it using a unique link. This makes it easy to collaborate with friends." |
| 15 | + }, |
| 16 | + { |
| 17 | + question: "How do I use the website?", |
| 18 | + answer: |
| 19 | + "Start by selecting your preferences such as course, faculty, and slot. The platform will generate all possible timetables for you. You can filter, view, and share any of them with ease." |
| 20 | + }, |
| 21 | + { |
| 22 | + question: "Do I need to log in to use the platform?", |
| 23 | + answer: |
| 24 | + "No login is required. You can use all features anonymously, you only need to login in order to save your timetable." |
| 25 | + }, |
| 26 | + { |
| 27 | + question: "Is this affiliated with VIT University?", |
| 28 | + answer: |
| 29 | + "No, this is an independent student-made tool created by the CodeChef-VIT to assist students during FFCS." |
| 30 | + }, |
| 31 | + { |
| 32 | + question: "Will this work for all campuses?", |
| 33 | + answer: |
| 34 | + "Currently, the tool is optimized for VIT Vellore. Compatibility for other campuses may be added in future versions." |
| 35 | + } |
| 36 | +]; |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | +const Accordion = () => { |
| 41 | + return ( |
| 42 | + <div className="text-black w-full max-w-6xl flex flex-col gap-8 lg:mx-16 md:mx-4 xl:mx-auto items-center my-16 sm:mt-0 sm:mb-32 font-semibold"> |
| 43 | + <h1 className="font-bold text-3xl text-center">Frequently Asked Questions</h1> |
| 44 | + {faqList.map((faq, index) => ( |
| 45 | + <FAQ key={index} question={faq.question} answer={faq.answer} /> |
| 46 | + ))} |
| 47 | + </div> |
| 48 | + ); |
| 49 | +}; |
| 50 | + |
| 51 | +export default Accordion; |
0 commit comments