manifest fix

This commit is contained in:
ntr 2019-04-08 13:29:03 +10:00
parent 37be6b633c
commit 02b539d855
6 changed files with 14 additions and 5 deletions

View File

@ -661,8 +661,17 @@ header {
flex: 1; flex: 1;
} }
.info-cryp {
text-align: center;
}
.cryp-box { .cryp-box {
margin: 0.5em; margin: 0;
border-left-width: 0px;
}
.cryp-box:first-child {
border-left-width: 1px;
} }
.spawn-btn button { .spawn-btn button {

View File

@ -8,7 +8,7 @@
<meta name=apple-mobile-web-app-status-bar-style content=black> <meta name=apple-mobile-web-app-status-bar-style content=black>
<meta name="description" content="cryps.gg - mnml pvp atbs"> <meta name="description" content="cryps.gg - mnml pvp atbs">
<meta name="author" content="ntr@smokestack.io"> <meta name="author" content="ntr@smokestack.io">
<link rel="manifest" href="manifest.json"> <link rel="manifest" href="./manifest.webmanifest">
<link rel="stylesheet" href="./node_modules/izitoast/dist/css/iziToast.min.css"></script> <link rel="stylesheet" href="./node_modules/izitoast/dist/css/iziToast.min.css"></script>
<link href="https://fonts.googleapis.com/css?family=Jura" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Jura" rel="stylesheet">
<link rel="stylesheet" href="assets/normalize.css"> <link rel="stylesheet" href="assets/normalize.css">

View File

@ -12,7 +12,7 @@ function Info(args) {
instance, instance,
} = args; } = args;
function infoVar(info) { function infoVar([type, value]) {
let red = 0; let blue = 0; let green = 0; let red = 0; let blue = 0; let green = 0;
instance.cryps.forEach(cryp => { instance.cryps.forEach(cryp => {
red += cryp.colours.red; red += cryp.colours.red;
@ -20,7 +20,6 @@ function Info(args) {
green += cryp.colours.green; green += cryp.colours.green;
}); });
const teamColours = { red, blue, green }; const teamColours = { red, blue, green };
const [type, value] = info;
if (type === 'item') { if (type === 'item') {
let itemDetails; let itemDetails;

View File

@ -26,7 +26,7 @@ function Cryp(props) {
function skillClick() { function skillClick() {
if (!skill) return false; if (!skill) return false;
setInfo('skill', { skill, cryp }); setInfo('skill', { skill, cryp });
setActiveCryp(cryp); return setActiveCryp(cryp);
} }
return <button key={i} className="cryp-skill-btn right" onClick={skillClick} >{s}</button>; return <button key={i} className="cryp-skill-btn right" onClick={skillClick} >{s}</button>;

View File

@ -19,6 +19,7 @@
*CLIENT* *CLIENT*
* general * general
* icons change with % * icons change with %
* colour vbox icons
* instance * instance
* cryp / vbox page separation * cryp / vbox page separation