Skip to content

Commit

Permalink
Add github fork banner
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcat committed Jun 1, 2024
1 parent 879cdb0 commit f702932
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@
"@babel/plugin-proposal-private-methods": "^7.18.6",
"babel-preset-gatsby": "^3.13.2"
}
}
}
9 changes: 8 additions & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ const IndexPage = () => {

return (
<main style={pageStyles}>
<a class="github-fork-ribbon" href="https://github.com/UpDownLeftDie/GuildedScrubber" data-ribbon="Fork me on GitHub" title="Fork me on GitHub">Fork me on GitHub</a>
<div style={headingStyles}>
<h1>
Guilded Scrubber
Expand Down Expand Up @@ -111,4 +112,10 @@ const IndexPage = () => {

export default IndexPage;

export const Head = () => <title>Home Page</title>;

export const Head = () => (
<>
<title>Guilded Scrubber</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.3/gh-fork-ribbon.min.css" />
</>
)

0 comments on commit f702932

Please sign in to comment.