Browse Source

Activate banner for 2021 survey (#3854)

main
Christine Abernathy 4 years ago
committed by GitHub
parent
commit
075b69cd6b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/components/Banner/Banner.js
  2. 6
      src/html.js

4
src/components/Banner/Banner.js

@ -11,7 +11,7 @@ import {colors, fonts, media} from 'theme';
import ExternalLinkSvg from 'templates/components/ExternalLinkSvg'; import ExternalLinkSvg from 'templates/components/ExternalLinkSvg';
const linkProps = { const linkProps = {
href: 'https://www.surveymonkey.co.uk/r/673TZ7T', href: 'https://surveys.savanta.com/survey/selfserve/21e3/210643?list=2',
target: '_blank', target: '_blank',
rel: 'noopener', rel: 'noopener',
}; };
@ -135,7 +135,7 @@ export default function Banner() {
target="_blank" target="_blank"
rel="noopener"> rel="noopener">
<span css={{color: colors.brand}}> <span css={{color: colors.brand}}>
Take our 2020 Community Survey! Take our 2021 Community Survey!
</span> </span>
<ExternalLinkSvg <ExternalLinkSvg
cssProps={{ cssProps={{

6
src/html.js

@ -62,11 +62,11 @@ export default class HTML extends React.Component<Props> {
} }
activeBanner = { activeBanner = {
storageId: 'reactjs_banner_2020survey', storageId: 'reactjs_banner_2021survey',
normalHeight: 50, normalHeight: 50,
smallHeight: 75, smallHeight: 75,
campaignStartDate: '2020-10-05T00:00:00Z', // the Z is for UTC campaignStartDate: '2021-08-16T00:00:00Z', // the Z is for UTC
campaignEndDate: '2020-10-19T00:00:00Z', // the Z is for UTC campaignEndDate: '2021-08-31T00:00:00Z', // the Z is for UTC
snoozeForDays: 7, snoozeForDays: 7,
}; };

Loading…
Cancel
Save