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