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

chore(settings): update Newsletter/Offline copy #10177

Merged
merged 1 commit into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
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
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