Skip to content

Commit

Permalink
Enable Breaking News banner for heat alert. (#1379)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
richardxia authored Jul 3, 2024
1 parent 306fb8a commit c8f1110
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 3 additions & 4 deletions app/components/ui/Banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,18 @@ export const Banner = () => (
<img src={icon("alert")} alt="attention" className={styles.alertIcon} />
<div>
<strong className={styles.title}>
SHELTER ACCESS DURING RAINY AND COLD WEATHER:
SHELTER ACCESS DURING HEAT RISK WEATHER:
</strong>
<p>
<a
className={styles.bannerLink}
target="_blank"
rel="noreferrer"
href="https://hsh.sfgov.org/services/how-to-get-services/accessing-temporary-shelter"
href="https://t.e2ma.net/message/evwfxh/mhfrepid"
>
Get information
</a>{" "}
on expanded shelter access during cold and wet weather in San
Francisco.
on expanded shelter access during heat risk weather in San Francisco.
</p>
<p>
<a
Expand Down
2 changes: 2 additions & 0 deletions app/utils/whitelabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ const SFServiceGuide: WhiteLabelSite = {
intercom: true,
loginEnabled: true,
siteUrl: "https://sfserviceguide.org",
showBanner: true,
showBreakingNews: true,
title: "SF Service Guide",
showReportCrisis: true,
Expand All @@ -199,6 +200,7 @@ const defaultWhiteLabel: WhiteLabelSite = {
...whiteLabelDefaults,
intercom: true,
loginEnabled: true,
showBanner: true,
siteUrl: "https://askdarcel.org",
showBreakingNews: true,
title: "SF Service Guide",
Expand Down

0 comments on commit c8f1110

Please sign in to comment.