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
KevinMidboe
27f4c8faef
Updated styling to match design.
2020-10-11 13:36:34 +02:00
KevinMidboe
0702507963
Tabable back link.
2020-10-11 13:36:19 +02:00
KevinMidboe
8ef1a2dd88
Save previous route name, if none found push route highscore.
2020-10-11 13:32:47 +02:00
KevinMidboe
a59f1e2b17
Show error if no one w/ name found.
2020-10-11 12:29:10 +02:00
KevinMidboe
1383a310b3
Try get a smaller version of the wine image.
2020-10-11 12:27:04 +02:00
KevinMidboe
584d497c6a
Click dates send to history page for given lottery.
2020-10-11 12:26:10 +02:00
KevinMidboe
98c2707cb0
Full rewrite, faster, better listing and less code.
...
- Only list the highscore and send to PersonalHighscorePage on click.
- List numbers are not sequential position in list, but the persons
place in the highscore, allows shared place ranking.
- Filter is a computed value that uses the filterInput, reduces
overhead.
- Stripped unused styling.
2020-10-11 12:10:17 +02:00
ingridvold
4ce8ca1a99
en morsom vri ;)
2020-10-09 13:30:23 +02:00
KevinMidboe
cb286b6894
Back link and better wine name container width.
2020-10-09 01:14:12 +02:00
KevinMidboe
73f1614ed4
Redesigned and separate page for personal highscore.
2020-10-09 01:02:55 +02:00
KevinMidboe
bd96a19faa
More positioning and variables defined in scss.
2020-10-09 01:02:28 +02:00
KevinMidboe
c01692bf1e
Renamed css ballot to raffle.
2020-10-09 01:01:26 +02:00
KevinMidboe
59792f9aae
Moved date helper funcs to utils.js
2020-10-09 00:57:20 +02:00
KevinMidboe
e87a59b1e6
Helper func for lottery/by-name.
2020-10-09 00:55:52 +02:00
KevinMidboe
05b07ca465
Defined new route for PersonalHighscorePage.
...
This is a subpage for showing additional information about a winner from
highscore.
2020-10-08 23:40:18 +02:00
Adrian Thompson
5ffb10468c
wip
2020-10-01 14:29:30 +02:00
Adrian Thompson
2b44a6454f
first work on design rework
2020-10-01 10:56:20 +02:00
KevinMidboe
53257a16ff
Merge pull request #42 from KevinMidboe/enhancement/wine-css-fixes
...
Rework how the list of the top 10 wines looks
2020-09-23 23:50:44 +02:00
KevinMidboe
8d8550a835
Fixed admin header not being set properly.
...
Incorrectly used Boolean(). Now we check for the header value by string comparison, should always
return boolean.
2020-09-23 23:20:20 +02:00
Adrian Thompson
67cd06444f
reworked css and removed wine popup
2020-09-17 14:08:22 +02:00
Adrian Thompson
53156e2330
Merge branch 'master' of github.com:KevinMidboe/vinlottis
2020-09-17 13:17:03 +02:00
Adrian Thompson
c1c4b414c3
align highscore baseline
2020-09-17 13:16:50 +02:00
Adrian Thompson
ce67ecc23d
Merge pull request #40 from KevinMidboe/hotfix/highscore-css
...
Highscore page css fixes
2020-09-17 12:47:00 +02:00
Adrian Thompson
b31bee8731
fixed flow on safari
2020-09-17 12:34:59 +02:00
Adrian Thompson
a5abdfd002
added link to lottery and fixed flow on safari
2020-09-17 12:33:21 +02:00
Adrian Thompson
3f6b362d5a
working on safari
2020-09-17 12:03:10 +02:00
Adrian Thompson
9f7a4df61b
readd font
2020-09-17 11:55:02 +02:00
Adrian Thompson
0f24afd07c
Merge branch 'master' of github.com:KevinMidboe/vinlottis into enhancement/vinlottispage-css-fixes
2020-09-17 11:52:00 +02:00
guggerud
48e43edcf4
Merge pull request #41 from KevinMidboe/feat/confetti
...
bumped the numbers up
2020-09-16 09:27:06 +02:00
Egil Uggerud
122eaad1d1
bumped the numbers up
2020-09-14 13:25:51 +02:00
Adrian Thompson
6aa535bade
hotfix safari
2020-09-11 15:26:17 +02:00
Adrian Thompson
1e8a77ec3f
added max-width
2020-09-11 13:47:01 +02:00
Adrian Thompson
833cf649f3
renamed and removed some classes, added media breakpoint and aligned stuff
2020-09-11 13:42:15 +02:00
Adrian Thompson
2c9821d753
better tablet layout
2020-09-11 11:53:05 +02:00
Adrian Thompson
d5cf6d31ca
readded highscore and borders
2020-09-11 10:35:29 +02:00
Adrian Thompson
00cbd3c871
Merge branch 'master' of github.com:KevinMidboe/vinlottis into enhancement/vinlottispage-css-fixes
2020-09-11 10:15:23 +02:00