Commit Graph

6 Commits

Author SHA1 Message Date
AudricV
274f61f651
[Client] Add common script
This script is in charge to detect whether the client is compatible with the
game (not being Internet Explorer, having support of local storage and
websockets).

It also manages the theme preference, stored in the localStorage, and displays
the corresponding theme according to this preference.
2022-12-01 11:41:33 +01:00
AudricV
3510bba36a
[Client] Add start background
This background has been created with the help of icons from icons8.com, using
the Free license.

Linking to Icons8 must be done in the pages where their icons are used, see
https://icons8.com/license.
2022-12-01 11:41:33 +01:00
AudricV
256e2a242b
[Client] Add icons for the theme switcher
These icons come from Google Fonts and are licensed under the Apache License
Version 2.0.
2022-12-01 11:41:33 +01:00
AudricV
cea9db6f26
[Client] Add CSS stylesheets for the startup page
Two CSS stylesheets have been added: one which is common to all pages and one
which is specific to the game statup.
2022-12-01 11:41:33 +01:00
AudricV
3b1b76016b
[Client] Add fonts used on the startup page
Add Spicy Rice (version 21) and Titan One (version 13) fonts.

Spicy Rice is made by Astigmatic and Titan One by Rodrigo Fuenzalida, both
licensed under the Open Font License.
2022-12-01 11:41:32 +01:00
AudricV
fed625edd8
[Client] Initial creation of the HTML welcome page
This page contains currently elements for the intial loading state: a theme
switcher, a play button and links to the privacy policy, the license(s) of
elements reused in the game and legal mentions.

It also contains error messages when JavaScript, websockets or local storage is
disabled, but they are not displayed or displayed properly yet.
2022-12-01 11:41:32 +01:00