Open abutuc opened 1 week ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 12%. Comparing base (
0d8b0af
) to head (0cdab5d
). Report is 1 commits behind head on ui/redesign.
@abutuc can you add screenshots of the result?
Use TabBar in order to build and implement the top bar
Closes #1274
Added the redesign implementation of the restaurant card. The card has as input parameters "restaurantName", "restaurantType", "menuItems", "isFavorite" and "onFavoriteToggle" callback function, which allows us to abstract the logic from the component. Additionally, this card returns a Generic Card whose child is the actual restaurant card content.
Note: the background color and the elevation property are being inherited from the Generic Card implementation, so when the Generic Card implementation has these issues fixed, the Restaurant Card should look like the mock version.
Review checklist
whatsnew/whatsnew-pt-PT
changelog.md
with the change