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

Commit 74f7a76

Browse files
authored
feat: add a better SEO image (#223)
For now, let’s use @riencoertjens’s photo of Dora because it’s painfully cute. For more Dora, go follow https://www.instagram.com/doraforscale/ close #143
1 parent e3f8faa commit 74f7a76

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

gatsby-config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ require('dotenv').config({
55
module.exports = {
66
siteMetadata: {
77
siteUrl: 'https://store.gatsbyjs.org',
8-
title: 'Gatsby Store',
9-
description: 'Get Gatsby Swag!'
8+
title: 'Holy buckets! Get your Gatsby swag here!',
9+
description:
10+
'Do you like spaced-out socks? All purple everything? Hitting #maximumcomf with JAMstack Jammies? Oh boy have we got the swag store for you!'
1011
},
1112
plugins: [
1213
{

src/components/shared/SiteMetadata.js

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,16 @@ export default () => (
7272

7373
<meta
7474
property="og:image"
75-
content={`${siteUrl}/android-chrome-512x512.png`}
75+
content={`${siteUrl}/instagram-doraforscale.jpg`}
7676
/>
77-
<meta property="og:image:alt" content="Gatsby Store Logo" />
78-
<meta property="og:image:width" content="512" />
79-
<meta property="og:image:height" content="512" />
77+
<meta
78+
property="og:image:alt"
79+
content="Gatsby Socks using Dora for scale."
80+
/>
81+
<meta property="og:image:width" content="1280" />
82+
<meta property="og:image:height" content="686" />
8083

81-
<meta name="twitter:card" content="summary" />
84+
<meta name="twitter:card" content="summary_large_image" />
8285
<meta name="twitter:site" content="@gatsbyjs" />
8386
</Helmet>
8487
)}

static/instagram-doraforscale.jpg

58.3 KB
Loading

0 commit comments

Comments
 (0)