Skip to content

Commit

Permalink
Add styling to success page
Browse files Browse the repository at this point in the history
  • Loading branch information
johnlinatoc committed Sep 4, 2019
1 parent 5619cd0 commit 2270816
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/CheckoutContainer/Cart/Success.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Success extends React.Component {
const { boardgames } = this.props

return boardgames.map( boardgame => {
return boardgame.name
return <h3>{boardgame.name}</h3>
})
}

Expand All @@ -38,7 +38,7 @@ class Success extends React.Component {
<div className='success-container'>
<h1>Your boardgames are on the way!</h1>
<p>Purchased:</p>
<h3>{this.renderBoardgames()}</h3>
{this.renderBoardgames()}
<Link to="/">
<div className='continue-button'>
<img src={Button}/>
Expand Down
8 changes: 4 additions & 4 deletions src/CheckoutContainer/Cart/cart.css
Original file line number Diff line number Diff line change
Expand Up @@ -236,10 +236,10 @@ color: #FFFFFF;
}

/* ============ Success Page =============== */
/* .success-container {
display: flex;
justify-content: center;
} */
.success-container {
margin-top: 4%;
margin-left: 4%;
}

/* .success-container h1{
font-family: lato;
Expand Down

0 comments on commit 2270816

Please sign in to comment.