Skip to content
This repository was archived by the owner on Oct 28, 2020. It is now read-only.

Commit a94d597

Browse files
author
TED Vortex (Teodor Eugen Dutulescu)
committed
Merge pull request #3 from superleap/feature/helmet-component-integration
0.3.0
2 parents f3b245c + 60bfcd6 commit a94d597

File tree

9 files changed

+291
-222
lines changed

9 files changed

+291
-222
lines changed

npm-shrinkwrap.json

Lines changed: 88 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-material-boilerplate",
3-
"version": "0.2.1",
3+
"version": "0.3.0",
44
"description": "React material boilerplate",
55
"main": "index.js",
66
"scripts": {
@@ -17,11 +17,14 @@
1717
"homepage": "https://github.com/superleap/react-material-boilerplate",
1818
"dependencies": {
1919
"babel-standalone": "^6.7.4",
20-
"html-webpack-plugin": "^2.16.1",
20+
"eslint": "^2.10.0",
21+
"html-webpack-plugin": "^2.17.0",
2122
"material-ui": "^0.15.0",
2223
"material-ui-community-icons": "^0.15.0",
24+
"npm-install-webpack-plugin": "^3.1.3",
2325
"react": "^15.0.2",
2426
"react-dom": "^15.0.2",
27+
"react-helmet": "^3.1.0",
2528
"react-tap-event-plugin": "^1.0.0"
2629
},
2730
"devDependencies": {
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import React from 'react';
2+
import Helmet from 'react-helmet';
3+
4+
class ChromeHelmet extends React.Component {
5+
render() {
6+
return (
7+
<Helmet
8+
titleTemplate="Super Leap - %s"
9+
defaultTitle="React Material Boilerplate"
10+
meta={[
11+
{"name": "description", "content": "Are you ready to take a Digital Super Leap ?" },
12+
{"name": "keywords", "content": "react, material-ui, boilerplate, super leap"},
13+
{"name": "robots", "content": "NOODP"},
14+
{"name": "viewport", "content": "width=device-width, initial-scale=1"},
15+
{"property": "og:type", "content": "article"}
16+
]}
17+
/>
18+
)
19+
}
20+
}
21+
22+
export default ChromeHelmet;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default from './ChromeHelmet';

0 commit comments

Comments
 (0)