]> git.ipfire.org Git - ipfire.org.git/commitdiff
base: Re-arrange navigation bar
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 17 Apr 2023 09:12:50 +0000 (09:12 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 17 Apr 2023 09:12:50 +0000 (09:12 +0000)
This re-adds the Buy button and re-orders the other link entries.

Community has been dropped as it is reachable via the "Help" page and we
need to keep the navigation as simple as possible.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/base.html

index 5de6492ebcca46fbc61b6c08a730cb7ca341fcc9..4ec421505676261087f432f6346b6ef106be53bf 100644 (file)
@@ -58,7 +58,7 @@
                                                                        </div>
 
                                                                        <div class="navbar-item">
-                                                                               <a class="nav-link {% if request.path == "/support" %}active{% end %}" href="/support">{{ _("Help") }}</a>
+                                                                               <a class="nav-link {% if request.path.startswith("/download") %}active{% end %}" href="/download">{{ _("Download") }}</a>
                                                                        </div>
 
                                                                        <div class="navbar-item">
                                                                        </div>
 
                                                                        <div class="navbar-item">
-                                                                               <a class="nav-link {% if request.path == "/community" %}active{% end %}" href="/community">{{ _("Community") }}</a>
+                                                                               <a class="nav-link {% if request.path == "/help" %}active{% end %}" href="/help">{{ _("Help") }}</a>
                                                                        </div>
 
                                                                        <div class="navbar-item">
-                                                                               <a class="nav-link {% if request.path.startswith("/download") %}active{% end %}" href="/download">{{ _("Download") }}</a>
+                                                                               <button class="button is-lwl" href="https://store.lightningwirelabs.com/?utm_source={{ hostname }}&utm_medium=navigation">
+                                                                                       <p class="has-text-centered has-text-weight-bold is-uppercase">
+                                                                                               {{ _("Buy") }}
+                                                                                       </p>
+                                                                               </button>
                                                                        </div>
 
                                                                        <div class="navbar-item">