Skip to content

Commit

Permalink
fix(*): adjusted home and history page
Browse files Browse the repository at this point in the history
  • Loading branch information
HoseaCodes committed Mar 20, 2022
1 parent c1054fc commit a0dfdac
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Pages/Home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@ import ProjectHighlight from '../../Components/Project/projectHighlight';
import Hero from '../../Components/Hero/hero';
import {StyledHr} from '../../Layout/Hr/styledHr';
import {StyledButtonATag} from '../../Layout/Button/styledButton';
import NavBar from '../../Components/NavBar/NavBar';
import Footer from '../../Components/Footer/Footer';

class Home extends React.Component {
render() {
return (
<>
<NavBar/>
<main className='home-page'>
<Hero id='top' Home username={{firstName: 'Hosea', lastName: 'Codes'}}/>
<StyledHr Primary/>
Expand Down Expand Up @@ -76,6 +79,7 @@ class Home extends React.Component {
</div>
</div>
</main>
<Footer/>
</>
)
}
Expand Down
16 changes: 16 additions & 0 deletions src/Pages/Order/History.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import React from 'react';
import Footer from '../../Components/Footer/Footer';
import NavBar from '../../Components/NavBar/NavBar';
import OrderHistory from '../../Components/Order/OrderHistory';

const History = () => {
return (
<>
<NavBar/>
<OrderHistory/>
<Footer/>
</>
)
}

export default History;

0 comments on commit a0dfdac

Please sign in to comment.