Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NFT Details page scaffold #22

Merged
merged 7 commits into from
Feb 3, 2022
Merged

NFT Details page scaffold #22

merged 7 commits into from
Feb 3, 2022

Conversation

echohtp
Copy link
Contributor

@echohtp echohtp commented Jan 31, 2022

Goal
User can view the nft details.

Route - /nfts/{address}

nft(address: "{address}") {
  name
  details {
    image
    description
    creators {
      address
      
    }
    properties {
      name
      value
    }
  }
}
  • NFT creators
  • NFT properties
    Query nft from the server with getServerSideProps. If creators array does not contain the storefront owner then respond with notFound.

@echohtp echohtp linked an issue Jan 31, 2022 that may be closed by this pull request
2 tasks
@echohtp echohtp requested a review from kespinola February 3, 2022 18:03
@echohtp echohtp marked this pull request as ready for review February 3, 2022 18:03
@echohtp
Copy link
Contributor Author

echohtp commented Feb 3, 2022

outlines show block level elements (not in code)

localhost_8080_nfts_B4ryoPsfZSDQ93bHEyuZXYU3xw4qqdQdeP91RDXPybL5

src/pages/index.tsx Outdated Show resolved Hide resolved
@echohtp echohtp requested a review from kespinola February 3, 2022 18:19
@kespinola kespinola merged commit 58946f0 into dev Feb 3, 2022
@kespinola kespinola deleted the jschorr/nft-page branch February 3, 2022 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

View NFT of NFT Collection
2 participants