Skip to content

Commit d526725

Browse files
committed
Rename Seo component
1 parent 5c3535b commit d526725

File tree

9 files changed

+15
-19
lines changed

9 files changed

+15
-19
lines changed

src/components/seo.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,6 @@ function SEO({ description, lang, meta, keywords, title }) {
5353
name: `twitter:creator`,
5454
content: site.siteMetadata.author,
5555
},
56-
{
57-
name: `twitter:title`,
58-
content: title,
59-
},
60-
{
61-
name: `twitter:description`,
62-
content: metaDescription,
63-
},
6456
]
6557
.concat({
6658
name: `keywords`,

src/pages/examples/functional-components.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ route: /examples/functional-components
44
menu: Examples
55
---
66

7-
import SEO from '../../components/seo';
7+
import SEO from '../../components/Seo';
88

99
<SEO
1010
description="Using TypeScript with React functional components."

src/pages/examples/hocs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ route: /examples/hocs
44
menu: Examples
55
---
66

7-
import SEO from '../../components/seo';
7+
import SEO from '../../components/Seo';
88

99
<SEO
1010
description="Using TypeScript with higher order components or HOCs."

src/pages/examples/hooks.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ route: /examples/hooks
44
menu: Examples
55
---
66

7-
import SEO from '../../components/seo';
7+
import SEO from '../../components/Seo';
88

99
<SEO
1010
description="Using TypeScript with React hooks."

src/pages/examples/react-router.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ route: /examples/react-router
44
menu: Examples
55
---
66

7-
import SEO from '../../components/seo';
7+
import SEO from '../../components/Seo';
88

99
<SEO
1010
description="Using TypeScript with React Router."

src/pages/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ route: /
44
---
55

66
import MailingListForm from '../components/MailingListForm';
7-
import SEO from '../components/seo';
7+
import SEO from '../components/Seo';
88
<SEO title="Home" />;
99

1010
# Home

src/pages/installation/create-react-app.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ route: /installation/create-react-app
44
menu: Installation
55
---
66

7-
import SEO from '../../components/seo';
7+
import SEO from '../../components/Seo';
88

99
<SEO
1010
description="Instructions to install TypeScript with Create React App."
11-
title="Installation | Create React App"
11+
title="Create React App"
1212
keywords={['create react app, cra']}
1313
/>
1414

src/pages/installation/gatsby.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ route: /installation/gatsby
44
menu: Installation
55
---
66

7-
import SEO from '../../components/seo';
7+
import SEO from '../../components/Seo';
88

9-
<SEO description="Instructions to install TypeScript with Gatsby." title="Installation | Gatsby" keywords={['gatsby']} />
9+
<SEO
10+
description="Instructions to install TypeScript with Gatsby."
11+
title="Gatsby"
12+
keywords={['gatsby']}
13+
/>
1014

1115
# Gatsby
1216

src/pages/installation/zeit-next-js.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ route: /installation/zeit-next-js
44
menu: Installation
55
---
66

7-
import SEO from '../../components/seo';
7+
import SEO from '../../components/Seo';
88

99
<SEO
1010
description="Instructions to install TypeScript with Zeit Next.js."
11-
title="Installation | Zeit Next.js"
11+
title="Zeit Next.js"
1212
keywords={['zeit, next, nextjs, next.js']}
1313
/>
1414

0 commit comments

Comments
 (0)