"Only premium users can register a new domain through our system. If you [link: purchase a yearly subscription plan] to Strikingly, we'll give you a domain for free!",
{tct(
),
__(
{
"If you [link: purchase a yearly subscription plan] to Strikingly, we'll give you a domain for free for the first year!",
root: <div className="field-hint" />,
),
link: <a href={
{
UserMetaStore.isZbjUser()
root: <div className="field-hint" />,
? 'javascript: alert("八戒云站暂不支持升级,请添加新的套餐。")'
link: (
: '/s/pricing?ref=free_domain'
<a
} />,
href={
},
UserMetaStore.isZbjUser()
)}
? 'javascript: alert("八戒云站暂不支持升级,请添加新的套餐。")'
<div
: '/s/pricing?ref=free_domain'
className="s-btn big basic-blue"
}
onClick={this._onRegisterNewDomain}>
/>
{__('Check Availability')}
),
},
)}
<div
className="s-btn big basic-blue"
onClick={this._onRegisterNewDomain}>
{__('Check Availability')}
</div>
</div>
</div>
</div>
)
)
} else if (
!justConnectedAfterRegister &&
v2DomainSetting.entitledToFreeDomain
) {
registerDomainContainer = (
<div className="register-domain">
<div className="field-hint">
{__(
`You're on a yearly plan and can register a new domain for free!`,
)}
</div>
<div
className="s-btn big basic-blue"
onClick={this._onRegisterNewDomain}>
{__('Claim My Free Domain!')}
</div>
</div>
)
} else {
registerDomainContainer = (
<div className="register-domain">
<div className="field-hint">
{__(`Don't own a domain yet? Grab one here for $24.95/year.`)}
</div>
<div
className="s-btn big basic-blue"
onClick={this._onRegisterNewDomain}>
{__('Register New Domain')}
</div>
</div>
)
}
} else if (
} else if (
!justConnectedAfterRegister &&
CurrentUserStore.hasFreeDomain() &&
v2DomainSetting.entitledToFreeDomain
v2DomainSetting.entitledToFreeDomain
) {
) {
registerDomainContainer = (
registerDomainContainer = (
...
@@ -662,7 +710,7 @@ class DomainsTab extends React.Component {
...
@@ -662,7 +710,7 @@ class DomainsTab extends React.Component {
registerDomainContainer = (
registerDomainContainer = (
<div className="register-domain">
<div className="register-domain">
<div className="field-hint">
<div className="field-hint">
{__(`Don't own a domain yet? Grab one here for $24.95/year.`)}
{__(`Don't own a domain yet? Grab one here.`)}
</div>
</div>
<div
<div
className="s-btn big basic-blue"
className="s-btn big basic-blue"
...
@@ -715,75 +763,77 @@ class DomainsTab extends React.Component {
...
@@ -715,75 +763,77 @@ class DomainsTab extends React.Component {
title={__('Domain|Connect to a custom domain for this site.')}
'Domain|Register for or connect to a custom domain for this site.',
)}
hint={__(
hint={__(
'Upgrade your account to either Limited or Pro to access this feature!',
'Upgrade your account to either Limited or Pro to access this feature!',
)}
)}
source="cd">
source="cd">
{!isSxl && (
<div>
{showPurchaseSuccessMsg && (
<ReactTransitionGroup>
<JQSlide
component={DOM.div}
className="s-box green small fist">
<i className="fa fa-check" />
{tct(
__(
"Domain|[placeholderStrong: You just got a new domain!] And we've already connected it to your site. Remember, you must check your email to validate your domain.",