mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-09-24 23:01:18 +08:00
fix: add personal information heading (#49060)
This commit is contained in:
@@ -158,7 +158,8 @@
|
||||
"honesty": "Academic Honesty Policy",
|
||||
"internet": "Your Internet Presence",
|
||||
"portfolio": "Portfolio Settings",
|
||||
"privacy": "Privacy Settings"
|
||||
"privacy": "Privacy Settings",
|
||||
"personal-info": "Personal Information"
|
||||
},
|
||||
"danger": {
|
||||
"heading": "Danger Zone",
|
||||
|
||||
@@ -15,6 +15,7 @@ import SoundSettings from './sound';
|
||||
import ThemeSettings, { Themes } from './theme';
|
||||
import UsernameSettings from './username';
|
||||
import KeyboardShortcutsSettings from './keyboard-shortcuts';
|
||||
import SectionHeader from './section-header';
|
||||
|
||||
type FormValues = {
|
||||
name: string;
|
||||
@@ -212,6 +213,7 @@ class AboutSettings extends Component<AboutProps, AboutState> {
|
||||
<div className='about-settings'>
|
||||
<UsernameSettings username={username} />
|
||||
<br />
|
||||
<SectionHeader>{t('settings.headings.personal-info')}</SectionHeader>
|
||||
<FullWidthRow>
|
||||
<form id='camper-identity' onSubmit={this.handleSubmit}>
|
||||
<FormGroup controlId='about-name'>
|
||||
|
||||
Reference in New Issue
Block a user