mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Website: update cards on pricing page (#17506)
Closes: #17325 Changes: - Added a third card to the pricing page that directs users to the "talk to us" form on the contact page
This commit is contained in:
parent
1c442963e0
commit
fdcf255d6c
2 changed files with 113 additions and 115 deletions
185
website/assets/styles/pages/pricing.less
vendored
185
website/assets/styles/pages/pricing.less
vendored
|
|
@ -44,12 +44,12 @@
|
|||
margin-top: 40px;
|
||||
[purpose='pricing-tier-switch'] {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
top: -1px;
|
||||
left: -1px;
|
||||
background: #fff;
|
||||
border: 1px solid #E2E4EA;
|
||||
border-radius: 28px;
|
||||
height: 100%;
|
||||
height: 58px;
|
||||
min-width: 140px;
|
||||
z-index: 1;
|
||||
transition: 0.25s all;
|
||||
|
|
@ -67,6 +67,7 @@
|
|||
transform: translateX(167px);
|
||||
}
|
||||
.IT-selected {
|
||||
left: 1px;
|
||||
width: 183px;
|
||||
transform: translateX(416px);
|
||||
}
|
||||
|
|
@ -76,68 +77,62 @@
|
|||
}
|
||||
|
||||
[purpose='free-tier-card'] {
|
||||
text-align: left;
|
||||
padding: 40px;
|
||||
border-radius: 15px;
|
||||
margin-right: 6px;
|
||||
width: 50%;
|
||||
strong {
|
||||
color: @core-fleet-black-75;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 20px;
|
||||
}
|
||||
width: 100%;
|
||||
box-shadow: none;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
[purpose='price-dollar-sign'] {
|
||||
vertical-align: text-bottom;
|
||||
font-size: 24px;
|
||||
}
|
||||
[purpose='premium-card'] {
|
||||
width: 50%;
|
||||
[purpose='pricing-card'] {
|
||||
width: 33%;
|
||||
}
|
||||
[purpose='premium-tier-card'] {
|
||||
padding: 40px;
|
||||
border-radius: 15px;
|
||||
// margin-right: 12px;
|
||||
margin-left: 6px;
|
||||
strong {
|
||||
color: #192147;
|
||||
font-size: 16px;
|
||||
line-height: 20px;
|
||||
text-align: left;
|
||||
box-shadow: none;
|
||||
margin-left: 16px;
|
||||
background: #fff;
|
||||
}
|
||||
[purpose='custom-tier-card'] {
|
||||
padding: 40px;
|
||||
border-radius: 15px;
|
||||
text-align: left;
|
||||
box-shadow: none;
|
||||
margin-left: 16px;
|
||||
background: #fff;
|
||||
[purpose='pricing-tier-title'] {
|
||||
h2 {
|
||||
margin-bottom: 17px;
|
||||
}
|
||||
h3 {
|
||||
margin-bottom: 17px;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
[purpose='premium-cloud-text'] {
|
||||
padding: 40px;
|
||||
border-left: 1px solid #E2E4EA;
|
||||
h3 {
|
||||
font-weight: 700;
|
||||
font-size: 20px;
|
||||
line-height: 28px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
p {
|
||||
margin-bottom: 14px;
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
}
|
||||
[purpose='animated-arrow-button-red'] {
|
||||
display: inline;
|
||||
line-height: 24px;
|
||||
padding-right: 40px;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
width: fit-content;
|
||||
min-width: 125px;
|
||||
font-weight: bold;
|
||||
user-select: none;
|
||||
transition: 0.2s ease-in-out;
|
||||
-o-transition: 0.2s ease-in-out;
|
||||
-ms-transition: 0.2s ease-in-out;
|
||||
-moz-transition: 0.2s ease-in-out;
|
||||
-webkit-transition: 0.2s ease-in-out;
|
||||
color: @core-fleet-black;
|
||||
text-decoration: none;
|
||||
&:after {
|
||||
[purpose='button-container'] {
|
||||
height: 52px;
|
||||
}
|
||||
[purpose='animated-arrow-button-red'] {
|
||||
display: inline;
|
||||
line-height: 24px;
|
||||
padding-right: 40px;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
width: fit-content;
|
||||
min-width: 125px;
|
||||
font-weight: bold;
|
||||
user-select: none;
|
||||
transition: 0.2s ease-in-out;
|
||||
-o-transition: 0.2s ease-in-out;
|
||||
-ms-transition: 0.2s ease-in-out;
|
||||
-moz-transition: 0.2s ease-in-out;
|
||||
-webkit-transition: 0.2s ease-in-out;
|
||||
color: @core-fleet-black;
|
||||
text-decoration: none;
|
||||
&:after {
|
||||
content: url('/images/arrow-right-red-16x16@2x.png');
|
||||
transform: scale(0.5);
|
||||
position: absolute;
|
||||
|
|
@ -148,54 +143,46 @@
|
|||
-ms-transition: 0.2s ease-in-out;
|
||||
-moz-transition: 0.2s ease-in-out;
|
||||
-webkit-transition: 0.2s ease-in-out;
|
||||
/* opacity: 0; */
|
||||
}
|
||||
&:hover:after {
|
||||
}
|
||||
&:hover:after {
|
||||
left: 82%; // <--- here
|
||||
transition: 0.2s ease-in-out;
|
||||
-o-transition: 0.2s ease-in-out;
|
||||
-ms-transition: 0.2s ease-in-out;
|
||||
-moz-transition: 0.2s ease-in-out;
|
||||
-webkit-transition: 0.2s ease-in-out;
|
||||
/* opacity:1; */
|
||||
}
|
||||
}
|
||||
}
|
||||
[purpose='pricing-tier-title'] {
|
||||
text-align: center;
|
||||
text-align: left;
|
||||
[purpose='tier-price'] {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
h1 {// Price e.g., $0
|
||||
font-weight: 700;
|
||||
font-size: 32px;
|
||||
line-height: 45px;
|
||||
font-weight: 800;
|
||||
line-height: 120%;
|
||||
margin-bottom: 0px;
|
||||
color: #192147;
|
||||
}
|
||||
h2 {// Tier name
|
||||
font-weight: 700;
|
||||
font-size: 20px;
|
||||
line-height: 28px;
|
||||
font-size: 24px;
|
||||
font-weight: 800;
|
||||
line-height: 120%;
|
||||
color: #192147;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
h3 {// for "Unlimited hosts"
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
line-height: 150%;
|
||||
color: #515774;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
h4 { // "Starting at"
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 20px;
|
||||
color: #192147;
|
||||
vertical-align: baseline;
|
||||
margin-bottom: 0px;
|
||||
padding-right: 4px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
strong { // "/host/month"
|
||||
padding-left: 4px;
|
||||
font-size: 12px;
|
||||
line-height: 20px;
|
||||
padding-left: 8px;
|
||||
font-size: 14px;
|
||||
line-height: 150%;
|
||||
color: @core-fleet-black-75;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
|
@ -238,9 +225,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
[purpose='card-button'] {
|
||||
font-size: 16px;
|
||||
padding: 15px;
|
||||
|
|
@ -270,12 +254,7 @@
|
|||
}
|
||||
|
||||
[purpose='features-table'].hide {
|
||||
div {
|
||||
height: 0px;
|
||||
opacity: 0;
|
||||
position: relative;
|
||||
z-index: -99;
|
||||
}
|
||||
display: none !important; //lesshint-disable-line importantRule
|
||||
}
|
||||
[purpose='mobile-feature-table-section'] {
|
||||
margin-bottom: 16px;
|
||||
|
|
@ -460,12 +439,6 @@
|
|||
padding-left: 0px;
|
||||
padding-right: 0px;
|
||||
}
|
||||
[purpose='premium-tier-card'] {
|
||||
padding: 40px 140px;
|
||||
}
|
||||
[purpose='free-tier-card'] {
|
||||
padding: 40px 140px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 991px) {
|
||||
// >992 width:
|
||||
|
|
@ -476,21 +449,20 @@
|
|||
padding-right: 24px;
|
||||
}
|
||||
[purpose='free-tier-card'] {
|
||||
width: 100%;
|
||||
margin-right: 0px;
|
||||
margin-bottom: 12px;
|
||||
[purpose='card-button'] {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
padding: 40px;
|
||||
}
|
||||
[purpose='contact-sales-link'] {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
[purpose='premium-card'] {
|
||||
[purpose='pricing-card'] {
|
||||
width: 100%;
|
||||
}
|
||||
[purpose='premium-tier-card'] {
|
||||
margin-left: 0px;
|
||||
margin-bottom: 12px;
|
||||
padding: 40px;
|
||||
}
|
||||
[purpose='custom-tier-card'] {
|
||||
margin-left: 0px;
|
||||
padding: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -510,6 +482,7 @@
|
|||
}
|
||||
.IT-selected {
|
||||
width: 100%;
|
||||
top: 1px;
|
||||
transform: translateY(113px);
|
||||
}
|
||||
.all-selected {
|
||||
|
|
@ -537,6 +510,10 @@
|
|||
padding: 24px;
|
||||
justify-content: center;
|
||||
}
|
||||
[purpose='custom-tier-card'] {
|
||||
padding: 24px;
|
||||
justify-content: center;
|
||||
}
|
||||
[purpose='pricing-categories-table'] {
|
||||
margin-bottom: 40px;
|
||||
thead {
|
||||
|
|
|
|||
43
website/views/pages/pricing.ejs
vendored
43
website/views/pages/pricing.ejs
vendored
|
|
@ -8,37 +8,58 @@
|
|||
</div>
|
||||
<div purpose="pricing-tiers" class="d-flex flex-column flex-lg-row justify-content-center">
|
||||
<%// Fleet Free tier card %>
|
||||
<div purpose="free-tier-card" class="card d-flex flex-column">
|
||||
<div purpose="pricing-card">
|
||||
<div purpose="free-tier-card" class="card d-flex flex-column h-100 justify-content-between">
|
||||
<div purpose="pricing-tier-title">
|
||||
<div class="d-flex flex-row justify-content-center">
|
||||
<div class="d-flex flex-column justify-content-center">
|
||||
<div class="d-flex flex-row justify-content-start">
|
||||
<div class="d-flex flex-column justify-content-between">
|
||||
<h2>Free</h2>
|
||||
<h3>Unlimited hosts</h3>
|
||||
<div class="d-flex flex-row align-items-center">
|
||||
<div purpose="tier-price" class="d-flex flex-row align-items-center">
|
||||
<h1><span purpose="price-dollar-sign">$</span>0</h1><strong>/ host <br purpose="premium-price-linebreak">/ month</strong>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a purpose="card-button" class="btn btn-block btn-lg btn-primary mx-auto" target="_blank" href="https://github.com/fleetdm/fleet">View source code</a>
|
||||
<div purpose="button-container" class="d-flex flex-row align-items-center">
|
||||
<a purpose="animated-arrow-button-red" href="/docs">
|
||||
Read the docs
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<%// Fleet Premium tier card %>
|
||||
<div purpose="premium-card" class="d-flex flex-column justify-content-center">
|
||||
<div purpose="premium-tier-card" class="card d-flex h-100 flex-column">
|
||||
<div purpose="pricing-card" class="d-flex flex-column justify-content-center">
|
||||
<div purpose="premium-tier-card" class="card d-flex h-100 flex-column justify-content-between">
|
||||
<div purpose="pricing-tier-title">
|
||||
<div class="d-flex flex-column justify-content-between">
|
||||
<div class="d-flex flex-column justify-content-center">
|
||||
<div class="d-flex flex-column justify-content-start">
|
||||
<h2>Premium</h2>
|
||||
<h3>Unlimited baselines</h3>
|
||||
<div class="d-flex flex-row align-items-center justify-content-center">
|
||||
<h4>From </h4><h1 class="mb-2"><span purpose="price-dollar-sign">$</span>7.00</h1><strong>/ host <br purpose="premium-price-linebreak">/ month</strong>
|
||||
<div purpose="tier-price" class="d-flex flex-row align-items-center justify-content-start">
|
||||
<h1><span purpose="price-dollar-sign">$</span>7.00</h1><strong>/ host <br purpose="premium-price-linebreak">/ month</strong>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<a purpose="card-button" class="btn btn-block btn-lg btn-primary mx-auto mb-0" href="/customers/register">Get started</a>
|
||||
<p purpose="contact-sales-link">Have a large deployment? <a href="/contact">Talk to us</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<%// Custom tier card %>
|
||||
<div purpose="pricing-card" class="d-flex flex-column justify-content-center">
|
||||
<div purpose="custom-tier-card" class="card d-flex h-100 flex-column justify-content-between">
|
||||
<div purpose="pricing-tier-title">
|
||||
<div class="d-flex flex-column justify-content-between">
|
||||
<div class="d-flex flex-column justify-content-center">
|
||||
<h2>Custom</h2>
|
||||
<h3>For teams with extremely large deployments.</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<a purpose="card-button" class="btn btn-block btn-lg btn-primary mx-auto mb-0" href="/contact">Talk to us</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue