Reactive Resume needs to know who you are so it can securely
authenticate you into the app and show you only your information. Once
@@ -15,6 +50,4 @@ const AuthModal = ({ state }) => {
);
};
-const action = ;
-
export default AuthModal;
diff --git a/src/modals/BaseModal.js b/src/modals/BaseModal.js
index 534d22ac..b93c9f7e 100644
--- a/src/modals/BaseModal.js
+++ b/src/modals/BaseModal.js
@@ -1,35 +1,45 @@
import React from "react";
import Modal from "@material-ui/core/Modal";
+import Backdrop from "@material-ui/core/Backdrop";
+import Fade from "@material-ui/core/Fade";
import { MdClose } from "react-icons/md";
import styles from "./BaseModal.module.css";
import Button from "../components/shared/Button";
const BaseModal = ({ title, state, children, action }) => {
- const [isOpen, setOpen] = state;
+ const { isOpen, setOpen } = state;
const handleClose = () => setOpen(false);
return (
-
-
-
-
{title}
-
+
+
+
+
+
{title}
+
+
+
+
{children}
+
+
+
+
+ {action}
+
-
-
{children}
-
-
-
-
- {action}
-
-
+
);
};
diff --git a/src/modals/ModalRegistrar.js b/src/modals/ModalRegistrar.js
new file mode 100644
index 00000000..79ca762e
--- /dev/null
+++ b/src/modals/ModalRegistrar.js
@@ -0,0 +1,12 @@
+import React, { Fragment } from "react";
+import AuthModal from "./AuthModal";
+
+const ModalRegistrar = () => {
+ return (
+
+
+
+ );
+};
+
+export default ModalRegistrar;
diff --git a/src/pages/404.js b/src/pages/404.js
new file mode 100644
index 00000000..2f7bf172
--- /dev/null
+++ b/src/pages/404.js
@@ -0,0 +1,12 @@
+import { navigate } from "gatsby";
+import { useEffect } from "react";
+
+const NotFoundPage = () => {
+ useEffect(() => {
+ navigate("/");
+ }, []);
+
+ return null;
+};
+
+export default NotFoundPage;
diff --git a/src/pages/index.js b/src/pages/index.js
index 8258eb21..abe2a4aa 100644
--- a/src/pages/index.js
+++ b/src/pages/index.js
@@ -1,71 +1,49 @@
-import React, { useState } from "react";
-import { graphql } from "gatsby";
-import GatsbyImage from "gatsby-image";
-import Button from "../components/shared/Button";
-import AuthModal from "../modals/AuthModal";
-
-const Home = ({ data }) => {
- const [isAuthModalOpen, setAuthModalOpen] = useState(false);
-
- const handleLogin = () => setAuthModalOpen(true);
+import React from "react";
+import Wrapper from "../components/shared/Wrapper";
+import Hero from "../components/landing/Hero";
+const Home = () => {
return (
-
-
-
+
+
+
-
-
Reactive Resume
-
- A free and open-source resume builder.
-
+
+
+ Keep up with the latest trends in resume design without having to
+ start from scratch. With new templates being designed every week and
+ having made it that easy to design your own templates and submit
+ them to the community, you’ll never have to copy and edit your
+ friend’s resume again.
+
-
-
-
-
-
+
+ The biggest problem I’ve faced was when I had to update my resume
+ when I learned a new skill or found a new job. The ever-shifting
+ layouts and inconsistency with design over a number of years made it
+ difficult to update your own resume, but Reactive Resume makes it as
+ easy as few clicks.
+
+
+
+ There are brilliant alternatives to this app like{" "}
+ Novoresume and Zety, but they come
+ at a cost, mainly because of the time the developers and the
+ marketing they had to incur to make the product. This app might not
+ be better than them, but it does cater to people who are just not in
+ a position to pay hundreds of dollars to create a resume to
+ bootstrap their career.
+
+
+
-
-
-
- Keep up with the latest trends in resume design without having to
- start from scratch. With new templates being designed every week and
- having made it that easy to design your own templates and submit them
- to the community, you’ll never have to copy and edit your friend’s
- resume again.
-
-
-
- The biggest problem I’ve faced was when I had to update my resume when
- I learned a new skill or found a new job. The ever-shifting layouts
- and inconsistency with design over a number of years made it difficult
- to update your own resume, but Reactive Resume makes it as easy as few
- clicks.
-
-
-
- There are brilliant alternatives to this app like{" "}
- Novoresume and Zety, but they come at
- a cost, mainly because of the time the developers and the marketing
- they had to incur to make the product. This app might not be better
- than them, but it does cater to people who are just not in a position
- to pay hundreds of dollars to create a resume to bootstrap their
- career.
-
-