diff --git a/src/js/App.jsx b/src/js/App.jsx
index 87fab40..59b7dda 100644
--- a/src/js/App.jsx
+++ b/src/js/App.jsx
@@ -75,6 +75,7 @@ export default React.createClass({
// Show projects.
projects() {
+ document.title = 'Burnchart: GitHub Burndown Chart as a Service';
actions.emit('projects.load');
return ;
},
diff --git a/src/js/components/Hero.jsx b/src/js/components/Hero.jsx
new file mode 100644
index 0000000..d4949df
--- /dev/null
+++ b/src/js/components/Hero.jsx
@@ -0,0 +1,26 @@
+import React from 'react';
+
+import Icon from './Icon.jsx';
+import Link from './Link.jsx';
+
+export default React.createClass({
+
+ displayName: 'Hero.jsx',
+
+ render() {
+ return (
+
+
+
+
See your project progress
+
Serious about a project deadline? Add your GitHub project and we'll tell you if it is running on time or not.
+
+ Add a Project
+ See Examples
+
+
+
+ );
+ }
+
+});
diff --git a/src/js/components/Projects.jsx b/src/js/components/Projects.jsx
new file mode 100644
index 0000000..5eb1072
--- /dev/null
+++ b/src/js/components/Projects.jsx
@@ -0,0 +1,12 @@
+import React from 'react';
+
+export default React.createClass({
+
+ displayName: 'Projects.jsx',
+
+ // TODO.
+ render() {
+ return false;
+ }
+
+});
diff --git a/src/js/pages/ProjectsPage.jsx b/src/js/pages/ProjectsPage.jsx
index 053454e..60f40f8 100644
--- a/src/js/pages/ProjectsPage.jsx
+++ b/src/js/pages/ProjectsPage.jsx
@@ -5,6 +5,9 @@ import Page from '../mixins/Page.js';
import Notify from '../components/Notify.jsx';
import Header from '../components/Header.jsx';
+import Projects from '../components/Projects.jsx';
+import Hero from '../components/Hero.jsx';
+
export default React.createClass({
displayName: 'ProjectsPage.jsx',
@@ -12,12 +15,30 @@ export default React.createClass({
mixins: [ Page ],
render() {
+ let projects = this.state.projects;
+
+ let content;
+ if (!this.state.app.loading) {
+ if (projects.list.length) {
+ // Show a list of projects.
+ content = (
+
+ );
+ } else {
+ content = ;
+ }
+ }
+
return (