Commit a45a0a7
committed
Refactor reaction types and enhance ArticleCard component
- Updated REACTION_TYPE in domain-models.ts to include comments for each reaction type.
- Simplified the ReactionStatus component by removing hardcoded reactions and utilizing dynamic rendering for reactions in ArticleCard.
- Improved the styling of reaction buttons in ArticleCard for better user experience.
- Added SVG files for new reaction types: CRY, FIRE, HAHA, LOVE, UNICORN, WOW.1 parent 70d31ac commit a45a0a7
File tree
9 files changed
+119
-86
lines changed- public/reactions
- src
- backend/models
- components
- render-props
9 files changed
+119
-86
lines changedLoading
Loading
Loading
Loading
Loading
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
0 commit comments