This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react' | |
| import { login } from './UserFunctions' | |
| class Login extends Component { | |
| constructor() { | |
| super() | |
| this.state = { | |
| email: '', | |
| password: '', | |
| error: '', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react' | |
| import { register } from './UserFunctions' | |
| class Register extends Component { | |
| constructor() { | |
| super() | |
| this.state = { | |
| first_name: '', | |
| last_name: '', | |
| email: '', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react' | |
| import { getProfile } from './UserFunctions' | |
| class Profile extends Component { | |
| constructor() { | |
| super() | |
| this.state = { | |
| first_name: '', | |
| last_name: '', | |
| email: '', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
| <title>Login Register</title> | |
| <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css"> | |
| <link rel="stylesheet" | |
| href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css"> |