Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add search to the Professional plan warm welcome #8945

Merged
merged 1 commit into from
Mar 26, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion _inc/client/components/welcome-new-plan/professional.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class WelcomeProfessional extends Component {
// Preparing event handlers once to avoid calling bind on every render
this.clickCtaDismissThemes = this.clickCtaDismiss.bind( this, 'themes' );
this.clickCtaDismissAds = this.clickCtaDismiss.bind( this, 'ads' );
this.clickCtaDismissSearch = this.clickCtaDismiss.bind( this, 'search' );
this.clickCtaDismissSeo = this.clickCtaDismiss.bind( this, 'seo' );
}

Expand All @@ -44,7 +45,7 @@ class WelcomeProfessional extends Component {
<div>
<p>
{ __( 'Thanks for choosing Jetpack Professional. Jetpack is now backing up your content in real-time,' +
' scanning for security threats, and granting access to premium themes.'
' indexing your content for search, scanning for security threats, and granting access to premium themes.'
) }
</p>
<img src={ imagePath + 'customize-theme.svg' } className="jp-welcome__svg" alt={ __( 'Themes' ) } />
Expand All @@ -54,6 +55,9 @@ class WelcomeProfessional extends Component {
'widgets, or add unlimited videos to your posts and pages -- displayed free of ads or watermarks.'
) }
</p>
<p>
{ __( "Give your visitor's a great search experience by letting them filter and sort fast, relevant search results." ) }
</p>
<img src={ imagePath + 'wordads.svg' } className="jp-welcome__svg" alt={ __( 'Sharing' ) } />
<p>
{ __( 'Growing your following is easy with your Professional plan, thanks to content sharing and scheduling,' +
Expand Down Expand Up @@ -94,6 +98,14 @@ class WelcomeProfessional extends Component {
>
{ __( 'Monetize your site with ads' ) }
</Card>
<Card
href={ 'customize.php?autofocus[panel]=widgets' }
compact
className="jp-dialogue-card__below"
onClick={ this.clickCtaDismissSearch }
>
{ __( 'Add the Search (Jetpack) widget to your sidebar' ) }
</Card>
<Card
href={ '#/traffic' }
compact
Expand Down