Skip to content

Commit

Permalink
[docs] Add structured data (mui#11798)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored Jun 10, 2018
1 parent 4cb1c00 commit 8cbfd1f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,24 @@ class HomePage extends React.Component {

return (
<div className={classes.root}>
<script
type="application/ld+json"
// eslint-disable-next-line react/no-danger
dangerouslySetInnerHTML={{
__html: `
{
"@context": "http://schema.org",
"@type": "Organization",
"name": "Material-UI",
"url": "https://material-ui.com",
"logo": "https://material-ui.com/static/brand.png",
"sameAs": [
"https://twitter.com/materialUI"
]
}
`,
}}
/>
<Head>
<title>Material-UI</title>
</Head>
Expand Down

0 comments on commit 8cbfd1f

Please sign in to comment.