Skip to content

Commit

Permalink
Update Collections.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jilt authored Nov 30, 2023
1 parent 4319084 commit 1fdbcb8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Collections.js
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ function Intro(props) {
? results.map((nft, index) => (nft.metadata.extra === props.coll ?
<Col className="card-w" key={index}>
<Card className="card inset">
<Card.Img variant="top" src={nft.metadata.media} />
<Image media={nft.metadata.media}/>
<Card.Body className="d-grid gap-2">
<Card.Title className="text-center">{nft.metadata.title}</Card.Title>
<Button variant="outline-primary" onClick={() => singleVisible(nft)}>Details</Button>
Expand Down Expand Up @@ -646,7 +646,7 @@ function Intro(props) {
<Col className="card-w" key={index}>
<Card className="card inset">
<a className="asset-anchor" href="#">
<Card.Img variant="top" src={nft.metadata.media} />
<Image media={nft.metadata.media}/>
</a>
<Card.Body className="d-grid gap-2">
<Card.Title className="text-center">{nft.metadata.title}</Card.Title>
Expand Down Expand Up @@ -693,7 +693,7 @@ function Intro(props) {
<Col className="card-w" key={index}>
<Card className="card inset">
<a className="asset-anchor" href="#">
<Card.Img variant="top" src={nft.metadata.media} />
<Image media={nft.metadata.media}/>
</a>
<Card.Body className="d-grid gap-2">
<Card.Title className="text-center">{nft.metadata.title}</Card.Title>
Expand Down Expand Up @@ -734,7 +734,7 @@ function Intro(props) {
<Row>
<Col className="card-w">
<Card className="card inset">
<Card.Img variant="top" src={meta.media} />
<Image media={meta.media}/>
<Card.Body className="d-grid gap-2">
<Card.Title className="text-center">{meta.title}</Card.Title>
<p className="text-center"><small><b>{meta.extra}</b></small></p>
Expand Down

0 comments on commit 1fdbcb8

Please sign in to comment.