sfc-utils 1.4.155 → 1.4.156

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.
Files changed (2) hide show
  1. package/nav2.js +5 -1
  2. package/package.json +1 -1
package/nav2.js CHANGED
@@ -133,6 +133,7 @@ let getNav2 = function (
133
133
  // Handle overrides assignment
134
134
  let desktopIcon = `https://files.sfchronicle.com/static-assets/logos/${marketPrefix}-${color}.png`;
135
135
  let mobileIcon = `https://files.sfchronicle.com/static-assets/logos/${marketPrefix}-square-${color}.png`;
136
+ let iconLink = "/";
136
137
  if (overrides) {
137
138
  if (overrides.desktopIcon) {
138
139
  desktopIcon = overrides.desktopIcon;
@@ -143,6 +144,9 @@ let getNav2 = function (
143
144
  if (overrides.subscribeLink) {
144
145
  subscribeLink = overrides.subscribeLink;
145
146
  }
147
+ if (overrides.iconLink) {
148
+ iconLink = overrides.iconLink;
149
+ }
146
150
  }
147
151
 
148
152
  // If a link object was provided, format the insert
@@ -181,7 +185,7 @@ let getNav2 = function (
181
185
  </div>
182
186
  <div class="nav2-center">
183
187
  <a
184
- href="/"
188
+ href="${iconLink}"
185
189
  target="_blank"
186
190
  rel="noopener noreferrer"
187
191
  >
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sfc-utils",
3
- "version": "1.4.155",
3
+ "version": "1.4.156",
4
4
  "author": "ewagstaff <evanjwagstaff@gmail.com>",
5
5
  "dependencies": {
6
6
  "archieml": "^0.4.2",