Refactor/implement new design for Wine #48

Merged
KevinMidboe merged 8 commits from refactor/wine-ui into master 2020-10-11 16:27:38 +00:00

8 Commits

Author SHA1 Message Date
KevinMidboe 9c1b290219 Make sure date is date in dateString(). 2020-10-11 18:11:47 +02:00
KevinMidboe a7d673026e Added missing space before rating. 2020-10-11 18:11:13 +02:00
KevinMidboe 587239b799 All wines simplified. Refactor script and template. 2020-10-11 18:10:21 +02:00
KevinMidboe 6670f43b11 Implements intersectObserver to lazy load images.
IntersectionObserver for delaying the load of images until the component
enteres the viewport.
2020-10-11 17:45:11 +02:00
KevinMidboe dc7ffbae7a Removed unused css. 2020-10-11 16:34:39 +02:00
KevinMidboe 5f2b29324d Reflecting changes no longer use props in Wine.vue
Reflecting changes now that wine should not have custom logic. No longer
send prop values other than wine down.
WinnerPage function called from the slot passed down, not using custom
:winner prop and @chosenWine event.
2020-10-11 16:33:51 +02:00
KevinMidboe 64a1a8a93a Updated wine w/ new design, removed lots of code.
Updated wine component to reflect changes in design.
Removed all methods, computed and unnecessary props.
The inlineSlot props has been removed, now slot always renders inline.
Removed functions for custom logic, not this is resides in the parent
and should be passed down in the slot.
2020-10-11 16:27:31 +02:00
KevinMidboe 5f973b199d All wines endpoint returns newest first. 2020-10-11 15:55:17 +02:00