diff --git a/webclient/public/index.html b/webclient/public/index.html index c9b6ac5..d862a87 100644 --- a/webclient/public/index.html +++ b/webclient/public/index.html @@ -30,7 +30,7 @@ color: white; } .errormessage { - animation: showMessage 0s 5s forwards; + animation: showMessage 0s 6s forwards; opacity: 0; } @@ -48,7 +48,7 @@

Try refreshing the page. If that doesn't work,
- please contact Tanner (protospace@tannercollin.com) for help. + please contact Tanner for help.

diff --git a/webclient/src/App.js b/webclient/src/App.js index 6ecc80d..f972f2f 100644 --- a/webclient/src/App.js +++ b/webclient/src/App.js @@ -26,6 +26,7 @@ import { Auth } from './Auth.js'; import { Subscribe } from './PayPal.js'; import { PasswordReset, ConfirmReset } from './PasswordReset.js'; import { NotFound, PleaseLogin } from './Misc.js'; +import { Debug } from './Debug.js'; import { Footer } from './Footer.js'; const APP_VERSION = 3; // TODO: automate this @@ -227,6 +228,10 @@ function App() {
+ + + + diff --git a/webclient/src/Debug.js b/webclient/src/Debug.js new file mode 100644 index 0000000..a8274a5 --- /dev/null +++ b/webclient/src/Debug.js @@ -0,0 +1,35 @@ +import React, { useState, useEffect, useReducer } from 'react'; +import { BrowserRouter as Router, Switch, Route, Link, useParams, useLocation } from 'react-router-dom'; +import moment from 'moment-timezone'; +import QRCode from 'react-qr-code'; +import './light.css'; +import { Button, Container, Divider, Dropdown, Form, Grid, Header, Icon, Image, Menu, Message, Popup, Segment, Table } from 'semantic-ui-react'; +import { statusColor, BasicTable, siteUrl, staticUrl, requester, isAdmin } from './utils.js'; +import { LoginForm, SignupForm } from './LoginSignup.js'; +import { AccountForm } from './Account.js'; +import { SignForm } from './Sign.js'; +import { PayPalSubscribeDeal } from './PayPal.js'; + +export function Debug(props) { + const { user, token } = props; + + return ( + +
Debug
+ +

No warranty.

+ +

+ +

+ +

Classfeed

+ +

Trotec Usage

+ + +
+ ); +}; diff --git a/webclient/src/Footer.js b/webclient/src/Footer.js index f0ee22a..880bc6b 100644 --- a/webclient/src/Footer.js +++ b/webclient/src/Footer.js @@ -1,4 +1,5 @@ import React, { useRef, useEffect } from 'react'; +import { BrowserRouter as Router, Switch, Route, Link, useParams, useLocation } from 'react-router-dom'; import { Container, Icon } from 'semantic-ui-react'; import { scene } from './spaceport/scene'; @@ -16,11 +17,13 @@ export const Footer = () => {

- site logo + + site logo +