@sanity/default-layout
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -100,5 +100,14 @@ 'use strict'; | ||
_react2.default.createElement( | ||
'div', | ||
{ className: _DefaultLayout2.default.companyLogoContainer }, | ||
_companyLogo2.default ? _react2.default.createElement(_companyLogo2.default, { projectName: projectName }) : projectName | ||
'a', | ||
{ href: '/', className: _DefaultLayout2.default.companyBranding }, | ||
_react2.default.createElement( | ||
'h1', | ||
{ className: _companyLogo2.default ? _DefaultLayout2.default.projectNameHidden : _DefaultLayout2.default.projectName }, | ||
projectName | ||
), | ||
_companyLogo2.default && _react2.default.createElement( | ||
'div', | ||
{ className: _DefaultLayout2.default.companyLogoContainer }, | ||
_react2.default.createElement(_companyLogo2.default, { projectName: projectName }) | ||
) | ||
), | ||
@@ -105,0 +114,0 @@ _react2.default.createElement( |
{ | ||
"name": "@sanity/default-layout", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "The default layout components for Sanity", | ||
@@ -5,0 +5,0 @@ "main": "lib/default-layout.js", |
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
0
150915
5510
24
919