@financial-times/n-conversion-forms 27.0.3 → 27.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@ exports[`LicenceHeader renders if is isB2cPartnershipLicence 1`] = `
8
8
 
9
9
  exports[`LicenceHeader renders if is trial 1`] = `
10
10
  <h1 class="ncf__header ncf__center">
11
- Start your free trial
11
+ Welcome to the Financial Times
12
12
  </h1>
13
13
  `;
14
14
 
@@ -8,7 +8,7 @@ exports[`LicenceTitle renders if is isB2cPartnershipLicence 1`] = `
8
8
 
9
9
  exports[`LicenceTitle renders if is trial 1`] = `
10
10
  <h1 class="ncf__header ncf__center">
11
- Start your free trial
11
+ Welcome to the Financial Times
12
12
  </h1>
13
13
  `;
14
14
 
@@ -9,10 +9,7 @@ export function LicenceTitle ({
9
9
  if (isB2cPartnershipLicence || isTrial) {
10
10
  return (
11
11
  <h1 className="ncf__header ncf__center">
12
- {displayName !== '' && `${displayName} | `}
13
- {isB2cPartnershipLicence
14
- ? 'Welcome to the Financial Times'
15
- : 'Start your free trial'}
12
+ {displayName || 'Welcome to the Financial Times'}
16
13
  </h1>
17
14
  );
18
15
  }
@@ -22,7 +22,7 @@ function LicenceTitle(_ref) {
22
22
  if (isB2cPartnershipLicence || isTrial) {
23
23
  return /*#__PURE__*/_react["default"].createElement("h1", {
24
24
  className: "ncf__header ncf__center"
25
- }, displayName !== '' && "".concat(displayName, " | "), isB2cPartnershipLicence ? 'Welcome to the Financial Times' : 'Start your free trial');
25
+ }, displayName || 'Welcome to the Financial Times');
26
26
  }
27
27
 
28
28
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@financial-times/n-conversion-forms",
3
- "version": "27.0.3",
3
+ "version": "27.0.4",
4
4
  "description": "Containing jsx components and styles for forms included on Accounts and Acqusition apps (next-signup, next-profile, next-retention, etc).",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {