At the moment, if you sign in with NEAR, the explore page looks like this:
Next is to:
Turn this page into a gallery of the project's designs (that you can retrieve at the NFT method nft_tokens).
It's similar to what's happening with the View page (nfts_tokens_for_owner in the smart contract) where you see all the designs you own; Explore page should instead show all the tokens saved in that NFT contract.
Move the current Explore page under a new route explore/[id]; see /view/[id].js as example.
Since you will go out of gas if you try to retrieve more than 3-4 tokens at a time (need to see if it's possible to increase that number #57), this should be a paged retrieval, preferably on scroll (other strategies are welcome).
At the moment, if you sign in with NEAR, the explore page looks like this:
Next is to:
nft_tokens
). It's similar to what's happening with theView
page (nfts_tokens_for_owner
in the smart contract) where you see all the designs you own; Explore page should instead show all the tokens saved in thatNFT
contract.explore/[id]
; see/view/[id].js
as example.Since you will go out of gas if you try to retrieve more than 3-4 tokens at a time (need to see if it's possible to increase that number #57), this should be a paged retrieval, preferably on scroll (other strategies are welcome).