Skip to content

Commit

Permalink
Merge pull request #1229 from Automattic/fix/help-links
Browse files Browse the repository at this point in the history
Help: Use <ExternalLink /> component to add help links
  • Loading branch information
dllh committed Dec 7, 2015
2 parents 36468ae + 7e44828 commit 0451775
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/me/help/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ var Main = require( 'components/main' ),
FormSectionHeading = require( 'components/forms/form-section-heading' ),
MeSidebarNavigation = require( 'me/sidebar-navigation' ),
HelpSearch = require( './help-search' ),
ExternalLink = require( 'components/external-link' ),
Card = require( 'components/card' );

module.exports = React.createClass( {
Expand All @@ -23,13 +24,13 @@ module.exports = React.createClass( {
<Card>
<div className="help__support-link">
<h2 className="help__support-link-title">
<a href="https://support.wordpress.com/" target="__blank">{ this.translate( 'Support docs' ) }</a>
<ExternalLink icon={ true } href="https://support.wordpress.com/" target="__blank">{ this.translate( 'Support docs' ) }</ExternalLink>
</h2>
<p className="help__support-link-content">{ this.translate( 'Looking to learn more about a feature? Our docs have all the details.' ) }</p>
</div>
<div className="help__support-link">
<h2 className="help__support-link-title">
<a href="https://dailypost.wordpress.com/" target="__blank">{ this.translate( 'The daily post' ) }</a>
<ExternalLink icon={ true } href="https://dailypost.wordpress.com/" target="__blank">{ this.translate( 'The Daily Post' ) }</ExternalLink>
</h2>
<p className="help__support-link-content">{ this.translate( 'Get daily tips for your blog and connect with others to share your journey.' ) }</p>
</div>
Expand Down

0 comments on commit 0451775

Please sign in to comment.