File tree Expand file tree Collapse file tree 3 files changed +95
-2
lines changed Expand file tree Collapse file tree 3 files changed +95
-2
lines changed Original file line number Diff line number Diff line change 11import { InfoBox as InfoBoxPrimitive } from "@/components/Infobox" ;
22import { PageHeader } from "@/components/PageHeader" ;
33import { Box } from "@zenml-io/react-component-library" ;
4+ import { VideoModal } from "@/components/VideoModal" ;
5+ import StacksVideo from "@/assets/illustrations/stacks-video.svg" ;
46
57export function StacksHeader ( ) {
68 return (
@@ -22,14 +24,30 @@ export function InfoBox() {
2224}
2325
2426export function HeaderBox ( ) {
27+ const videoLink =
28+ "https://zenml.portal.trainn.co/share/pbJuqd7awpp5pjFQLoPmHQ/embed?autoplay=false" ;
2529 return (
26- < Box className = "flex flex-col-reverse items-stretch overflow-hidden md :flex-row" >
27- < div className = "w-full p-7 md :w-2/3" >
30+ < Box className = "flex flex-col-reverse items-stretch overflow-hidden lg :flex-row" >
31+ < div className = "w-full p-7 lg :w-2/3" >
2832 < h2 className = "text-display-xs font-semibold" > Learn More about Stacks</ h2 >
2933 < p className = "mt-2 text-text-lg text-theme-text-secondary" >
3034 Get started with ZenML Stacks and Stack Components in this starter guide video. Set up
3135 Your Stack from local to cloud.
3236 </ p >
37+ < VideoModal videoLink = { videoLink } buttonText = "Watch the Starter Guide (5 min)" />
38+ </ div >
39+ < div className = "flex w-full items-center justify-center bg-primary-50 lg:w-1/3" >
40+ < VideoModal
41+ fallbackImage = {
42+ < img
43+ src = { StacksVideo }
44+ alt = "Purple squares with text indicating a starter guide for stacks"
45+ className = "h-full w-full"
46+ />
47+ }
48+ videoLink = { videoLink }
49+ isButton = { false }
50+ />
3351 </ div >
3452 </ Box >
3553 ) ;
You can’t perform that action at this time.
0 commit comments