This repository has been archived by the owner on Sep 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Remove getNetwork method as it was redundant - Add tslint rules for import destructure whitespacing - Remove name as it was redundant (was the same as trait_type) - Add error state for asset not found - Update name of compiled js - Split out template render code for readability - Remove forbidden non null assertions
- Loading branch information
1 parent
32c4b05
commit 6353395
Showing
9 changed files
with
105 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
<script src="/node_modules/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js"></script> | ||
<script src="/node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js"></script> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css"> | ||
<script defer src="/dist/opensea-nft-card.min.js"></script> | ||
<script defer src="/dist/nft-card.min.js"></script> | ||
|
||
<title>OpenSea Embeddable NFT example</title> | ||
<style media="screen"> | ||
|
@@ -49,22 +49,22 @@ <h3>Show users any crypto collectible and let them buy it straight from your sit | |
<!-- >--> | ||
<!-- </nft-card>--> | ||
|
||
<nft-card | ||
contractAddress="0x2fb5d7dda4f1f20f974a0fdd547c38674e8d940c" | ||
tokenId="20014" | ||
> | ||
</nft-card> | ||
<!-- <nft-card--> | ||
<!-- contractAddress="0x2fb5d7dda4f1f20f974a0fdd547c38674e8d940c"--> | ||
<!-- tokenId="20014"--> | ||
<!-- >--> | ||
<!-- </nft-card>--> | ||
|
||
<div style="padding-top: 5vh;"></div> | ||
|
||
<!-- <nft-card--> | ||
<!-- contractAddress="0x5caebd3b32e210e85ce3e9d51638b9c445481567"--> | ||
<!-- height="250px"--> | ||
<!-- horizontal--> | ||
<!-- network="mainnet"--> | ||
<!-- tokenId="2242579050293992223"--> | ||
<!-- width="100%"--> | ||
<!-- >--> | ||
<nft-card | ||
contractAddress="0x5caebd3b32e210e85ce3e9d51638b9c445481567" | ||
height="250px" | ||
horizontal | ||
network="main" | ||
tokenId="2242579050293992223" | ||
width="100%" | ||
> | ||
</nft-card> | ||
<div style="padding-top: 5vh;"></div> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters