Skip to content

Commit c8f1110

Browse files
authored
Enable Breaking News banner for heat alert. (#1379)
There is currently a heat advisory, and we want to link to some timely notices from the City of San Francisco in the SFSG whitelabel site. This enables the Breaking News Banner and updates the previous text, which was for a cold weather alert, to now mention the hot weather information and an up-to-date link to the City's website.
1 parent 306fb8a commit c8f1110

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

app/components/ui/Banner.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,18 @@ export const Banner = () => (
88
<img src={icon("alert")} alt="attention" className={styles.alertIcon} />
99
<div>
1010
<strong className={styles.title}>
11-
SHELTER ACCESS DURING RAINY AND COLD WEATHER:
11+
SHELTER ACCESS DURING HEAT RISK WEATHER:
1212
</strong>
1313
<p>
1414
<a
1515
className={styles.bannerLink}
1616
target="_blank"
1717
rel="noreferrer"
18-
href="https://hsh.sfgov.org/services/how-to-get-services/accessing-temporary-shelter"
18+
href="https://t.e2ma.net/message/evwfxh/mhfrepid"
1919
>
2020
Get information
2121
</a>{" "}
22-
on expanded shelter access during cold and wet weather in San
23-
Francisco.
22+
on expanded shelter access during heat risk weather in San Francisco.
2423
</p>
2524
<p>
2625
<a

app/utils/whitelabel.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ const SFServiceGuide: WhiteLabelSite = {
173173
intercom: true,
174174
loginEnabled: true,
175175
siteUrl: "https://sfserviceguide.org",
176+
showBanner: true,
176177
showBreakingNews: true,
177178
title: "SF Service Guide",
178179
showReportCrisis: true,
@@ -199,6 +200,7 @@ const defaultWhiteLabel: WhiteLabelSite = {
199200
...whiteLabelDefaults,
200201
intercom: true,
201202
loginEnabled: true,
203+
showBanner: true,
202204
siteUrl: "https://askdarcel.org",
203205
showBreakingNews: true,
204206
title: "SF Service Guide",

0 commit comments

Comments
 (0)