diff --git a/components/SignIn.js b/components/SignIn.js
index dce287d..d8e4072 100644
--- a/components/SignIn.js
+++ b/components/SignIn.js
@@ -46,28 +46,16 @@ export default function SignIn() {
return (
-
+
-
-
-
-
- Sign in
-
-
+
-
- }
- label="Remember me"
- />
-
-
-
- Forgot password?
-
-
-
-
- {"Don't have an account? Sign Up"}
-
-
-
-
);
diff --git a/components/SignUp.js b/components/SignUp.js
index a2ed770..27fa0dd 100644
--- a/components/SignUp.js
+++ b/components/SignUp.js
@@ -39,6 +39,8 @@ export default function SignUp() {
const data = new FormData(event.currentTarget);
// eslint-disable-next-line no-console
console.log({
+ name: data.get("name"),
+ username: data.get("username"),
email: data.get("email"),
password: data.get("password"),
});
@@ -50,18 +52,11 @@ export default function SignUp() {
-
-
-
-
- Sign Up
-
-
- }
- label="Remember me"
- />
-
-
-
- Forgot password?
-
-
-
-
- {"Don't have an account? Sign Up"}
-
-
-
-
);
diff --git a/package.json b/package.json
index 4564322..2ae6e85 100644
--- a/package.json
+++ b/package.json
@@ -13,6 +13,7 @@
"@mui/lab": "^5.0.0-alpha.71",
"@mui/material": "^5.4.4",
"formik": "^2.2.9",
+ "formik-mui": "^4.0.0-alpha.3",
"next": "latest",
"react": "17.0.2",
"react-dom": "17.0.2",
diff --git a/pages/_app.js b/pages/_app.js
new file mode 100644
index 0000000..eca83b2
--- /dev/null
+++ b/pages/_app.js
@@ -0,0 +1,5 @@
+import "../styles/global.css";
+
+export default function MyApp({ Component, pageProps }) {
+ return ;
+}
diff --git a/pages/_document.js b/pages/_document.js
index ad7e411..b518872 100644
--- a/pages/_document.js
+++ b/pages/_document.js
@@ -8,10 +8,19 @@ class MyDocument extends Document {
render() {
return (
-
+
+
+
diff --git a/pages/auth.js b/pages/authenticate.js
similarity index 69%
rename from pages/auth.js
rename to pages/authenticate.js
index a5bf5f8..9053185 100644
--- a/pages/auth.js
+++ b/pages/authenticate.js
@@ -17,6 +17,7 @@ import {
CustomTabPanel,
CustomTabsList,
} from "../components/CustomTab";
+import Image from "next/image";
function AuthPage(props) {
const [value, setValue] = React.useState("1");
@@ -27,6 +28,27 @@ function AuthPage(props) {
return (
+
+ Authenticate - Bookworm
+
+
+
+
Sign In
@@ -50,4 +72,5 @@ export async function getServerSideProps(context) {
props: { stars: json.stargazers_count },
};
}
+
export default AuthPage;
diff --git a/pages/index.js b/pages/index.js
index a33e1ea..2d56e1c 100644
--- a/pages/index.js
+++ b/pages/index.js
@@ -11,7 +11,7 @@ export default function Home() {
Welcome to Next.js!
Welcome to Next.js!
-
+
Users
diff --git a/styles/global.css b/styles/global.css
new file mode 100644
index 0000000..0deee5c
--- /dev/null
+++ b/styles/global.css
@@ -0,0 +1,11 @@
+/* body {
+ font-family: "Poppins", Arial, Helvetica, sans-serif;
+} */
+
+body {
+ font-family: Poppins;
+ margin: 0;
+ padding: 0;
+ /* background: black; */
+ color: white;
+}
diff --git a/yarn.lock b/yarn.lock
index 41d5fd0..8532fc1 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1164,6 +1164,11 @@ flatted@^3.1.0:
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.5.tgz#76c8584f4fc843db64702a6bd04ab7a8bd666da3"
integrity sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==
+formik-mui@^4.0.0-alpha.3:
+ version "4.0.0-alpha.3"
+ resolved "https://registry.yarnpkg.com/formik-mui/-/formik-mui-4.0.0-alpha.3.tgz#faca4b439c0653a8a33be97772da50709f0aa8c8"
+ integrity sha512-a696XpNIYulBd3LcwPt1+3BqtArdA/1hZryxMXT9azwucNwMcnnpVMR10yn6Qycd7eT//qv8V+r1XTBn0X8S1w==
+
formik@^2.2.9:
version "2.2.9"
resolved "https://registry.yarnpkg.com/formik/-/formik-2.2.9.tgz#8594ba9c5e2e5cf1f42c5704128e119fc46232d0"