Skip to content

Commit

Permalink
Merge pull request #155 from TABA-4th/dev
Browse files Browse the repository at this point in the history
merge dev branch
  • Loading branch information
kjungw1025 authored Dec 17, 2023
2 parents 7557d8d + ff2ee70 commit 5ae8a5f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/views/index-sections/ProductCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ const ProductCard = (props) => {
</Col>
<Col md="9" sm="9" xs="9">
<div style={{ fontSize: '18px', paddingTop: '5px' }}>{product.name}</div>
<Button className="btn-sm" color="primary" style={{ fontSize: '20px', borderRadius: '15px' }} href={product.purchaseUrl}>구매링크</Button>
<Button className="btn-sm" color="primary" style={{ fontSize: '20px', borderRadius: '15px' }} onClick={() =>{
window.open(product.purchaseUrl, "_blank", "noopener, noreferrer");
}}>구매링크</Button>
<span style={{ fontSize: '17px', marginLeft: '10px' }}>{product.price.toLocaleString()}</span>
</Col>
</Row>
Expand Down

0 comments on commit 5ae8a5f

Please sign in to comment.