Skip to content

Commit

Permalink
Logos with taglines
Browse files Browse the repository at this point in the history
  • Loading branch information
arildm committed Jan 30, 2024
1 parent bf5f724 commit 5e16077
Show file tree
Hide file tree
Showing 6 changed files with 810 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## [9.5.1-dev]

### Changed

- Logos with taglines

### Fixed

- Improve UX for "in order" option [#335](https://github.com/spraakbanken/korp-frontend/issues/335)
Expand Down
188 changes: 188 additions & 0 deletions app/img/korp_slogan.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
183 changes: 183 additions & 0 deletions app/img/korp_slogan_en.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
213 changes: 213 additions & 0 deletions app/img/sprakbanken_text_slogan.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
204 changes: 204 additions & 0 deletions app/img/sprakbanken_text_slogan_en.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 18 additions & 10 deletions app/scripts/components/header.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/** @format */
import korpLogo from "../../img/korp.svg"
import sbxLogo from "../../img/sprakbanken_text.svg"
import korpLogo from "../../img/korp_slogan.svg"
import korpLogoEn from "../../img/korp_slogan_en.svg"
import sbxLogo from "../../img/sprakbanken_text_slogan.svg"
import sbxLogoEn from "../../img/sprakbanken_text_slogan_en.svg"
import guLogo from "../../img/gu_logo_sv_head.svg"

let html = String.raw
Expand Down Expand Up @@ -99,9 +101,10 @@ export const headerComponent = {
<!-- TODO too many divs -->
</div>
<div class="flex justify-between items-end gap-3 h-24 pb-1 mb-5 mt-2 px-3" id="header_left">
<div class="flex justify-between items-end gap-3 my-3 px-3" id="header_left">
<a class="shrink-0 relative ml-4 pl-0.5" ng-click="$ctrl.logoClick()">
<img class="-mb-5" src="${korpLogo}" height="300" width="300" />
<img ng-if="$root.lang == 'swe'" src="${korpLogo}" height="300" width="300" />
<img ng-if="$root.lang != 'swe'" src="${korpLogoEn}" height="300" width="300" />
</a>
<div id="labs_logo">
<svg
Expand All @@ -124,15 +127,20 @@ export const headerComponent = {
</svg>
</div>
<div class="grow lg_hidden"></div>
<div class="grow min-[1150px]_hidden"></div>
<corpus-chooser></corpus-chooser>
<div class="grow hidden lg_block"></div>
<a class="hidden lg_block h-12 shrink" href="https://spraakbanken.gu.se" target="_blank">
<img src="${sbxLogo}" class="h-full" />
<div class="grow hidden min-[1150px]_block"></div>
<a
class="hidden min-[1150px]_flex h-20 shrink flex-col justify-end"
href="https://spraakbanken.gu.se/"
target="_blank"
>
<img ng-if="$root.lang == 'swe'" src="${sbxLogo}" />
<img ng-if="$root.lang != 'swe'" src="${sbxLogoEn}" />
</a>
<a class="hidden xl_block shrink-0 h-32 pt-1 -mb-6" href="https://gu.se" target="_blank">
<a class="hidden xl_block shrink-0 h-32 -mt-2" href="https://gu.se/" target="_blank">
<img src="${guLogo}" class="h-full" />
</a>
</div>
Expand Down

0 comments on commit 5e16077

Please sign in to comment.