File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import EmailSignup from "./EmailSignup";
77export const Layout = ( { children } ) => {
88 return (
99 < App >
10+ < GitHubLink />
1011 < div className = "hero is-bold is-primary has-text-centered" >
1112 < div className = "hero-body" >
1213 < h1 className = "title is-size-2-mobile is-1 is-spaced has-text-weight-bold" >
@@ -99,6 +100,27 @@ export const Layout = ({ children }) => {
99100
100101export default Layout ;
101102
103+ const GitHubLink = ( ) => {
104+ return (
105+ < a
106+ className = "is-hidden-mobile"
107+ target = "blank"
108+ href = "https://github.com/gragland/usehooks"
109+ >
110+ < i
111+ class = "fab fa-github"
112+ style = { {
113+ position : "absolute" ,
114+ fontSize : "1.5rem" ,
115+ top : "1rem" ,
116+ right : "1rem" ,
117+ color : "white"
118+ } }
119+ />
120+ </ a >
121+ ) ;
122+ } ;
123+
102124const Logo = styled ( Link ) `
103125 text-decoration: none;
104126 span {
You can’t perform that action at this time.
0 commit comments