Commit graph

39 commits

Author SHA1 Message Date
Oliver Akins
ed715b14e4
Make it so that the game link gets added to the browser URL when joining a game 2022-03-15 23:25:56 -06:00
Oliver Akins
b0e2a9e6d4
Instead of using onDestroy, return a function from onMount 2022-03-15 22:38:09 -06:00
Oliver Akins
c340755ba2
Make the JoinLobby modal nicer 2022-03-15 01:34:09 -06:00
Oliver Akins
bcc0664342
Move lobby creation/hosting into it's own modal 2022-03-15 01:07:02 -06:00
Oliver Akins
2dd456897f
Move the error style to be global 2022-03-15 00:21:51 -06:00
Oliver Akins
ffc759e267
Tweak import statement 2022-03-13 20:14:31 -06:00
Oliver Akins
9708be3f1e
Tweak imports 2022-03-13 20:14:07 -06:00
Oliver Akins
af37e3b5f5
Make the colour appear correctly even when it isn't our slot 2022-03-13 18:30:33 -06:00
Oliver Akins
ee40351d1b
Update option info modal to only display non-hidden options 2022-03-13 01:45:06 -06:00
Oliver Akins
dd5a1e8cb9
Make the lobby more compatible with the colour/ship objects 2022-03-12 23:14:42 -06:00
Oliver Akins
02dece1af0
Use the data constants from the common module 2022-03-07 23:42:15 -06:00
Oliver Akins
70bf932964
Allow using sailboat, and remove comment that won't happen.
The comment is being removed because the colours/ships will not be getting fetched from the server because it doesn't make sense for the server to be handling that list since it's entirely client-side.
2022-03-07 18:01:10 -06:00
Oliver Akins
49da524260
Add a sailboat icon 2022-03-07 17:59:13 -06:00
Oliver Akins
281686dfef
Add another possible spaceship idea 2022-03-07 00:48:38 -06:00
Oliver-Akins
231f63c4bf Adjust the focus style for the buttons 2022-01-04 12:31:24 -07:00
Oliver-Akins
e7533f60aa Rename the ColourChoice modal to ShipDesigner 2022-01-04 12:31:01 -07:00
Oliver-Akins
174add9e49 Adjust modal title 2022-01-04 12:29:14 -07:00
Oliver-Akins
eb9cbe48b6 Tweak the styling of the inner components to be max width 2022-01-04 12:29:01 -07:00
Oliver-Akins
81ea8e5f9d Style the select elements 2022-01-04 12:28:39 -07:00
Oliver-Akins
9d11b9eb6f Begin implementing an error when the request fails 2022-01-03 18:42:47 -07:00
Oliver-Akins
7de3f614da Add a Hexagon component 2021-12-25 23:55:54 -07:00
Oliver-Akins
72db6ae4d0 Update the ColourChoice to be better UI & UX 2021-12-25 23:55:44 -07:00
Oliver-Akins
19a4d909f8 Add a component that allows for easier ship svg usage 2021-12-25 23:55:17 -07:00
Oliver-Akins
2530e90774 Make player component use the isHost store 2021-12-24 03:21:59 -07:00
Oliver-Akins
0fb2d986a9 Change way the images are marked up, and correct some alt text 2021-12-24 03:20:32 -07:00
Oliver-Akins
0925b6d59f Begin work on a modal for changing the player's colour 2021-12-24 03:20:00 -07:00
Oliver-Akins
7b4826dfbc Make the button components use the click listen instead of the handler 2021-12-24 03:19:33 -07:00
Oliver-Akins
4bdbe8f231 Update the button to not take a handler function and just bubble the click event 2021-12-24 03:18:25 -07:00
Oliver-Akins
8e568d355c Update option descriptions and add Fate option 2021-12-22 19:31:35 -07:00
Oliver-Akins
8683f50bd4 Adjust the code format and add the ability to disable the checkbox 2021-12-22 19:31:05 -07:00
Oliver-Akins
ffc3c80378 Edit the SCSS to be more SCSSesque 2021-12-22 19:30:17 -07:00
Oliver-Akins
cef8234b85 Add a custom checkbox component 2021-12-17 01:44:17 -06:00
Oliver-Akins
64a29437d1 Allow custom classes to be on the button, make the button change the cursor type, and adjust indent on the script to make it consistent with other components 2021-12-17 01:43:45 -06:00
Oliver-Akins
dc15f29401 tweak player rows to work better on mobile devices 2021-12-17 01:41:54 -06:00
Oliver-Akins
52c6866817 Add a modal for the option info 2021-12-17 01:41:25 -06:00
Oliver-Akins
64fbf66e63 Add a base modal that other modals can expand off of 2021-12-17 01:41:14 -06:00
Oliver-Akins
9541bf144f Tweak the button to allow fixed-colour background when using it with icons 2021-12-15 02:42:45 -06:00
Oliver-Akins
cfa6dff9b9 Add a Player component for player data in the lobby 2021-12-15 02:42:15 -06:00
Oliver-Akins
90819f50e4 Begin implementation of the site with Svelte 2021-12-15 00:14:12 -06:00