From 8c17c0e2ee40775d8ba146d61a514e0aea1e1013 Mon Sep 17 00:00:00 2001 From: Luciano Giacchetta Date: Wed, 20 Aug 2025 18:13:45 -0300 Subject: [PATCH] #11 - Link courses in career program overview --- src/sections/global/career-program/career-program.astro | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/sections/global/career-program/career-program.astro b/src/sections/global/career-program/career-program.astro index 4ab4f4d..6b327a2 100644 --- a/src/sections/global/career-program/career-program.astro +++ b/src/sections/global/career-program/career-program.astro @@ -2,6 +2,7 @@ import type { Courses } from '../../../types/codyops-courses'; import type { Careers } from '../../../types/codyops-careers'; import { toSnakeCase, fromSnakeCase } from '../../../utils'; +import { slugifyCourse } from '../../../utils/text'; type Props = { career: Careers; @@ -82,9 +83,9 @@ const groupedCourses = career.courses?.reduce((acc, courseItem) => {
- {course.name} - {course.level}{course.level}