From 7a00234f9aa352f3262f160613975cb1d4a851db Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Fri, 4 Apr 2025 17:19:32 +0100 Subject: [PATCH] Add courses tag --- src/components/RoadmapHeader.astro | 12 +++ src/data/roadmaps/sql/sql.md | 14 +++ src/lib/roadmap.ts | 11 +++ src/pages/[roadmapId]/courses.astro | 141 ++++++++++++++++++---------- 4 files changed, 130 insertions(+), 48 deletions(-) diff --git a/src/components/RoadmapHeader.astro b/src/components/RoadmapHeader.astro index 985560765..2ea1c6037 100644 --- a/src/components/RoadmapHeader.astro +++ b/src/components/RoadmapHeader.astro @@ -1,6 +1,7 @@ --- import { ArrowLeftIcon, + BookOpenIcon, FolderKanbanIcon, MapIcon, MessageCircle, @@ -136,6 +137,17 @@ const roadmapTitle = isActive={activeTab === 'projects'} badgeText={projectCount > 0 ? '' : 'soon'} /> + { + roadmapId === 'sql' && ( + + ) + } = { 'AI and Data Scientist': 'AI and Data Science', 'Game Developer': 'Game Development', 'Technical Writer': 'Technical Writing', @@ -41,12 +41,32 @@ const descriptionNoun = { }; const title = `${roadmapData.briefTitle} Courses`; -const description = `Courses and project driven path to help you master ${descriptionNoun[roadmapData.briefTitle] || roadmapData.briefTitle}`; +const description = `Premium courses to help you master ${descriptionNoun[roadmapData.briefTitle] || roadmapData.briefTitle}`; const seoTitle = `${roadmapData.briefTitle} Courses`; const nounTitle = descriptionNoun[roadmapData.briefTitle] || roadmapData.briefTitle; const seoDescription = `Seeking ${nounTitle.toLowerCase()} courses to enhance your skills? Explore our top free and paid courses to help you become a ${nounTitle} expert!`; + +const courses = [ + { + title: 'Complete Course to Master SQL', + description: 'Learn SQL from scratch with this comprehensive course', + link: 'https://roadmap.sh/courses/sql', + instructor: { + name: 'Kamran Ahmed', + image: 'https://github.com/kamranahmedse.png', + title: 'Founder roadmap.sh', + }, + features: [ + '55+ Lessons', + 'AI Tutor', + 'Coding Environment', + 'Quizzes', + 'Certification', + ], + }, +]; ---
-
- - -
-

- Frontend development is a vast field with a lot of tools and - technologies. We have the frontend roadmap - which is filled with a lot of free and good resources to help you learn. But sometimes it helps to have a minimalistic - list of courses and project recommendations to help you get started. -

- -

- Below are some of the best courses (paid) and projects to help you - learn frontend development. These are handpicked and are a great way - to get started. -

- -

- Please note that these are paid courses curated from external - platforms. We earn a small commission if you purchase the course - using the links below. This helps us maintain the website and keep - it free for everyone. +

+
+

+ Official Courses by roadmap.sh + team

+
More coming soon
+
-

- If you are looking for free resources, you can check out the frontend roadmap. Also, we have a list of projects that you can work on to enhance your skills. -

+ - - -
- -
- -
- + { + courses.length === 0 && ( +
+

+ No courses available yet +

+

+ We're working on creating premium courses for this roadmap. + Check back soon! +

+
+ ) + }