mirror of
https://github.com/ClaytonWWilson/CS307-Team24.git
synced 2025-12-16 10:18:48 +00:00
Added edit page.
This commit is contained in:
parent
929216c05e
commit
2dc89b99b6
@ -6,12 +6,13 @@ import './App.css';
|
||||
import { BrowserRouter as Router } from 'react-router-dom';
|
||||
import Route from 'react-router-dom/Route';
|
||||
|
||||
|
||||
// Pages
|
||||
import home from './Home.js';
|
||||
import register from './Register.js';
|
||||
import login from './Login.js';
|
||||
import user from './pages/user';
|
||||
import writeMicroblog from './Writing_Microblogs.js';
|
||||
import edit from './pages/edit.js';
|
||||
|
||||
class App extends Component {
|
||||
render() {
|
||||
@ -25,6 +26,7 @@ class App extends Component {
|
||||
<Route exact path="/login" component={login}/>
|
||||
<Route exact path="/user" component={user}/>
|
||||
<Route exact path="/home" component={writeMicroblog}/>
|
||||
<Route exact path="/edit" component={edit}/>
|
||||
</div>
|
||||
|
||||
</Router>
|
||||
|
||||
13
twistter-frontend/src/pages/edit.js
Normal file
13
twistter-frontend/src/pages/edit.js
Normal file
@ -0,0 +1,13 @@
|
||||
import React, { Component } from 'react'
|
||||
|
||||
export class edit extends Component {
|
||||
render() {
|
||||
return (
|
||||
<div>
|
||||
<b>yo, this the edit profile page</b>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
export default edit;
|
||||
Loading…
Reference in New Issue
Block a user