Skip to content

Commit

Permalink
chore: adjust copy (#628)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cahllagerfeld authored Jul 12, 2024
1 parent f9e9e3d commit 79eca5e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/app/artifacts/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ export default function ModelsPage() {
<div className="layout-container space-y-5 py-5">
<InfoBox />
<CTASection
image={{ src: ACP, alt: "Screenshot of the ZenML Pro Model Control plane" }}
feature="artifact"
image={{ src: ACP, alt: "Screenshot of the ZenML Pro Artifact Control plane" }}
features={artifactFeatures}
/>
<CommandSection />
Expand Down
1 change: 1 addition & 0 deletions src/app/models/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export default function ModelsPage() {
<div className="layout-container space-y-5 py-5">
<InfoBox />
<CTASection
feature="model"
image={{ src: MCP, alt: "Screenshot of the ZenML Pro Model Control plane" }}
features={modelFeatures}
/>
Expand Down
6 changes: 4 additions & 2 deletions src/contents/cloud-only.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,15 @@ type CTASectionProps = {
alt: string;
};
features: string[];
feature: "model" | "artifact";
};
export function CTASection({ features, image }: CTASectionProps) {
export function CTASection({ features, image, feature }: CTASectionProps) {
return (
<Box className="relative overflow-hidden px-7 py-5">
<div className="max-w-[450px] space-y-4">
<p className="text-display-xs font-semibold">
Access Advanced Model Management Features with ZenML Pro
Access Advanced {feature === "artifact" ? "Artifact" : "Model"} Management Features with
ZenML Pro
</p>
<ul className="space-y-2">
{features.map((item, i) => (
Expand Down

0 comments on commit 79eca5e

Please sign in to comment.