Skip to content

Commit 79eca5e

Browse files
chore: adjust copy (#628)
1 parent f9e9e3d commit 79eca5e

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

src/app/artifacts/page.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ export default function ModelsPage() {
1616
<div className="layout-container space-y-5 py-5">
1717
<InfoBox />
1818
<CTASection
19-
image={{ src: ACP, alt: "Screenshot of the ZenML Pro Model Control plane" }}
19+
feature="artifact"
20+
image={{ src: ACP, alt: "Screenshot of the ZenML Pro Artifact Control plane" }}
2021
features={artifactFeatures}
2122
/>
2223
<CommandSection />

src/app/models/page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export default function ModelsPage() {
2929
<div className="layout-container space-y-5 py-5">
3030
<InfoBox />
3131
<CTASection
32+
feature="model"
3233
image={{ src: MCP, alt: "Screenshot of the ZenML Pro Model Control plane" }}
3334
features={modelFeatures}
3435
/>

src/contents/cloud-only.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,15 @@ type CTASectionProps = {
2222
alt: string;
2323
};
2424
features: string[];
25+
feature: "model" | "artifact";
2526
};
26-
export function CTASection({ features, image }: CTASectionProps) {
27+
export function CTASection({ features, image, feature }: CTASectionProps) {
2728
return (
2829
<Box className="relative overflow-hidden px-7 py-5">
2930
<div className="max-w-[450px] space-y-4">
3031
<p className="text-display-xs font-semibold">
31-
Access Advanced Model Management Features with ZenML Pro
32+
Access Advanced {feature === "artifact" ? "Artifact" : "Model"} Management Features with
33+
ZenML Pro
3234
</p>
3335
<ul className="space-y-2">
3436
{features.map((item, i) => (

0 commit comments

Comments
 (0)