From 3cbc58d525f6770d6eb27b051395513065d467ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrique=20Jim=C3=A9nez?= Date: Tue, 2 Jul 2024 21:41:43 +0000 Subject: [PATCH 1/4] Change eBL Logo, Add Akademie Logo --- src/BAdW_Logo.svg | 86 +++ src/Header.css | 32 +- src/Header.tsx | 18 +- .../ChapterView.integration.test.ts.snap | 506 ++++++++++++------ .../Corpus.integration.test.ts.snap | 92 +++- .../TextView.integration.test.ts.snap | 138 +++-- .../WordEditor.integration.test.ts.snap | 92 +++- .../Dictionary.integration.test.ts.snap | 230 +++++--- .../AnnotationsView.integration.test.ts.snap | 46 +- 9 files changed, 888 insertions(+), 352 deletions(-) create mode 100644 src/BAdW_Logo.svg diff --git a/src/BAdW_Logo.svg b/src/BAdW_Logo.svg new file mode 100644 index 000000000..411c01414 --- /dev/null +++ b/src/BAdW_Logo.svg @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/src/Header.css b/src/Header.css index 1a8feed6e..b5a977fdf 100644 --- a/src/Header.css +++ b/src/Header.css @@ -1,6 +1,16 @@ -.Header__corporate-logo { - height: 4em; - margin-bottom: 0.5rem; +.Header__badw-logo { + height: 1.7em; +} + +.Header__lmu-logo { + height: 2em; + margin-bottom: -0.3em; +} + +.Header__logo-container { + display: flex; + flex-direction: column; + text-align: center; } .Header__title { @@ -8,21 +18,21 @@ } .Header__title-main { - border-right: 0.05em solid black; display: inline-block; - font-weight: bold; - line-height: 1.2; margin-right: 0.5em; - padding-right: 0.5em; text-align: right; + font-variant: unicase; + vertical-align: middle; } .Header__title-abbreviation { color: white; - font-size: 4em; - line-height: 0.7; - text-shadow: -1.5px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, - 1px 1px 0 black; + font-size: 3em; + font-variant: unicase; + padding: 0 0.1em 0 0.1em; + background-color: #0077be; + vertical-align: middle; + margin-right: 0.2em; } #navbar-container { diff --git a/src/Header.tsx b/src/Header.tsx index 423591eab..99fa4bc62 100644 --- a/src/Header.tsx +++ b/src/Header.tsx @@ -6,6 +6,7 @@ import _ from 'lodash' import User from './auth/User' import './Header.css' import lmuLogo from './LMU_Logo.svg' +import badwLogo from './BAdW_Logo.svg' import ExternalLink from 'common/ExternalLink' function EblLogo(): JSX.Element { @@ -40,11 +41,6 @@ export default function Header(): JSX.Element {
- - - - - +
+ + + + + + + + + + +
- - - - - +
+ + + + + + + + + + +
+