-
Notifications
You must be signed in to change notification settings - Fork 1
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
[UI] QuestList card component #427
base: main
Are you sure you want to change the base?
Conversation
… and Library Details
…or style variants
… tertiary, and error options
…enhance readability
…and integrate Sticker component
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
… into ui/quest-list-cards
…ming/hyperplay-ui into ui/quest-list-cards
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.
display: flex; | ||
margin-top: 20px; | ||
align-items: center; | ||
gap: 0.5rem; |
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.
can we use spacing var here
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.
Done
src/components/QuestList/types.ts
Outdated
@@ -0,0 +1,21 @@ | |||
import { Quest } from '@hyperplay/utils' |
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.
I'm not too opinionated about this but we usually define the props in the same file as the component. For consistency, can you move it to the component file, please?
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.
Done :)
Description
This pr is to send the new QuestList component hard coded for our Storybook, and after our new auth login is in place we can get the user info about the "Ready for Claim" quests so we can show and finalize the logic for this component in the client.
Design
Design Link
Storybook Link Preview