-
Notifications
You must be signed in to change notification settings - Fork 439
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
feat: RewardCard component #1574
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. Changing the title, description and image to an individual component would be necessary for customization, but this should do until then.
className={cn("flex flex-col gap-4 border-2 p-4 shadow-none", className)} | ||
> | ||
<div className="grid grid-cols-[theme(space.9)_1fr] items-center gap-x-2 gap-y-0"> | ||
<div className="row-span-2 flex size-9 shrink-0 items-center justify-center overflow-hidden rounded-full bg-blackAlpha dark:bg-blackAlpha-hard"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might want to break after this on small devices so the image takes the full width of a row. Ideal place for a container query? :yolo:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, yep, I didn't want to optimize it for every screen size until we don't see it in action hehe. Will do it later!
No description provided.