diff --git a/app/services/page.tsx b/app/services/page.tsx index a037970..d383a7c 100644 --- a/app/services/page.tsx +++ b/app/services/page.tsx @@ -1,13 +1,14 @@ import { OurService, Video } from "@/components/pages/home"; -import { ServiceBanner } from "@/components/pages/services"; +import { ServiceBanner, ServiceFaq } from "@/components/pages/services"; import React from "react"; export default function Page() { return ( -
+
); } diff --git a/components/pages/faq/answearQuestions.tsx b/components/pages/faq/answearQuestions.tsx index 946031f..825fb5c 100644 --- a/components/pages/faq/answearQuestions.tsx +++ b/components/pages/faq/answearQuestions.tsx @@ -1,44 +1,6 @@ import Link from "next/link"; import FAQAccordion from "./faqAccardion"; - -const faqItems = [ - { - id: "faq-1", - question: "How do I become a firefighter?", - answer: - "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel sit amet adipiscing sem neque.", - }, - { - id: "faq-2", - question: "What equipment do firefighters use?", - answer: - "Firefighters use specialized equipment including protective gear, breathing apparatus, fire hoses, ladders, and various rescue tools. Each piece of equipment is designed to keep firefighters safe while they perform their duties. Our team is trained extensively on all equipment and safety protocols.", - }, - { - id: "faq-3", - question: "Do firefighters only fight fires?", - answer: - "No, modern firefighters respond to a wide variety of emergencies including medical calls, vehicle accidents, hazardous material incidents, and rescue operations. They serve as first responders and are trained in emergency medical services to provide life-saving care to the community.", - }, - { - id: "faq-4", - question: "What are the work hours for firefighters?", - answer: - "Firefighters typically work shifts that vary by department. Many operate on a schedule of 24 hours on duty followed by 48-72 hours off duty. This schedule allows for adequate rest and recovery while ensuring continuous emergency response coverage for the community.", - }, - { - id: "faq-5", - question: "How long is firefighter training?", - answer: - "Initial firefighter training typically takes 12-18 weeks of full-time instruction at a fire academy. After this, firefighters continue receiving ongoing training throughout their careers. Our department invests heavily in continuous education to maintain the highest standards of service.", - }, - { - id: "faq-6", - question: "What is required to apply for the firefighter position?", - answer: - "Candidates must be at least 18 years old, have a high school diploma or GED, possess a valid drivers license, and pass a background check and medical examination. Physical fitness is essential, and candidates must pass the Candidate Physical Ability Test (CPAT).", - }, -]; +import { faqItems } from "@/lib/demoData"; export function Togle() { return ( @@ -72,7 +34,10 @@ export function Togle() { Nullam dictum felis eu pede mollis pretium integer tincidunt.

- + ASK A QUESTION
diff --git a/components/pages/faq/faqAccardion.tsx b/components/pages/faq/faqAccardion.tsx index c6f3da1..7033be4 100644 --- a/components/pages/faq/faqAccardion.tsx +++ b/components/pages/faq/faqAccardion.tsx @@ -19,7 +19,7 @@ export default function FAQAccordion({ items }: FAQAccordionProps) { {items.map((item, index) => ( -

+

{item.question}

diff --git a/components/pages/services/index.ts b/components/pages/services/index.ts index d568300..63f5f8e 100644 --- a/components/pages/services/index.ts +++ b/components/pages/services/index.ts @@ -1 +1,2 @@ export { ServiceBanner } from "./serviceBanner"; +export { ServiceFaq } from "./serviceFaq"; diff --git a/components/pages/services/serviceFaq.tsx b/components/pages/services/serviceFaq.tsx new file mode 100644 index 0000000..e1218fe --- /dev/null +++ b/components/pages/services/serviceFaq.tsx @@ -0,0 +1,27 @@ +import DotAnimatsiya from "@/components/dot/DotAnimatsiya"; +import FAQAccordion from "../faq/faqAccardion"; +import { faqItems } from "@/lib/demoData"; + +export function ServiceFaq() { + return ( +
+ {/* header */} +
+
+ FAQ +
+

+ General Questions +

+
+ + {/* FAQ Section */} +
+ +
+
+ ); +} diff --git a/lib/demoData.ts b/lib/demoData.ts index b44bcd3..568e8c8 100644 --- a/lib/demoData.ts +++ b/lib/demoData.ts @@ -27,4 +27,43 @@ export const DATA = [ "/images/products/products.webp", ], }, +]; + +export const faqItems = [ + { + id: "faq-1", + question: "How do I become a firefighter?", + answer: + "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel sit amet adipiscing sem neque.", + }, + { + id: "faq-2", + question: "What equipment do firefighters use?", + answer: + "Firefighters use specialized equipment including protective gear, breathing apparatus, fire hoses, ladders, and various rescue tools. Each piece of equipment is designed to keep firefighters safe while they perform their duties. Our team is trained extensively on all equipment and safety protocols.", + }, + { + id: "faq-3", + question: "Do firefighters only fight fires?", + answer: + "No, modern firefighters respond to a wide variety of emergencies including medical calls, vehicle accidents, hazardous material incidents, and rescue operations. They serve as first responders and are trained in emergency medical services to provide life-saving care to the community.", + }, + { + id: "faq-4", + question: "What are the work hours for firefighters?", + answer: + "Firefighters typically work shifts that vary by department. Many operate on a schedule of 24 hours on duty followed by 48-72 hours off duty. This schedule allows for adequate rest and recovery while ensuring continuous emergency response coverage for the community.", + }, + { + id: "faq-5", + question: "How long is firefighter training?", + answer: + "Initial firefighter training typically takes 12-18 weeks of full-time instruction at a fire academy. After this, firefighters continue receiving ongoing training throughout their careers. Our department invests heavily in continuous education to maintain the highest standards of service.", + }, + { + id: "faq-6", + question: "What is required to apply for the firefighter position?", + answer: + "Candidates must be at least 18 years old, have a high school diploma or GED, possess a valid drivers license, and pass a background check and medical examination. Physical fitness is essential, and candidates must pass the Candidate Physical Ability Test (CPAT).", + }, ]; \ No newline at end of file