Commit Graph

460 Commits

Author SHA1 Message Date
Adrian Thompson c96356127c Merge branch 'enhancement/vinlottispage-rework' of github.com:KevinMidboe/vinlottis into enhancement/vinlottispage-rework 2020-10-30 12:53:24 +01:00
Adrian Thompson 9f2adb54e0 add footer and fix layout in highscore 2020-10-30 12:52:37 +01:00
KevinMidboe dda526eb5c Renamed icon css file to vinlottis-icons. 2020-10-26 10:13:03 +01:00
Adrian Thompson 61851e4935 cleanup 2020-10-21 15:38:23 +02:00
Adrian Thompson daeae25e93 object-fit and redesign top-wines 2020-10-21 15:29:25 +02:00
Adrian Thompson 315af4d50e keys on v-for and layout on icons in top info 2020-10-21 13:20:57 +02:00
Adrian Thompson 7cf9e41b6f merge 2020-10-21 13:15:35 +02:00
Adrian Thompson f8f5cd519a add raffle in css 2020-10-21 12:42:30 +02:00
Adrian Thompson eee7a85cba renaming and dynamic layout 2020-10-21 10:41:50 +02:00
Adrian Thompson cee0e1c8a6 bought ballots css fixes to resemble design 2020-10-20 16:30:42 +02:00
Adrian Thompson 397c635551 autofill columns in highscore 2020-10-20 15:35:54 +02:00
Adrian Thompson 1f4f4c224e use some icons and layout fixes 2020-10-20 11:36:31 +02:00
Adrian Thompson a0a9a7205e add icons 2020-10-20 11:36:13 +02:00
KevinMidboe 46fb5dc6c1 intrinsic is not a css attribute in chrome. Changed to fit-content. 2020-10-12 13:53:59 +02:00
KevinMidboe 859a018c87 Removed removing margin-top. 2020-10-12 00:26:09 +02:00
KevinMidboe 82068f22a9 Added margin between wine-details. 2020-10-12 00:11:28 +02:00
KevinMidboe 2c574020d0 Removed unsued styling from winnerPage. 2020-10-12 00:09:08 +02:00
KevinMidboe da00c7735e Moved duplicate container & h1 styling to global. 2020-10-12 00:06:54 +02:00
KevinMidboe e76e814877 Always return success bool from getWinner endpoint 2020-10-11 22:21:02 +02:00
KevinMidboe 432d9211b2 Also lowercase query in highscorePage. 2020-10-11 19:26:10 +02:00
KevinMidboe 25823540ff Update background-colors to new primary color. 2020-10-11 19:24:26 +02:00
KevinMidboe 2013675802 Re-added named routes. 2020-10-11 19:10:20 +02:00
KevinMidboe d6839dd10b Fixed ambiguous null check 2020-10-11 19:10:01 +02:00
KevinMidboe f868e03e7b Highscore shows ranking, not position in list. 2020-10-11 19:02:33 +02:00
KevinMidboe a50c94f77c Merge pull request #50 from KevinMidboe/fix/personal-highscore-page
Fix/personal highscore page
2020-10-11 18:49:18 +02:00
KevinMidboe 685db1f8f5 Revert "Feat vue router mode changed to history" 2020-10-11 18:46:20 +02:00
KevinMidboe f44402cf03 Function squased w/ merging, re-added. 2020-10-11 18:38:23 +02:00
KevinMidboe 61fad22ef4 Merge pull request #48 from KevinMidboe/refactor/wine-ui
Refactor/implement new design for Wine
2020-10-11 18:27:37 +02:00
KevinMidboe eaf3dbb586 Merge branch 'master' into refactor/ballot-becomes-raffle 2020-10-11 18:23:35 +02:00
KevinMidboe 139b80ccff Merge branch 'master' into feat/history-page-by-date 2020-10-11 18:22:04 +02:00
KevinMidboe d68cd17ba1 Merge branch 'master' into feat/history-router 2020-10-11 18:20:22 +02:00
KevinMidboe feed7774ce Merge branch 'master' into feat/personal-highscore 2020-10-11 18:18:44 +02:00
KevinMidboe 21904f4bb6 More global styling properties. 2020-10-11 18:16:16 +02:00
KevinMidboe f2989d2534 Use api.js funcs over manual fetch. 2020-10-11 18:14:45 +02:00
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 52dedd1e7c Renamed all references to ballot to raffle. 2020-10-11 15:43:24 +02:00
KevinMidboe 823bbb7437 Winners clickable to route to highscore/{name}. 2020-10-11 15:42:48 +02:00
KevinMidboe 03c13d9558 Linting. 2020-10-11 15:27:02 +02:00
KevinMidboe 20be3cc5ca If date in params, fetch only that date.
- Now handles only fetching date by epoch from url params.
- Displays date w/ helper function humanReadableDate.
2020-10-11 14:05:37 +02:00
KevinMidboe 90eb557f0b New api route for history by date. 2020-10-11 14:04:10 +02:00
KevinMidboe 0923965544 Removed hash from routes. 2020-10-11 13:56:19 +02:00
KevinMidboe 2062f64999 Import VueRouter instance from router.js. 2020-10-11 13:54:17 +02:00
KevinMidboe 9d9947d7dc Router mode history, and all routes got names. 2020-10-11 13:53:46 +02:00
KevinMidboe d5558863e4 Merge branch 'master' into feat/personal-highscore 2020-10-11 13:49:32 +02:00