Skip to content

Commit 65ce9c3

Browse files
Merge branch 'master' into feat/news-source-url
2 parents e401817 + 9e5a9bc commit 65ce9c3

5 files changed

Lines changed: 5 additions & 11 deletions

File tree

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ jobs:
99
pull-requests: write
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/labeler@v5
12+
- uses: actions/labeler@v6
1313
with:
1414
repo-token: "${{ secrets.GITHUB_TOKEN }}"

src/collections/integrations/kuma/index.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -320,12 +320,6 @@ components: [
320320
"colorIcon": "icons/components/mesh-trust/icons/color/mesh-trust-color.svg",
321321
"whiteIcon": "icons/components/mesh-trust/icons/white/mesh-trust-white.svg",
322322
"description": "",
323-
},
324-
{
325-
"name": "workload",
326-
"colorIcon": "icons/components/workload/icons/color/workload-color.svg",
327-
"whiteIcon": "icons/components/workload/icons/white/workload-white.svg",
328-
"description": "",
329323
}]
330324
featureList: [
331325
"Lightweight and flexible service mesh",

src/sections/Learn-Layer5/Course-Overview/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const CourseOverview = ({ course, chapters, serviceMeshesList, children }) => {
6363
return (
6464
<CourseOverviewWrapper>
6565
<div className="course-back-btn">
66-
<Link to={"/learn/learning-paths/${course.fields.learnpath}"}>
66+
<Link to={`/learn/learning-paths/${course.fields.learnpath}`}>
6767
<IoChevronBackOutline /> <h4>Learning Paths/Courses</h4>
6868
</Link>
6969
</div>
@@ -87,7 +87,7 @@ const CourseOverview = ({ course, chapters, serviceMeshesList, children }) => {
8787
</div>
8888
<Button
8989
title={hasBookmark ? "Start Again" : "Get Started"}
90-
$url={getChapterTitle(course.frontmatter.toc[0], chapters) ? "/${getChapterTitle(course.frontmatter.toc[0], chapters).fields.slug}" : "#"}
90+
$url={getChapterTitle(course.frontmatter.toc[0], chapters) ? `/${getChapterTitle(course.frontmatter.toc[0], chapters).fields.slug}` : "#"}
9191
/>
9292
{hasBookmark && (
9393
<Button

src/sections/Learn-Layer5/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ const LearnPathsPage = () => {
104104
<Row className="learning-path-cards">
105105
{data.learnPaths.nodes.map((tutorial) => (
106106
<Col $sm={6} key={tutorial.id} style={{ marginTop: "2rem" }}>
107-
<CardComponent tutorial={tutorial} path={tutorial.fields.learnpath} courseCount={getCoursesOfaLearningPath(tutorial.fields.learnpath).length} />
107+
<CardComponent tutorial={tutorial} path={`/${tutorial.fields.slug}`} courseCount={getCoursesOfaLearningPath(tutorial.fields.learnpath).length} />
108108
</Col>
109109
))}
110110
</Row>

src/sections/Learn/LearnPage-Sections/learning-path.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const LearningPaths = () => {
9090
<Row className="learning-path-cards">
9191
{data.learnPaths.nodes.map((tutorial) => (
9292
<Col $sm={6} key={tutorial.id}>
93-
<CardComponent tutorial={tutorial} path={`learning-paths/${tutorial.fields.learnpath}`} courseCount={getCoursesOfaLearningPath(tutorial.fields.learnpath).length} />
93+
<CardComponent tutorial={tutorial} path={`/learn/learning-paths/${tutorial.fields.learnpath}`} courseCount={getCoursesOfaLearningPath(tutorial.fields.learnpath).length} />
9494
</Col>
9595
))}
9696
</Row>

0 commit comments

Comments
 (0)