Merge branch 'master' of github.com:ArcticHawk1/SEG3125-LAB8
This commit is contained in:
commit
9d216500d4
2 changed files with 11 additions and 7 deletions
|
@ -59,8 +59,8 @@ class Homepage extends Component {
|
|||
type="text"
|
||||
className="form-control"
|
||||
placeholder="First Name"
|
||||
value={this.state.name}
|
||||
onChange={this.onNameChange.bind(this)}
|
||||
value={this.state.firstname}
|
||||
onChange={this.onFirstNameChange.bind(this)}
|
||||
/>
|
||||
</div>
|
||||
<div className="col-6">
|
||||
|
@ -68,8 +68,8 @@ class Homepage extends Component {
|
|||
type="text"
|
||||
className="form-control"
|
||||
placeholder="Last Name"
|
||||
value={this.state.name}
|
||||
onChange={this.onNameChange.bind(this)}
|
||||
value={this.state.lastname}
|
||||
onChange={this.onLastNameChange.bind(this)}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -105,8 +105,12 @@ class Homepage extends Component {
|
|||
);
|
||||
}
|
||||
|
||||
onNameChange(event) {
|
||||
this.setState({ name: event.target.value });
|
||||
onFirstNameChange(event) {
|
||||
this.setState({ firstname: event.target.value });
|
||||
}
|
||||
|
||||
onLastNameChange(event) {
|
||||
this.setState({ lastname: event.target.value });
|
||||
}
|
||||
|
||||
onEmailChange(event) {
|
||||
|
|
|
@ -8,7 +8,7 @@ const Navbar = () => {
|
|||
/* Nav Bar */
|
||||
<div className="Navbar">
|
||||
<nav class="navbar navbar-expand-lg navbar-dark">
|
||||
<img src={logo} width="40" height="40"></img>
|
||||
<img src={logo} alt="" width="40" height="40"></img>
|
||||
<a href="/" class="navbar-brand">
|
||||
Kene's Cribs
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue