Commit Graph

249 Commits

Author SHA1 Message Date
Jérôme Charaoui
6e2a466f57
cleanup obsolete macro 2024-10-23 13:11:08 -04:00
Jérôme Charaoui
5edacd6d02
update trademark policy link in footer 2024-10-23 13:10:20 -04:00
Jérôme Charaoui
b3a1686825
un-capitalize internet to match about:tor text 2024-10-09 14:18:42 -04:00
emmapeel
5df08be384 separate the strings so the translation memory coincides with other translations 2024-10-02 18:18:23 +00:00
Jérôme Charaoui
4c16f26b23
persist yec banner close during navigation
While the checkbox persistence mechanism is clever for not requiring
javascript, it only really works for reloads of the *same* page/url. The
checkbox only remembers its state on a given page, not all pages of the
same site. For example, even if the visitor closes the banner on the front
page, it will be shown when navigating to /about, and so forth.

This leverages the browser's sessionStorage to remember when the banner
is closed, and persists for all pages of the same website until the browser
session or tab is closed, which should be much more convenient for casual
visitors.
2024-10-02 11:06:14 -04:00
Jérôme Charaoui
06a378d2bf
implement yec 2024 (tpo/web/tpo#453) 2024-10-02 09:49:57 -04:00
Jérôme Charaoui
6778dfc45f
support external URLs in redirect template
for tpo/tpa/team#41687
2024-07-30 12:24:13 -04:00
emma peel
75f9a417f8 no need to keep translating this strings, as they are not used on the websites anymore 2024-01-29 11:38:32 +01:00
kez
e526f10379 YEC match has been reached
See tpo/web/donate-static#129
2023-12-13 15:33:58 +01:00
kez
8245dc7df2 Fix donate button font size 2023-11-30 16:26:48 +01:00
kez
1125343192 Remove header tags in footer for proper semantics 2023-11-30 16:01:14 +01:00
kez
ff0e0bd9b0 Revert "Remove header tags in footer for proper semantics"
This reverts commit d5bd84e168.
2023-11-30 15:59:29 +01:00
kez
d5bd84e168 Remove header tags in footer for proper semantics 2023-11-30 15:40:50 +01:00
kezzle
cb9c5cae79 Merge branch 'tpoi336-donate-link' into 'main'
Remove h4 tag in donate link for proper semantics

Closes tpo#336

See merge request tpo/web/lego!90
2023-11-30 14:10:58 +00:00
kez
f51752d810 Remove h4 tag in donate link for proper semantics
Closes tpo#336
2023-11-30 14:51:48 +01:00
kez
0add02f5ac Add friends of tor match text to YEC banner
tpo/web/donate-static#129
tpo/web/tpo#392
2023-11-15 18:50:30 +01:00
Jérôme Charaoui
766dfca651 Merge branch 'no-hardcoded-capitalization' into 'main'
prevent hardcoded capitalization

Closes tpo#390

See merge request tpo/web/lego!88
2023-11-06 15:14:50 +00:00
emmapeel
69428eb541 prevent hardcoded capitalization 2023-11-06 15:14:49 +00:00
Jérôme Charaoui
894815bfbf
fix footer donate button always hidden
turns out that _donate.scss is actually processed on all websites, so
this doesn't work, so instead just prevent the template from generating
the button html on donate.tpo
2023-10-19 14:55:19 -04:00
Jérôme Charaoui
aefaa6195a
hide footer donate button on donate.tpo 2023-10-19 09:33:48 -04:00
Jérôme Charaoui
e2661d1f27
hide language dropdown in footer when english-only
this is needed for the donate website which uses i18n but only has one
language (english) enabled
2023-10-19 09:32:27 -04:00
Jérôme Charaoui
10adf9b548
rework onion pattern on footer
use direction: rtl to anchor the image on the right to avoid the need to
use a background image which scales badly on different browser window
sizes

this way the height of the image remains identical no matter the width
of the viewport
2023-10-18 22:59:11 -04:00
Jérôme Charaoui
5b80983480
additional yec 2023 banner text fix (tpo/web/tpo#385) 2023-10-17 16:11:41 -04:00
Jérôme Charaoui
895c1ef229
fix yec 2023 banner text (tpo/web/tpo#385) 2023-10-17 16:06:41 -04:00
Jérôme Charaoui
2eccdda68a
fix yec 2023 banner text direction (tpo/web/lego#61) 2023-10-16 16:00:28 -04:00
Gaba
a1c4ffec5f Merge branch 'a91y-main-patch-34506' into 'main'
Added gitlab url to footer.html

Closes #60

See merge request tpo/web/lego!85
2023-10-16 13:24:20 +00:00
Jérôme Charaoui
d9f096f3f4
Implement YEC 2023 banner
Context: tpo/web/tpo#385
Milestone: https://gitlab.torproject.org/groups/tpo/-/milestones/50

Co-authored-by: kez <kez@torproject.org>
2023-10-13 09:07:39 -04:00
a91y
3fc0c56a95 Added gitlab url to footer.html 2023-07-23 12:28:30 +00:00
emmapeel
4f1810e131 New forum link 2023-06-26 14:49:44 +00:00
kez
0a7a610792 Hide donation match text 2023-02-06 14:58:07 -08:00
kez
8ab1406ed1 Remove YEC banner
Closes #59
2023-01-06 12:27:43 -08:00
kez
05134811d0 Ignore missing YEC banner for sites that don't it 2022-12-01 07:47:53 -08:00
kez
4235296de5 Simplify robots.txt
The robots.txt spec isn't as strict as I thought, so we don't need to worry
about whitespace or capitalization
2022-11-07 10:17:41 -08:00
kez
ae268f2d69 Disallow entire directories instead of globbing 2022-11-07 10:12:23 -08:00
kez
521c4d65f4 Remove Disallow /static/ from robots.txt
Disallowing /static means our images can't be indexed.
It also breaks twitter's metacards (see tpo/web/donate-static#97)
2022-11-07 10:11:19 -08:00
kez
6ee56deb7a fix donate url 2022-10-12 12:32:08 -07:00
kez
d4b18d2626 update layout 2022-10-12 10:52:32 -07:00
kez
26bae92cf8 use asseturl for banner img srcset 2022-10-12 10:52:32 -07:00
kez
c88f8afab7 add png fallback for svg close icon 2022-10-07 15:37:41 -07:00
kez
a7885d4972 fix spacing 2022-10-07 12:32:15 -07:00
kez
621c2e685f make the close button work properly 2022-10-06 17:12:49 -07:00
HackerNCoder
59fdedbea5 Add YEC '22 banner 2022-09-30 10:56:34 +00:00
kez
48ec5a58c3 Fix error when the robots_txt databag doesn't exist 2022-06-30 21:23:37 -07:00
kezzle
566e15b971 Merge branch 'i7-robots-txt' into 'main'
Add an extensible template for robots.txt

Closes #7

See merge request tpo/web/lego!65
2022-06-30 19:28:41 +00:00
Gus
9e7d362fce Add telegram channel 2022-06-30 01:36:07 +00:00
kez
2f5127ae74 Add an extensible template for robots.txt 2022-06-29 18:04:42 -07:00
kezzle
ebded39df0 Merge branch 'correction' into 'main'
punctuation is part of the sentence. reported by translator  nr072,thanks!

See merge request tpo/web/lego!61
2022-06-13 21:12:26 +00:00
emma peel
430e3ac72e
punctuation is part of the sentence. reported by translator nr072,thanks! 2022-06-10 14:36:28 +00:00
kez
6cb9538c75 Make the navbar logo link to torproject.org/<locale>
Closes: #22
2022-05-17 11:22:52 -07:00
kez
b0253d0652 Re-enable the mobile header for donate 2022-04-13 11:47:52 -07:00