mc-react-header 0.4.3 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
package/dist/Breadcrumbs.css
CHANGED
|
@@ -56,7 +56,7 @@ ul.mc-breadcrumb li a:not([href]):hover {
|
|
|
56
56
|
height: 0;
|
|
57
57
|
border-top: 50px solid transparent; /* Go big on the size, and let overflow hide */
|
|
58
58
|
border-bottom: 50px solid transparent;
|
|
59
|
-
border-left: 30px solid #
|
|
59
|
+
border-left: 30px solid #fafafa;
|
|
60
60
|
position: absolute;
|
|
61
61
|
top: 50%;
|
|
62
62
|
margin-top: -50px;
|
package/dist/Navbar.js
CHANGED
|
@@ -113,6 +113,7 @@ const Navbar = _ref2 => {
|
|
|
113
113
|
href: "https://www.materialscloud.org/home"
|
|
114
114
|
}, /*#__PURE__*/_react.default.createElement("img", {
|
|
115
115
|
src: _mcloud_logo.default,
|
|
116
|
+
loading: "lazy",
|
|
116
117
|
height: "50",
|
|
117
118
|
alt: "MC logo"
|
|
118
119
|
})), Object.keys(mainSections).map((key, i) => {
|
package/package.json
CHANGED
|
@@ -56,7 +56,7 @@ ul.mc-breadcrumb li a:not([href]):hover {
|
|
|
56
56
|
height: 0;
|
|
57
57
|
border-top: 50px solid transparent; /* Go big on the size, and let overflow hide */
|
|
58
58
|
border-bottom: 50px solid transparent;
|
|
59
|
-
border-left: 30px solid #
|
|
59
|
+
border-left: 30px solid #fafafa;
|
|
60
60
|
position: absolute;
|
|
61
61
|
top: 50%;
|
|
62
62
|
margin-top: -50px;
|
|
@@ -86,7 +86,7 @@ const DropdownMenu = ({ activeSection }) => {
|
|
|
86
86
|
const Navbar = ({ activeSection }) => (
|
|
87
87
|
<div className="mc-navbar">
|
|
88
88
|
<a className="mc-navbrand" href="https://www.materialscloud.org/home">
|
|
89
|
-
<img src={Logo} height="50" alt="MC logo" />
|
|
89
|
+
<img src={Logo} loading="lazy" height="50" alt="MC logo" />
|
|
90
90
|
</a>
|
|
91
91
|
{Object.keys(mainSections).map((key, i) => {
|
|
92
92
|
let cname = "mc-navlink";
|