-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge PR #711: Remove Jade dependency
Remove jade dependency
- Loading branch information
Showing
16 changed files
with
187 additions
and
235 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import React, { PropTypes } from 'react'; | ||
import { analytics } from '../config'; | ||
|
||
function Html({ title, description, style, script, children }) { | ||
return ( | ||
<html className="no-js" lang=""> | ||
<head> | ||
<meta charSet="utf-8" /> | ||
<meta httpEquiv="x-ua-compatible" content="ie=edge" /> | ||
<title>{title}</title> | ||
<meta name="description" content={description} /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<link rel="apple-touch-icon" href="apple-touch-icon.png" /> | ||
<style id="css" dangerouslySetInnerHTML={{ __html: style }} /> | ||
</head> | ||
<body> | ||
<div id="app" dangerouslySetInnerHTML={{ __html: children }} /> | ||
{script && <script src={script} />} | ||
{analytics.google.trackingId && | ||
<script | ||
dangerouslySetInnerHTML={{ __html: | ||
'window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date;' + | ||
`ga('create','${analytics.google.trackingId}','auto');ga('send','pageview')` }} | ||
/> | ||
} | ||
{analytics.google.trackingId && | ||
<script src="https://www.google-analytics.com/analytics.js" async defer /> | ||
} | ||
</body> | ||
</html> | ||
); | ||
} | ||
|
||
Html.propTypes = { | ||
title: PropTypes.string.isRequired, | ||
description: PropTypes.string.isRequired, | ||
style: PropTypes.string.isRequired, | ||
script: PropTypes.string, | ||
children: PropTypes.string, | ||
}; | ||
|
||
export default Html; |
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,46 @@ | ||
--- | ||
title: About Us | ||
component: ContentPage | ||
--- | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean consequat | ||
tortor fermentum mi fermentum dignissim. Nullam vel ipsum ut ligula elementum | ||
lobortis. Maecenas aliquam, massa laoreet lacinia pretium, nisi urna venenatis | ||
tortor, nec imperdiet tellus libero efficitur metus. Fusce semper posuere | ||
ligula, et facilisis metus bibendum interdum. Mauris at mauris sit amet sem | ||
pharetra commodo a eu leo. Nam at est non risus cursus maximus. Nam feugiat | ||
augue libero, id consectetur tortor bibendum non. Quisque nec fringilla lorem. | ||
Nullam efficitur vulputate mauris, nec maximus leo dignissim id. | ||
|
||
In hac habitasse platea dictumst. Duis sagittis dui ac ex suscipit maximus. | ||
Morbi pellentesque venenatis felis sed convallis. Nulla varius, nibh vitae | ||
placerat tempus, mauris sem elementum ipsum, eget sollicitudin nisl est vel | ||
purus. Fusce malesuada odio velit, non cursus leo fermentum id. Cras pharetra | ||
sodales fringilla. Etiam quis est a dolor egestas pellentesque. Maecenas non | ||
scelerisque purus, congue cursus arcu. Donec vel dapibus mi. Mauris maximus | ||
posuere placerat. Sed et libero eu nibh tristique mollis a eget lectus. Donec | ||
interdum augue sollicitudin vehicula hendrerit. Vivamus justo orci, molestie | ||
ac sollicitudin ac, lobortis at tellus. Etiam rhoncus ullamcorper risus eu | ||
tempor. Sed porttitor, neque ac efficitur gravida, arcu lacus pharetra dui, in | ||
consequat elit tellus auctor nulla. Donec placerat elementum diam, vitae | ||
imperdiet lectus luctus at. | ||
|
||
Nullam eu feugiat mi. Quisque nec tristique nisl, dignissim dictum leo. Nam | ||
non quam nisi. Donec rutrum turpis ac diam blandit, id pulvinar mauris | ||
suscipit. Pellentesque tincidunt libero ultricies risus iaculis, sit amet | ||
consequat velit blandit. Fusce quis varius nulla. Nullam nisi nisi, suscipit | ||
ut magna quis, feugiat porta nibh. Sed id enim lectus. Suspendisse elementum | ||
justo sapien, sit amet consequat orci accumsan et. Aliquam ornare ullamcorper | ||
sem sed finibus. Nullam ac lacus pulvinar, egestas felis ut, accumsan est. | ||
|
||
Pellentesque sagittis vehicula sem quis luctus. Proin sodales magna in lorem | ||
hendrerit aliquam. Integer eu varius orci. Vestibulum ante ipsum primis in | ||
faucibus orci luctus et ultrices posuere cubilia Curae; Vestibulum ante ipsum | ||
primis in faucibus orci luctus et ultrices posuere cubilia Curae; Ut at mauris | ||
nibh. Suspendisse maximus ac eros at vestibulum. | ||
|
||
Interdum et malesuada fames ac ante ipsum primis in faucibus. Quisque egestas | ||
tortor et dui consequat faucibus. Nunc vitae odio ornare, venenatis ligula a, | ||
vulputate nisl. Aenean congue varius ex, sit amet bibendum odio posuere at. | ||
Nulla facilisi. In finibus, nulla vitae tincidunt ornare, sapien nulla | ||
fermentum mauris, sed consectetur tortor arcu eget arcu. Vestibulum vel quam | ||
enim. |
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,19 @@ | ||
--- | ||
title: React.js Starter Kit | ||
component: ContentPage | ||
--- | ||
### Runtime Components | ||
|
||
[React](https://facebook.github.io/react/) - A JavaScript library for building user interfaces, developed by Facebook | ||
|
||
[Flux](http://facebook.github.io/flux/) - Application architecture for building user interfaces | ||
|
||
### Development Tools | ||
|
||
[Webpack](http://webpack.github.io/) - Compiles front-end source code into modules / bundles | ||
|
||
[BrowserSync](http://www.browsersync.io/) - A lightweight HTTP server for development | ||
|
||
### Fork me on GitHub | ||
|
||
[github.com/kriasoft/react-starter-kit](https://github.com/kriasoft/react-starter-kit) |
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,46 @@ | ||
--- | ||
title: Privacy Policy | ||
component: ContentPage | ||
--- | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean consequat | ||
tortor fermentum mi fermentum dignissim. Nullam vel ipsum ut ligula elementum | ||
lobortis. Maecenas aliquam, massa laoreet lacinia pretium, nisi urna venenatis | ||
tortor, nec imperdiet tellus libero efficitur metus. Fusce semper posuere | ||
ligula, et facilisis metus bibendum interdum. Mauris at mauris sit amet sem | ||
pharetra commodo a eu leo. Nam at est non risus cursus maximus. Nam feugiat | ||
augue libero, id consectetur tortor bibendum non. Quisque nec fringilla lorem. | ||
Nullam efficitur vulputate mauris, nec maximus leo dignissim id. | ||
|
||
In hac habitasse platea dictumst. Duis sagittis dui ac ex suscipit maximus. | ||
Morbi pellentesque venenatis felis sed convallis. Nulla varius, nibh vitae | ||
placerat tempus, mauris sem elementum ipsum, eget sollicitudin nisl est vel | ||
purus. Fusce malesuada odio velit, non cursus leo fermentum id. Cras pharetra | ||
sodales fringilla. Etiam quis est a dolor egestas pellentesque. Maecenas non | ||
scelerisque purus, congue cursus arcu. Donec vel dapibus mi. Mauris maximus | ||
posuere placerat. Sed et libero eu nibh tristique mollis a eget lectus. Donec | ||
interdum augue sollicitudin vehicula hendrerit. Vivamus justo orci, molestie | ||
ac sollicitudin ac, lobortis at tellus. Etiam rhoncus ullamcorper risus eu | ||
tempor. Sed porttitor, neque ac efficitur gravida, arcu lacus pharetra dui, in | ||
consequat elit tellus auctor nulla. Donec placerat elementum diam, vitae | ||
imperdiet lectus luctus at. | ||
|
||
Nullam eu feugiat mi. Quisque nec tristique nisl, dignissim dictum leo. Nam | ||
non quam nisi. Donec rutrum turpis ac diam blandit, id pulvinar mauris | ||
suscipit. Pellentesque tincidunt libero ultricies risus iaculis, sit amet | ||
consequat velit blandit. Fusce quis varius nulla. Nullam nisi nisi, suscipit | ||
ut magna quis, feugiat porta nibh. Sed id enim lectus. Suspendisse elementum | ||
justo sapien, sit amet consequat orci accumsan et. Aliquam ornare ullamcorper | ||
sem sed finibus. Nullam ac lacus pulvinar, egestas felis ut, accumsan est. | ||
|
||
Pellentesque sagittis vehicula sem quis luctus. Proin sodales magna in lorem | ||
hendrerit aliquam. Integer eu varius orci. Vestibulum ante ipsum primis in | ||
faucibus orci luctus et ultrices posuere cubilia Curae; Vestibulum ante ipsum | ||
primis in faucibus orci luctus et ultrices posuere cubilia Curae; Ut at mauris | ||
nibh. Suspendisse maximus ac eros at vestibulum. | ||
|
||
Interdum et malesuada fames ac ante ipsum primis in faucibus. Quisque egestas | ||
tortor et dui consequat faucibus. Nunc vitae odio ornare, venenatis ligula a, | ||
vulputate nisl. Aenean congue varius ex, sit amet bibendum odio posuere at. | ||
Nulla facilisi. In finibus, nulla vitae tincidunt ornare, sapien nulla | ||
fermentum mauris, sed consectetur tortor arcu eget arcu. Vestibulum vel quam | ||
enim. |
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.