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
@@ -16,6 +16,6 @@ npm start
16
16
  To make a new version and publish to npm via GitHub Actions:
17
17
 
18
18
  ```bash
19
- npm version <patch/minor/major>
19
+ npm version <major/minor/patch>
20
20
  git push --follow-tags
21
21
  ```
@@ -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 #f5f5f5;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mc-react-header",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
4
4
  "author": "Kristjan Eimre <kristjan.eimre@epfl.ch>",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -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 #f5f5f5;
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";