gzip, exit tutorial auto on mobile
This commit is contained in:
parent
74a6e70c37
commit
990803583c
10
WORKLOG.md
10
WORKLOG.md
@ -4,9 +4,11 @@
|
||||
*PRODUCTION*
|
||||
|
||||
* can't reset password without knowing password =\
|
||||
* ws gzip encoding
|
||||
|
||||
* mobile
|
||||
* mobile
|
||||
- force to landscape view and try make everything fit
|
||||
|
||||
OR
|
||||
- 2 pages vbox / equip
|
||||
- vbox page as current with equip button at bottom
|
||||
@ -28,12 +30,12 @@
|
||||
|
||||
* combo rework
|
||||
- reduce number of items for creating t2/t3 items from 3 -> 2
|
||||
- add lost complexity by adding skill spec items
|
||||
- add lost complexity by adding skill spec items
|
||||
- Created by combining a skill with corresponding spec
|
||||
e.g.
|
||||
e.g.
|
||||
- Strike + PowerRR -> StrikePower (Will be the power symbol with strike text under)
|
||||
- Construct does Y% more damage with Strike
|
||||
- Strike + SpeedRR -> StrikeSpeed (strike has Y% more speed)
|
||||
- Strike + SpeedRR -> StrikeSpeed (strike has Y% more speed)
|
||||
- Strike + LifeRR -> StrikeLife (Strike recharges X% of damage as red life)
|
||||
|
||||
* move item from one construct to another
|
||||
|
||||
@ -15,6 +15,8 @@
|
||||
<link href="https://fonts.googleapis.com/css?family=Jura" rel="stylesheet">
|
||||
<link rel="stylesheet" href="assets/styles/normalize.css">
|
||||
<link rel="stylesheet" href="assets/styles/skeleton.css">
|
||||
<link rel="icon" sizes="512x512" href="assets/icons/mnml.png">
|
||||
<link rel="apple-touch-icon" href="assets/icons/mnml.png">
|
||||
</head>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
}
|
||||
],
|
||||
"start_url": "/index.html",
|
||||
"display": "fullscreen",
|
||||
"display": "standalone",
|
||||
"orientation": "landscape",
|
||||
"theme_color": "#000000",
|
||||
"background_color": "#000000"
|
||||
|
||||
@ -199,13 +199,16 @@ function tutorialStage(tutorial, ws, clearTutorial, instance) {
|
||||
}
|
||||
|
||||
if (tutorial === 8) {
|
||||
if (window.innerWidth < 1000) {
|
||||
return exit();
|
||||
}
|
||||
|
||||
return (
|
||||
<div>
|
||||
<h2>Tutorial</h2>
|
||||
<p>You've completed the tutorial! Try to create more skill and spec combinations. </p>
|
||||
<p>You can unequip skills and specs back into the inventory by double clicking. <br />
|
||||
Reclaim can be used to refund the cost of items in your inventory. </p>
|
||||
<p>Click the <b>EXIT TUTORIAL</b> button to replace this section with more information.</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@ -213,10 +216,11 @@ function tutorialStage(tutorial, ws, clearTutorial, instance) {
|
||||
};
|
||||
|
||||
const classes = tutorial === 8 ? 'focus' : '';
|
||||
const text = tutorial === 8 ? 'Continue' : 'Close Tutorial'
|
||||
const exitTutorial = <button
|
||||
class={classes}
|
||||
onClick={e => e.stopPropagation()}
|
||||
onMouseDown={exit}> Exit Tutorial </button>;
|
||||
onMouseDown={exit}> {text} </button>;
|
||||
|
||||
return (
|
||||
<div class='tutorial'>
|
||||
|
||||
@ -15,6 +15,12 @@ map $http_upgrade $connection_upgrade {
|
||||
server {
|
||||
server_name mnml.gg;
|
||||
|
||||
gzip on;
|
||||
gzip_vary on;
|
||||
gzip_proxied any;
|
||||
gzip_comp_level 6;
|
||||
gzip_types text/plain text/css text/xml application/json application/javascript application/xml+rss application/atom+xml image/svg+xml;
|
||||
|
||||
location / {
|
||||
root /var/lib/mnml/public/current;
|
||||
index index.html;
|
||||
|
||||
@ -15,8 +15,14 @@ map $http_upgrade $connection_upgrade {
|
||||
server {
|
||||
server_name sixtysix.pro;
|
||||
|
||||
auth_basic "who dis";
|
||||
auth_basic_user_file /etc/mnml/htpasswd.users;
|
||||
gzip on;
|
||||
gzip_vary on;
|
||||
gzip_proxied any;
|
||||
gzip_comp_level 6;
|
||||
gzip_types text/plain text/css text/xml application/json application/javascript application/xml+rss application/atom+xml image/svg+xml;
|
||||
|
||||
# auth_basic "who dis";
|
||||
# auth_basic_user_file /etc/mnml/htpasswd.users;
|
||||
|
||||
location / {
|
||||
root /var/lib/mnml/public/current;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user