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

Optimize image and metadata for username link #60

Open
sbddesign opened this issue Dec 13, 2024 · 1 comment
Open

Optimize image and metadata for username link #60

sbddesign opened this issue Dec 13, 2024 · 1 comment

Comments

@sbddesign
Copy link
Contributor

Username links (like this one https://twelve.cash/[email protected]) look pretty poor and default when shared to social.

Let's optimize this to have better. text in the title and description field, as well as a cool custom image that has the username in the image.

Requires design, and we can implement with the NextJS Dynamic Image technique: https://nextjs.org/docs/app/building-your-application/optimizing/metadata#dynamic-image-generation

@sbddesign
Copy link
Contributor Author

Examples of social share image:

I think our image needs the username ([email protected]). I don't think it's worth including other information on there. For example, validation should always occurs client-side. And if validation should occur client-side, you don't want any actual payment info in there. Not too mention it would look messy and the whole point is to abstract away the technical payment info into a username.

It could be nice to try some kind of graphic, visual, or color that is deterministically generated from the username. For Nostr users that have claimed these, we could pull the Nostr avatar. 🤔

@sbddesign sbddesign moved this to Todo in TwelveCash Dec 24, 2024
@sbddesign sbddesign added the ux label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

1 participant