{"action":"created","comment":{"url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/pulls/comments/66853686","id":66853686,"diff_hunk":"@@ -0,0 +1,143 @@\n+// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP\n+\n+import React, { Component, PropTypes } from 'react';\n+import classnames from 'classnames';\n+import Anchor from 'grommet/components/Anchor';\n+import Box from 'grommet/components/Box';\n+import Heading from 'grommet/components/Heading';\n+import ListItem from 'grommet/components/ListItem';\n+import Paragraph from 'grommet/components/Paragraph';\n+import Tile from 'grommet/components/Tile';\n+import Tiles from 'grommet/components/Tiles';\n+import OpenIcon from 'grommet/components/icons/base/Add';\n+import CloseIcon from 'grommet/components/icons/base/Subtract';\n+\n+const CLASS_ROOT = 'accordion-panel-grommet';\n+\n+export default class AccordionPanelGrommet extends Component {\n+  constructor (props) {\n+    super(props);\n+\n+    this._renderCTA = this._renderCTA.bind(this);\n+    this._renderResources = this._renderResources.bind(this);\n+    this._onClickPanel = this._onClickPanel.bind(this);\n+\n+    this.state = {\n+      isOpen: false\n+    };\n+  }\n+\n+  _renderCTA () {\n+    let { ctaThumbnail } = this.props;\n+    // let { ctaThumbnail, ctaVideo } = this.props;\n+    let { headline, subHeadline, link, linkText } = this.props.ctaText;\n+    // TODO: add video overlay functionality for ctaVideo\n+\n+    return (\n+      <Box direction=\"row\" pad={{vertical: \"medium\"}}>\n+        <img src={ctaThumbnail} className=\"accordion-cta-image\" />","path":"src/modules/AccordionPanelGrommet.js","position":38,"original_position":38,"commit_id":"3d7f85a2bfa57b795fe256cd969e19ab66394d40","original_commit_id":"3d7f85a2bfa57b795fe256cd969e19ab66394d40","user":{"login":"codeswan","id":1638592,"avatar_url":"https://avatars.githubusercontent.com/u/1638592?v=3","gravatar_id":"","url":"https://api.github.com/users/codeswan","html_url":"https://github.com/codeswan","followers_url":"https://api.github.com/users/codeswan/followers","following_url":"https://api.github.com/users/codeswan/following{/other_user}","gists_url":"https://api.github.com/users/codeswan/gists{/gist_id}","starred_url":"https://api.github.com/users/codeswan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeswan/subscriptions","organizations_url":"https://api.github.com/users/codeswan/orgs","repos_url":"https://api.github.com/users/codeswan/repos","events_url":"https://api.github.com/users/codeswan/events{/privacy}","received_events_url":"https://api.github.com/users/codeswan/received_events","type":"User","site_admin":false},"body":"Just curious, is there a reason why we're not using the Grommet `Image` component here?","created_at":"2016-06-13T19:39:52Z","updated_at":"2016-06-13T19:39:52Z","html_url":"https://github.com/grommet/hpe-digitaltoolkit/pull/21#discussion_r66853686","pull_request_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/pulls/comments/66853686"},"html":{"href":"https://github.com/grommet/hpe-digitaltoolkit/pull/21#discussion_r66853686"},"pull_request":{"href":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/pulls/21","id":73251858,"html_url":"https://github.com/grommet/hpe-digitaltoolkit/pull/21","diff_url":"https://github.com/grommet/hpe-digitaltoolkit/pull/21.diff","patch_url":"https://github.com/grommet/hpe-digitaltoolkit/pull/21.patch","issue_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/issues/21","number":21,"state":"open","locked":false,"title":"Base-Grommet Accordion Module + Docs Page","user":{"login":"jwijay","id":10161095,"avatar_url":"https://avatars.githubusercontent.com/u/10161095?v=3","gravatar_id":"","url":"https://api.github.com/users/jwijay","html_url":"https://github.com/jwijay","followers_url":"https://api.github.com/users/jwijay/followers","following_url":"https://api.github.com/users/jwijay/following{/other_user}","gists_url":"https://api.github.com/users/jwijay/gists{/gist_id}","starred_url":"https://api.github.com/users/jwijay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwijay/subscriptions","organizations_url":"https://api.github.com/users/jwijay/orgs","repos_url":"https://api.github.com/users/jwijay/repos","events_url":"https://api.github.com/users/jwijay/events{/privacy}","received_events_url":"https://api.github.com/users/jwijay/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-09T17:14:51Z","updated_at":"2016-06-13T19:39:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e9c761c22d40a066b289f93c4781f53fb378ad6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/pulls/21/commits","review_comments_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/pulls/21/comments","review_comment_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/issues/21/comments","statuses_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/statuses/3d7f85a2bfa57b795fe256cd969e19ab66394d40","head":{"label":"jwijay:accordion","ref":"accordion","sha":"3d7f85a2bfa57b795fe256cd969e19ab66394d40","user":{"login":"jwijay","id":10161095,"avatar_url":"https://avatars.githubusercontent.com/u/10161095?v=3","gravatar_id":"","url":"https://api.github.com/users/jwijay","html_url":"https://github.com/jwijay","followers_url":"https://api.github.com/users/jwijay/followers","following_url":"https://api.github.com/users/jwijay/following{/other_user}","gists_url":"https://api.github.com/users/jwijay/gists{/gist_id}","starred_url":"https://api.github.com/users/jwijay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwijay/subscriptions","organizations_url":"https://api.github.com/users/jwijay/orgs","repos_url":"https://api.github.com/users/jwijay/repos","events_url":"https://api.github.com/users/jwijay/events{/privacy}","received_events_url":"https://api.github.com/users/jwijay/received_events","type":"User","site_admin":false},"repo":{"id":60728867,"name":"hpe-digitaltoolkit","full_name":"jwijay/hpe-digitaltoolkit","owner":{"login":"jwijay","id":10161095,"avatar_url":"https://avatars.githubusercontent.com/u/10161095?v=3","gravatar_id":"","url":"https://api.github.com/users/jwijay","html_url":"https://github.com/jwijay","followers_url":"https://api.github.com/users/jwijay/followers","following_url":"https://api.github.com/users/jwijay/following{/other_user}","gists_url":"https://api.github.com/users/jwijay/gists{/gist_id}","starred_url":"https://api.github.com/users/jwijay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwijay/subscriptions","organizations_url":"https://api.github.com/users/jwijay/orgs","repos_url":"https://api.github.com/users/jwijay/repos","events_url":"https://api.github.com/users/jwijay/events{/privacy}","received_events_url":"https://api.github.com/users/jwijay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jwijay/hpe-digitaltoolkit","description":"","fork":true,"url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit","forks_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/forks","keys_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/teams","hooks_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/hooks","issue_events_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/issues/events{/number}","events_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/events","assignees_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/assignees{/user}","branches_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/branches{/branch}","tags_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/tags","blobs_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/languages","stargazers_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/stargazers","contributors_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/contributors","subscribers_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/subscribers","subscription_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/subscription","commits_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/contents/{+path}","compare_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/merges","archive_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/downloads","issues_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/issues{/number}","pulls_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/labels{/name}","releases_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/releases{/id}","deployments_url":"https://api.github.com/repos/jwijay/hpe-digitaltoolkit/deployments","created_at":"2016-06-08T20:32:57Z","updated_at":"2016-06-08T20:32:58Z","pushed_at":"2016-06-11T00:20:24Z","git_url":"git://github.com/jwijay/hpe-digitaltoolkit.git","ssh_url":"git@github.com:jwijay/hpe-digitaltoolkit.git","clone_url":"https://github.com/jwijay/hpe-digitaltoolkit.git","svn_url":"https://github.com/jwijay/hpe-digitaltoolkit","homepage":null,"size":9336,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"grommet:master","ref":"master","sha":"00a8f7f3290b6e72ddb223f85e468740459d5504","user":{"login":"grommet","id":14203820,"avatar_url":"https://avatars.githubusercontent.com/u/14203820?v=3","gravatar_id":"","url":"https://api.github.com/users/grommet","html_url":"https://github.com/grommet","followers_url":"https://api.github.com/users/grommet/followers","following_url":"https://api.github.com/users/grommet/following{/other_user}","gists_url":"https://api.github.com/users/grommet/gists{/gist_id}","starred_url":"https://api.github.com/users/grommet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grommet/subscriptions","organizations_url":"https://api.github.com/users/grommet/orgs","repos_url":"https://api.github.com/users/grommet/repos","events_url":"https://api.github.com/users/grommet/events{/privacy}","received_events_url":"https://api.github.com/users/grommet/received_events","type":"Organization","site_admin":false},"repo":{"id":58970059,"name":"hpe-digitaltoolkit","full_name":"grommet/hpe-digitaltoolkit","owner":{"login":"grommet","id":14203820,"avatar_url":"https://avatars.githubusercontent.com/u/14203820?v=3","gravatar_id":"","url":"https://api.github.com/users/grommet","html_url":"https://github.com/grommet","followers_url":"https://api.github.com/users/grommet/followers","following_url":"https://api.github.com/users/grommet/following{/other_user}","gists_url":"https://api.github.com/users/grommet/gists{/gist_id}","starred_url":"https://api.github.com/users/grommet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grommet/subscriptions","organizations_url":"https://api.github.com/users/grommet/orgs","repos_url":"https://api.github.com/users/grommet/repos","events_url":"https://api.github.com/users/grommet/events{/privacy}","received_events_url":"https://api.github.com/users/grommet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/grommet/hpe-digitaltoolkit","description":"","fork":false,"url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit","forks_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/forks","keys_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/teams","hooks_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/hooks","issue_events_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/issues/events{/number}","events_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/events","assignees_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/assignees{/user}","branches_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/branches{/branch}","tags_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/tags","blobs_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/languages","stargazers_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/stargazers","contributors_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/contributors","subscribers_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/subscribers","subscription_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/subscription","commits_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/contents/{+path}","compare_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/merges","archive_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/downloads","issues_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/issues{/number}","pulls_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/labels{/name}","releases_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/releases{/id}","deployments_url":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/deployments","created_at":"2016-05-16T21:45:55Z","updated_at":"2016-06-01T21:09:00Z","pushed_at":"2016-06-12T12:51:05Z","git_url":"git://github.com/grommet/hpe-digitaltoolkit.git","ssh_url":"git@github.com:grommet/hpe-digitaltoolkit.git","clone_url":"https://github.com/grommet/hpe-digitaltoolkit.git","svn_url":"https://github.com/grommet/hpe-digitaltoolkit","homepage":null,"size":8606,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":42,"forks":5,"open_issues":42,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/pulls/21"},"html":{"href":"https://github.com/grommet/hpe-digitaltoolkit/pull/21"},"issue":{"href":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/issues/21"},"comments":{"href":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/grommet/hpe-digitaltoolkit/statuses/3d7f85a2bfa57b795fe256cd969e19ab66394d40"}}}}
{"actor":{"display_login":"codeswan"}}