Changed profiles to kingdoms

This commit is contained in:
2019-05-29 09:13:29 +10:00
parent af18c6aef8
commit 5ea5fae18d
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -148,7 +148,7 @@ class Profile extends React.Component {
MyProfileMainPanel() {
return (
<div className='panel'>
<h1 className='centered'>Profile</h1>
<h1 className='centered'>Your Kingdom</h1>
<div className='table noCollapse'>
<div className='row'>
<p className='col'>Username:</p>
@@ -210,7 +210,7 @@ class Profile extends React.Component {
NotMyProfileMainPanel() {
return (
<div className='panel'>
<h1 className='centered'>Profile</h1>
<h1 className='centered'>{this.state.username}'s Kingdom</h1>
<div className='table noCollapse'>
<div className='row'>
<p className='col'>Username:</p>
@@ -268,7 +268,7 @@ class Profile extends React.Component {
LoggedOutMainPanel() {
return (
<div className='panel'>
<h1 className='centered'>Profile</h1>
<h1 className='centered'>{this.state.username}'s Kingdom</h1>
<div className='table noCollapse'>
<div className='row'>
<p className='col'>Username:</p>
+1 -1
View File
@@ -27,7 +27,7 @@ class CommonLinks extends React.Component {
return (
<div className='panel'>
<p><Link to='/' onClick={this.props.onClickHome}>Return Home</Link></p>
<p><Link to='/profile' onClick={this.props.onClickProfile}>Your Profile</Link></p>
<p><Link to='/profile' onClick={this.props.onClickProfile}>Your Kingdom</Link></p>
<p><Link to='/ladder' onClick={this.props.onClickLadder}>Game Ladder</Link></p>
<p><Link to='/passwordchange' onClick={this.props.onClickPasswordChange}>Change Password</Link></p>