Commit Graph

205 Commits

Author SHA1 Message Date
Nathaniel Tampus
b98e4a23a9 redirect on client for 404 2023-03-06 17:25:15 +08:00
Nathaniel Tampus
7fea5f933e adjust light theme secondary color 2023-03-06 15:54:24 +08:00
Nathaniel Tampus
f08623993f add swap animation to theme toggle 2023-03-06 15:50:41 +08:00
Nathaniel Tampus
da1a556eea add theme toggle functionality 2023-03-06 15:43:22 +08:00
Nathaniel Tampus
d913a259ba update light theme neutral color 2023-03-06 15:43:13 +08:00
Nathaniel Tampus
60716861ac remove extra comment 2023-03-06 15:12:56 +08:00
Nathaniel Tampus
d858853bf4 move validation fixes, update page title on turn 2023-03-06 15:11:35 +08:00
Nathaniel Tampus
c548f10d63 cleanup comment 2023-03-06 15:10:00 +08:00
Nathaniel Tampus
fd66897ecd start pgn with empty string 2023-03-06 14:35:18 +08:00
Nathaniel Tampus
158aef552a improve moveFrom safety 2023-03-06 13:47:39 +08:00
Nathaniel Tampus
0a3fd532cd leaveLobby improvements 2023-03-06 13:26:49 +08:00
Nathaniel Tampus
ef9e23338b restore link in navbar and separate badge dropdown 2023-03-06 13:21:29 +08:00
Nathaniel Tampus
754d149c4a session id detection improvements 2023-03-06 13:06:23 +08:00
Nathaniel Tampus
fe0e045fd8 show player disconnected state 2023-03-06 12:42:49 +08:00
Nathaniel Tampus
4e17eadb7a wrap auth util functions in try blocks 2023-03-06 11:43:34 +08:00
Nathaniel Tampus
dd1166dc42 open badge dropdown on hover 2023-03-06 11:29:03 +08:00
Nathaniel Tampus
045470b398 navbar site name changes
- removed link for site name
- added tooltip dropdown for alpha badge
2023-03-06 11:23:36 +08:00
Nathaniel Tampus
167e1cbd9d add temporary 404 page 2023-03-06 10:56:24 +08:00
Nathaniel Tampus
72a80fe8bf remove home route background 2023-03-06 10:42:29 +08:00
Nathaniel Tampus
a9accad679 add metadata and opengraph tags 2023-03-06 10:30:22 +08:00
Nathaniel Tampus
82ca2791c3 improve player names format 2023-03-05 22:27:36 +08:00
Nathaniel Tampus
802e5bb801 btn-disabled instead of loading to preserve size 2023-03-05 22:08:28 +08:00
Nathaniel Tampus
a30331ccb1 public games list functionality 2023-03-05 22:06:59 +08:00
Nathaniel Tampus
fa94df1d06 show error tooltip when game not found 2023-03-05 21:30:30 +08:00
Nathaniel Tampus
247a6c1c76 initial playable functionality
TODO: restructure
- this is mostly a copy-paste from the old game and socket handlers
2023-03-05 19:07:23 +08:00
Nathaniel Tampus
09ddb6e21a update optional dep 2023-03-05 19:04:35 +08:00
Nathaniel Tampus
a61691114e add optional deps to server 2023-03-05 19:04:19 +08:00
Nathaniel Tampus
5699663dd2 don't remove player on disconnect 2023-03-05 19:03:58 +08:00
Nathaniel Tampus
69fb7a7c9d add wrapper component to check auth 2023-03-05 10:00:55 +08:00
Nathaniel Tampus
01ebc4a138 rename game wrapper, add initial socket events 2023-03-05 09:41:34 +08:00
Nathaniel Tampus
eb40d73f74 add optional deps to suppress socketio error msgs 2023-03-05 01:01:13 +08:00
Nathaniel Tampus
9ca2d7b5ad wrap game page in server component
for initial data fetch
2023-03-05 00:36:49 +08:00
Nathaniel Tampus
b7ee6f4371 rename to getGame & improve error handling 2023-03-05 00:33:44 +08:00
Nathaniel Tampus
997cbacc66 update readme 2023-03-04 23:06:32 +08:00
Nathaniel Tampus
f3eaf23a8f use req.params directly 2023-03-04 18:44:20 +08:00
Nathaniel Tampus
dd0a097a48 initial find & create game functionality
and restructure homepage components
2023-03-04 18:43:32 +08:00
Nathaniel Tampus
6de9943dca game util functions 2023-03-04 18:41:09 +08:00
Nathaniel Tampus
e6436fedb0 initial guest auth functionality 2023-03-04 18:40:21 +08:00
Nathaniel Tampus
7c4ef8472e add config file for api url 2023-03-04 18:39:43 +08:00
Nathaniel Tampus
6f7a9fac14 session context & auth util functions 2023-03-04 18:38:07 +08:00
Nathaniel Tampus
6dc9f1a18a update game endpoints
for getting all public games and finding specific games with code
2023-03-04 18:36:43 +08:00
Nathaniel Tampus
572eb22fc6 Merge branch 'main' into dev 2023-03-02 19:42:35 +08:00
Nathaniel Tampus
77a632520e update deps 2023-03-02 19:38:24 +08:00
Nathaniel Tampus
181738ae3f general layout improvements 2023-03-02 17:53:35 +08:00
Nathaniel Tampus
e562d53e06 use modal for auth nav button 2023-03-02 17:53:13 +08:00
Nathaniel Tampus
3d3e7651e7 update public games layout 2023-03-02 17:51:05 +08:00
Nathaniel Tampus
44d460bbec remove winner field from db 2023-03-01 22:45:17 +08:00
Nathaniel Tampus
19fb1a9740 move css to styles folder 2023-02-25 21:33:53 +08:00
Nathaniel Tampus
a61b0128e6 use new metadata api 2023-02-25 21:16:14 +08:00
Nathaniel Tampus
ebc8c66064 update deps 2023-02-25 21:16:02 +08:00