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

Profile page (+Share feature) #45

Closed
MaxSemenchuk opened this issue Sep 7, 2023 · 4 comments
Closed

Profile page (+Share feature) #45

MaxSemenchuk opened this issue Sep 7, 2023 · 4 comments
Assignees
Milestone

Comments

@MaxSemenchuk
Copy link
Collaborator

MaxSemenchuk commented Sep 7, 2023

Process:

  • on wallet connection, I'm transferred to https://regenscore.io/profile/0x...(my address)
  • there's another button next to mint – share in twitter (prob will make a design)
  • it create a tweet with the link and text: "check out my RegenScore and check out yours"
  • preview to the link shows a picture meter with latest score and address (prob will make a design)
@MaxSemenchuk
Copy link
Collaborator Author

MaxSemenchuk commented Sep 7, 2023

@Tosinolawale could you pls make design for this scenario?

@vacekj
Copy link
Owner

vacekj commented Sep 7, 2023

#1 for a possible library to use for this @mateodaza @b3nik

@vacekj
Copy link
Owner

vacekj commented Sep 13, 2023

Engineering note:

  1. Use the app directory, create a new /share/0x8901237129873 route, that will get shared on twitter or wherever. then, use the https://nextjs.org/docs/app/api-reference/file-conventions/metadata/opengraph-image#generate-images-using-code-js-ts-tsx file to dynamically grab the address from the url, fetch the score and generate the image.
  2. in the actual route handler, just return a redirect to our actual profile page.

@MaxSemenchuk MaxSemenchuk added this to the 6 milestone Sep 26, 2023
@MaxSemenchuk MaxSemenchuk changed the title Share feature Profile page (+Share feature only for my page) Sep 28, 2023
@MaxSemenchuk MaxSemenchuk changed the title Profile page (+Share feature only for my page) Profile page (+Share feature) Sep 28, 2023
@vacekj vacekj closed this as completed Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Tested & deployed
Development

No branches or pull requests

5 participants