Skip to content

Commit a74231e

Browse files
authored
Update number of websites (#2044)
Also fixes eslint error related to quoting in these files.
1 parent 5d2223e commit a74231e

File tree

4 files changed

+57
-57
lines changed

4 files changed

+57
-57
lines changed

i18n/en.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ other = "Trademark Policy"
248248
other = "Encryption for<br /> Everybody"
249249

250250
[home_hero_subheading]
251-
other = "A nonprofit providing free TLS certificates to more than <span class=\"relative inline-block\"><span class=\"invisible text-4xl\">650M</span><span id=\"certificate-count\" class=\"text-4xl absolute left-0\">650M</span></span> websites."
251+
other = "A nonprofit providing free TLS certificates to more than <span class=\"relative inline-block\"><span class=\"invisible text-4xl\">700M</span><span id=\"certificate-count\" class=\"text-4xl absolute left-0\">700M</span></span> websites."
252252

253253
[home_hero_get_started]
254254
other = "Get Started"
@@ -401,7 +401,7 @@ other = "A nonprofit providing free TLS certificates to more than ### websites"
401401
other = "A nonprofit providing free TLS certificates to more than"
402402

403403
[home_hero_certificate_count]
404-
other = "650M"
404+
other = "700M"
405405

406406
[home_hero_nonprofit_suffix]
407407
other = "websites"

package-lock.json

Lines changed: 49 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Let's Encrypt website",
55
"devDependencies": {
66
"autoprefixer": "^10.4.21",
7-
"eslint": "^9.32.0",
7+
"eslint": "^9.36.0",
88
"htmlhint": "^1.6.3",
99
"postcss": "^8.5.6",
1010
"postcss-cli": "^11.0.1",

themes/le-2025/assets/js/number-animation.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
document.addEventListener('DOMContentLoaded', function() {
2-
const countElement = document.getElementById('certificate-count');
1+
document.addEventListener("DOMContentLoaded", function() {
2+
const countElement = document.getElementById("certificate-count");
33
if (!countElement) return;
44

5-
const finalNumber = 650;
5+
const finalNumber = 700;
66
const duration = 1000;
77

8-
countElement.textContent = '0M';
8+
countElement.textContent = "0M";
99

1010
setTimeout(() => {
1111
const startTime = performance.now();
@@ -16,7 +16,7 @@ document.addEventListener('DOMContentLoaded', function() {
1616
const easeIn = t => t * t;
1717
const easedProgress = easeIn(progress);
1818
const currentNumber = Math.round(easedProgress * finalNumber);
19-
countElement.textContent = currentNumber + 'M';
19+
countElement.textContent = currentNumber + "M";
2020

2121
if (progress < 1) {
2222
requestAnimationFrame(updateCount);

0 commit comments

Comments
 (0)