@@ -4,6 +4,8 @@ import { HelpBox } from "@/components/fallback-pages/Helpbox";
44import { Fragment } from "react/jsx-runtime" ;
55import { generateCommandList } from "@/components/fallback-pages/Commands" ;
66import { secretCommands } from "@/contents/secrets" ;
7+ import { VideoModal } from "@/components/VideoModal" ;
8+ import SecretsVideo from "@/assets/illustrations/secrets-video.svg" ;
79
810export function InfoBox ( ) {
911 return (
@@ -17,14 +19,30 @@ export function InfoBox() {
1719}
1820
1921export function HeaderBox ( ) {
22+ const videoLink =
23+ "https://zenml.portal.trainn.co/share/R0A37qU8LVfcvPi6wxdhaQ/embed?autoplay=false" ;
2024 return (
21- < Box className = "flex flex-col-reverse items-stretch overflow-hidden md :flex-row" >
22- < div className = "w-full p-7 md :w-2/3" >
25+ < Box className = "flex flex-col-reverse items-stretch overflow-hidden lg :flex-row" >
26+ < div className = "w-full p-7 lg :w-2/3" >
2327 < h2 className = "text-display-xs font-semibold" > Learn More about Secrets</ h2 >
2428 < p className = "mt-2 text-text-lg text-theme-text-secondary" >
2529 Learn about using ZenML Secrets for a secure, centralized management of your pipeline
2630 secrets and configurations.
2731 </ p >
32+ < VideoModal videoLink = { videoLink } buttonText = "Watch the Starter Guide (1 min)" />
33+ </ div >
34+ < div className = "flex w-full items-center justify-center bg-primary-50 lg:w-1/3" >
35+ < VideoModal
36+ fallbackImage = {
37+ < img
38+ src = { SecretsVideo }
39+ alt = "Purple squares with text indicating a starter guide for secrets"
40+ className = "h-full w-full"
41+ />
42+ }
43+ videoLink = { videoLink }
44+ isButton = { false }
45+ />
2846 </ div >
2947 </ Box >
3048 ) ;
0 commit comments