diff --git a/i18n/cs.toml b/i18n/cs.toml index fbbe2aa867..c651887820 100644 --- a/i18n/cs.toml +++ b/i18n/cs.toml @@ -395,7 +395,7 @@ other = "Nezisková organizace poskytující bezplatné TLS certifikáty pro ví other = "550 m" [home_hero_nonprofit_suffix] -other = "webových stránek" +other = "webových stránek." [projects_section_title] other = "Více způsobů, jak zlepšujeme bezpečnost a soukromí" diff --git a/i18n/en.toml b/i18n/en.toml index b3297ac6f7..b572ce680f 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -405,7 +405,7 @@ other = "ISRG" # Home Hero - home_hero_nonprofit_sentence used if language does not follow English word order [home_hero_nonprofit_sentence] -other = "A nonprofit providing free TLS certificates to more than ### websites" +other = "A nonprofit providing free TLS certificates to more than ### websites." [home_hero_nonprofit_prefix] other = "A nonprofit providing free TLS certificates to more than" @@ -414,7 +414,7 @@ other = "A nonprofit providing free TLS certificates to more than" other = "550M" [home_hero_nonprofit_suffix] -other = "websites" +other = "websites." [projects_section_title] other = "More ways we're improving security and privacy" diff --git a/i18n/zh-cn.toml b/i18n/zh-cn.toml index 4b731fcddd..95f106659a 100644 --- a/i18n/zh-cn.toml +++ b/i18n/zh-cn.toml @@ -392,7 +392,7 @@ other = "A nonprofit providing free TLS certificates to more than" other = "550M" [home_hero_nonprofit_suffix] -other = "websites" +other = "websites." [projects_section_title] other = "我们促进互联网安全与隐私的其他方式" diff --git a/themes/le-2025/assets/css/le-2025-theme-output.css b/themes/le-2025/assets/css/le-2025-theme-output.css index 18c0c4910d..160b4248a2 100644 --- a/themes/le-2025/assets/css/le-2025-theme-output.css +++ b/themes/le-2025/assets/css/le-2025-theme-output.css @@ -1813,30 +1813,30 @@ div[data-netlify-deploy-id] { height: 400px; } -.h-\[70px\] { - height: 70px; +.h-\[48px\] { + height: 48px; } -.h-full { - height: 100%; +.h-\[64px\] { + height: 64px; +} + +.h-\[70px\] { + height: 70px; } -.max-h-\[48px\] { - max-height: 48px; +.h-\[80px\] { + height: 80px; } -.max-h-\[64px\] { - max-height: 64px; +.h-full { + height: 100%; } .max-h-\[80\%\] { max-height: 80%; } -.max-h-\[80px\] { - max-height: 80px; -} - .min-h-full { min-height: 100%; } diff --git a/themes/le-2025/layouts/partials/components/sponsor-item.html b/themes/le-2025/layouts/partials/components/sponsor-item.html index 9c1b9d63dd..77e5c7c94e 100644 --- a/themes/le-2025/layouts/partials/components/sponsor-item.html +++ b/themes/le-2025/layouts/partials/components/sponsor-item.html @@ -2,8 +2,8 @@ {{ with .id }}id="{{ . }}"{{ end }} {{ with .nofollow }}rel="nofollow"{{ end }} {{ with .sponsored }}rel="sponsored"{{ end }} - class="border bg-white border-gray-200 rounded-lg p-2 flex items-center h-[70px] justify-center hover:border-gray-300 transition group"> + class="border bg-white border-gray-200 rounded-lg p-2 flex items-center h-[70px] justify-center hover:border-gray-300 transition group {{ .class }}"> {{ .name }} + class=" max-w-[80%] max-h-[80%] transition-transform duration-200 ease-in-out group-hover:scale-105"> \ No newline at end of file diff --git a/themes/le-2025/layouts/partials/sections/home-hero.html b/themes/le-2025/layouts/partials/sections/home-hero.html index 1e256b7737..7f68348fd5 100644 --- a/themes/le-2025/layouts/partials/sections/home-hero.html +++ b/themes/le-2025/layouts/partials/sections/home-hero.html @@ -9,7 +9,11 @@

{{ safeHTML (T "home_hero_heading") }}

- {{ T "home_hero_nonprofit_prefix" }} {{ T "home_hero_certificate_count" }} {{ T "home_hero_nonprofit_suffix" }}. + {{ if and (T "home_hero_nonprofit_prefix") (T "home_hero_certificate_count") (T "home_hero_nonprofit_suffix") }} + {{ T "home_hero_nonprofit_prefix" }} {{ T "home_hero_certificate_count" }} {{ T "home_hero_nonprofit_suffix" }} + {{ else if and (T "home_hero_nonprofit_sentence") (T "home_hero_certificate_count") }} + {{ replace (T "home_hero_nonprofit_sentence") "###" (T "home_hero_certificate_count") }} + {{ end }}


@@ -38,7 +42,7 @@

{{ T "home_hero_annual_report_title" }}

{{ T "home_hero_annual_report_description" }}

- + {{ T "home_hero_annual_report_button" }} →
diff --git a/themes/le-2025/layouts/partials/sections/sponsors.html b/themes/le-2025/layouts/partials/sections/sponsors.html index 403557bca8..e852deba52 100644 --- a/themes/le-2025/layouts/partials/sections/sponsors.html +++ b/themes/le-2025/layouts/partials/sections/sponsors.html @@ -10,7 +10,7 @@

{{ i18n "sponsors_heading" }}

{{ i18n "sponsors_diamond" }}

{{ range $sponsor := . }} - {{ partial "components/sponsor-item" (dict "url" .url "id" .id "nofollow" .nofollow "sponsored" .sponsored "image" .image "name" .name "class" "max-h-[80px]") }} + {{ partial "components/sponsor-item" (dict "url" .url "id" .id "nofollow" .nofollow "sponsored" .sponsored "image" .image "name" .name "class" "h-[80px]") }} {{ end }}
@@ -21,7 +21,7 @@

{{ i18n "sponsors_diamond" }}

{{ i18n "sponsors_platinum" }}

{{ range $sponsor := . }} - {{ partial "components/sponsor-item" (dict "url" .url "id" .id "nofollow" .nofollow "sponsored" .sponsored "image" .image "name" .name "class" "max-h-[64px]") }} + {{ partial "components/sponsor-item" (dict "url" .url "id" .id "nofollow" .nofollow "sponsored" .sponsored "image" .image "name" .name "class" "h-[64px]") }} {{ end }}
@@ -32,7 +32,7 @@

{{ i18n "sponsors_platinum" }}

{{ i18n "sponsors_gold" }}

{{ range $sponsor := . }} - {{ partial "components/sponsor-item" (dict "url" .url "id" .id "nofollow" .nofollow "sponsored" .sponsored "image" .image "name" .name "class" "max-h-[48px]") }} + {{ partial "components/sponsor-item" (dict "url" .url "id" .id "nofollow" .nofollow "sponsored" .sponsored "image" .image "name" .name "class" "h-[48px]") }} {{ end }}
@@ -43,7 +43,7 @@

{{ i18n "sponsors_gold" }}

{{ i18n "sponsors_silver" }}

{{ range $sponsor := . }} - {{ partial "components/sponsor-item" (dict "url" .url "id" .id "nofollow" .nofollow "sponsored" .sponsored "image" .image "name" .name "class" "max-h-[48px]") }} + {{ partial "components/sponsor-item" (dict "url" .url "id" .id "nofollow" .nofollow "sponsored" .sponsored "image" .image "name" .name "class" "h-[48px]") }} {{ end }}
diff --git a/themes/le-2025/layouts/partials/sections/support.html b/themes/le-2025/layouts/partials/sections/support.html index f0253be7e7..44042bc118 100644 --- a/themes/le-2025/layouts/partials/sections/support.html +++ b/themes/le-2025/layouts/partials/sections/support.html @@ -2,11 +2,16 @@

- {{ i18n "support_heading_base" }} {{ i18n "support_heading_word1" }} + {{ if and (i18n "support_heading_base") (i18n "support_heading_word1") (i18n "support_heading_word2") (i18n "support_heading_word3") (i18n "support_heading_word4") }} + {{ i18n "support_heading_base" }} + {{ i18n "support_heading_word1" }} + {{ else if i18n "support_heading_entire_sentence" }} + {{ i18n "support_heading_entire_sentence" }} + {{ end }}