gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-ops-www] 03/06: init tailwind properly


From: gnunet
Subject: [taler-taler-ops-www] 03/06: init tailwind properly
Date: Sun, 25 Feb 2024 02:59:02 +0100

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

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

commit 1b08b64ecf7ac48b139e39400ef8fd6f3adf5a92
Author: Nullptrderef <nullptrderef@national.shitposting.agency>
AuthorDate: Sun Feb 25 02:41:38 2024 +0100

    init tailwind properly
---
 .postcssrc                                        |  2 +-
 common/footer.j2.inc                              |  6 +-
 common/header.j2.inc                              |  2 +-
 locale/de/LC_MESSAGES/messages.po                 | 18 ++---
 locale/en/LC_MESSAGES/messages.po                 | 16 ++---
 locale/fr/LC_MESSAGES/messages.po                 | 18 ++---
 locale/messages.pot                               | 16 ++---
 static/images/logo/taler-full-white-text.svg      | 88 +++++++++++++++++++++++
 static/postcss/{tailwind.postcss => tailwind.css} |  0
 tailwind.config.js                                | 16 ++++-
 10 files changed, 124 insertions(+), 58 deletions(-)

diff --git a/.postcssrc b/.postcssrc
index d42c370..7b7fe05 100644
--- a/.postcssrc
+++ b/.postcssrc
@@ -1,5 +1,5 @@
 {
   "plugins": {
-    "tailwindcss": {}
+    "tailwindcss": true
   }
 }
\ No newline at end of file
diff --git a/common/footer.j2.inc b/common/footer.j2.inc
index a768b8e..1ec2d99 100644
--- a/common/footer.j2.inc
+++ b/common/footer.j2.inc
@@ -1,4 +1,4 @@
-<footer class="footersec">
+<footer class="dark bg-black text-white">
   <div class="foottop">
     <div class="container">
       <div class="row">
@@ -11,7 +11,7 @@
             <p style="color: white; margin-top: 5px">
               Taler Operations AG, {% trans %}Switzerland{% endtrans %}<br />
               Höheweg 80<br />
-              CH-2502 {% trans %}Biel{% endtrans %}, {% trans %}Switzerland{% 
endtrans %}
+              CH-2502 Biel, Switzerland
             </p>
           </div>
         </div>
@@ -82,7 +82,7 @@
           © {% trans %}Copyright{% endtrans %} 2024 |
           <a href="{{ url_localized('index.html') }}">Taler Operations AG</a> |
           <a href="https://www.gnu.org/licenses/fdl-1.3.html.en"; 
target="_blank" rel="noopener noreferrer">{% trans
-            %}Licensed under the GNU Free Documentation License{% endtrans 
%}</a>
+            %}License{% endtrans %}: GNU Free Documentation License</a>
         </p>
         <p>
           {% trans %}We do not assume any liability for the correctness of
diff --git a/common/header.j2.inc b/common/header.j2.inc
index 93be044..1314c12 100644
--- a/common/header.j2.inc
+++ b/common/header.j2.inc
@@ -44,4 +44,4 @@
 
 <link href="{{ url_static('scss/fonts.scss') }}" rel="stylesheet" />
 
-<link href="{{ url_static('postcss/tailwind.postcss') }}" rel="stylesheet" />
\ No newline at end of file
+<link href="{{ url_static('postcss/tailwind.css') }}" rel="stylesheet" />
\ No newline at end of file
diff --git a/locale/de/LC_MESSAGES/messages.po 
b/locale/de/LC_MESSAGES/messages.po
index 2f91b11..f0254cd 100644
--- a/locale/de/LC_MESSAGES/messages.po
+++ b/locale/de/LC_MESSAGES/messages.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PROJECT VERSION\n"
 "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2024-02-25 02:18+0100\n"
+"POT-Creation-Date: 2024-02-25 02:33+0100\n"
 "PO-Revision-Date: 2024-02-24 20:06+0000\n"
 "Last-Translator: Stefan Kügel <skuegel@web.de>\n"
 "Language-Team: German <https://weblate.taler.net/projects/taler-ops/website/";
@@ -24,14 +24,10 @@ msgstr ""
 msgid "Taler Operations AG, Biel, Switzerland"
 msgstr "Taler Operations AG, Biel, Schweiz"
 
-#: common/footer.j2.inc:12 common/footer.j2.inc:14 common/footer.old.j2.inc:12
+#: common/footer.j2.inc:12 common/footer.old.j2.inc:12
 msgid "Switzerland"
 msgstr "Schweiz"
 
-#: common/footer.j2.inc:14
-msgid "Biel"
-msgstr ""
-
 #: common/footer.j2.inc:20 common/footer.old.j2.inc:20
 msgid "Quick Links"
 msgstr "Seitenübersicht"
@@ -91,9 +87,9 @@ msgstr "AML-Beauftragte"
 msgid "Copyright"
 msgstr "Copyright"
 
-#: common/footer.j2.inc:84
-msgid "Licensed under the GNU Free Documentation License"
-msgstr ""
+#: common/footer.j2.inc:84 common/footer.old.j2.inc:84
+msgid "License"
+msgstr "Lizenz"
 
 #: common/footer.j2.inc:88 common/footer.old.j2.inc:88
 #, fuzzy
@@ -114,10 +110,6 @@ msgstr ""
 "Besuchern. Diese werden jedoch ausschließlich zur Fehlersuche und "
 "Problembehebung ausgewertet."
 
-#: common/footer.old.j2.inc:84
-msgid "License"
-msgstr "Lizenz"
-
 #: common/navigation.j2.inc:3
 msgid "Skip to main content"
 msgstr "Navigationsmenü überspringen"
diff --git a/locale/en/LC_MESSAGES/messages.po 
b/locale/en/LC_MESSAGES/messages.po
index 132240c..1ef90b2 100644
--- a/locale/en/LC_MESSAGES/messages.po
+++ b/locale/en/LC_MESSAGES/messages.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PROJECT VERSION\n"
 "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2024-02-25 02:18+0100\n"
+"POT-Creation-Date: 2024-02-25 02:33+0100\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -22,14 +22,10 @@ msgstr ""
 msgid "Taler Operations AG, Biel, Switzerland"
 msgstr ""
 
-#: common/footer.j2.inc:12 common/footer.j2.inc:14 common/footer.old.j2.inc:12
+#: common/footer.j2.inc:12 common/footer.old.j2.inc:12
 msgid "Switzerland"
 msgstr ""
 
-#: common/footer.j2.inc:14
-msgid "Biel"
-msgstr ""
-
 #: common/footer.j2.inc:20 common/footer.old.j2.inc:20
 msgid "Quick Links"
 msgstr ""
@@ -89,8 +85,8 @@ msgstr ""
 msgid "Copyright"
 msgstr ""
 
-#: common/footer.j2.inc:84
-msgid "Licensed under the GNU Free Documentation License"
+#: common/footer.j2.inc:84 common/footer.old.j2.inc:84
+msgid "License"
 msgstr ""
 
 #: common/footer.j2.inc:88 common/footer.old.j2.inc:88
@@ -101,10 +97,6 @@ msgid ""
 "exclusively for troubleshooting or problem mitigation."
 msgstr ""
 
-#: common/footer.old.j2.inc:84
-msgid "License"
-msgstr ""
-
 #: common/navigation.j2.inc:3
 msgid "Skip to main content"
 msgstr ""
diff --git a/locale/fr/LC_MESSAGES/messages.po 
b/locale/fr/LC_MESSAGES/messages.po
index 5211f7d..7c798b3 100644
--- a/locale/fr/LC_MESSAGES/messages.po
+++ b/locale/fr/LC_MESSAGES/messages.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PROJECT VERSION\n"
 "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2024-02-25 02:18+0100\n"
+"POT-Creation-Date: 2024-02-25 02:33+0100\n"
 "PO-Revision-Date: 2024-02-12 18:13+0000\n"
 "Last-Translator: Stefan Kügel <skuegel@web.de>\n"
 "Language-Team: French <https://weblate.taler.net/projects/taler-ops/website/";
@@ -24,14 +24,10 @@ msgstr ""
 msgid "Taler Operations AG, Biel, Switzerland"
 msgstr "Taler Operations AG, Bienne, Suisse"
 
-#: common/footer.j2.inc:12 common/footer.j2.inc:14 common/footer.old.j2.inc:12
+#: common/footer.j2.inc:12 common/footer.old.j2.inc:12
 msgid "Switzerland"
 msgstr ""
 
-#: common/footer.j2.inc:14
-msgid "Biel"
-msgstr ""
-
 #: common/footer.j2.inc:20 common/footer.old.j2.inc:20
 msgid "Quick Links"
 msgstr "Liens directs"
@@ -93,9 +89,9 @@ msgstr "Agent de lutte contre le blanchiment d'argent"
 msgid "Copyright"
 msgstr "Droits d'auteur"
 
-#: common/footer.j2.inc:84
-msgid "Licensed under the GNU Free Documentation License"
-msgstr ""
+#: common/footer.j2.inc:84 common/footer.old.j2.inc:84
+msgid "License"
+msgstr "Licence"
 
 #: common/footer.j2.inc:88 common/footer.old.j2.inc:88
 #, fuzzy
@@ -111,10 +107,6 @@ msgstr ""
 "Toutefois, celles-ci ne sont consultées exclusivement pour des besoins de "
 "dépannages ou de résolution de problème."
 
-#: common/footer.old.j2.inc:84
-msgid "License"
-msgstr "Licence"
-
 #: common/navigation.j2.inc:3
 msgid "Skip to main content"
 msgstr "Aller au menu principal"
diff --git a/locale/messages.pot b/locale/messages.pot
index c4ef332..014370c 100644
--- a/locale/messages.pot
+++ b/locale/messages.pot
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PROJECT VERSION\n"
 "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2024-02-25 02:18+0100\n"
+"POT-Creation-Date: 2024-02-25 02:33+0100\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -21,14 +21,10 @@ msgstr ""
 msgid "Taler Operations AG, Biel, Switzerland"
 msgstr ""
 
-#: common/footer.j2.inc:12 common/footer.j2.inc:14 common/footer.old.j2.inc:12
+#: common/footer.j2.inc:12 common/footer.old.j2.inc:12
 msgid "Switzerland"
 msgstr ""
 
-#: common/footer.j2.inc:14
-msgid "Biel"
-msgstr ""
-
 #: common/footer.j2.inc:20 common/footer.old.j2.inc:20
 msgid "Quick Links"
 msgstr ""
@@ -88,8 +84,8 @@ msgstr ""
 msgid "Copyright"
 msgstr ""
 
-#: common/footer.j2.inc:84
-msgid "Licensed under the GNU Free Documentation License"
+#: common/footer.j2.inc:84 common/footer.old.j2.inc:84
+msgid "License"
 msgstr ""
 
 #: common/footer.j2.inc:88 common/footer.old.j2.inc:88
@@ -100,10 +96,6 @@ msgid ""
 "exclusively for troubleshooting or problem mitigation."
 msgstr ""
 
-#: common/footer.old.j2.inc:84
-msgid "License"
-msgstr ""
-
 #: common/navigation.j2.inc:3
 msgid "Skip to main content"
 msgstr ""
diff --git a/static/images/logo/taler-full-white-text.svg 
b/static/images/logo/taler-full-white-text.svg
new file mode 100644
index 0000000..2f1f1e4
--- /dev/null
+++ b/static/images/logo/taler-full-white-text.svg
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   width="670"
+   height="300"
+   viewBox="0 0 201 90"
+   version="1.1"
+   id="svg8"
+   sodipodi:docname="taler-logo-2021-inkscape.svg"
+   inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)">
+  <sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     objecttolerance="10"
+     gridtolerance="10"
+     guidetolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:window-width="1920"
+     inkscape:window-height="1009"
+     id="namedview18"
+     showgrid="false"
+     inkscape:zoom="2.3522388"
+     inkscape:cx="95.803701"
+     inkscape:cy="148.33935"
+     inkscape:window-x="0"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="logo"
+     inkscape:document-rotation="0"
+     viewbox-width="201"
+     scale-x="0.3" />
+  <metadata
+     id="metadata20">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <defs
+     id="defs18" />
+  <g
+     id="logo">
+    <g
+       id="circles"
+       
style="fill:#0042b3;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.327943">
+      <path
+         d="m 86.662153,1.1211936 c 15.589697,0 29.129227,9.4011664 
35.961027,23.2018054 h -5.81736 C 110.4866,13.623304 99.349002,6.5180852 
86.662153,6.5180852 c -19.690571,0 -35.652876,17.1120008 -35.652876,38.2205688 
0,10.331797 3.825597,19.704678 10.03957,26.582945 -1.342357,1.120912 
-2.771532,2.127905 -4.275488,3.006754 C 50.071485,66.553412 45.974857,56.15992 
45.974857,44.738654 c 0,-24.089211 18.216325,-43.6174604 40.687296,-43.6174604 
z M 122.51416,65.375898 c -6.86645,13.680134  [...]
+         id="path2350" />
+      <path
+         d="m 64.212372,1.1211936 c 1.052607,0 2.095998,0.042919 
3.128684,0.1270583 C 64.288864,2.8094199 61.427378,4.728606 58.802653,6.9555572 
41.679542,9.7498571 28.559494,25.601563 28.559494,44.738654 c 0,14.264563 
7.29059,26.702023 18.093843,33.268925 -1.593656,0.26719 -3.226966,0.406948 
-4.890748,0.406948 -1.239545,0 -2.46151,-0.07952 -3.663522,-0.229364 C 
29.191129,70.184015 23.525076,58.171633 23.525076,44.738654 23.525076,20.649443 
41.7414,1.1211936 64.212372,1.1211936 Z M 69.62 [...]
+         id="path2352" />
+      <path
+         d="m 41.762589,1.1211936 c 1.064296,0 2.118804,0.044379 
3.162607,0.1302161 -3.046523,1.558961 -5.903162,3.4745139 -8.52358,5.6968133 C 
19.254624,9.7205882 6.1097128,25.583465 6.1097128,44.738654 c 0,21.108568 
15.9624012,38.22057 35.6528762,38.22057 12.599746,0 23.672446,-7.007056 
30.013748,-17.583802 h 5.838515 C 70.748498,79.055727 57.26924,88.356116 
41.762589,88.356116 c -22.470907,0 -40.6871998,-19.52825 -40.6871998,-43.617462 
0,-24.089211 18.2162928,-43.6174604 40.6871998,-4 [...]
+         id="path2354" />
+    </g>
+    <g
+       id="letters" fill="#fff">
+      <path
+         d="m 76.135411,34.409066 h 9.161042 V 29.36588 H 61.857537 v 5.043186 
h 9.161137 v 25.92317 h 5.116737 z"
+         id="path2346" />
+      <path
+         d="m 92.647571,52.856334 h 13.659009 l 2.93009,7.476072 h 5.36461 L 
101.89122,29.144903 H 97.187186 L 84.477089,60.332406 h 5.199533 z m 
11.802109,-4.822276 h -9.944771 l 4.951718,-12.386462 z"
+         id="path2362" />
+      <path
+         d="m 123.80641,29.366084 h -4.58038 v 30.966322 h 20.54728 v 
-4.910253 c -5.32227,0 -10.64463,0 -15.9669,0 z"
+         id="path2356" />
+      <path
+         d="m 166.4722,29.366084 h -21.37564 v 30.966322 h 21.58203 v 
-4.910253 h -16.54771 v -8.27275 h 14.48439 V 42.23925 h -14.48439 v -7.962811 
h 16.34132 z"
+         id="path2360" />
+      <path
+         d="m 191.19035,39.474593 c 0,1.59947 -0.53646,2.87535 
-1.61628,3.818883 -1.07281,0.95124 -2.52409,1.422837 -4.34678,1.422837 h 
-7.44851 V 34.276439 h 7.4073 c 1.9051,0 3.38376,0.435027 4.42939,1.312178 
1.05226,0.870258 1.57488,2.167734 1.57488,3.885976 z m 6.06602,20.857813 
-7.79911,-11.723191 c 1.01771,-0.294794 1.94631,-0.714813 2.78553,-1.260566 
0.83885,-0.545619 1.56122,-1.209263 2.16629,-1.990627 0.60541,-0.781738 
1.07981,-1.681096 1.42369,-2.698345 0.34378,-1.017553 0.5156 [...]
+         id="path2358" />
+    </g>
+  </g>
+</svg>
\ No newline at end of file
diff --git a/static/postcss/tailwind.postcss b/static/postcss/tailwind.css
similarity index 100%
rename from static/postcss/tailwind.postcss
rename to static/postcss/tailwind.css
diff --git a/tailwind.config.js b/tailwind.config.js
index 7291aee..f62fe19 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -2,12 +2,22 @@ const defaultFonts =
   `system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, 
Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif`.split(
     ', ',
   );
-
+const ext = [
+  'html',
+  'tsx',
+  'jsx',
+  'ts',
+  'js',
+  'css',
+  'scss',
+  'sass',
+  'postcss',
+];
 /** @type {import('tailwindcss').Config} */
 module.exports = {
   content: [
-    'rendered/**/*.{html,tsx,jsx,ts,js}',
-    'rendered/*.{html,tsx,jsx,ts,js}',
+    'rendered/**/*.{' + ext.join(',') + '}',
+    'rendered/*.{' + ext.join(',') + '}',
   ],
   theme: {
     extend: {

-- 
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]