-
Notifications
You must be signed in to change notification settings - Fork 69
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
Add exercise preview cards to DOJO exercises page #2281
Add exercise preview cards to DOJO exercises page #2281
Conversation
@bryanjenningz is attempting to deploy a commit to the c0d3-prod Team on Vercel. A member of the Team first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov Report
@@ Coverage Diff @@
## master #2281 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 177 178 +1
Lines 3066 3077 +11
Branches 818 823 +5
=========================================
+ Hits 3066 3077 +11
|
The |
@SlyBouhafs Thanks for suggestion. I updated the badge size. |
We decided to create a folder for each component. This folder will contain the component itself, its styles, and test file. When creating new components, refer to #2080 |
@flacial Thanks for letting me know. I just changed the code so that the component file and styles file are in the same folder. I tried putting the storybook file in the same folder too but it didn't show up when I ran storybook, so I moved the storybook file back to the storybook folder with all the other storybook files. |
This pull request adds a new ExercisePreviewCard component which gets used on the DOJO exercises page.
The exercise preview cards are populated with mock data on the frontend, but this will be removed once the backend returns DOJO exercise preview data.
This change doesn't affect any user-facing pages since there are no links to the /exercises/:lessonSlug page right now.
How to test:
This pull request is a part of #2253.