|
2 | 2 | <html> |
3 | 3 | <head> |
4 | 4 | <title>NFTs</title> |
| 5 | + <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> |
5 | 6 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
6 | | - <script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script> |
7 | | - <script src="./js/ethers-5.5.umd.min.js" type="application/javascript"></script> |
8 | 7 | <link rel="preconnect" href="https://fonts.googleapis.com" /> |
9 | 8 | <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> |
10 | 9 | <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;700&display=swap" rel="stylesheet" /> |
11 | 10 | <link href="./style/style.css" rel="stylesheet" /> |
12 | 11 | <link href="./style/tooltip.css" rel="stylesheet" /> |
13 | | - <script src="./js/abi.js" type="application/javascript" async></script> |
14 | | - <script src="./js/env.js" type="application/javascript" async></script> |
15 | | - <script src="./js/utils.js" type="application/javascript" async></script> |
16 | | - <script src="./js/render.js" type="application/javascript" async></script> |
17 | | - <script src="./js/script.js" type="application/javascript" async></script> |
18 | | - <script src="./js/nestable.js" type="application/javascript" async></script> |
19 | 12 | <script></script> |
20 | 13 | </head> |
21 | 14 | <body> |
22 | 15 | <div class="container"> |
23 | 16 | <div class="header br"> |
24 | 17 | <div class="header-l"> |
25 | | - <h1>A matter of minutes. And zero developing costs. Want to build your own NFT collection?</h1> |
| 18 | + <h1 class="h1">A matter of minutes. And zero developing costs. Want to build your own NFT collection?</h1> |
26 | 19 | <a href="https://apillon.io/" class="builders" target="_blank"> Build with Apillon </a> |
27 | 20 | </div> |
28 | 21 | <div class="header-r"> |
29 | | - <img src="images/header.svg" /> |
| 22 | + <img id="logoImg" src="images/header.svg" height="126" /> |
30 | 23 | </div> |
31 | 24 | </div> |
32 | 25 | <div class="box collection br text-center"> |
33 | 26 | <div id="collection"></div> |
| 27 | + <div class="drop" id="drop" style="display: none"></div> |
| 28 | + <div class="drop"> |
| 29 | + <button class="btn btn-mint" id="btnMint" style="display: none">Mint</button> |
| 30 | + </div> |
34 | 31 | <div class="btn-connect-wrapper"> |
35 | | - <button id="btnConnect" onclick="connectWallet();">Connect wallet</button> |
| 32 | + <div class="flex gap-2"> |
| 33 | + <div id="wallet"></div> |
| 34 | + <button class="btn inline-block" id="btnModalWallet">Connect wallet</button> |
| 35 | + </div> |
36 | 36 | <span id="connectError" class="error"></span> |
37 | 37 | </div> |
38 | 38 | <span id="generalError" class="error"></span> |
39 | 39 | </div> |
40 | | - <div id="actions" style="display: none"> |
41 | | - <div |
42 | | - class="nestable-info" |
43 | | - > |
44 | | - <h3> |
45 | | - The collection you are viewing supports nesting NFTs you own. To setup the nested |
46 | | - relationship between NFTs, you first have to own them. |
47 | | - </h3> |
48 | | - <strong>Instructions:</strong> |
49 | | - <ol> |
50 | | - <li>Mint one or multiple NFTs</li> |
51 | | - <li>Once minted, click on “My NFTs”</li> |
52 | | - <li>The NFTs you own will be displayed</li> |
53 | | - <li>Click on the NFT you want to set as a parent</li> |
54 | | - <li>A window will open, allowing you to link child NFTs to that NFT</li> |
55 | | - </ol> |
56 | | - </div> |
| 40 | + <div id="actions" style="display: none"> |
57 | 41 | <h2 class="text-center">Show NFTs:</h2> |
58 | 42 | <div class="actions"> |
59 | | - <button id="btnAllNFTs" onclick="loadAllNFTs();">All nfts</button> |
60 | | - <button id="myNFTs" onclick="loadMyNFTs();">My nfts</button> |
| 43 | + <button class="btn" id="btnAllNFTs">All nfts</button> |
| 44 | + <button class="btn" id="myNFTs">My nfts</button> |
61 | 45 | </div> |
62 | 46 | </div> |
63 | 47 | <div class="grid" id="nfts"></div> |
64 | | - <div class="modals" id="modals"></div> |
| 48 | + <div class="modals" id="modals"> |
| 49 | + <div class="modal" id="modalWallet" > |
| 50 | + <div class="modal-bg" id="modalWalletBg"></div> |
| 51 | + <div class="modal-container"> |
| 52 | + <button class="btn-modal-exit" id="btnModalExit"></button> |
| 53 | + <div class="container"> |
| 54 | + <div class="relative text-center"> |
| 55 | + <h2 class="my-4">Your NFTs, delivered with style</h2> |
| 56 | + <div>Email them. Airdrop them. Share a link. <br>No gas fees. No fuss.</div> |
| 57 | + <hr /> |
| 58 | + <h4 class="my-4">Connect your wallet to get started:</h4> |
| 59 | + <div class="flex flex-col gap-2"> |
| 60 | + <button class="btn btn-wallet" id="btnConnectEW"> |
| 61 | + <span class="inline-flex items-center gap-2"> |
| 62 | + <img src="/images/ew.svg" width="20" height="20" alt="embeddedWallet" /> |
| 63 | + <span class="inline-block">Apillon Embedded Wallet</span> |
| 64 | + </span> |
| 65 | + </button> |
| 66 | + <button class="btn btn-wallet" id="btnConnect"> |
| 67 | + <span class="inline-flex items-center gap-2"> |
| 68 | + <img src="/images/metaMask.svg" width="20" height="20" alt="metamask" /> |
| 69 | + <span>MetaMask</span> |
| 70 | + </span> |
| 71 | + </button> |
| 72 | + <button class="btn inline-block " id="btnConnected" style="display: none">Disconnect</button> |
| 73 | + </div> |
| 74 | + </div> |
| 75 | + </div> |
| 76 | + </div> |
| 77 | + </div> |
| 78 | + </div> |
65 | 79 | </div> |
| 80 | + <script src="./src/main.ts" type="module" async></script> |
66 | 81 | </body> |
67 | 82 | </html> |
0 commit comments