Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"16.8.0"
12 changes: 12 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,15 @@
transform: rotate(360deg);
}
}

#nft-card:hover{
transform: scale(1.05);
box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
transition: .3s transform cubic-bezier(.155,1.105,.295,1.12),.3s box-shadow,.3s -webkit-transform cubic-bezier(.155,1.105,.295,1.12);
}

#buy-button{
padding: 7px 20px;
font-size: 15px;
border-radius: 5px;
}
4 changes: 2 additions & 2 deletions src/components/minter/nfts/Card.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const NftCard = ({ nft, buyNft }) => {
const { contractOwner, price, image, description, name, index, attributes } = nft;
return (
<Col key={index}>
<Card className=" h-100">
<Card className="h-100" id={"nft-card"}>
<Card.Header>
<Stack direction="horizontal" gap={2}>
<Identicon address={contractOwner} size={28} />
Expand Down Expand Up @@ -50,7 +50,7 @@ const NftCard = ({ nft, buyNft }) => {
</Row>
</div>
<div className="d-flex m-2 justify-content-center">
<button onClick={buyNft} className="btn btn-primary">Buy</button>
<button onClick={buyNft} className="btn btn-primary" id={"buy-button"}>Buy</button>
</div>
</Card.Body>
</Card>
Expand Down