From 8bf08eed922162481e0054416a64621283f33ad2 Mon Sep 17 00:00:00 2001 From: thomasrosen Date: Sat, 23 Jan 2021 22:09:14 +0100 Subject: [PATCH] translated the header image / logo --- src/App.css | 8 +++++++- src/App.js | 5 +++-- src/HeaderImage.svg | 1 - src/VoltLogoPurple.svg | 6 ++++++ src/locales/de.ftl | 3 +++ src/locales/en.ftl | 3 +++ 6 files changed, 22 insertions(+), 4 deletions(-) delete mode 100644 src/HeaderImage.svg create mode 100644 src/VoltLogoPurple.svg diff --git a/src/App.css b/src/App.css index fb0879e..7809736 100644 --- a/src/App.css +++ b/src/App.css @@ -40,6 +40,12 @@ footer{ padding: 10vmin; } +h1{ + font-size: calc(10px + 10vmin); + line-height: 0.9; + margin-top: 2vmin; +} + h2{ margin: 10vh 0 2vh 0; font-size: calc(10px + 4vmin); @@ -58,7 +64,7 @@ a:hover{ } .HeaderImage{ - height: calc(10px + 30vmin); + height: calc(10px + 20vmin); max-width: 100%; } diff --git a/src/App.js b/src/App.js index cd5627e..b3ef13d 100644 --- a/src/App.js +++ b/src/App.js @@ -5,7 +5,7 @@ import mergeImages from 'merge-images' import FrameChooser from './FrameChooser.js' import HashtagChooser from './HashtagChooser.js' import Editor from './Editor.js' -import HeaderImage from './HeaderImage.svg' +import VoltLogoPurple from './VoltLogoPurple.svg' import purpleBG from './purpleBG.png' import empty_1x1 from './empty_1x1.png' @@ -284,7 +284,8 @@ function App({ getString }) { return (
- Volt Logo + {getString('alt_volt_logo')} +

diff --git a/src/HeaderImage.svg b/src/HeaderImage.svg deleted file mode 100644 index ad5a835..0000000 --- a/src/HeaderImage.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/VoltLogoPurple.svg b/src/VoltLogoPurple.svg new file mode 100644 index 0000000..8e0c4e5 --- /dev/null +++ b/src/VoltLogoPurple.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/locales/de.ftl b/src/locales/de.ftl index 47c852c..ec568d1 100644 --- a/src/locales/de.ftl +++ b/src/locales/de.ftl @@ -1,4 +1,7 @@ +alt_volt_logo = Volt Logo +title_profile_generator = Profil Rahmen + title_drop_photo_here = Leg hier dein Foto ab ... title_choose_photo = Wähl Dein Foto: text_choose_photo_info = Das Foto wird nicht gespeichert und verlässt nie Deinen Computer. diff --git a/src/locales/en.ftl b/src/locales/en.ftl index 716c631..83f29f8 100644 --- a/src/locales/en.ftl +++ b/src/locales/en.ftl @@ -1,4 +1,7 @@ +alt_volt_logo = Volt Logo +title_profile_generator = Profile Frames + title_drop_photo_here = Drop your photo here ... title_choose_photo = Choose your Photo: text_choose_photo_info = The photo is not saved and never leaves your computer.