{"action":"created","comment":{"url":"https://api.github.com/repos/material-components/material-components-web-catalog/pulls/comments/239621673","pull_request_review_id":182456312,"id":239621673,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzOTYyMTY3Mw==","diff_hunk":"@@ -0,0 +1,120 @@\n+import React from 'react';\n+import {Route} from 'react-router-dom';\n+import {ButtonHero} from './ButtonCatalog';\n+import {CardHero} from './CardCatalog';\n+import {CheckboxHero} from './CheckboxCatalog';\n+import {ChipsHero} from './ChipsCatalog';\n+import {DialogHero} from './DialogCatalog';\n+import {DrawerHero} from './DrawerCatalog';\n+import {ElevationHero} from './ElevationCatalog';\n+import {FabHero} from './FabCatalog';\n+import {IconButtonHero} from './IconButtonCatalog';\n+import {ImageListHero} from './ImageListCatalog';\n+import {LayoutGridHero} from './LayoutGridCatalog';\n+import {ListHero} from './ListCatalog';\n+import {MenuHero} from './MenuCatalog';\n+import {RadioButtonHero} from './RadioButtonCatalog';\n+import {RippleHero} from './RippleCatalog';\n+import {SelectHero} from './SelectCatalog';\n+import {SliderHero} from './SliderCatalog';\n+import {SnackbarHero} from './SnackbarCatalog';\n+import {SwitchHero} from './SwitchCatalog';\n+import {TabsHero} from './TabsCatalog';\n+import {TextFieldHero} from './TextFieldCatalog';\n+import {TopAppBarHero} from './TopAppBarCatalog';\n+import {TypographyHero} from './TypographyCatalog';\n+import {LinearProgressHero} from './LinearProgressIndicatorCatalog';\n+import { matchPath } from 'react-router';\n+\n+const routesList = [{\n+  urlPath: 'button',\n+  Component: ButtonHero,\n+}, {\n+  urlPath: 'card',\n+  Component: CardHero,\n+}, {\n+  urlPath: 'checkbox',\n+  Component: CheckboxHero,\n+}, {\n+  urlPath: 'chips',\n+  Component: ChipsHero,\n+}, {\n+  urlPath: 'dialog',\n+  Component: DialogHero,\n+}, {\n+  urlPath: 'drawer',\n+  Component: DrawerHero,\n+}, {\n+  urlPath: 'elevation',\n+  Component: ElevationHero,\n+}, {\n+  urlPath: 'fab',\n+  Component: FabHero,\n+}, {\n+  urlPath: 'icon-button',\n+  Component: IconButtonHero,\n+}, {\n+  urlPath: 'image-list',\n+  Component: ImageListHero,\n+}, {\n+  urlPath: 'layout-grid',\n+  Component: LayoutGridHero,\n+}, {\n+  urlPath: 'list',\n+  Component: ListHero,\n+}, {\n+  urlPath: 'linear-progress-indicator',","path":"src/IFrameRoutes.js","position":66,"original_position":66,"commit_id":"bd7be58409ac072ce09d3b3270497c12d119ca9a","original_commit_id":"bd7be58409ac072ce09d3b3270497c12d119ca9a","user":{"login":"kfranqueiro","id":398379,"node_id":"MDQ6VXNlcjM5ODM3OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/398379?v=4","gravatar_id":"","url":"https://api.github.com/users/kfranqueiro","html_url":"https://github.com/kfranqueiro","followers_url":"https://api.github.com/users/kfranqueiro/followers","following_url":"https://api.github.com/users/kfranqueiro/following{/other_user}","gists_url":"https://api.github.com/users/kfranqueiro/gists{/gist_id}","starred_url":"https://api.github.com/users/kfranqueiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kfranqueiro/subscriptions","organizations_url":"https://api.github.com/users/kfranqueiro/orgs","repos_url":"https://api.github.com/users/kfranqueiro/repos","events_url":"https://api.github.com/users/kfranqueiro/events{/privacy}","received_events_url":"https://api.github.com/users/kfranqueiro/received_events","type":"User","site_admin":false},"body":"Nit: this goes before list alphabetically","created_at":"2018-12-06T21:30:30Z","updated_at":"2018-12-06T21:46:04Z","html_url":"https://github.com/material-components/material-components-web-catalog/pull/229#discussion_r239621673","pull_request_url":"https://api.github.com/repos/material-components/material-components-web-catalog/pulls/229","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/material-components/material-components-web-catalog/pulls/comments/239621673"},"html":{"href":"https://github.com/material-components/material-components-web-catalog/pull/229#discussion_r239621673"},"pull_request":{"href":"https://api.github.com/repos/material-components/material-components-web-catalog/pulls/229"}}},"pull_request":{"url":"https://api.github.com/repos/material-components/material-components-web-catalog/pulls/229","id":236675342,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2Njc1MzQy","html_url":"https://github.com/material-components/material-components-web-catalog/pull/229","diff_url":"https://github.com/material-components/material-components-web-catalog/pull/229.diff","patch_url":"https://github.com/material-components/material-components-web-catalog/pull/229.patch","issue_url":"https://api.github.com/repos/material-components/material-components-web-catalog/issues/229","number":229,"state":"open","locked":false,"title":"feat: Add routes to just render Hero components for material.io experiments","user":{"login":"williamernest","id":34519388,"node_id":"MDQ6VXNlcjM0NTE5Mzg4","avatar_url":"https://avatars3.githubusercontent.com/u/34519388?v=4","gravatar_id":"","url":"https://api.github.com/users/williamernest","html_url":"https://github.com/williamernest","followers_url":"https://api.github.com/users/williamernest/followers","following_url":"https://api.github.com/users/williamernest/following{/other_user}","gists_url":"https://api.github.com/users/williamernest/gists{/gist_id}","starred_url":"https://api.github.com/users/williamernest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/williamernest/subscriptions","organizations_url":"https://api.github.com/users/williamernest/orgs","repos_url":"https://api.github.com/users/williamernest/repos","events_url":"https://api.github.com/users/williamernest/events{/privacy}","received_events_url":"https://api.github.com/users/williamernest/received_events","type":"User","site_admin":false},"body":"This adds routes to just render the hero demo of each component page by itself so we can render the hero section inside of the spec articles as part of an experiment. \r\n\r\nThis also creates a `Hero` component for all pages that didn't have one. It also converts the function components to class Hero components. ","created_at":"2018-12-06T21:18:10Z","updated_at":"2018-12-06T21:46:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b45dbbe559a27c8decfa60cc60975e7aba4aa7c6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/material-components/material-components-web-catalog/pulls/229/commits","review_comments_url":"https://api.github.com/repos/material-components/material-components-web-catalog/pulls/229/comments","review_comment_url":"https://api.github.com/repos/material-components/material-components-web-catalog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/material-components/material-components-web-catalog/issues/229/comments","statuses_url":"https://api.github.com/repos/material-components/material-components-web-catalog/statuses/bd7be58409ac072ce09d3b3270497c12d119ca9a","head":{"label":"material-components:feat/add-iframe-hero-view","ref":"feat/add-iframe-hero-view","sha":"bd7be58409ac072ce09d3b3270497c12d119ca9a","user":{"login":"material-components","id":19478152,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NDc4MTUy","avatar_url":"https://avatars3.githubusercontent.com/u/19478152?v=4","gravatar_id":"","url":"https://api.github.com/users/material-components","html_url":"https://github.com/material-components","followers_url":"https://api.github.com/users/material-components/followers","following_url":"https://api.github.com/users/material-components/following{/other_user}","gists_url":"https://api.github.com/users/material-components/gists{/gist_id}","starred_url":"https://api.github.com/users/material-components/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/material-components/subscriptions","organizations_url":"https://api.github.com/users/material-components/orgs","repos_url":"https://api.github.com/users/material-components/repos","events_url":"https://api.github.com/users/material-components/events{/privacy}","received_events_url":"https://api.github.com/users/material-components/received_events","type":"Organization","site_admin":false},"repo":{"id":121684159,"node_id":"MDEwOlJlcG9zaXRvcnkxMjE2ODQxNTk=","name":"material-components-web-catalog","full_name":"material-components/material-components-web-catalog","private":false,"owner":{"login":"material-components","id":19478152,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NDc4MTUy","avatar_url":"https://avatars3.githubusercontent.com/u/19478152?v=4","gravatar_id":"","url":"https://api.github.com/users/material-components","html_url":"https://github.com/material-components","followers_url":"https://api.github.com/users/material-components/followers","following_url":"https://api.github.com/users/material-components/following{/other_user}","gists_url":"https://api.github.com/users/material-components/gists{/gist_id}","starred_url":"https://api.github.com/users/material-components/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/material-components/subscriptions","organizations_url":"https://api.github.com/users/material-components/orgs","repos_url":"https://api.github.com/users/material-components/repos","events_url":"https://api.github.com/users/material-components/events{/privacy}","received_events_url":"https://api.github.com/users/material-components/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/material-components/material-components-web-catalog","description":"Catalog of Material Components for the web (MDC Web)","fork":false,"url":"https://api.github.com/repos/material-components/material-components-web-catalog","forks_url":"https://api.github.com/repos/material-components/material-components-web-catalog/forks","keys_url":"https://api.github.com/repos/material-components/material-components-web-catalog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/material-components/material-components-web-catalog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/material-components/material-components-web-catalog/teams","hooks_url":"https://api.github.com/repos/material-components/material-components-web-catalog/hooks","issue_events_url":"https://api.github.com/repos/material-components/material-components-web-catalog/issues/events{/number}","events_url":"https://api.github.com/repos/material-components/material-components-web-catalog/events","assignees_url":"https://api.github.com/repos/material-components/material-components-web-catalog/assignees{/user}","branches_url":"https://api.github.com/repos/material-components/material-components-web-catalog/branches{/branch}","tags_url":"https://api.github.com/repos/material-components/material-components-web-catalog/tags","blobs_url":"https://api.github.com/repos/material-components/material-components-web-catalog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/material-components/material-components-web-catalog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/material-components/material-components-web-catalog/git/refs{/sha}","trees_url":"https://api.github.com/repos/material-components/material-components-web-catalog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/material-components/material-components-web-catalog/statuses/{sha}","languages_url":"https://api.github.com/repos/material-components/material-components-web-catalog/languages","stargazers_url":"https://api.github.com/repos/material-components/material-components-web-catalog/stargazers","contributors_url":"https://api.github.com/repos/material-components/material-components-web-catalog/contributors","subscribers_url":"https://api.github.com/repos/material-components/material-components-web-catalog/subscribers","subscription_url":"https://api.github.com/repos/material-components/material-components-web-catalog/subscription","commits_url":"https://api.github.com/repos/material-components/material-components-web-catalog/commits{/sha}","git_commits_url":"https://api.github.com/repos/material-components/material-components-web-catalog/git/commits{/sha}","comments_url":"https://api.github.com/repos/material-components/material-components-web-catalog/comments{/number}","issue_comment_url":"https://api.github.com/repos/material-components/material-components-web-catalog/issues/comments{/number}","contents_url":"https://api.github.com/repos/material-components/material-components-web-catalog/contents/{+path}","compare_url":"https://api.github.com/repos/material-components/material-components-web-catalog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/material-components/material-components-web-catalog/merges","archive_url":"https://api.github.com/repos/material-components/material-components-web-catalog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/material-components/material-components-web-catalog/downloads","issues_url":"https://api.github.com/repos/material-components/material-components-web-catalog/issues{/number}","pulls_url":"https://api.github.com/repos/material-components/material-components-web-catalog/pulls{/number}","milestones_url":"https://api.github.com/repos/material-components/material-components-web-catalog/milestones{/number}","notifications_url":"https://api.github.com/repos/material-components/material-components-web-catalog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/material-components/material-components-web-catalog/labels{/name}","releases_url":"https://api.github.com/repos/material-components/material-components-web-catalog/releases{/id}","deployments_url":"https://api.github.com/repos/material-components/material-components-web-catalog/deployments","created_at":"2018-02-15T21:20:24Z","updated_at":"2018-12-06T01:22:08Z","pushed_at":"2018-12-06T21:18:11Z","git_url":"git://github.com/material-components/material-components-web-catalog.git","ssh_url":"git@github.com:material-components/material-components-web-catalog.git","clone_url":"https://github.com/material-components/material-components-web-catalog.git","svn_url":"https://github.com/material-components/material-components-web-catalog","homepage":"https://material-components.github.io/material-components-web-catalog/","size":15280,"stargazers_count":43,"watchers_count":43,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":16,"open_issues":6,"watchers":43,"default_branch":"master"}},"base":{"label":"material-components:master","ref":"master","sha":"ded369599b52b9e96ac06b7692f678d6cf114355","user":{"login":"material-components","id":19478152,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NDc4MTUy","avatar_url":"https://avatars3.githubusercontent.com/u/19478152?v=4","gravatar_id":"","url":"https://api.github.com/users/material-components","html_url":"https://github.com/material-components","followers_url":"https://api.github.com/users/material-components/followers","following_url":"https://api.github.com/users/material-components/following{/other_user}","gists_url":"https://api.github.com/users/material-components/gists{/gist_id}","starred_url":"https://api.github.com/users/material-components/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/material-components/subscriptions","organizations_url":"https://api.github.com/users/material-components/orgs","repos_url":"https://api.github.com/users/material-components/repos","events_url":"https://api.github.com/users/material-components/events{/privacy}","received_events_url":"https://api.github.com/users/material-components/received_events","type":"Organization","site_admin":false},"repo":{"id":121684159,"node_id":"MDEwOlJlcG9zaXRvcnkxMjE2ODQxNTk=","name":"material-components-web-catalog","full_name":"material-components/material-components-web-catalog","private":false,"owner":{"login":"material-components","id":19478152,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NDc4MTUy","avatar_url":"https://avatars3.githubusercontent.com/u/19478152?v=4","gravatar_id":"","url":"https://api.github.com/users/material-components","html_url":"https://github.com/material-components","followers_url":"https://api.github.com/users/material-components/followers","following_url":"https://api.github.com/users/material-components/following{/other_user}","gists_url":"https://api.github.com/users/material-components/gists{/gist_id}","starred_url":"https://api.github.com/users/material-components/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/material-components/subscriptions","organizations_url":"https://api.github.com/users/material-components/orgs","repos_url":"https://api.github.com/users/material-components/repos","events_url":"https://api.github.com/users/material-components/events{/privacy}","received_events_url":"https://api.github.com/users/material-components/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/material-components/material-components-web-catalog","description":"Catalog of Material Components for the web (MDC Web)","fork":false,"url":"https://api.github.com/repos/material-components/material-components-web-catalog","forks_url":"https://api.github.com/repos/material-components/material-components-web-catalog/forks","keys_url":"https://api.github.com/repos/material-components/material-components-web-catalog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/material-components/material-components-web-catalog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/material-components/material-components-web-catalog/teams","hooks_url":"https://api.github.com/repos/material-components/material-components-web-catalog/hooks","issue_events_url":"https://api.github.com/repos/material-components/material-components-web-catalog/issues/events{/number}","events_url":"https://api.github.com/repos/material-components/material-components-web-catalog/events","assignees_url":"https://api.github.com/repos/material-components/material-components-web-catalog/assignees{/user}","branches_url":"https://api.github.com/repos/material-components/material-components-web-catalog/branches{/branch}","tags_url":"https://api.github.com/repos/material-components/material-components-web-catalog/tags","blobs_url":"https://api.github.com/repos/material-components/material-components-web-catalog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/material-components/material-components-web-catalog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/material-components/material-components-web-catalog/git/refs{/sha}","trees_url":"https://api.github.com/repos/material-components/material-components-web-catalog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/material-components/material-components-web-catalog/statuses/{sha}","languages_url":"https://api.github.com/repos/material-components/material-components-web-catalog/languages","stargazers_url":"https://api.github.com/repos/material-components/material-components-web-catalog/stargazers","contributors_url":"https://api.github.com/repos/material-components/material-components-web-catalog/contributors","subscribers_url":"https://api.github.com/repos/material-components/material-components-web-catalog/subscribers","subscription_url":"https://api.github.com/repos/material-components/material-components-web-catalog/subscription","commits_url":"https://api.github.com/repos/material-components/material-components-web-catalog/commits{/sha}","git_commits_url":"https://api.github.com/repos/material-components/material-components-web-catalog/git/commits{/sha}","comments_url":"https://api.github.com/repos/material-components/material-components-web-catalog/comments{/number}","issue_comment_url":"https://api.github.com/repos/material-components/material-components-web-catalog/issues/comments{/number}","contents_url":"https://api.github.com/repos/material-components/material-components-web-catalog/contents/{+path}","compare_url":"https://api.github.com/repos/material-components/material-components-web-catalog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/material-components/material-components-web-catalog/merges","archive_url":"https://api.github.com/repos/material-components/material-components-web-catalog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/material-components/material-components-web-catalog/downloads","issues_url":"https://api.github.com/repos/material-components/material-components-web-catalog/issues{/number}","pulls_url":"https://api.github.com/repos/material-components/material-components-web-catalog/pulls{/number}","milestones_url":"https://api.github.com/repos/material-components/material-components-web-catalog/milestones{/number}","notifications_url":"https://api.github.com/repos/material-components/material-components-web-catalog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/material-components/material-components-web-catalog/labels{/name}","releases_url":"https://api.github.com/repos/material-components/material-components-web-catalog/releases{/id}","deployments_url":"https://api.github.com/repos/material-components/material-components-web-catalog/deployments","created_at":"2018-02-15T21:20:24Z","updated_at":"2018-12-06T01:22:08Z","pushed_at":"2018-12-06T21:18:11Z","git_url":"git://github.com/material-components/material-components-web-catalog.git","ssh_url":"git@github.com:material-components/material-components-web-catalog.git","clone_url":"https://github.com/material-components/material-components-web-catalog.git","svn_url":"https://github.com/material-components/material-components-web-catalog","homepage":"https://material-components.github.io/material-components-web-catalog/","size":15280,"stargazers_count":43,"watchers_count":43,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":16,"open_issues":6,"watchers":43,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/material-components/material-components-web-catalog/pulls/229"},"html":{"href":"https://github.com/material-components/material-components-web-catalog/pull/229"},"issue":{"href":"https://api.github.com/repos/material-components/material-components-web-catalog/issues/229"},"comments":{"href":"https://api.github.com/repos/material-components/material-components-web-catalog/issues/229/comments"},"review_comments":{"href":"https://api.github.com/repos/material-components/material-components-web-catalog/pulls/229/comments"},"review_comment":{"href":"https://api.github.com/repos/material-components/material-components-web-catalog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/material-components/material-components-web-catalog/pulls/229/commits"},"statuses":{"href":"https://api.github.com/repos/material-components/material-components-web-catalog/statuses/bd7be58409ac072ce09d3b3270497c12d119ca9a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"kfranqueiro"}}