// © XlXi 2021 // Graphictoria 5 import React from "react"; import { Link } from "react-router-dom"; import ReCAPTCHA from "react-google-recaptcha"; import SetTitle from "../Helpers/Title.js"; class Auth extends React.Component { componentDidMount() { let Locations = { '/login': 'Login', '/register': 'Register', '/passwordreset': 'Reset Password' }; SetTitle(Locations[this.props.location]); } render() { let pageLabel; let pageContent; switch(this.props.location) { case '/login': pageLabel = (<> SIGN IN); pageContent = ( <>

Forgot your password?
New to Graphictoria?

Creating an account takes less than a minute, and you can join a community of 3k+ users for completely free.
Sign Up

); break; case '/register': pageLabel = (<> REGISTER); pageContent = ( <>

Make sure your password is unique!


Make sure your email is valid, you'll need to confirm it.




Already have an account?

By creating an account, you agree to our Terms of Service and our Privacy Policy.

); break; case '/passwordreset': pageLabel = (<> RESET PASSWORD); pageContent = (

Login?
); break; default: break; } return (
{ pageLabel }

{ pageContent }
); } } export { Auth };