- adding icons to buttons

- styling modals for dark mode
This commit is contained in:
Amruth Pillai
2020-07-03 19:37:23 +05:30
parent 3a1d42025f
commit 24fed8ff3f
9 changed files with 24 additions and 11 deletions

View File

@ -1,6 +1,7 @@
import React, { useContext } from "react";
import { useStaticQuery, graphql } from "gatsby";
import GatsbyImage from "gatsby-image";
import { FaGithub } from "react-icons/fa";
import ThemeContext from "../../contexts/ThemeContext";
import ModalContext from "../../contexts/ModalContext";
import UserContext from "../../contexts/UserContext";
@ -54,7 +55,8 @@ const Hero = () => {
<Button
outline
className="ml-8"
title="Source Code"
title="GitHub"
icon={FaGithub}
onClick={toggleDarkMode}
/>
</div>