Skip to content

Commit 3b40ce0

Browse files
committed
Minor layout adjustments, add proper security headers
1 parent 9173523 commit 3b40ce0

File tree

5 files changed

+86
-3
lines changed

5 files changed

+86
-3
lines changed

gatsby-config.js

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ module.exports = {
88
},
99
plugins: [
1010
`gatsby-plugin-eslint`,
11+
`gatsby-plugin-netlify`,
1112
`gatsby-plugin-react-helmet`,
1213
{
1314
resolve: `gatsby-plugin-manifest`,

package-lock.json

+81
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"dependencies": {
77
"gatsby": "2.23.11",
88
"gatsby-plugin-manifest": "2.4.14",
9+
"gatsby-plugin-netlify": "^2.3.7",
910
"gatsby-plugin-offline": "3.2.13",
1011
"gatsby-plugin-postcss": "2.3.6",
1112
"gatsby-plugin-react-helmet": "3.3.6",

src/pages/about.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ function AboutPage() {
2323
</section>
2424
<section className="mt-4">
2525
<h2 className="text-sm text-gray-500 text-left sm:text-center">This site was built with <a className="text-blue-300 hover:underline" href="https://www.gatsbyjs.org/">Gatsby</a>, <a className="text-blue-300 hover:underline" href="https://tailwindcss.com/">TailwindCSS</a>, and is deployed on <a className="text-blue-300 hover:underline" href="https://www.netlify.com/">Netlify</a> with <a className="text-blue-300 hover:underline" href="https://www.cloudflare.com/">Cloudflare</a> acting as a cache.</h2>
26-
<h2 className="text-sm text-gray-500 text-left sm:text-center">You can find the source at <a className="text-blue-300 hover:underline" href="https://github.com/sesgoe/how-do-you-exit-vim">github.com/sesgoe/how-do-you-exit-vim</a></h2>
26+
<h2 className="text-sm text-gray-500 text-left sm:text-center mt-2">You can find the source code at <a className="text-blue-300 hover:underline" href="https://github.com/sesgoe/how-do-you-exit-vim">github.com/sesgoe/how-do-you-exit-vim</a></h2>
2727
</section>
28-
<footer className="mt-4">
28+
<footer className="mt-8">
2929
<h3 className="text-lg text-blue-300 hover:underline text-center"><Link to="/">Main Page</Link></h3>
3030
</footer>
3131
</main>

src/pages/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function IndexPage() {
2020
/>
2121
<h1 className="text-lg sm:text-2xl"><a className="text-blue-300 hover:underline" href="https://stackoverflow.com/a/11828573/10578398">How to exit vim guide on StackOverflow</a></h1>
2222
</main>
23-
<footer className="mx-auto mt-auto flex mb-8">
23+
<footer className="mx-auto flex mt-16">
2424
<h2 className="text-md sm:text-lg text-blue-300 hover:underline"><Link to="/about">About</Link></h2>
2525
</footer>
2626
</div>

0 commit comments

Comments
 (0)