From 6408bebb1cf4b508fb7d24aa21767513971496e4 Mon Sep 17 00:00:00 2001 From: Djordje Vlaisavljevic Date: Wed, 10 Aug 2022 10:22:54 +0200 Subject: [PATCH] Added static HTML for free trial offer variant refs https://github.com/TryGhost/Team/issues/1726 --- ghost/portal/src/components/pages/OfferPage.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ghost/portal/src/components/pages/OfferPage.js b/ghost/portal/src/components/pages/OfferPage.js index de92f84247..d1524f2ab5 100644 --- a/ghost/portal/src/components/pages/OfferPage.js +++ b/ghost/portal/src/components/pages/OfferPage.js @@ -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 (

{this.getOffAmount({offer})} off {durationLabel}. {renewsLabel}

+ //

Then $5/month

); } @@ -473,6 +482,9 @@ export default class OfferPage extends React.Component { {getCurrencySymbol(price.currency)} {formatNumber(this.renderRoundedPrice(updatedPrice))} + {/*
+ 21 days free +
*/} {this.renderOfferMessage({offer, product})}