- designing the dashboard

- resume preview
- create resume modal
This commit is contained in:
Amruth Pillai
2020-07-04 10:26:29 +05:30
parent dd5e594dc9
commit e1f1d84201
27 changed files with 556 additions and 26 deletions

View File

@ -5,6 +5,7 @@ import ModalContext from "../../contexts/ModalContext";
import UserContext from "../../contexts/UserContext";
import Button from "../shared/Button";
import Logo from "../shared/Logo";
import { navigate } from "gatsby";
const Hero = () => {
const { user, loading } = useContext(UserContext);
@ -13,9 +14,11 @@ const Hero = () => {
const handleLogin = () => authModal.setOpen(true);
const handleGotoApp = () => navigate("/app/dashboard");
return (
<div className="flex items-center">
<Logo size="256px" />
<Logo className="shadow-lg" size="256px" />
<div className="ml-12">
<h1 className="text-5xl font-bold">Reactive Resume</h1>
@ -27,7 +30,7 @@ const Hero = () => {
{user ? (
<Button
title="Go to App"
onClick={handleLogin}
onClick={handleGotoApp}
isLoading={loading || authModal.isOpen}
/>
) : (