diff --git a/src/App.jsx b/src/App.jsx
index 975fa56..6048720 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -6,6 +6,7 @@ import Footer from './components/Footer';
import Home from './components/Home';
import About from './components/About';
import Roadmap from './components/Roadmap';
+import RoadmapDetail from './components/RoadmapDetail'; // Import the RoadmapDetail component
const App = () => {
const [menuOpen, setMenuOpen] = useState(false);
@@ -21,7 +22,9 @@ const App = () => {
} />
} />
- } />
+ }>
+ } />
+
diff --git a/src/assets/react.svg b/src/assets/react.svg
deleted file mode 100644
index 6c87de9..0000000
--- a/src/assets/react.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/src/challenges.js b/src/challenges.js
new file mode 100644
index 0000000..b0f5157
--- /dev/null
+++ b/src/challenges.js
@@ -0,0 +1,39 @@
+const challenges = [
+ {
+ title: 'Lack of Representation',
+ content: 'Seeing few role models from similar backgrounds can discourage individuals from pursuing tech careers.',
+ solution: 'Mentorship Programs: Connect with experienced professionals who can provide guidance, support, and networking opportunities.',
+ },
+ {
+ title: 'Implicit Bias and Discrimination',
+ content: 'Unconscious biases and discriminatory practices can hinder opportunities for minorities.',
+ solution: 'Address Impostor Syndrome: Challenge negative thoughts and focus on your accomplishments. Seek support from mentors or therapy.',
+ },
+ {
+ title: 'Limited Access to Education and Resources',
+ content: 'Lack of exposure to technology and programming education, especially in underserved communities.',
+ solution: 'Educational Initiatives: Seek out free or low-cost coding courses, bootcamps, and workshops.',
+ },
+ {
+ title: 'Financial Barriers',
+ content: 'Cost of education, certifications, and living expenses can be prohibitive.',
+ solution: 'Showcase Your Skills: Build a strong portfolio of projects to demonstrate your abilities and land interviews.',
+ },
+ {
+ title: 'Impostor Syndrome',
+ content: "Doubting one's abilities and feeling like an outsider in the tech industry.",
+ solution: 'Address Impostor Syndrome: Challenge negative thoughts and focus on your accomplishments. Seek support from mentors or therapy.',
+ },
+ {
+ title: 'Networking Challenges',
+ content: 'Building relationships in the tech community can feel overwhelming, especially when you’re just starting out. However, connections are key to unlocking opportunities and finding mentors who can help guide your journey.',
+ solution: 'Networking Events: Make a concerted effort to attend industry conferences, meetups, and hackathons. These spaces are not only great for learning but also for meeting like-minded individuals and industry leaders who can expand your professional network and open doors for you.',
+ },
+ {
+ title: 'Work-Life Balance',
+ content: 'Navigating a demanding tech career while juggling personal and family responsibilities can be tough. Prioritizing your well-being is essential for long-term success and happiness.',
+ solution: 'Prioritize Self-Care: Make self-care a non-negotiable part of your routine. Invest time in activities that rejuvenate you, whether it’s exercise, meditation, or spending quality time with loved ones. A balanced life enhances your productivity and creativity in the tech world.',
+ },
+];
+
+export default challenges;
\ No newline at end of file
diff --git a/src/components/Accordion.jsx b/src/components/Accordion.jsx
new file mode 100644
index 0000000..8a24fe6
--- /dev/null
+++ b/src/components/Accordion.jsx
@@ -0,0 +1,34 @@
+import React, { useState } from 'react';
+
+const Accordion = ({ items }) => {
+ const [openIndex, setOpenIndex] = useState(null);
+
+ const toggleItem = (index) => {
+ setOpenIndex(openIndex === index ? null : index);
+ };
+
+ return (
+
+
Conquering Challenges: Practical Tips for Diverse Talent
+ {items.map((item, index) => (
+
+
+ {openIndex === index && (
+
+
{item.content}
+
Solution:
+
{item.solution}
+
+ )}
+
+ ))}
+
+ );
+};
+
+export default Accordion;
\ No newline at end of file
diff --git a/src/components/Roadmap.jsx b/src/components/Roadmap.jsx
index 28a25b0..4d26941 100644
--- a/src/components/Roadmap.jsx
+++ b/src/components/Roadmap.jsx
@@ -1,12 +1,61 @@
-const Roadmap = () => (
-
-
- Roadmaps
-
-
- Explore our detailed roadmaps to guide your journey into the tech industry.
-
-
-);
+import { Outlet, useLocation, Link } from 'react-router-dom';
+import challenges from '../challenges';
+import roadmaps from '../roadmaps.json'; // Import the roadmaps data
+import Accordion from './Accordion'; // Import the Accordion component
-export default Roadmap;
+const Roadmap = () => {
+ const location = useLocation();
+ const isRootPath = location.pathname === '/roadmap';
+
+ return (
+
+
+ Roadmaps
+
+
+ Dive into our comprehensive roadmaps designed to illuminate your path into the tech industry. Each roadmap offers step-by-step guidance, tailored resources, and practical tips to help you navigate challenges and seize opportunities. Whether you’re just starting out or looking to advance your career, these roadmaps are your essential tools for success. Let’s chart your course together!
+
+
+ {isRootPath && (
+ <>
+
+
+
+
+
Available Roadmaps
+
+ {roadmaps.map((roadmap, index) => (
+
+
{roadmap.title}
+
{roadmap.description}
+
+ ))}
+
+
+
+
+
+
More Roadmaps Coming Soon
+
+ We’re excited to share that we’re actively developing additional roadmaps to guide you on your tech journey. These resources are designed to empower you, providing clear paths and actionable steps tailored to your goals. Keep an eye out for updates—your future in tech is bright, and we’re here to support you every step of the way!
+
+
+
+
+
Open Source Collaboration
+
+ These roadmaps are open source and we welcome collaboration from the community. Feel free to contribute and help us improve these resources.
+
+
+
+ >
+ )}
+
+ {!isRootPath && }
+
+ );
+};
+
+export default Roadmap;
\ No newline at end of file
diff --git a/src/components/RoadmapDetail.jsx b/src/components/RoadmapDetail.jsx
new file mode 100644
index 0000000..83b3204
--- /dev/null
+++ b/src/components/RoadmapDetail.jsx
@@ -0,0 +1,16 @@
+// src/components/RoadmapDetail.jsx
+import React from 'react';
+import { useParams } from 'react-router-dom';
+
+const RoadmapDetail = () => {
+ const { id } = useParams();
+
+ return (
+
+
Roadmap Detail: {id}
+
Details for roadmap {id} will be displayed here.
+
+ );
+};
+
+export default RoadmapDetail;
\ No newline at end of file