11import CloudSquares from "@/assets/illustrations/cloud-squares.svg" ;
2- import { Box } from "@zenml-io/react-component-library" ;
2+ import { Badge , Box , Button } from "@zenml-io/react-component-library" ;
33import { Codesnippet } from "../components/CodeSnippet" ;
4+ import External from "@/assets/icons/link-external.svg?react" ;
5+ import Codespaces from "@/assets/images/codespaces.gif" ;
46import { OverviewHeader } from "./Header" ;
57import { Link } from "react-router-dom" ;
68import { routes } from "@/router/routes" ;
@@ -9,8 +11,9 @@ export default function IndexPage() {
911 return (
1012 < div >
1113 < OverviewHeader />
12- < div className = "layout-container py-5" >
14+ < div className = "layout-container space-y-5 py-5" >
1315 < OverviewContent />
16+ < VsCodeBox />
1417 </ div >
1518 </ div >
1619 ) ;
@@ -53,3 +56,33 @@ function OverviewContent() {
5356 </ Box >
5457 ) ;
5558}
59+
60+ function VsCodeBox ( ) {
61+ return (
62+ < Box className = "flex flex-col-reverse items-center overflow-hidden md:max-h-[200px] md:flex-row" >
63+ < div className = "w-full space-y-3 px-7 py-5 xl:w-4/5" >
64+ < div className = "flex items-center space-x-1" >
65+ < Badge className = "text-text-xs font-semibold" color = "green" >
66+ NEW
67+ </ Badge >
68+ < h2 className = "text-text-xl font-semibold" > VS Code Quickstart with ZenML</ h2 >
69+ </ div >
70+ < p className = "text-theme-text-secondary" >
71+ Get started quickly with ZenML using GitHub Codespaces!
72+ < br />
73+ You can run our quickstart guide in a pre-configured environment.
74+ </ p >
75+ < Button size = "sm" className = "w-fit" emphasis = "subtle" asChild >
76+ < a target = "_blank" rel = "noopener noreferrer" href = "https://github.com/zenml-io/zenml" >
77+ Visit our GitHub repo < External className = "h-5 w-5" />
78+ </ a >
79+ </ Button >
80+ </ div >
81+ < img
82+ className = "object-contain"
83+ src = { Codespaces }
84+ alt = "Gif explaining how to setup codespaces"
85+ />
86+ </ Box >
87+ ) ;
88+ }
0 commit comments