diff --git a/src/App/Home/Dashboard/Dashboard.js b/src/App/Home/Dashboard/Dashboard.js index 062e4bc..9dd3611 100644 --- a/src/App/Home/Dashboard/Dashboard.js +++ b/src/App/Home/Dashboard/Dashboard.js @@ -1,15 +1,138 @@ -import React from 'react' +import React, { Component } from 'react' import { withRouter } from 'react-router-dom' +import { Button, Input, Form } from 'semantic-ui-react' +import { createProject } from '../../../graphql/mutations' +import { Mutation } from "react-apollo"; // Dashboard: Dashboard style setup with some grouping and visualizations + +const defaultState = { + editing: false, +} + +// Change this buttons on click to trigger a create project. + +// TODO: Replace button with "trigger" component +const CreateProject = ( {title, owners} ) => { + + let input; + let editing = false; + + return ( + + {(createProject, { data }) => ( +
+
+ )} +
+ + /* + + {(createProject, { data }) => ( +