gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-ops-www] 02/02: lang things


From: gnunet
Subject: [taler-taler-ops-www] 02/02: lang things
Date: Sun, 31 Mar 2024 17:12:31 +0200

This is an automated email from the git hooks/post-receive script.

nora-grothoff pushed a commit to branch master
in repository taler-ops-www.

commit 28c4ed90bcdeb1ba96e8d9742f1a7101fd71e184
Author: Nullptrderef <nullptrderef@proton.me>
AuthorDate: Sun Mar 31 17:12:25 2024 +0200

    lang things
---
 common/navigation/index.j2.inc | 17 ++++++++++++++---
 common/navigation/items.j2.inc | 18 +++++++++++-------
 2 files changed, 25 insertions(+), 10 deletions(-)

diff --git a/common/navigation/index.j2.inc b/common/navigation/index.j2.inc
index d467e48..e1298ae 100644
--- a/common/navigation/index.j2.inc
+++ b/common/navigation/index.j2.inc
@@ -12,16 +12,27 @@
   <nav
     class="navbar navbar-desktop flex items-center justify-between w-full 
max-w-screen-xl md:flex-row flex-col gap-7"
   >
-    <div class="left" style="min-width: 136px; min-height: 60.9px;">
+    <div
+      class="left flex flex-wrap gap-7"
+      style="min-width: 136px; min-height: 60.9px"
+    >
       <a class="navbar-brand" href="{{ url_localized('index.html') }}"
         ><img
           src="{{ url_static('images/logo/taler-full.svg') }}"
           alt="Taler Operations SA"
-          style="width: 136px; height: 60.9px;"
+          style="width: 136px; height: 60.9px"
       /></a>
+      <div class="nav hidden lg:contents">
+        {% include "common/navigation/items.j2.inc" %}
+      </div>
     </div>
     <div class="right flex flex-row max-w-full">
-      {% include "common/navigation/items.j2.inc" %}
+      <div class="nav contents lg:hidden">
+        {% include "common/navigation/items.j2.inc" %}
+      </div>
+      <div class="hidden lg:contents">
+        {% include 'common/navigation/lang-select.j2.inc' %}
+      </div>
     </div>
   </nav>
 </header>
diff --git a/common/navigation/items.j2.inc b/common/navigation/items.j2.inc
index 932aca6..b1a2648 100644
--- a/common/navigation/items.j2.inc
+++ b/common/navigation/items.j2.inc
@@ -1,28 +1,32 @@
-<nav class="flex flex-row gap-4 font-medium flex-wrap items-center 
justify-center text-center">
+<nav
+  class="flex flex-row gap-4 font-medium flex-wrap items-center justify-center 
text-center"
+>
   <a
-    class="no-underline hover:underline text-black text-opacity-50 
hover:text-opacity-40 transition-all block h-max"
+    class="no-underline hover:underline text-black text-opacity-50 
hover:text-opacity-40 transition-all h-max block"
     href="{{ url_localized('index.html') }}"
     >{% trans %}Home{% endtrans %}</a
   >
   <a
-    class="no-underline hover:underline text-black text-opacity-50 
hover:text-opacity-40 transition-all block h-max"
+    class="no-underline hover:underline text-black text-opacity-50 
hover:text-opacity-40 transition-all h-max block"
     href="{{ url_localized('users.html') }}"
     >{% trans %}Users{% endtrans %}</a
   >
   <a
-    class="no-underline hover:underline text-black text-opacity-50 
hover:text-opacity-40 transition-all block h-max"
+    class="no-underline hover:underline text-black text-opacity-50 
hover:text-opacity-40 transition-all h-max block"
     href="{{ url_localized('merchants.html') }}"
     >{% trans %}Merchants{% endtrans %}</a
   >
   <a
-    class="no-underline hover:underline text-black text-opacity-50 
hover:text-opacity-40 transition-all block h-max"
+    class="no-underline hover:underline text-black text-opacity-50 
hover:text-opacity-40 transition-all h-max block"
     href="{{ url_localized('fees.html') }}"
     >{% trans %}Fees{% endtrans %}</a
   >
   <a
-    class="no-underline hover:underline text-black text-opacity-50 
hover:text-opacity-40 transition-all block h-max"
+    class="no-underline hover:underline text-black text-opacity-50 
hover:text-opacity-40 transition-all h-max block"
     href="https://exchange.taler-ops.ch/terms";
     >{% trans %}Terms of Service{% endtrans %}</a
   >
-  {% include 'common/navigation/lang-select.j2.inc' %}
+  <div class="contents lg:hidden">
+    {% include 'common/navigation/lang-select.j2.inc' %}
+  </div>
 </nav>

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]