[PATCH links] Adding logo to the base view
Export this patch
---
static/css/style.css | 7 +++++++
templates/base.html | 6 +++---
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/static/css/style.css b/static/css/style.css
index 5c30dc9..7910889 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -814,3 +814,10 @@ a.bullet-link:before {
margin-top: 3px !important;
margin-left: 11px !important;
}
+
+.img-logo-container {
+ display: flex;
+ justify-content: center;
+ margin-top: 16px;
+ margin-bottom: 16px;
+}
\ No newline at end of file
diff --git a/templates/base.html b/templates/base.html
index f7fe99d..c7cd723 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -28,8 +28,8 @@
{{if not .hideNav}}
<div class="root-container">
<aside>
- <div>
- <h1>{{.base_pd.Title}}</h1>
+ <div class="img-logo-container">
+ <img src="{{ staticURL "img/lt_logo.svg"}}" alt="link_tako_logo" width="195px" height="50px">
</div>
{{ if .orgList }}
<div class="menu-switch">
@@ -220,7 +220,7 @@
{{end}}
<!-- Reponsive -->
<div class="mobile-nav">
- <h1 class="mobile-title">{{.base_pd.Title}}</h1>
+ <img src="{{ staticURL "img/lt_logo.svg"}}" alt="link_tako_logo" width="160px">
<input id="menu-toggle" type="checkbox" />
<label class='menu-button-container' for="menu-toggle">
<div class='menu-button'></div>
--
2.34.1
Applied! Thanks!
Peter