Skip to content

Commit

Permalink
chore(settings): update Newsletter/Offline copy (#10177)
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner authored Dec 13, 2023
1 parent cb4e277 commit 5dd7ea1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
9 changes: 3 additions & 6 deletions client/src/settings/newsletter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,11 @@ export default function Newsletter() {

return (
<section className="field-group">
<h2 id="newsletter">Newsletter</h2>
<h2 id="newsletter">Stay updated</h2>
<ul>
<li>
<h3>Receive updates from MDN Plus</h3>
<span>
Allow us to email you product updates, news about our latest
features, tips to get the most out of MDN Plus, and more.
</span>
<h3>MDN Plus Newsletter</h3>
<span>Allow us to email you product updates, news, and more.</span>
{loading ? (
<Spinner extraClasses="loading" />
) : (
Expand Down
8 changes: 5 additions & 3 deletions client/src/settings/offline-settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default function OfflineSettings({ ...appProps }) {

return (
<section className="field-group">
<h2>MDN Offline</h2>
<h2>Offline Access</h2>
{user?.isSubscriber ? (
serviceWorkerAvailable ? (
<Settings />
Expand Down Expand Up @@ -142,8 +142,10 @@ function Settings() {
return (
<ul>
<li>
<h3>Enable offline storage</h3>
<span>Allow MDN content to be downloaded for offline access</span>
<h3>MDN Offline Storage</h3>
<span>
Enable storage to allow MDN content download for offline reading.
</span>
{(saving === true && <Spinner extraClasses="loading" />) || (
<Switch
name="offline"
Expand Down

0 comments on commit 5dd7ea1

Please sign in to comment.