mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-18 02:21:47 -05:00
Added static HTML for free trial offer variant
refs https://github.com/TryGhost/Team/issues/1726
This commit is contained in:
parent
3a48caf4e4
commit
6408bebb1c
1 changed files with 12 additions and 0 deletions
|
@ -122,6 +122,14 @@ export const OfferPageStyles = ({site}) => {
|
|||
.gh-portal-offer-details p {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.offer .after-trial-amount {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.offer .trial-duration {
|
||||
margin-top: 16px;
|
||||
}
|
||||
`;
|
||||
};
|
||||
|
||||
|
@ -442,6 +450,7 @@ export default class OfferPage extends React.Component {
|
|||
}
|
||||
return (
|
||||
<p className="footnote">{this.getOffAmount({offer})} off {durationLabel}. {renewsLabel}</p>
|
||||
// <p className="after-trial-amount">Then $5/month</p>
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -473,6 +482,9 @@ export default class OfferPage extends React.Component {
|
|||
<span className={'currency-sign ' + currencyClass}>{getCurrencySymbol(price.currency)}</span>
|
||||
<span className="amount">{formatNumber(this.renderRoundedPrice(updatedPrice))}</span>
|
||||
</div>
|
||||
{/* <div className="gh-portal-product-price">
|
||||
<span className="amount trial-duration">21 days free</span>
|
||||
</div> */}
|
||||
</div>
|
||||
{this.renderOfferMessage({offer, product})}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue