diff --git a/src/InfoBanner.tsx b/src/InfoBanner.tsx index 285f6b5e8..7dd6c6d5c 100644 --- a/src/InfoBanner.tsx +++ b/src/InfoBanner.tsx @@ -3,9 +3,11 @@ import Alert from 'react-bootstrap/Alert' import './Header.css' import { Container } from 'react-bootstrap' import { set as setCookie, get as getCookie } from 'es-cookie' +import ExternalLink from 'common/ExternalLink' function InfoBanner(): JSX.Element | null { - const initialState = getCookie('eblShowInfoBanner') !== 'false' + const key = 'eblShowUpdateBanner' + const initialState = getCookie(key) !== 'false' const [show, setShow] = useState(initialState) const midnight = new Date() @@ -14,20 +16,29 @@ function InfoBanner(): JSX.Element | null { return show ? ( { setShow(false) - setCookie('eblShowInfoBanner', 'false', { expires: midnight }) + setCookie(key, 'false', { expires: midnight }) }} dismissible > - Scheduled Maintenance Notice: On{' '} - Monday, July 15, 2024, from 10:00 AM to 12:00 PM CEST, - the eBL servers will be undergoing scheduled maintenance. During this - time, you will not be able to log in or make any changes to records. The - maintenance may also cause temporary service interruptions. Registered - users will receive an email notification once the maintenance is - complete. + Update: On Monday, July 15, the eBL servers were + successfully migrated to new infrastructure. From now on, eBL can be + accessed either from{' '} + + https://www.ebl.lmu.de + {' '} + or{' '} + + https://www.ebl.badw.de + + . Please note that it will not be possible to login at www.ebl.lmu.de + until July 16, but you can already access eBL via the new url at + + https://www.ebl.badw.de + + . ) : null diff --git a/src/about/ui/__snapshots__/about.test.tsx.snap b/src/about/ui/__snapshots__/about.test.tsx.snap index d48f474bc..07437d98e 100644 --- a/src/about/ui/__snapshots__/about.test.tsx.snap +++ b/src/about/ui/__snapshots__/about.test.tsx.snap @@ -12,7 +12,7 @@ exports[`Snapshot 1`] = ` class="Header__info-banner container-fluid" >