From 4bbd891ca27f7cafe2f1c504de42c64ec0654504 Mon Sep 17 00:00:00 2001 From: Christian Mayer Date: Mon, 2 Jul 2018 14:21:15 +0200 Subject: [PATCH] Rename 'TopLogo' to 'AppLogo' Renames the TopLogo component to AppLogo since the old name was misleading, because the logo is not bound to the top of the app. --- src/WguApp.vue | 6 +++--- src/assets/css/wegue.css | 2 +- src/components/{TopLogo.vue => AppLogo.vue} | 6 +++--- test/unit/specs/AppLogo.spec.js | 15 +++++++++++++++ test/unit/specs/TopLogo.spec.js | 15 --------------- 5 files changed, 22 insertions(+), 22 deletions(-) rename src/components/{TopLogo.vue => AppLogo.vue} (86%) create mode 100644 test/unit/specs/AppLogo.spec.js delete mode 100644 test/unit/specs/TopLogo.spec.js diff --git a/src/WguApp.vue b/src/WguApp.vue index 8c6b048b..aa4bb02c 100644 --- a/src/WguApp.vue +++ b/src/WguApp.vue @@ -33,7 +33,7 @@ - + @@ -54,7 +54,7 @@ import OlMap from './components/ol/Map' import InfoWindow from './components/InfoWindow' import FeatureInfoWindow from './components/FeatureInfoWindow' import AppHeader from './components/AppHeader' -import TopLogo from './components/TopLogo' +import AppLogo from './components/AppLogo' import MenuButton from './components/MenuButton' import LayerListToggleButton from './components/layerlist/ToggleButton' import HelpWinToggleButton from './components/helpwin/ToggleButton' @@ -69,7 +69,7 @@ export default { 'wgu-info-window': InfoWindow, 'wgu-feature-infowindow': FeatureInfoWindow, 'wgu-app-header': AppHeader, - 'wgu-top-logo': TopLogo, + 'wgu-app-logo': AppLogo, 'wgu-menubutton': MenuButton, 'wgu-toggle-layerlist-button': LayerListToggleButton, 'wgu-toggle-helpwin-button': HelpWinToggleButton, diff --git a/src/assets/css/wegue.css b/src/assets/css/wegue.css index 19d26005..2fcfbcf5 100644 --- a/src/assets/css/wegue.css +++ b/src/assets/css/wegue.css @@ -26,7 +26,7 @@ html { height: calc(100% - 56px); } -.wgu-top-logo { +.wgu-app-logo { left: 25px; top: 45px; } diff --git a/src/components/TopLogo.vue b/src/components/AppLogo.vue similarity index 86% rename from src/components/TopLogo.vue rename to src/components/AppLogo.vue index 42fd45c6..b092c2b1 100644 --- a/src/components/TopLogo.vue +++ b/src/components/AppLogo.vue @@ -3,7 +3,7 @@ @@ -13,7 +13,7 @@