From 1ddac700c20ab0e6ca2cbe892ddd536388f8847f Mon Sep 17 00:00:00 2001 From: Pheonix <150040105+ArshiBansal@users.noreply.github.com> Date: Mon, 15 Jun 2026 23:01:16 +0530 Subject: [PATCH] added FAQ page --- src/app/faq/page.tsx | 213 +++++++++++++++++++++++++++++++ src/components/layout/Footer.tsx | 14 +- 2 files changed, 225 insertions(+), 2 deletions(-) create mode 100644 src/app/faq/page.tsx diff --git a/src/app/faq/page.tsx b/src/app/faq/page.tsx new file mode 100644 index 0000000..95dcce9 --- /dev/null +++ b/src/app/faq/page.tsx @@ -0,0 +1,213 @@ +import { + HelpCircle, + ChevronDown, + Trophy, + Users, + Award, + Calendar, + Github, + BookOpen, +} from 'lucide-react'; +import { siteConfig } from '@/config/siteConfig'; +import { MagneticText } from '@/components/ui/magnetic-text'; + +const faqCategories = [ + { + title: 'About DevPath', + icon: HelpCircle, + questions: [ + { + question: 'What is DevPath?', + answer: + 'DevPath is the complete ecosystem for ambitious developers. It combines structured learning pathways, real-world projects, community collaboration, open source contributions, events, and a rewarding gamified experience to accelerate your career.', + }, + { + question: 'Is DevPath free to use?', + answer: + 'Yes. Core features including learning resources, pathways, community access, and basic rewards are completely free. Premium physical rewards and advanced mentorships require Dev Points earned through participation.', + }, + { + question: 'Do you have mobile apps?', + answer: + 'Yes! DevPath is available on both iOS and Android. Track your progress, join discussions, and participate in events on the go.', + }, + ], + }, + { + title: 'Pathway & Progression', + icon: Trophy, + questions: [ + { + question: 'What is the DevPath Pathway?', + answer: + 'The DevPath Pathway is our gamified learning journey. You earn Dev Points, climb ranks (Shishya → Abhyasi → Sanrakshak), and progress through structured roadmaps from foundations to advanced full-stack and specialized domains.', + }, + { + question: 'How does the ranking and leaderboard work?', + answer: + 'You earn points through daily logins, streaks, project submissions, community contributions, hackathon wins, and more. The leaderboard showcases top developers. Higher ranks unlock better rewards and recognition.', + }, + { + question: 'What are the different ranks?', + answer: + 'Ranks include Shishya (beginner), Abhyasi (intermediate), and Sanrakshak (ultimate stewardship role). Each rank represents your growth and commitment in the DevPath ecosystem.', + }, + ], + }, + { + title: 'Rewards & Points', + icon: Award, + questions: [ + { + question: 'How can I earn Dev Points?', + answer: + 'Points are earned via daily login streaks, community engagement, project submissions, event participation, hackathon wins, gaining followers, and more.', + }, + { + question: 'What rewards can I redeem?', + answer: + 'You can redeem points for digital rewards (certificates, badges, roadmaps, mentorship) and physical items like sticker packs, T-shirts, coffee cups, mouse pads, backpacks, and premium hardware.', + }, + { + question: 'What is Community Spotlight and Verified Builder Badge?', + answer: + 'These are prestigious rewards for outstanding contributors and project builders. They showcase your work and boost your credibility in the community.', + }, + ], + }, + { + title: 'Events & Opportunities', + icon: Calendar, + questions: [ + { + question: 'What is HackFiesta?', + answer: + 'HackFiesta is our flagship hackathon. Participants receive official certificates that can be instantly downloaded after verification.', + }, + { + question: 'How does the Internship Calendar work?', + answer: + 'The 2026 Internship Calendar helps you track upcoming opportunities, application deadlines, and eligibility criteria from top tech companies.', + }, + ], + }, + { + title: 'Resources & Learning', + icon: BookOpen, + questions: [ + { + question: 'Where can I find roadmaps and learning materials?', + answer: + 'Visit the Resources section for curated roadmaps (Frontend, Backend, Full Stack, ML & AI, DevOps, etc.), practice sets, notes, and guided projects.', + }, + { + question: 'What domains are covered?', + answer: + 'We cover Frontend, Backend, Full Stack, DevOps, Machine Learning & AI, System Design, and more. All roadmaps are regularly updated.', + }, + ], + }, + { + title: 'Community & Open Source', + icon: Users, + questions: [ + { + question: 'How can I join the community?', + answer: + 'Go to the Community Hub to participate in discussions, showcase projects, connect with 500+ active developers, and collaborate.', + }, + { + question: 'How can I contribute to DevPath?', + answer: + 'Connect your GitHub account and contribute to our website, CLI tools, learning resources, or documentation. Top contributors get featured and rewarded.', + }, + { + question: 'What are the major open source platforms supported?', + answer: + 'We support GitHub, GitLab, and Bitbucket. You can connect any of these accounts to showcase your contributions.', + }, + ], + }, +]; + +export default function FAQPage() { + return ( +
+
+ {/* Header */} +
+
+
+ +
+
+ +

+ Everything you need to know about the DevPath ecosystem +

+
+ + {/* Categories */} +
+ {faqCategories.map((category, catIndex) => ( +
+
+ +

+ {category.title} +

+
+ +
+ {category.questions.map((faq, index) => ( +
+ +

+ {faq.question} +

+ +
+
+ {faq.answer} +
+
+ ))} +
+
+ ))} +
+ + {/* Still have questions */} +
+

Still have questions?

+

+ Our community and support team are ready to help you on your DevPath + journey. +

+
+ + Email Support + + + + Join Community + +
+
+
+
+ ); +} diff --git a/src/components/layout/Footer.tsx b/src/components/layout/Footer.tsx index 1e4dbce..3964c6b 100644 --- a/src/components/layout/Footer.tsx +++ b/src/components/layout/Footer.tsx @@ -9,6 +9,7 @@ import { Code, MessageSquare, Shield, + HelpCircle, // ← Added } from 'lucide-react'; import logo from '@/assets/logo.webp'; import styles from './Footer.module.css'; @@ -54,6 +55,11 @@ export default function Footer() { Wiki & Docs + + {' '} + {/* ← Added */} + FAQ + Feature Flags @@ -115,7 +121,9 @@ export default function Footer() { {/* Contact us */}
-

CONTACT US

+

+ CONTACT US +

-

GET THE APP

+

+ GET THE APP +