Skip to content

Commit

Permalink
Merge pull request #282 from DLR-SC/feature/replace-placeholder-logo
Browse files Browse the repository at this point in the history
Replace the DLR Logo with the LOKI logo and make it smaller
  • Loading branch information
JonasGilg authored Jul 13, 2023
2 parents e15a5f2 + 58f7135 commit 098dbf0
Show file tree
Hide file tree
Showing 10 changed files with 69 additions and 6 deletions.
1 change: 1 addition & 0 deletions frontend/docs/changelog/changelog-de.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
- Alle Texte sind nun in Englisch und in Deutsch verfügbar.
- Es wurden einige Verbesserungen gemacht, die das Laden der Seite beschleunigen.
- Wenn neue Funktionen zur Verfügung gestellt werden, wird der Browser-Cache nicht mehr verhindern, dass Benutzer:innen diese sehen.
- Das DLR-Logo wurde durch das LOKI-Logo ersetzt und verkleinert.

### Fehlerbehebungen

Expand Down
1 change: 1 addition & 0 deletions frontend/docs/changelog/changelog-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
- All texts are now available in Englisch and German.
- Some improvements to page load speed have been made.
- If a new feature gets rolled out, the browser cache will no longer prevent the users from seeing it.
- The DLR logo was replaced by the LOKI logo and the size was reduced.

### Bug fixes

Expand Down
Binary file removed frontend/public/assets/logo/DLRLogo.png
Binary file not shown.
Binary file removed frontend/public/assets/logo/DLRSignet.png
Binary file not shown.
Binary file removed frontend/public/assets/logo/DLR_Logo.png
Binary file not shown.
61 changes: 61 additions & 0 deletions frontend/public/assets/logo/LOKI_compact.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion frontend/public/locales/de/global.json5
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@
germany: 'Deutschland',
WIP: 'Diese Funktionalität befindet sich noch in der Entwicklung.',
'no-data': 'Keine Daten',
'dlr-logo': 'DLR-Logo',
'loki-logo': 'LOKI-Logo',
okay: 'Okay',
}
2 changes: 1 addition & 1 deletion frontend/public/locales/en/global.json5
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
search: 'Search',
germany: 'Germany',
'no-data': 'No Data',
'dlr-logo': 'DLR logo',
'loki-logo': 'LOKI logo',
lorem: 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore\
et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet\
clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,\
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/components/Sidebar/SidebarTabs.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Box from '@mui/material/Box';
import {useTranslation} from 'react-i18next';
import React from 'react';
import dlrLogo from 'assets/logo/DLR_Logo.png';
import logo from 'assets/logo/LOKI_compact.svg';

export default function SidebarTabs(): JSX.Element {
const {t} = useTranslation('global');
Expand All @@ -23,8 +23,8 @@ export default function SidebarTabs(): JSX.Element {
}}
>
{/* This is a placeholder for now. */}
<a href='https://www.dlr.de/' target='_blank' rel='noopener noreferrer' style={{width: '90%'}}>
<img src={dlrLogo} alt={t('dlr-logo')} width='100%' />
<a href='https://www.dlr.de/' target='_blank' rel='noopener noreferrer' style={{width: '40%'}}>
<img src={logo} alt={t('loki-logo')} width='100%' />
</a>

{/*
Expand Down
2 changes: 1 addition & 1 deletion frontend/webpack/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = {
new HtmlWebpackInjectPreload({
files: [
{
match: /(DLR_Logo)+.+(.png)$/,
match: /(LOKI_compact)+.+(.svg)$/,
attributes: {as: 'image'},
},
{
Expand Down

0 comments on commit 098dbf0

Please sign in to comment.