Skip to content

Commit 25c654c

Browse files
Remove learn from help page (#103081)
Co-authored-by: heavyweight <[email protected]>
1 parent 2d73f75 commit 25c654c

File tree

2 files changed

+25
-10
lines changed

2 files changed

+25
-10
lines changed

client/me/help/main.jsx

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ class Help extends PureComponent {
145145
<Gridicon icon="video" size={ 36 } />
146146
<div className="help__support-link-section">
147147
<h2 className="help__support-link-title">
148-
{ this.props.translate( 'Video tutorials' ) }{ ' ' }
148+
{ this.props.translate( 'Video tutorials' ) }
149149
<Icon
150150
icon={ external }
151151
size={ 16 }
@@ -161,29 +161,43 @@ class Help extends PureComponent {
161161
</CompactCard>
162162
<CompactCard
163163
className="help__support-link"
164-
href="https://wordpress.com/learn/courses?ref=wpcom-help-more-resources"
165-
showLinkIcon={ false }
164+
href={ localizeUrl(
165+
'https://wordpress.com/support/courses?ref=wpcom-help-more-resources'
166+
) }
167+
target="_blank"
166168
>
167169
<Gridicon icon="mail" size={ 36 } />
168170
<div className="help__support-link-section">
169-
<h2 className="help__support-link-title">{ this.props.translate( 'Courses' ) }</h2>
171+
<h2 className="help__support-link-title">
172+
{ this.props.translate( 'Courses' ) }
173+
<Icon
174+
icon={ external }
175+
size={ 16 }
176+
className="help__support-link-title__external-icon"
177+
/>
178+
</h2>
170179
<p className="help__support-link-content">
171180
{ this.props.translate( 'Enroll in a course taught by WordPress experts.' ) }
172181
</p>
173182
</div>
174183
</CompactCard>
175184
<CompactCard
176185
className="help__support-link"
177-
href="https://learn.wordpress.com"
178-
showLinkIcon={ false }
186+
href={ localizeUrl( 'https://wordpress.com/support/' ) }
187+
target="_blank"
179188
>
180189
<Gridicon icon="list-ordered" size={ 36 } />
181190
<div className="help__support-link-section">
182-
<h2 className="help__support-link-title">{ this.props.translate( 'Guides' ) }</h2>
191+
<h2 className="help__support-link-title">
192+
{ this.props.translate( 'Guides' ) }
193+
<Icon
194+
icon={ external }
195+
size={ 16 }
196+
className="help__support-link-title__external-icon"
197+
/>
198+
</h2>
183199
<p className="help__support-link-content">
184-
{ this.props.translate(
185-
'A step-by-step guide to getting familiar with the platform.'
186-
) }
200+
{ this.props.translate( 'Step-by-step guides for WordPress.com.' ) }
187201
</p>
188202
</div>
189203
</CompactCard>

client/me/help/style.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
.help__support-link-title__external-icon {
5757
vertical-align: text-bottom;
5858
fill: currentColor;
59+
padding-left: 4px;
5960
}
6061
}
6162

0 commit comments

Comments
 (0)