11import React from 'react' ;
22import PropTypes from 'prop-types' ;
3- // import { Trans } from 'react-i18next';
3+ import { Trans } from 'react-i18next' ;
44import { CrossIcon } from '../../../common/icons' ;
55
66/**
@@ -24,28 +24,18 @@ import { CrossIcon } from '../../../common/icons';
2424
2525const Banner = ( { onClose } ) => {
2626 // URL can be updated depending on the opportunity or announcement.
27- // const bannerURL = 'https://processingfoundation.org/donate';
27+ const bannerURL = 'https://processingfoundation.org/donate' ;
2828
2929 // currently holds donation copy, will switch back when temp maintenance is done
30- // const bannerCopy = (
31- // <>
32- // <Trans i18nKey="Banner.Copy" components={{ bold: <strong /> }} />
33- // </>
34- // );
35-
36- // temp copy for maintenance, will remove on 3/22/2026
37- const bannerTempCopy = (
30+ const bannerCopy = (
3831 < >
39- p5js.org will be undergoing scheduled maintenance on{ ' ' }
40- < strong > Sunday March 22, 2026 8:00am CET</ strong > . The p5.js website may
41- be down for up to 24 hours.
32+ < Trans i18nKey = "Banner.Copy" components = { { bold : < strong /> } } />
4233 </ >
4334 ) ;
4435
4536 return (
4637 < div className = "banner" >
47- { /* <a href={bannerURL}>{bannerCopy}</a> */ }
48- < a href = "https://p5js.org" > { bannerTempCopy } </ a >
38+ < a href = { bannerURL } > { bannerCopy } </ a >
4939 < button className = "banner-close-button" onClick = { onClose } >
5040 < CrossIcon icon = { { default : '#000' , hover : '#333' } } />
5141 </ button >
0 commit comments