sfc-utils 1.4.83 → 1.4.84

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.
@@ -91,12 +91,31 @@ const LayoutHelmet = ({
91
91
  }
92
92
 
93
93
  // Handle special favicon logic
94
+ // NOTE: We considered storing our OWN favicons in S3, but Evan decided not to do that because we DON'T know the URL's domain at this point :( which means we'd need to detect it when the page loads (to support CT/Texcom/Midcom) and that might be too late for the page to use it
94
95
  let favHref = "/favicon.ico";
95
96
  if (MARKET_KEY === "TK") {
96
97
  favHref = "https://files.sfchronicle.com/devhub-logos/DHlogos-sm.png";
97
98
  } else if (MARKET_KEY === "Seattle") {
98
99
  favHref =
99
100
  "https://www.seattlepi.com/sites/seattlepi/apple-touch-icon-196x196.png";
101
+ } else if (MARKET_KEY === "SFC") {
102
+ favHref =
103
+ "https://www.sfchronicle.com/sites/premiumsfgate/apple-touch-icon-196x196.png";
104
+ } else if (MARKET_KEY === "Houston") {
105
+ favHref =
106
+ "https://www.houstonchronicle.com/sites/premiumchron/apple-touch-icon-196x196.png";
107
+ } else if (MARKET_KEY === "SanAntonio") {
108
+ // NOTE: EN is cursed with a tiny favicon until product can fix the higher res one
109
+ favHref = "https://www.expressnews.com/sites/premiummysa/favicon.ico";
110
+ } else if (MARKET_KEY === "Albany") {
111
+ favHref =
112
+ "https://www.timesunion.com/sites/timesunion/apple-touch-icon-152x152.png";
113
+ } else if (MARKET_KEY === "CT") {
114
+ // TODO: Fill this in when the sites get swapped
115
+ } else if (MARKET_KEY === "Texcom") {
116
+ // TODO: Fill this in when the sites get swapped
117
+ } else if (MARKET_KEY === "Midcom") {
118
+ // TODO: Fill this in when the sites get swapped
100
119
  }
101
120
 
102
121
  // Set section with fallback
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sfc-utils",
3
- "version": "1.4.83",
3
+ "version": "1.4.84",
4
4
  "author": "ewagstaff <evanjwagstaff@gmail.com>",
5
5
  "dependencies": {
6
6
  "archieml": "^0.4.2",