diff --git a/src/components/LearningPathCatalog.tsx b/src/components/LearningPathCatalog.tsx index b71cc42be4ec0f..e2493ffae25875 100644 --- a/src/components/LearningPathCatalog.tsx +++ b/src/components/LearningPathCatalog.tsx @@ -42,6 +42,7 @@ const LearningPathCatalog = ({ description: lp.description, products: lp.products, groups, + video: lp.video, }; }); @@ -152,19 +153,22 @@ const LearningPathCatalog = ({ href={path.link} className="rounded-md border border-solid border-gray-200 p-6 !text-inherit no-underline hover:bg-gray-50 dark:border-gray-700 dark:hover:bg-gray-800" > - {path.icon && ( -
- -
- )} +
+ {path.icon && ( +
+ +
+ )} + {path.video && Video} +

{path.title}

diff --git a/src/content/learning-paths/sase-overview-course.json b/src/content/learning-paths/sase-overview-course.json index a84d5d2d16eeee..e8f8d18753b3d6 100644 --- a/src/content/learning-paths/sase-overview-course.json +++ b/src/content/learning-paths/sase-overview-course.json @@ -3,10 +3,8 @@ "path": "/learning-paths/sase-overview-course/series/evolution-corporate-networks-1/", "priority": 1, "description": "Watch this series and learn all about Cloudflare's Secure Access Service Edge (SASE) platform to learn how it can revolutionize your corporate network.", - "products": [ - "Cloudflare One" - ], + "products": ["Cloudflare One"], "product_group": "Cloudflare One", - "additional_groups": ["Cloudflare One"] + "additional_groups": ["Cloudflare One"], + "video": true } - diff --git a/src/schemas/learning-paths.ts b/src/schemas/learning-paths.ts index fd6f0d9007be7c..555df50c2b4cd3 100644 --- a/src/schemas/learning-paths.ts +++ b/src/schemas/learning-paths.ts @@ -10,5 +10,6 @@ export const learningPathsSchema = z products: z.string().array(), product_group: z.string(), additional_groups: z.string().array().optional(), + video: z.boolean().default(false), }) .strict();