diff --git a/client/modules/IDE/components/Banner.jsx b/client/modules/IDE/components/Banner.jsx index f5bdd99a1c..434bd40b3e 100644 --- a/client/modules/IDE/components/Banner.jsx +++ b/client/modules/IDE/components/Banner.jsx @@ -24,7 +24,7 @@ import { CrossIcon } from '../../../common/icons'; const Banner = ({ onClose }) => { // URL can be updated depending on the opportunity or announcement. - const bannerURL = 'https://processingfoundation.org/donate'; + const bannerURL = 'https://github.com/processing/p5.js/issues/8870'; // currently holds donation copy, will switch back when temp maintenance is done const bannerCopy = ( diff --git a/client/modules/IDE/pages/IDEView.jsx b/client/modules/IDE/pages/IDEView.jsx index 968239ee6c..2ad8706a35 100644 --- a/client/modules/IDE/pages/IDEView.jsx +++ b/client/modules/IDE/pages/IDEView.jsx @@ -120,7 +120,7 @@ const IDEView = () => { const [sidebarSize, setSidebarSize] = useState(160); const [isOverlayVisible, setIsOverlayVisible] = useState(false); const [MaxSize, setMaxSize] = useState(window.innerWidth); - const [displayBanner, setDisplayBanner] = useState(false); // set to true if in use + const [displayBanner, setDisplayBanner] = useState(true); // set to true if in use const cmRef = useRef({}); @@ -216,12 +216,12 @@ const IDEView = () => { const lastClosedAt = stored ? Number(stored) : null; if (!lastClosedAt) { - setDisplayBanner(false); // set to true if in use + setDisplayBanner(true); // set to true if in use return; } if (minutesSince(lastClosedAt) >= BANNER_COOLDOWN_MINUTES) { - setDisplayBanner(false); // set to true if in use + setDisplayBanner(true); // set to true if in use } else { setDisplayBanner(false); } diff --git a/translations/locales/en-US/translations.json b/translations/locales/en-US/translations.json index 1144c18671..cc44801000 100644 --- a/translations/locales/en-US/translations.json +++ b/translations/locales/en-US/translations.json @@ -56,7 +56,7 @@ } }, "Banner": { - "Copy": "Donate Today! Support p5.js and the Processing Foundation." + "Copy": "p5.js v2.0 will become the default editor version this August! Check out the timeline and ask questions in the linked issue!" }, "CodemirrorFindAndReplace": { "ToggleReplace": "Toggle Replace", diff --git a/translations/locales/es-419/translations.json b/translations/locales/es-419/translations.json index 4a7e80dbcc..915b9cf172 100644 --- a/translations/locales/es-419/translations.json +++ b/translations/locales/es-419/translations.json @@ -48,7 +48,7 @@ } }, "Banner": { - "Copy": "Donate Today! Support p5.js and the Processing Foundation." + "Copy": "p5.js v2.0 will become the default editor version this August! Check out the timeline and ask questions in the linked issue!" }, "CodemirrorFindAndReplace": { "ToggleReplace": "Alternar reemplazar", diff --git a/translations/locales/fr-CA/translations.json b/translations/locales/fr-CA/translations.json index 50730b6c3c..eec30cf07d 100644 --- a/translations/locales/fr-CA/translations.json +++ b/translations/locales/fr-CA/translations.json @@ -49,7 +49,7 @@ } }, "Banner": { - "Copy": "Donate Today! Support p5.js and the Processing Foundation." + "Copy": "p5.js v2.0 will become the default editor version this August! Check out the timeline and ask questions in the linked issue!" }, "CodemirrorFindAndReplace": { "ToggleReplace": "Activer/désactiver le remplacement", diff --git a/translations/locales/hi/translations.json b/translations/locales/hi/translations.json index bb0355cbf0..084b060af8 100644 --- a/translations/locales/hi/translations.json +++ b/translations/locales/hi/translations.json @@ -50,7 +50,7 @@ } }, "Banner": { - "Copy": "Donate Today! Support p5.js and the Processing Foundation." + "Copy": "p5.js v2.0 will become the default editor version this August! Check out the timeline and ask questions in the linked issue!" }, "CodemirrorFindAndReplace": { "ToggleReplace": "टॉगल बदली करें", diff --git a/translations/locales/it/translations.json b/translations/locales/it/translations.json index 1ff103e66c..2ead12c3cf 100644 --- a/translations/locales/it/translations.json +++ b/translations/locales/it/translations.json @@ -48,7 +48,7 @@ } }, "Banner": { - "Copy": "Donate Today! Support p5.js and the Processing Foundation." + "Copy": "p5.js v2.0 will become the default editor version this August! Check out the timeline and ask questions in the linked issue!" }, "CodemirrorFindAndReplace": { "ToggleReplace": "Attiva/disattiva Sostituzione", diff --git a/translations/locales/ja/translations.json b/translations/locales/ja/translations.json index 5200507190..aa6cc14ee8 100644 --- a/translations/locales/ja/translations.json +++ b/translations/locales/ja/translations.json @@ -48,7 +48,7 @@ } }, "Banner": { - "Copy": "Donate Today! Support p5.js and the Processing Foundation." + "Copy": "p5.js v2.0 will become the default editor version this August! Check out the timeline and ask questions in the linked issue!" }, "CodemirrorFindAndReplace": { "ToggleReplace": "置換の切り替え", diff --git a/translations/locales/ko/translations.json b/translations/locales/ko/translations.json index 972e048a8d..80902e4881 100644 --- a/translations/locales/ko/translations.json +++ b/translations/locales/ko/translations.json @@ -49,7 +49,7 @@ } }, "Banner": { - "Copy": "Donate Today! Support p5.js and the Processing Foundation." + "Copy": "p5.js v2.0 will become the default editor version this August! Check out the timeline and ask questions in the linked issue!" }, "LoginForm": { "UsernameOrEmail": "이메일 또는 아이디", diff --git a/translations/locales/pt-BR/translations.json b/translations/locales/pt-BR/translations.json index df49836ae9..31a22c0bf4 100644 --- a/translations/locales/pt-BR/translations.json +++ b/translations/locales/pt-BR/translations.json @@ -46,7 +46,7 @@ } }, "Banner": { - "Copy": "Donate Today! Support p5.js and the Processing Foundation." + "Copy": "p5.js v2.0 will become the default editor version this August! Check out the timeline and ask questions in the linked issue!" }, "CodemirrorFindAndReplace": { "ToggleReplace": "Alternar entre localizar/substituir", diff --git a/translations/locales/sv/translations.json b/translations/locales/sv/translations.json index b96a08d3ed..6e2671ae02 100644 --- a/translations/locales/sv/translations.json +++ b/translations/locales/sv/translations.json @@ -48,7 +48,7 @@ } }, "Banner": { - "Copy": "Donate Today! Support p5.js and the Processing Foundation." + "Copy": "p5.js v2.0 will become the default editor version this August! Check out the timeline and ask questions in the linked issue!" }, "CodemirrorFindAndReplace": { "ToggleReplace": "Växla ersätt", diff --git a/translations/locales/tr/translations.json b/translations/locales/tr/translations.json index 8eb599f91f..4ff92b2a53 100644 --- a/translations/locales/tr/translations.json +++ b/translations/locales/tr/translations.json @@ -48,7 +48,7 @@ } }, "Banner": { - "Copy": "Donate Today! Support p5.js and the Processing Foundation." + "Copy": "p5.js v2.0 will become the default editor version this August! Check out the timeline and ask questions in the linked issue!" }, "CodemirrorFindAndReplace": { "ToggleReplace": "Değiştirme Aç/Kapa", diff --git a/translations/locales/uk-UA/translations.json b/translations/locales/uk-UA/translations.json index 9101e500d3..dfff335297 100644 --- a/translations/locales/uk-UA/translations.json +++ b/translations/locales/uk-UA/translations.json @@ -48,7 +48,7 @@ } }, "Banner": { - "Copy": "Donate Today! Support p5.js and the Processing Foundation." + "Copy": "p5.js v2.0 will become the default editor version this August! Check out the timeline and ask questions in the linked issue!" }, "CodemirrorFindAndReplace": { "ToggleReplace": "Увімкнути заміну", diff --git a/translations/locales/ur/translations.json b/translations/locales/ur/translations.json index 85e8f0b6cf..7d5c91eb0f 100644 --- a/translations/locales/ur/translations.json +++ b/translations/locales/ur/translations.json @@ -48,7 +48,7 @@ } }, "Banner": { - "Copy": "Donate Today! Support p5.js and the Processing Foundation." + "Copy": "p5.js v2.0 will become the default editor version this August! Check out the timeline and ask questions in the linked issue!" }, "CodemirrorFindAndReplace": { "ToggleReplace": "تبدیل کرنے کو ٹوگل کریں۔", diff --git a/translations/locales/zh-CN/translations.json b/translations/locales/zh-CN/translations.json index d95a20f2e9..5ebc1160cd 100644 --- a/translations/locales/zh-CN/translations.json +++ b/translations/locales/zh-CN/translations.json @@ -48,7 +48,7 @@ } }, "Banner": { - "Copy": "Donate Today! Support p5.js and the Processing Foundation." + "Copy": "p5.js v2.0 will become the default editor version this August! Check out the timeline and ask questions in the linked issue!" }, "CodemirrorFindAndReplace": { "ToggleReplace": "开关替换选项", diff --git a/translations/locales/zh-TW/translations.json b/translations/locales/zh-TW/translations.json index d6138fcbb7..ac5bced428 100644 --- a/translations/locales/zh-TW/translations.json +++ b/translations/locales/zh-TW/translations.json @@ -48,7 +48,7 @@ } }, "Banner": { - "Copy": "Donate Today! Support p5.js and the Processing Foundation." + "Copy": "p5.js v2.0 will become the default editor version this August! Check out the timeline and ask questions in the linked issue!" }, "CodemirrorFindAndReplace": { "ToggleReplace": "切換取代",