@sanity/dashboard
Advanced tools
Comparing version 0.140.12 to 0.140.16
@@ -50,2 +50,3 @@ "use strict"; | ||
var feedItems = this.state.feedItems; | ||
var title = 'Learn about Sanity'; | ||
return _react.default.createElement("div", { | ||
@@ -57,3 +58,3 @@ className: _SanityTutorials.default.root | ||
className: _SanityTutorials.default.title | ||
}, "Guides & tutorials")), _react.default.createElement("ul", { | ||
}, title)), _react.default.createElement("ul", { | ||
className: _SanityTutorials.default.grid | ||
@@ -74,3 +75,3 @@ }, feedItems.map(feedItem => { | ||
presenterSubtitle: `${(0, _dateFns.distanceInWords)(new Date(date), new Date())} ago`, | ||
posterURL: urlBuilder.image(feedItem.poster).height(240).url() | ||
posterURL: urlBuilder.image(feedItem.poster).height(360).url() | ||
})); | ||
@@ -77,0 +78,0 @@ }))); |
@@ -34,3 +34,5 @@ "use strict"; | ||
src: posterURL | ||
})), _react.default.createElement("h3", { | ||
}), _react.default.createElement("div", { | ||
className: _Tutorial.default.playIcon | ||
}, _react.default.createElement("span", null))), _react.default.createElement("h3", { | ||
className: _Tutorial.default.title | ||
@@ -37,0 +39,0 @@ }, title), _react.default.createElement("div", { |
{ | ||
"name": "@sanity/dashboard", | ||
"version": "0.140.12", | ||
"version": "0.140.16", | ||
"description": "Tool for rendering dashboard widgets", | ||
@@ -49,3 +49,3 @@ "main": "src/DashboardTool.js", | ||
"homepage": "https://www.sanity.io/", | ||
"gitHead": "749e9886735303e3c04a481f2a3a800e4e9bf8c5" | ||
"gitHead": "0eb46e8bc7d3c7cbef4a7e9152808cc2d18545c4" | ||
} |
@@ -29,6 +29,7 @@ import React from 'react' | ||
const {feedItems} = this.state | ||
const title = 'Learn about Sanity' | ||
return ( | ||
<div className={styles.root}> | ||
<header className={styles.header}> | ||
<h1 className={styles.title}>Guides & tutorials</h1> | ||
<h1 className={styles.title}>{title}</h1> | ||
</header> | ||
@@ -51,3 +52,3 @@ <ul className={styles.grid}> | ||
.image(feedItem.poster) | ||
.height(240) | ||
.height(360) | ||
.url()} | ||
@@ -54,0 +55,0 @@ /> |
@@ -24,2 +24,5 @@ import React from 'react' | ||
<img className={styles.poster} src={posterURL} /> | ||
<div className={styles.playIcon}> | ||
<span /> | ||
</div> | ||
</div> | ||
@@ -26,0 +29,0 @@ <h3 className={styles.title}>{title}</h3> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
74646
2149
0