aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2023-05-25 20:23:49 +0200
committerDaniel Schadt <kingdread@gmx.de>2023-05-25 20:23:49 +0200
commit2dd26937465eb359552c77fe82b25c4fc7cfe2f3 (patch)
tree018ee13a17592caa3bada19eff6c56e194c785fb
parent77680068c3fe5d794f5a054126bc40cc4b01222a (diff)
downloadfietsboek-2dd26937465eb359552c77fe82b25c4fc7cfe2f3.tar.gz
fietsboek-2dd26937465eb359552c77fe82b25c4fc7cfe2f3.tar.bz2
fietsboek-2dd26937465eb359552c77fe82b25c4fc7cfe2f3.zip
make Fietsboek text a link to home page
-rw-r--r--asset-sources/theme.scss4
-rw-r--r--fietsboek/static/theme.css4
-rw-r--r--fietsboek/static/theme.css.map2
-rw-r--r--fietsboek/templates/layout.jinja24
4 files changed, 12 insertions, 2 deletions
diff --git a/asset-sources/theme.scss b/asset-sources/theme.scss
index 40aa55d..faa4f44 100644
--- a/asset-sources/theme.scss
+++ b/asset-sources/theme.scss
@@ -9,6 +9,10 @@ strong {
font-weight: 700;
}
+.brand-link {
+ text-decoration: none;
+}
+
.badge-container {
width: 50px;
height: 50px;
diff --git a/fietsboek/static/theme.css b/fietsboek/static/theme.css
index d2e7f9d..d97192b 100644
--- a/fietsboek/static/theme.css
+++ b/fietsboek/static/theme.css
@@ -9,6 +9,10 @@ strong {
font-weight: 700;
}
+.brand-link {
+ text-decoration: none;
+}
+
.badge-container {
width: 50px;
height: 50px;
diff --git a/fietsboek/static/theme.css.map b/fietsboek/static/theme.css.map
index 9d4524a..632d85f 100644
--- a/fietsboek/static/theme.css.map
+++ b/fietsboek/static/theme.css.map
@@ -1 +1 @@
-{"version":3,"sourceRoot":"","sources":["../../asset-sources/theme.scss"],"names":[],"mappings":"AAAA;EACE;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EAqCE;EACA;EACA;EACA;EACA;EACA;;AAzCA;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAWJ;EACI;;;AAGJ;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;;;AAIJ;AACA;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE","file":"theme.css"} \ No newline at end of file
+{"version":3,"sourceRoot":"","sources":["../../asset-sources/theme.scss"],"names":[],"mappings":"AAAA;EACE;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EAqCE;EACA;EACA;EACA;EACA;EACA;;AAzCA;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAWJ;EACI;;;AAGJ;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;;;AAIJ;AACA;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE","file":"theme.css"} \ No newline at end of file
diff --git a/fietsboek/templates/layout.jinja2 b/fietsboek/templates/layout.jinja2
index fcc9d95..3206d97 100644
--- a/fietsboek/templates/layout.jinja2
+++ b/fietsboek/templates/layout.jinja2
@@ -37,7 +37,9 @@ const Legende = false;
<body>
<nav class="navbar navbar-dark bg-dark navbar-expand-lg">
<div class="container-fluid">
- <span class="navbar-brand mb-0 h1"><i class="bi bi-bicycle"></i> Fietsboek</span>
+ <a href="{{ request.route_url('home') }}" class="brand-link">
+ <span class="navbar-brand mb-0 h1"><i class="bi bi-bicycle"></i> Fietsboek</span>
+ </a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="{{ _('page.navbar.toggle') }}">
<span class="navbar-toggler-icon"></span>
</button>