Skip to content

Commit 9855c27

Browse files
committed
Add meta description
1 parent 9e3e27d commit 9855c27

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/components/index-page/index.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import Head from "next/head"
2+
13
import { Hero } from "./hero"
24
import { TrustedBy } from "./trusted-by"
35
import { HowItWorks } from "./how-it-works"
@@ -13,6 +15,12 @@ import { WhatIsGraphQL } from "./what-is-graphql"
1315
export function IndexPage() {
1416
return (
1517
<div className="gql-all-anchors-focusable bg-neu-0">
18+
<Head>
19+
<meta
20+
name="description"
21+
content="GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data."
22+
/>
23+
</Head>
1624
<Hero />
1725
<TrustedBy />
1826
<WhatIsGraphQL />

src/pages/index.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
title: GraphQL | A query language for your API
3-
description: GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data.
43
---
54

65
export { IndexPage as default } from '../components/index-page'

0 commit comments

Comments
 (0)