diff --git a/src/InfoBanner.tsx b/src/InfoBanner.tsx deleted file mode 100644 index 7dd6c6d5c..000000000 --- a/src/InfoBanner.tsx +++ /dev/null @@ -1,47 +0,0 @@ -import React, { useState } from 'react' -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 key = 'eblShowUpdateBanner' - const initialState = getCookie(key) !== 'false' - const [show, setShow] = useState(initialState) - - const midnight = new Date() - midnight.setHours(23, 59, 59) - - return show ? ( - - { - setShow(false) - setCookie(key, 'false', { expires: midnight }) - }} - dismissible - > - 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 -} - -export default InfoBanner diff --git a/src/about/ui/__snapshots__/about.test.tsx.snap b/src/about/ui/__snapshots__/about.test.tsx.snap index 07437d98e..5eb8acccd 100644 --- a/src/about/ui/__snapshots__/about.test.tsx.snap +++ b/src/about/ui/__snapshots__/about.test.tsx.snap @@ -8,61 +8,6 @@ exports[`Snapshot 1`] = `
-
- -
diff --git a/src/common/AppContent.tsx b/src/common/AppContent.tsx index a643ee421..479984126 100644 --- a/src/common/AppContent.tsx +++ b/src/common/AppContent.tsx @@ -6,7 +6,6 @@ import _ from 'lodash' import Breadcrumbs, { Crumb } from 'common/Breadcrumbs' import './AppContent.sass' -import Banner from 'InfoBanner' interface Props { crumbs?: readonly Crumb[] @@ -32,7 +31,6 @@ export default function AppContent({ })} >
-

{title || _.last(crumbs)?.text}

diff --git a/src/corpus/ui/__snapshots__/ChapterView.integration.test.ts.snap b/src/corpus/ui/__snapshots__/ChapterView.integration.test.ts.snap index 0a56c3621..15b2ad59d 100644 --- a/src/corpus/ui/__snapshots__/ChapterView.integration.test.ts.snap +++ b/src/corpus/ui/__snapshots__/ChapterView.integration.test.ts.snap @@ -204,61 +204,6 @@ exports[`Display chapter How to cite 1`] = `
-
- -
@@ -885,61 +830,6 @@ exports[`Display chapter Show manuscripts 1`] = `
-
- -
@@ -1847,61 +1737,6 @@ exports[`Display chapter Show notes 1`] = `
-
- -
@@ -2545,61 +2380,6 @@ exports[`Display chapter Show parallels 1`] = `
-
- -
@@ -3248,61 +3028,6 @@ exports[`Display chapter Sidebar 1`] = `
-
- -
@@ -4294,61 +4019,6 @@ exports[`Display chapter Sidebar 2`] = `
-
- -
@@ -5350,61 +5020,6 @@ exports[`Display chapter Sidebar 3`] = `
-
- -
@@ -6450,61 +6065,6 @@ exports[`Display chapter Sidebar 4`] = `
-
- -
@@ -7584,61 +7144,6 @@ exports[`Display chapter Sidebar 5`] = `
-
- -
@@ -8718,61 +8223,6 @@ exports[`Display chapter Sidebar 6`] = `
-
- -
@@ -9683,61 +9133,6 @@ exports[`Display chapter Snapshot 1`] = `
-
- -
diff --git a/src/corpus/ui/__snapshots__/Corpus.integration.test.ts.snap b/src/corpus/ui/__snapshots__/Corpus.integration.test.ts.snap index 9422d7245..54166f286 100644 --- a/src/corpus/ui/__snapshots__/Corpus.integration.test.ts.snap +++ b/src/corpus/ui/__snapshots__/Corpus.integration.test.ts.snap @@ -204,61 +204,6 @@ exports[`With session 1`] = `
-
- -
@@ -835,61 +780,6 @@ exports[`Without session 1`] = `
-
- -
diff --git a/src/corpus/ui/__snapshots__/TextView.integration.test.ts.snap b/src/corpus/ui/__snapshots__/TextView.integration.test.ts.snap index 8f5135c1b..0a441cd55 100644 --- a/src/corpus/ui/__snapshots__/TextView.integration.test.ts.snap +++ b/src/corpus/ui/__snapshots__/TextView.integration.test.ts.snap @@ -204,61 +204,6 @@ exports[`Chapter Show chapter 1`] = `
-
- -
@@ -642,61 +587,6 @@ exports[`Chapter Show list of manuscripts 1`] = `
-
- -
@@ -1254,61 +1144,6 @@ exports[`With session 1`] = `
-
- -
diff --git a/src/dictionary/ui/display/__snapshots__/WordDisplay.test.tsx.snap b/src/dictionary/ui/display/__snapshots__/WordDisplay.test.tsx.snap index 083b9bab6..4603fd139 100644 --- a/src/dictionary/ui/display/__snapshots__/WordDisplay.test.tsx.snap +++ b/src/dictionary/ui/display/__snapshots__/WordDisplay.test.tsx.snap @@ -8,61 +8,6 @@ exports[`Fetch word correctly displays word parts 1`] = `
-
- -
diff --git a/src/dictionary/ui/editor/__snapshots__/WordEditor.integration.test.ts.snap b/src/dictionary/ui/editor/__snapshots__/WordEditor.integration.test.ts.snap index d49b2fbb3..43886d94d 100644 --- a/src/dictionary/ui/editor/__snapshots__/WordEditor.integration.test.ts.snap +++ b/src/dictionary/ui/editor/__snapshots__/WordEditor.integration.test.ts.snap @@ -204,61 +204,6 @@ exports[`Edit 1`] = `
-
- -
@@ -2161,61 +2106,6 @@ exports[`Snapshot 1`] = `
-
- -
diff --git a/src/dictionary/ui/search/__snapshots__/Dictionary.integration.test.ts.snap b/src/dictionary/ui/search/__snapshots__/Dictionary.integration.test.ts.snap index 61132c7c3..b9cd571c9 100644 --- a/src/dictionary/ui/search/__snapshots__/Dictionary.integration.test.ts.snap +++ b/src/dictionary/ui/search/__snapshots__/Dictionary.integration.test.ts.snap @@ -204,61 +204,6 @@ exports[`Meaning 1`] = `
-
- -
@@ -793,61 +738,6 @@ exports[`Root 1`] = `
-
- -
@@ -1382,61 +1272,6 @@ exports[`Snapshot 1`] = `
-
- -
@@ -1856,61 +1691,6 @@ exports[`Vowel class 1`] = `
-
- -
@@ -2445,61 +2225,6 @@ exports[`Word 1`] = `
-
- -
diff --git a/src/fragmentarium/ui/image-annotation/__snapshots__/AnnotationsView.integration.test.ts.snap b/src/fragmentarium/ui/image-annotation/__snapshots__/AnnotationsView.integration.test.ts.snap index 826dfb77d..671a7cdb3 100644 --- a/src/fragmentarium/ui/image-annotation/__snapshots__/AnnotationsView.integration.test.ts.snap +++ b/src/fragmentarium/ui/image-annotation/__snapshots__/AnnotationsView.integration.test.ts.snap @@ -204,61 +204,6 @@ exports[`Display annotate view Snapshot 1`] = `
-
- -
diff --git a/src/fragmentarium/ui/search/__snapshots__/FragmentariumSearch.test.tsx.snap b/src/fragmentarium/ui/search/__snapshots__/FragmentariumSearch.test.tsx.snap index b615f9718..50b082876 100644 --- a/src/fragmentarium/ui/search/__snapshots__/FragmentariumSearch.test.tsx.snap +++ b/src/fragmentarium/ui/search/__snapshots__/FragmentariumSearch.test.tsx.snap @@ -8,61 +8,6 @@ exports[`Searching fragments by transliteration Displays corpus results when cli
-
- -
diff --git a/src/research-projects/subpages/__snapshots__/subpages.test.tsx.snap b/src/research-projects/subpages/__snapshots__/subpages.test.tsx.snap index f534ed720..3bb28ef97 100644 --- a/src/research-projects/subpages/__snapshots__/subpages.test.tsx.snap +++ b/src/research-projects/subpages/__snapshots__/subpages.test.tsx.snap @@ -8,61 +8,6 @@ exports[`Project pages displays CAIC page 1`] = `
-
- -
diff --git a/src/signs/ui/display/__snapshots__/SignDisplay.test.tsx.snap b/src/signs/ui/display/__snapshots__/SignDisplay.test.tsx.snap index 261e8e150..c9dd17287 100644 --- a/src/signs/ui/display/__snapshots__/SignDisplay.test.tsx.snap +++ b/src/signs/ui/display/__snapshots__/SignDisplay.test.tsx.snap @@ -8,61 +8,6 @@ exports[`Sign Display Sign Display Snapshot 1`] = `
-
- -