From ffaba806c93bc2b4c64d539409cc0ed1ac4af1f4 Mon Sep 17 00:00:00 2001 From: Arik Chakma Date: Tue, 17 Sep 2024 23:16:02 +0600 Subject: [PATCH] feat: add projects in homepage (#7118) --- src/pages/index.astro | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/pages/index.astro b/src/pages/index.astro index d229c749a..6a359c107 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -14,6 +14,16 @@ const roleRoadmaps = await getRoadmapsByTag('role-roadmap'); const skillRoadmaps = await getRoadmapsByTag('skill-roadmap'); const bestPractices = await getAllBestPractices(); const questionGroups = await getAllQuestionGroups(); +const projectGroups = [ + { + title: 'Frontend', + id: 'frontend', + }, + { + title: 'Backend', + id: 'backend', + }, +] const guides = await getAllGuides(); const questionGuides = (await getAllQuestionGroups()).filter( @@ -59,6 +69,15 @@ const videos = await getAllVideos(); showCreateRoadmap={true} /> + ({ + text: projectGroup.title, + url: `${projectGroup.id}/projects`, + }))} + /> + ({