File tree Expand file tree Collapse file tree 4 files changed +9
-10
lines changed Expand file tree Collapse file tree 4 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export default function ModelsPage() {
4646 < ProButtons />
4747 </ div >
4848 < ProImage
49- className = "flex-1 translate-x-[10 %] translate-y-[20 %] scale-110 "
49+ className = "absolute translate-x-[30 %] translate-y-[15 %] scale-[40%] "
5050 src = { ACP }
5151 alt = "Screenshot of the ZenML Pro Artifact Control Plane"
5252 />
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ export default function ModelsPage() {
5959 < ProButtons />
6060 </ div >
6161 < ProImage
62- className = "flex-1 translate-x-[10 %] translate-y-[20 %] scale-110 "
62+ className = "absolute translate-x-[30 %] translate-y-[15 %] scale-[40%] "
6363 src = { MCP }
6464 alt = "Screenshot of the ZenML Pro Artifact Control Plane"
6565 />
Original file line number Diff line number Diff line change @@ -15,15 +15,11 @@ import { isUrl } from "../lib/url";
1515type Props = { metadata : MetadataMap } ;
1616
1717export function MetadataCards ( { metadata } : Props ) {
18- const dictMetadata = Object . values ( metadata || { } ) . filter ( ( val ) => isObject ( val ) ) ;
18+ const dictMetadata = Object . entries ( metadata || { } ) . filter ( ( [ _ , val ] ) => isObject ( val ) ) ;
1919 return (
2020 < >
21- { dictMetadata . map ( ( metadataObj , idx ) => (
22- < NestedCollapsible
23- key = { idx }
24- data = { metadataObj as Record < string , unknown > }
25- title = { Object . keys ( { metadataObj } ) [ 0 ] }
26- />
21+ { dictMetadata . map ( ( [ key , metadataObj ] , idx ) => (
22+ < NestedCollapsible key = { idx } data = { metadataObj as Record < string , unknown > } title = { key } />
2723 ) ) }
2824 </ >
2925 ) ;
Original file line number Diff line number Diff line change @@ -78,7 +78,10 @@ export function ProButtons() {
7878export function ProImage ( { className, ...rest } : ImgHTMLAttributes < HTMLImageElement > ) {
7979 return (
8080 < img
81- className = { cn ( "w-full shrink-0 rounded-md border border-theme-border-moderate" , className ) }
81+ className = { cn (
82+ "hidden w-full shrink-0 rounded-md border border-theme-border-moderate 2xl:block" ,
83+ className
84+ ) }
8285 { ...rest }
8386 />
8487 ) ;
You can’t perform that action at this time.
0 commit comments