-
mnml v{VERSION}
+
v{VERSION}
use the buttons on the right to join an instance.
select PVP to play against other players.
@@ -109,7 +109,7 @@ function Play(args) {
{subscription}
diff --git a/client/src/components/shop.jsx b/client/src/components/shop.jsx
index cb00e91c..659de78e 100644
--- a/client/src/components/shop.jsx
+++ b/client/src/components/shop.jsx
@@ -39,7 +39,7 @@ function Shop(args) {
subscriptions grant extra benefits:
- - additional credits
+ - ¤150 per month
- chat wheel (soon ™)
- account icons (soon ™)
diff --git a/client/src/components/stripe.buttons.jsx b/client/src/components/stripe.buttons.jsx
index 15b3411a..03d3e6b3 100644
--- a/client/src/components/stripe.buttons.jsx
+++ b/client/src/components/stripe.buttons.jsx
@@ -45,13 +45,13 @@ function BitsBtn(args) {
const subscription = account.subscribed
?
:
;
@@ -64,19 +64,19 @@ function BitsBtn(args) {
bitsClick(5)} >
$5 AUD
-
+
bitsClick(10)} >
$10 AUD
-
+
bitsClick(20)} >
$20 AUD
-
+
bitsClick(50)} >
$50 AUD
-
+
diff --git a/client/src/components/svgs/circle.svg b/client/src/components/svgs/circle.svg
new file mode 100644
index 00000000..144f9b89
--- /dev/null
+++ b/client/src/components/svgs/circle.svg
@@ -0,0 +1,5 @@
+
\ No newline at end of file
diff --git a/client/src/components/svgs/mnml.2.svg b/client/src/components/svgs/mnml.2.svg
new file mode 100644
index 00000000..a8355af2
--- /dev/null
+++ b/client/src/components/svgs/mnml.2.svg
@@ -0,0 +1,184 @@
+
+
+
+
diff --git a/client/src/components/svgs/mnml.3.svg b/client/src/components/svgs/mnml.3.svg
new file mode 100644
index 00000000..7411fc7f
--- /dev/null
+++ b/client/src/components/svgs/mnml.3.svg
@@ -0,0 +1,177 @@
+
+
+
+
diff --git a/client/src/components/svgs/mnml.4.svg b/client/src/components/svgs/mnml.4.svg
new file mode 100644
index 00000000..801d6215
--- /dev/null
+++ b/client/src/components/svgs/mnml.4.svg
@@ -0,0 +1,177 @@
+
+
+
+
diff --git a/client/src/components/svgs/mnml.horizontal.svg b/client/src/components/svgs/mnml.horizontal.svg
new file mode 100644
index 00000000..5b0aa973
--- /dev/null
+++ b/client/src/components/svgs/mnml.horizontal.svg
@@ -0,0 +1,191 @@
+
+
+
+
diff --git a/client/src/components/svgs/mnml.line.svg b/client/src/components/svgs/mnml.line.svg
new file mode 100644
index 00000000..d2591da5
--- /dev/null
+++ b/client/src/components/svgs/mnml.line.svg
@@ -0,0 +1,98 @@
+
+
+
+
diff --git a/client/src/components/svgs/mnml.plain.svg b/client/src/components/svgs/mnml.plain.svg
new file mode 100644
index 00000000..65379683
--- /dev/null
+++ b/client/src/components/svgs/mnml.plain.svg
@@ -0,0 +1,181 @@
+
+
+
+
diff --git a/client/src/components/svgs/mnml.svg b/client/src/components/svgs/mnml.svg
new file mode 100644
index 00000000..0e5af50f
--- /dev/null
+++ b/client/src/components/svgs/mnml.svg
@@ -0,0 +1,190 @@
+
+
+
+
diff --git a/client/src/components/svgs/square.svg b/client/src/components/svgs/square.svg
new file mode 100644
index 00000000..5bca8ee5
--- /dev/null
+++ b/client/src/components/svgs/square.svg
@@ -0,0 +1,6 @@
+
diff --git a/client/src/components/svgs/triangle.svg b/client/src/components/svgs/triangle.svg
new file mode 100644
index 00000000..38e643a8
--- /dev/null
+++ b/client/src/components/svgs/triangle.svg
@@ -0,0 +1,6 @@
+
\ No newline at end of file
diff --git a/client/src/components/welcome.jsx b/client/src/components/welcome.jsx
index 27575d98..a9cd4c53 100644
--- a/client/src/components/welcome.jsx
+++ b/client/src/components/welcome.jsx
@@ -4,7 +4,8 @@ const preact = require('preact');
const Login = require('./welcome.login');
const Register = require('./welcome.register');
const Help = require('./welcome.help');
-const About = require('./welcome.about');
+// const About = require('./welcome.about');
+const Demo = require('./demo');
function Welcome() {
const page = this.state.page || 'login';
@@ -13,47 +14,60 @@ function Welcome() {
const pageEl = () => {
if (page === 'login') return
;
if (page === 'register') return
;
- if (page === 'about') return
;
if (page === 'help') return
;
return false;
};
return (
-
- mnml.gg
-
-
mnml is an abstract turn based strategy game
-
free to play
-
no email required
-
glhf
+
);
}
diff --git a/client/src/components/welcome.register.jsx b/client/src/components/welcome.register.jsx
index 7051a8ce..838a48e7 100644
--- a/client/src/components/welcome.register.jsx
+++ b/client/src/components/welcome.register.jsx
@@ -12,8 +12,8 @@ const addState = connect(
ws
} = state;
- function submitRegister(name, password, code) {
- postData('/account/register', { name, password, code })
+ function submitRegister(name, password) {
+ postData('/account/register', { name, password })
.then(res => res.json())
.then(data => {
if (data.error) return errorToast(data.error);
@@ -34,19 +34,18 @@ function Register(args) {
submitRegister,
} = args;
- const { password, confirm, name, code } = this.state;
+ const { password, confirm, name } = this.state;
const registerSubmit = (event) => {
event.preventDefault();
- submitRegister(name, password, code);
- // this.setState({ name: '', password: '', confirm: '', code: ''});
+ submitRegister(name, password);
}
const registerConfirm = () =>
password === confirm;
const registerDisabled = () => {
- return !(registerConfirm() && password && name && code);
+ return !(registerConfirm() && password && name);
}
return (
@@ -75,14 +74,6 @@ function Register(args) {
value={this.state.confirm}
onInput={linkState(this, 'confirm')}
/>
-
-