[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-ops-www] 03/06: some more stuff
From: |
gnunet |
Subject: |
[taler-taler-ops-www] 03/06: some more stuff |
Date: |
Sun, 25 Feb 2024 06:38:00 +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 3a8cdfffdced87015a3fcd410f3bbc365bc12167
Author: Nullptrderef <nullptrderef@national.shitposting.agency>
AuthorDate: Sun Feb 25 04:38:16 2024 +0100
some more stuff
---
common/footer.j2.inc | 4 ++--
common/navigation/items.j2.inc | 5 +++++
locale/de/LC_MESSAGES/messages.po | 3 ++-
locale/en/LC_MESSAGES/messages.po | 3 ++-
locale/fr/LC_MESSAGES/messages.po | 3 ++-
locale/messages.pot | 3 ++-
static/scss/_link.scss | 15 +++++++++++++++
static/scss/footer.scss | 6 ++++++
static/scss/global.scss | 1 -
static/scss/links.scss | 10 ----------
static/scss/util.scss | 4 ++++
11 files changed, 40 insertions(+), 17 deletions(-)
diff --git a/common/footer.j2.inc b/common/footer.j2.inc
index bff250e..ea2bee3 100644
--- a/common/footer.j2.inc
+++ b/common/footer.j2.inc
@@ -23,7 +23,7 @@
</div>
</div>
<div class="footer-col flex-1">
- <div class="footbox footmenu">
+ <div class="footer-items-list">
<h4 class="section-title">{% trans %}Quick Links{% endtrans %}</h4>
<ul>
<li>
@@ -53,7 +53,7 @@
</div>
</div>
<div class="footer-col flex-1">
- <div class="footbox footmenu">
+ <div class="footer-items-list">
<h4 class="section-title">{% trans %}Partners{% endtrans %}</h4>
<ul>
<li>
diff --git a/common/navigation/items.j2.inc b/common/navigation/items.j2.inc
index c70f28e..60de158 100644
--- a/common/navigation/items.j2.inc
+++ b/common/navigation/items.j2.inc
@@ -19,4 +19,9 @@
href="{{ url_localized('fees.html') }}"
>{% trans %}Fees{% endtrans %}</a
>
+ <a
+ class="no-underline hover:underline text-slate-500 hover:text-slate-400
transition-all"
+ href="https://exchange.taler-ops.ch/terms"
+ >{% trans %}Terms of Service{% endtrans %}</a
+ >
</nav>
diff --git a/locale/de/LC_MESSAGES/messages.po
b/locale/de/LC_MESSAGES/messages.po
index af3561d..689b6c6 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 04:26+0100\n"
+"POT-Creation-Date: 2024-02-25 04:29+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/"
@@ -48,6 +48,7 @@ msgid "Fees"
msgstr "Gebührenordnung"
#: common/footer.j2.inc:49 common/footer.old.j2.inc:43
+#: common/navigation/items.j2.inc:25
msgid "Terms of Service"
msgstr "AGB"
diff --git a/locale/en/LC_MESSAGES/messages.po
b/locale/en/LC_MESSAGES/messages.po
index f1ee9cd..f880d9a 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 04:26+0100\n"
+"POT-Creation-Date: 2024-02-25 04:29+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"
@@ -46,6 +46,7 @@ msgid "Fees"
msgstr ""
#: common/footer.j2.inc:49 common/footer.old.j2.inc:43
+#: common/navigation/items.j2.inc:25
msgid "Terms of Service"
msgstr ""
diff --git a/locale/fr/LC_MESSAGES/messages.po
b/locale/fr/LC_MESSAGES/messages.po
index 59f9e0d..6e4afa8 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 04:26+0100\n"
+"POT-Creation-Date: 2024-02-25 04:29+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/"
@@ -48,6 +48,7 @@ msgid "Fees"
msgstr "Frais"
#: common/footer.j2.inc:49 common/footer.old.j2.inc:43
+#: common/navigation/items.j2.inc:25
msgid "Terms of Service"
msgstr "Conditions d'utilisation"
diff --git a/locale/messages.pot b/locale/messages.pot
index 39a9070..c628693 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 04:26+0100\n"
+"POT-Creation-Date: 2024-02-25 04:29+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"
@@ -45,6 +45,7 @@ msgid "Fees"
msgstr ""
#: common/footer.j2.inc:49 common/footer.old.j2.inc:43
+#: common/navigation/items.j2.inc:25
msgid "Terms of Service"
msgstr ""
diff --git a/static/scss/_link.scss b/static/scss/_link.scss
new file mode 100644
index 0000000..20d4e99
--- /dev/null
+++ b/static/scss/_link.scss
@@ -0,0 +1,15 @@
+@mixin link {
+ cursor: pointer;
+ color: var(--link-clr-overwrite, #4160ff);
+ text-decoration: none;
+ transition: all 0.3s;
+ &:hover {
+ text-decoration: underline;
+ color: var(--hover-link-clr-overwrite, #4f6cfe);
+ }
+ .dark &,
+ &.dark {
+ --link-clr-overwrite: #99aaff;
+ --hover-link-clr-overwrite: #aaccff;
+ }
+}
diff --git a/static/scss/footer.scss b/static/scss/footer.scss
index d722647..e42e904 100644
--- a/static/scss/footer.scss
+++ b/static/scss/footer.scss
@@ -4,5 +4,11 @@ footer.footer {
font-size: 1.3rem;
font-weight: 600;
}
+ .footer-items-list {
+ @apply flex flex-col gap-2;
+ > ul {
+ @apply flex flex-col gap-1;
+ }
+ }
}
}
diff --git a/static/scss/global.scss b/static/scss/global.scss
index 17b5a4c..a9ff185 100644
--- a/static/scss/global.scss
+++ b/static/scss/global.scss
@@ -1,5 +1,4 @@
@use './navigation';
-@use './links.scss';
@use './fonts/fonts.scss';
@use './footer.scss';
@use './util.scss';
diff --git a/static/scss/links.scss b/static/scss/links.scss
deleted file mode 100644
index bd3ffe1..0000000
--- a/static/scss/links.scss
+++ /dev/null
@@ -1,10 +0,0 @@
-.link {
- cursor: pointer;
- color: #99aaff;
- text-decoration: none;
- transition: all 0.3s;
- &:hover {
- text-decoration: underline;
- color: #aaddff;
- }
-}
diff --git a/static/scss/util.scss b/static/scss/util.scss
index eab1ec8..c0c6702 100644
--- a/static/scss/util.scss
+++ b/static/scss/util.scss
@@ -1,3 +1,7 @@
+@use './link' as *;
main#maincontent:not(.no-full-width) {
@apply max-w-screen-xl px-8 md:px-16;
}
+.link {
+ @include link;
+}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-taler-ops-www] branch master updated (61b5ecd -> af2b757), gnunet, 2024/02/25
- [taler-taler-ops-www] 01/06: force it on top, gnunet, 2024/02/25
- [taler-taler-ops-www] 03/06: some more stuff,
gnunet <=
- [taler-taler-ops-www] 05/06: more landing changes, gnunet, 2024/02/25
- [taler-taler-ops-www] 02/06: some link styles, gnunet, 2024/02/25
- [taler-taler-ops-www] 04/06: things, gnunet, 2024/02/25
- [taler-taler-ops-www] 06/06: finish the landing page, gnunet, 2024/02/25