Skip to content

Commit

Permalink
style: change 'carrinho' to 'sacola'
Browse files Browse the repository at this point in the history
  • Loading branch information
altomizawa committed Jun 3, 2024
1 parent 8b49264 commit eefc3a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Frontend/src/pages/Product.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ function Product() {
<p className='product__description'>{product.description}</p>
<div className='product__buttons'>
<button className='product__button' onClick={() => {navigate('/store')}}>VOLTAR</button>
<button className='product__button product__button-add' onClick={() => {onAddingItem(product)}}>Adicionar ao carrinho</button>
<button className='product__button product__button-add' onClick={() => {onAddingItem(product)}}>Adicionar à sacola</button>
</div>
</div>
{itemAdded && <div style={{position: 'fixed', height: '100%', width: '100%', top: 0, right: 0, backgroundColor: 'rgba(255,255,255,0.9)', borderRadius: '12px'}}>
<div style={{height: '100%', display: 'flex', justifyContent: 'center', alignItems: 'center'}}>
<p style={{fontSize: '2rem'}}>Item added to cart!</p>
<p style={{fontSize: '2rem'}}>Item adicionado à sacola!</p>
</div>
</div>}
</div>
Expand Down

0 comments on commit eefc3a5

Please sign in to comment.