Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

feat: add a better SEO image #223

Merged
merged 4 commits into from
Jan 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ require('dotenv').config({
module.exports = {
siteMetadata: {
siteUrl: 'https://store.gatsbyjs.org',
title: 'Gatsby Store',
description: 'Get Gatsby Swag!'
title: 'Holy buckets! Get your Gatsby swag here!',
description:
'Do you like spaced-out socks? All purple everything? Hitting #maximumcomf with JAMstack Jammies? Oh boy have we got the swag store for you!'
},
plugins: [
{
Expand Down
13 changes: 8 additions & 5 deletions src/components/shared/SiteMetadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,16 @@ export default () => (

<meta
property="og:image"
content={`${siteUrl}/android-chrome-512x512.png`}
content={`${siteUrl}/instagram-doraforscale.jpg`}
/>
<meta property="og:image:alt" content="Gatsby Store Logo" />
<meta property="og:image:width" content="512" />
<meta property="og:image:height" content="512" />
<meta
property="og:image:alt"
content="Gatsby Socks using Dora for scale."
/>
<meta property="og:image:width" content="1280" />
<meta property="og:image:height" content="686" />

<meta name="twitter:card" content="summary" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@gatsbyjs" />
</Helmet>
)}
Expand Down
Binary file added static/instagram-doraforscale.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.