Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
css improvements, add tweet button, add github issue comment button, …
…add various map keys
- Loading branch information
1 parent
43b212f
commit 731ad20
Showing
12 changed files
with
174 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import React from "react" | ||
import PropTypes from "prop-types" | ||
|
||
export default function HTML(props) { | ||
return ( | ||
<html {...props.htmlAttributes}> | ||
<head> | ||
<meta charSet="utf-8" /> | ||
<meta httpEquiv="x-ua-compatible" content="ie=edge" /> | ||
<meta | ||
name="viewport" | ||
content="width=device-width, initial-scale=1, shrink-to-fit=no" | ||
/> | ||
{props.headComponents} | ||
</head> | ||
<body {...props.bodyAttributes}> | ||
{props.preBodyComponents} | ||
<div | ||
key={`body`} | ||
id="___gatsby" | ||
dangerouslySetInnerHTML={{ __html: props.body }} | ||
/> | ||
{props.postBodyComponents} | ||
</body> | ||
</html> | ||
) | ||
} | ||
|
||
HTML.propTypes = { | ||
htmlAttributes: PropTypes.object, | ||
headComponents: PropTypes.array, | ||
bodyAttributes: PropTypes.object, | ||
preBodyComponents: PropTypes.array, | ||
body: PropTypes.string, | ||
postBodyComponents: PropTypes.array, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.