diff --git a/client/src/components/welcome.about.jsx b/client/src/components/welcome.about.jsx deleted file mode 100644 index 0f33b942..00000000 --- a/client/src/components/welcome.about.jsx +++ /dev/null @@ -1,69 +0,0 @@ -// eslint-disable-next-line -const preact = require('preact'); -const { Component } = require('preact') -const { connect } = require('preact-redux'); -const linkState = require('linkstate').default; - -const { postData, errorToast, infoToast } = require('../utils'); - -const addState = connect( - (state) => { - const { - ws - } = state; - - function submitRegister(name, password, code) { - postData('/account/register', { name, password, code }) - .then(res => res.json()) - .then(data => { - if (data.error) return errorToast(data.error); - infoToast(data.message); - ws.connect(); - }) - .catch(error => errorToast(error)); - } - - return { - submitRegister, - } - }, -); - -function Register(args) { - const { - submitRegister, - navRegister, - } = args; - - return ( -
- mnml is made deep in the southern hemisphere by ntr & mashy. -
-- if you like this game please support the development by buying credits or subscribing. -
-- this site has no trackers or ads. -
-- you can reach us for feedback and support with the discord and email buttons below. -
-- the access code grep842 is currently active. -
- - -