diff --git a/src/app/faqs/page.tsx b/src/app/faqs/page.tsx new file mode 100644 index 00000000..88136efa --- /dev/null +++ b/src/app/faqs/page.tsx @@ -0,0 +1,19 @@ +import Faqs from '@/components/Faqs'; +import FaqsGetintouchCard from '@/components/FaqsGetintouchCard'; + +export default function Page() { + return ( +
+
+

+ Frequently Asked Questions +

+

+ Quick answers to your questions you may have. +

+
+ + +
+ ); +} diff --git a/src/components/Faqs.tsx b/src/components/Faqs.tsx new file mode 100644 index 00000000..dfd2cc08 --- /dev/null +++ b/src/components/Faqs.tsx @@ -0,0 +1,16 @@ +import { faqData } from '@/lib/constant/faqs.constants'; + +export default function Faqs() { + return ( +
+
+ {faqData.map((faq, i) => ( +
+

{`Q. ${faq.question}`}

+

{faq.answer}

+
+ ))} +
+
+ ); +} diff --git a/src/components/FaqsGetintouchCard.tsx b/src/components/FaqsGetintouchCard.tsx new file mode 100644 index 00000000..07eaa9f3 --- /dev/null +++ b/src/components/FaqsGetintouchCard.tsx @@ -0,0 +1,12 @@ +import { Button } from './ui/button'; + +export default function FaqsGetintouchCard() { + return ( +
+

+ Can't find what you are looking ? +

+ +
+ ); +} diff --git a/src/lib/constant/app.constant.ts b/src/lib/constant/app.constant.ts index a8e562f8..0f25a5fc 100644 --- a/src/lib/constant/app.constant.ts +++ b/src/lib/constant/app.constant.ts @@ -13,7 +13,7 @@ export const navbar = [ // todo: add actual path { id: 3, label: 'Internship', path: '/' }, { id: 4, label: 'Testimonials', path: '/' }, - { id: 5, label: 'FAQs', path: '/' }, + { id: 5, label: 'FAQs', path: '/faqs' }, ]; export const socials: { diff --git a/src/lib/constant/faqs.constants.ts b/src/lib/constant/faqs.constants.ts new file mode 100644 index 00000000..4e7be3c6 --- /dev/null +++ b/src/lib/constant/faqs.constants.ts @@ -0,0 +1,32 @@ +export const faqData = [ + { + question: 'How do I apply for jobs?', + answer: + "Once logged in, search for jobs using keywords or filters. Click on the job title and hit the 'Apply' button, then follow the application instructions.", + }, + { + question: 'Can I save jobs to apply for later?', + answer: + "Yes, click the 'Save Job' button on the job listing to save it. You can find saved jobs in your dashboard under 'Saved Jobs.'", + }, + { + question: 'Can I receive job alerts?', + answer: + "Yes, set up job alerts by going to 'Job Alerts' in your account, specifying your preferences, and you’ll receive relevant job notifications via email.", + }, + { + question: 'Is there a fee to use this job portal?', + answer: + 'No, using the job portal to search and apply for jobs is completely free for job seekers.', + }, + { + question: 'Can I delete my account?', + answer: + "Yes, go to 'Account Settings' and select 'Delete Account.' Please note that this action is permanent.", + }, + { + question: 'How do I create an account?', + answer: + "Click the 'Sign Up' button on the homepage, fill in your details, and follow the instructions to verify your email.", + }, +];