diff --git a/website/assets/images/pricing-page-card-custom-543x233@2x.png b/website/assets/images/pricing-page-card-custom-543x233@2x.png new file mode 100644 index 0000000000..65bf4d7d72 Binary files /dev/null and b/website/assets/images/pricing-page-card-custom-543x233@2x.png differ diff --git a/website/assets/images/pricing-page-card-free-543x233@2x.png b/website/assets/images/pricing-page-card-free-543x233@2x.png new file mode 100644 index 0000000000..859bd97f46 Binary files /dev/null and b/website/assets/images/pricing-page-card-free-543x233@2x.png differ diff --git a/website/assets/images/pricing-page-card-premium-543x233@2x.png b/website/assets/images/pricing-page-card-premium-543x233@2x.png new file mode 100644 index 0000000000..c12cd6de96 Binary files /dev/null and b/website/assets/images/pricing-page-card-premium-543x233@2x.png differ diff --git a/website/assets/styles/pages/pricing.less b/website/assets/styles/pages/pricing.less index 8c25326dcd..19b8d988f2 100644 --- a/website/assets/styles/pages/pricing.less +++ b/website/assets/styles/pages/pricing.less @@ -76,33 +76,64 @@ width: 220px; } } - - [purpose='free-tier-card'] { - text-align: left; - padding: 40px; - border-radius: 15px; - width: 100%; - box-shadow: none; - background: #fff; + [purpose='pricing-tiers'] { + margin-bottom: 24px; + } + [purpose='pricing-card-body'] { + padding: 24px 32px; + flex-grow: 1; + display: flex; + flex-direction: column; + justify-content: space-between; } [purpose='pricing-card'] { width: 33%; + [purpose='pricing-tier-image'] { + height: 149px; + width: 100%; + border-radius: 12px 12px 0px 0px; + background-size: auto 100%; + background-position: bottom; + background-repeat: no-repeat; + } + + } + [purpose='free-tier-card'] { + text-align: left; + padding: 0px; + border-radius: 16px; + border: 1px solid #E2E4EA; + width: 100%; + box-shadow: none; + background: #fff; + + [purpose='pricing-tier-image'] { + background-image: url('/images/pricing-page-card-free-543x233@2x.png'); + } } [purpose='premium-tier-card'] { - padding: 40px; - border-radius: 15px; + padding: 0px; + border-radius: 16px; + border: 1px solid #E2E4EA; text-align: left; box-shadow: none; margin-left: 16px; background: #fff; + [purpose='pricing-tier-image'] { + background-image: url('/images/pricing-page-card-premium-543x233@2x.png'); + } } [purpose='custom-tier-card'] { - padding: 40px; - border-radius: 15px; + padding: 0px; + border-radius: 16px; + border: 1px solid #E2E4EA; text-align: left; box-shadow: none; margin-left: 16px; background: #fff; + [purpose='pricing-tier-image'] { + background-image: url('/images/pricing-page-card-custom-543x233@2x.png'); + } [purpose='pricing-tier-title'] { h2 { margin-bottom: 17px; @@ -535,6 +566,16 @@ padding-left: 0px; padding-right: 0px; } + [purpose='pricing-card'] { + width: 33%; + [purpose='pricing-tier-image'] { + height: 149px; + width: 100%; + border-radius: 12px 12px 0px 0px; + background-size: 100% auto; + background-position: center 0px; + } + } } @media (max-width: 991px) { // >992 width: @@ -544,21 +585,33 @@ padding-left: 24px; padding-right: 24px; } - [purpose='free-tier-card'] { - margin-bottom: 12px; - padding: 40px; - } [purpose='pricing-card'] { width: 100%; + [purpose='pricing-tier-image'] { + height: 240px; + min-height: 100%; + max-width: 337px; + width: 100%; + border-radius: 12px 0px 0px 12px; + background-position: center; + background-repeat: no-repeat; + } + } + [purpose='pricing-card-body'] { + padding: 24px 64px; + } + [purpose='free-tier-card'] { + margin-bottom: 16px; } [purpose='premium-tier-card'] { margin-left: 0px; - margin-bottom: 12px; - padding: 40px; + margin-bottom: 16px; + [purpose='card-button'] { + width: 100%; + } } [purpose='custom-tier-card'] { margin-left: 0px; - padding: 40px; } } @@ -585,6 +638,21 @@ width: 100%; } } + [purpose='pricing-card'] { + width: 100%; + [purpose='pricing-tier-image'] { + height: auto; + min-height: 100%; + width: 100%; + max-width: 257px; + border-radius: 12px 0px 0px 12px; + background-position: center; + background-repeat: no-repeat; + } + } + [purpose='pricing-card-body'] { + padding: 24px 32px; + } [purpose='features-table'] { .truncated { max-height: 1480px; @@ -663,16 +731,25 @@ padding-left: 24px; padding-right: 24px; } + [purpose='pricing-card'] { + width: 100%; + [purpose='pricing-tier-image'] { + height: 233px; + min-height: 100%; + width: 100%; + max-width: unset; + border-radius: 12px 12px 0px 0px; + background-position: center; + background-repeat: no-repeat; + } + } [purpose='free-tier-card'] { - padding: 24px; justify-content: center; } [purpose='premium-tier-card'] { - padding: 24px; justify-content: center; } [purpose='custom-tier-card'] { - padding: 24px; justify-content: center; } [purpose='pricing-categories-table'] { diff --git a/website/views/pages/pricing.ejs b/website/views/pages/pricing.ejs index 9594998a9b..0427d2899b 100644 --- a/website/views/pages/pricing.ejs +++ b/website/views/pages/pricing.ejs @@ -9,57 +9,70 @@
<%// Fleet Free tier card %>
-
-
-
-
-

Free

-

Unlimited hosts

-
-

$0

/ host
/ month
-
-
+
+
-
-
- - Read the docs - -
-
-
- <%// Fleet Premium tier card %> -
-
-
-
-
-

Premium

-

Unlimited baselines

-
-

$7.00

/ host
/ month
+
+
+
+
+

Free

+

Unlimited hosts

+
+

$0

/ host
/ month
+
+
+ + Read the docs + +
-
+
+
+ <%// Fleet Premium tier card %> +
+
+
+
+
+
+
+
+

Premium

+

Unlimited baselines

+
+

$7.00

/ host
/ month
+
+
+
+
Get started +
<%// Custom tier card %>
-
-
-
-
-

Custom

-

For teams who can move quickly with extremely large deployments.

+
+
+ +
+
+
+
+
+

Custom

+

For teams who can move quickly with extremely large deployments.

+
-
-