apply feedback from design team

This commit is contained in:
Christopher Willis-Ford 2020-12-02 14:24:58 -08:00
parent d56a3c5810
commit 6e840825cc
2 changed files with 1 additions and 11 deletions

View file

@ -3,7 +3,6 @@ import {productName, version} from '../../package.json';
import logo from '../icon/ScratchDesktop.svg'; import logo from '../icon/ScratchDesktop.svg';
import styles from './about.css'; import styles from './about.css';
import showPrivacyPolicy from './showPrivacyPolicy';
const AboutElement = () => ( const AboutElement = () => (
<div className={styles.aboutBox}> <div className={styles.aboutBox}>
@ -23,15 +22,6 @@ const AboutElement = () => (
}) })
} }
</tbody></table> </tbody></table>
<p className={styles.aboutFooter}>
<a
// The `href` attribute causes link styling to be applied. The value doesn't really matter but
// using a reasonable value might make testing easier, or at least makes the HTML more readable.
// The `onClick` function actually handles opening the privacy policy window.
href="./index.html?route=privacy"
onClick={showPrivacyPolicy}
>View the Privacy Policy...</a>
</p>
</div> </div>
</div> </div>
); );

View file

@ -131,7 +131,7 @@ const ScratchDesktopHOC = function (WrappedComponent) {
onClick: () => showPrivacyPolicy() onClick: () => showPrivacyPolicy()
}, },
{ {
title: 'Telemetry Settings', title: 'Data Settings',
onClick: () => this.props.onTelemetrySettingsClicked() onClick: () => this.props.onTelemetrySettingsClicked()
} }
]} ]}