- building the base modal trigger architecture

This commit is contained in:
Amruth Pillai
2020-07-03 15:48:55 +05:30
parent 70ef926b70
commit 336fd22150
9 changed files with 341 additions and 9 deletions

20
src/modals/AuthModal.js Normal file
View File

@ -0,0 +1,20 @@
import React from "react";
import BaseModal from "./BaseModal";
import Button from "../components/shared/Button";
const AuthModal = ({ state }) => {
return (
<BaseModal state={state} title="Who are you?" action={action}>
<p>
Reactive Resume needs to know who you are so it can securely
authenticate you into the app and show you only your information. Once
you are in, you can start building your resume, editing it to add new
skills or sharing it with the world!
</p>
</BaseModal>
);
};
const action = <Button title="Sign in with Google" />;
export default AuthModal;