Signup data is reaching the server code

This commit is contained in:
2021-01-22 00:55:17 +11:00
parent 30a5251400
commit a983d60b32
17 changed files with 3251 additions and 15 deletions
+11
View File
@@ -0,0 +1,11 @@
import React from 'react';
const Footer = () => {
return (
<footer>
<p className='centered'>MERN template designed by Kayne Ruse, KR Game Studios</p>
</footer>
);
};
export default Footer;
+30
View File
@@ -0,0 +1,30 @@
import React from 'react';
const Visitor = () => {
return (
<div>
<a href='/signup'>Sign Up</a>
<a href='/login'>Log In</a>
</div>
);
};
const Member = () => {
return (
<div>
<a href='/account'>Account</a>
<a href='/logout'>Log out</a>
</div>
);
};
const Header = () => {
return (
<header>
<h1><a href='/'>MERN Template</a></h1>
<Visitor />
</header>
);
};
export default Header;