1+ import ConnectorsVideo from "@/assets/illustrations/connectors-video.svg" ;
12import { InfoBox as InfoBoxPrimitive } from "@/components/Infobox" ;
2- import { Box } from "@zenml-io/react-component-library" ;
3- import { ConnectorsSelect } from "./ConnectorsSelect" ;
3+ import { VideoModal } from "@/components/VideoModal" ;
4+ import { CommandListItem , generateCommandList } from "@/components/fallback-pages/Commands" ;
5+ import { HelpBox } from "@/components/fallback-pages/Helpbox" ;
46import {
57 AWSSection ,
68 AzureSection ,
@@ -9,9 +11,9 @@ import {
911 GCPSection ,
1012 KubernetesSection
1113} from "@/contents/connectors" ;
14+ import { Box } from "@zenml-io/react-component-library" ;
1215import { Fragment , useState } from "react" ;
13- import { CommandListItem , generateCommandList } from "@/components/fallback-pages/Commands" ;
14- import { HelpBox } from "@/components/fallback-pages/Helpbox" ;
16+ import { ConnectorsSelect } from "./ConnectorsSelect" ;
1517
1618export function InfoBox ( ) {
1719 return (
@@ -25,14 +27,30 @@ export function InfoBox() {
2527}
2628
2729export function HeaderBox ( ) {
30+ const videoLink =
31+ "https://zenml.portal.trainn.co/share/V6magMJZZvMptz1wdnUmPA/embed?autoplay=false" ;
2832 return (
29- < Box className = "flex flex-col-reverse items-stretch overflow-hidden md :flex-row" >
30- < div className = "w-full p-7 md :w-2/3" >
33+ < Box className = "flex flex-col-reverse items-stretch overflow-hidden lg :flex-row" >
34+ < div className = "w-full p-7 lg :w-2/3" >
3135 < h2 className = "text-display-xs font-semibold" > Learn More about Connectors</ h2 >
3236 < p className = "mt-2 text-text-lg text-theme-text-secondary" >
3337 Dive into Service Connector Types for a documented approach to secure authentication and
3438 authorization practices.
3539 </ p >
40+ < VideoModal videoLink = { videoLink } buttonText = "Watch the Starter Guide (2 min)" />
41+ </ div >
42+ < div className = "flex w-full items-center justify-center bg-primary-50 lg:w-1/3" >
43+ < VideoModal
44+ fallbackImage = {
45+ < img
46+ src = { ConnectorsVideo }
47+ alt = "Purple squares with text indicating a starter guide for secrets"
48+ className = "h-full w-full"
49+ />
50+ }
51+ videoLink = { videoLink }
52+ isButton = { false }
53+ />
3654 </ div >
3755 </ Box >
3856 ) ;
0 commit comments