From a988ecc4abc9216bc1232dab82478a38f1ab8604 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Tue, 24 Oct 2023 14:03:36 +0100 Subject: [PATCH 1/8] Roadmap action button color --- scripts/roadmap-content.cjs | 2 +- src/components/CustomRoadmap/RoadmapActionButton.tsx | 4 ++-- src/components/CustomRoadmap/RoadmapHeader.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/roadmap-content.cjs b/scripts/roadmap-content.cjs index 841734e94..05fa1d862 100644 --- a/scripts/roadmap-content.cjs +++ b/scripts/roadmap-content.cjs @@ -60,7 +60,7 @@ function writeTopicContent(currTopicUrl) { const roadmapTitle = roadmapId.replace(/-/g, ' '); - let prompt = `I am reading a guide about "${roadmapTitle}". I am on the topic "${parentTopic}". I want to know more about "${childTopic}". Write me with a brief summary of that. Content should be in markdown. I already know the benefits of each so do not add benefits in the output. Also include the code examples if applicable to this topic.`; + let prompt = `I am reading a guide about "${roadmapTitle}". I am on the topic "${parentTopic}". I want to know more about "${childTopic}". Write me a brief summary of that. Content should be in markdown. I already know the benefits of each so do not add benefits in the output. Also include the code examples if applicable to this topic.`; if (!childTopic) { prompt = `I am reading a guide about "${roadmapTitle}". I am on the topic "${parentTopic}". I want to know more about "${parentTopic}". Write me with a brief summary of that. Content should be in markdown. I already know the benefits of each so do not add benefits in the output. Also include the code examples if applicable to this topic.`; } diff --git a/src/components/CustomRoadmap/RoadmapActionButton.tsx b/src/components/CustomRoadmap/RoadmapActionButton.tsx index b0217a9c0..b6a6b3f3c 100644 --- a/src/components/CustomRoadmap/RoadmapActionButton.tsx +++ b/src/components/CustomRoadmap/RoadmapActionButton.tsx @@ -23,7 +23,7 @@ export function RoadmapActionButton(props: RoadmapActionButtonProps) {