@jjlmoya/utils-nature 1.12.0 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/package.json +1 -1
  2. package/src/pages/[locale]/[slug].astro +32 -14
  3. package/src/tests/locale_completeness.test.ts +1 -31
  4. package/src/tests/shared-test-helpers.ts +56 -0
  5. package/src/tests/tool_exports.test.ts +34 -0
  6. package/src/tool/cricketThermometer/bibliography.ts +12 -0
  7. package/src/tool/cricketThermometer/cricket-thermometer.css +4 -4
  8. package/src/tool/cricketThermometer/i18n/de.ts +2 -14
  9. package/src/tool/cricketThermometer/i18n/en.ts +2 -14
  10. package/src/tool/cricketThermometer/i18n/es.ts +2 -14
  11. package/src/tool/cricketThermometer/i18n/fr.ts +2 -14
  12. package/src/tool/cricketThermometer/i18n/id.ts +2 -14
  13. package/src/tool/cricketThermometer/i18n/it.ts +2 -14
  14. package/src/tool/cricketThermometer/i18n/ja.ts +2 -14
  15. package/src/tool/cricketThermometer/i18n/ko.ts +2 -14
  16. package/src/tool/cricketThermometer/i18n/nl.ts +2 -14
  17. package/src/tool/cricketThermometer/i18n/pl.ts +2 -14
  18. package/src/tool/cricketThermometer/i18n/pt.ts +2 -14
  19. package/src/tool/cricketThermometer/i18n/ru.ts +2 -14
  20. package/src/tool/cricketThermometer/i18n/sv.ts +2 -14
  21. package/src/tool/cricketThermometer/i18n/tr.ts +2 -14
  22. package/src/tool/cricketThermometer/i18n/zh.ts +2 -14
  23. package/src/tool/cricketThermometer/seo.astro +1 -1
  24. package/src/tool/cricketThermometer/ui.ts +0 -2
  25. package/src/tool/digitalCarbon/bibliography.ts +8 -0
  26. package/src/tool/digitalCarbon/digital-carbon-footprint-calculator.css +11 -11
  27. package/src/tool/digitalCarbon/i18n/de.ts +2 -8
  28. package/src/tool/digitalCarbon/i18n/en.ts +2 -8
  29. package/src/tool/digitalCarbon/i18n/es.ts +2 -8
  30. package/src/tool/digitalCarbon/i18n/fr.ts +2 -8
  31. package/src/tool/digitalCarbon/i18n/id.ts +2 -8
  32. package/src/tool/digitalCarbon/i18n/it.ts +2 -8
  33. package/src/tool/digitalCarbon/i18n/ja.ts +2 -8
  34. package/src/tool/digitalCarbon/i18n/ko.ts +2 -8
  35. package/src/tool/digitalCarbon/i18n/nl.ts +2 -8
  36. package/src/tool/digitalCarbon/i18n/pl.ts +2 -8
  37. package/src/tool/digitalCarbon/i18n/pt.ts +2 -8
  38. package/src/tool/digitalCarbon/i18n/ru.ts +2 -8
  39. package/src/tool/digitalCarbon/i18n/sv.ts +2 -8
  40. package/src/tool/digitalCarbon/i18n/tr.ts +2 -8
  41. package/src/tool/digitalCarbon/i18n/zh.ts +2 -8
  42. package/src/tool/digitalCarbon/seo.astro +1 -1
  43. package/src/tool/rainHarvester/bibliography.ts +20 -0
  44. package/src/tool/rainHarvester/i18n/de.ts +2 -20
  45. package/src/tool/rainHarvester/i18n/en.ts +2 -20
  46. package/src/tool/rainHarvester/i18n/es.ts +2 -20
  47. package/src/tool/rainHarvester/i18n/fr.ts +2 -20
  48. package/src/tool/rainHarvester/i18n/id.ts +2 -20
  49. package/src/tool/rainHarvester/i18n/it.ts +2 -20
  50. package/src/tool/rainHarvester/i18n/ja.ts +2 -20
  51. package/src/tool/rainHarvester/i18n/ko.ts +2 -20
  52. package/src/tool/rainHarvester/i18n/nl.ts +2 -20
  53. package/src/tool/rainHarvester/i18n/pl.ts +2 -20
  54. package/src/tool/rainHarvester/i18n/pt.ts +2 -20
  55. package/src/tool/rainHarvester/i18n/ru.ts +2 -20
  56. package/src/tool/rainHarvester/i18n/sv.ts +2 -20
  57. package/src/tool/rainHarvester/i18n/tr.ts +2 -20
  58. package/src/tool/rainHarvester/i18n/zh.ts +2 -20
  59. package/src/tool/rainHarvester/rainwater-calculator.css +1 -1
  60. package/src/tool/rainHarvester/seo.astro +1 -1
  61. package/src/tool/seedCalculator/bibliography.ts +16 -0
  62. package/src/tool/seedCalculator/i18n/de.ts +2 -18
  63. package/src/tool/seedCalculator/i18n/en.ts +2 -18
  64. package/src/tool/seedCalculator/i18n/es.ts +2 -18
  65. package/src/tool/seedCalculator/i18n/fr.ts +2 -18
  66. package/src/tool/seedCalculator/i18n/id.ts +2 -18
  67. package/src/tool/seedCalculator/i18n/it.ts +2 -18
  68. package/src/tool/seedCalculator/i18n/ja.ts +2 -18
  69. package/src/tool/seedCalculator/i18n/ko.ts +2 -18
  70. package/src/tool/seedCalculator/i18n/nl.ts +2 -18
  71. package/src/tool/seedCalculator/i18n/pl.ts +2 -18
  72. package/src/tool/seedCalculator/i18n/pt.ts +2 -18
  73. package/src/tool/seedCalculator/i18n/ru.ts +2 -18
  74. package/src/tool/seedCalculator/i18n/sv.ts +2 -18
  75. package/src/tool/seedCalculator/i18n/tr.ts +2 -18
  76. package/src/tool/seedCalculator/i18n/zh.ts +2 -18
  77. package/src/tool/seedCalculator/seed-calculator.css +11 -11
  78. package/src/tool/seedCalculator/seo.astro +8 -2
  79. package/src/tool/seedCalculator/ui.ts +0 -2
  80. package/src/types.ts +0 -2
@@ -1,4 +1,5 @@
1
1
  import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import { bibliography } from '../bibliography';
2
3
  import type { ToolLocaleContent } from '../../../types';
3
4
  import type { CricketThermometerUI } from '../ui';
4
5
 
@@ -87,19 +88,8 @@ export const content: ToolLocaleContent<CricketThermometerUI> = {
87
88
  slug,
88
89
  title,
89
90
  description,
90
- faqTitle: 'Часто задаваемые вопросы',
91
91
  faq: faqData,
92
- bibliographyTitle: 'Научные источники',
93
- bibliography: [
94
- {
95
- name: 'The American Naturalist - The Cricket as a Thermometer',
96
- url: 'https://www.jstor.org/stable/2453256',
97
- },
98
- {
99
- name: 'Wikipedia - Dolbear\'s Law',
100
- url: 'https://en.wikipedia.org/wiki/Dolbear%27s_law',
101
- },
102
- ],
92
+ bibliography,
103
93
  howTo: howToData,
104
94
  schemas: [faqSchema, howToSchema, appSchema],
105
95
  seo: [
@@ -175,7 +165,5 @@ export const content: ToolLocaleContent<CricketThermometerUI> = {
175
165
  btnSoundOn: 'Звук: Вкл.',
176
166
  btnSoundOff: 'Звук: Выкл.',
177
167
  unitChirpsMin: 'стр./мин',
178
- faqTitle: 'Часто задаваемые вопросы',
179
- bibliographyTitle: 'Научные источники',
180
168
  },
181
169
  };
@@ -1,4 +1,5 @@
1
1
  import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import { bibliography } from '../bibliography';
2
3
  import type { ToolLocaleContent } from '../../../types';
3
4
  import type { CricketThermometerUI } from '../ui';
4
5
 
@@ -87,19 +88,8 @@ export const content: ToolLocaleContent<CricketThermometerUI> = {
87
88
  slug,
88
89
  title,
89
90
  description,
90
- faqTitle: 'Vanliga frågor',
91
91
  faq: faqData,
92
- bibliographyTitle: 'Vetenskapliga referenser',
93
- bibliography: [
94
- {
95
- name: 'The American Naturalist - The Cricket as a Thermometer',
96
- url: 'https://www.jstor.org/stable/2453256',
97
- },
98
- {
99
- name: 'Wikipedia - Dolbear\'s Law',
100
- url: 'https://en.wikipedia.org/wiki/Dolbear%27s_law',
101
- },
102
- ],
92
+ bibliography,
103
93
  howTo: howToData,
104
94
  schemas: [faqSchema, howToSchema, appSchema],
105
95
  seo: [
@@ -175,7 +165,5 @@ export const content: ToolLocaleContent<CricketThermometerUI> = {
175
165
  btnSoundOn: 'Ljud: På',
176
166
  btnSoundOff: 'Ljud: Av',
177
167
  unitChirpsMin: 'spel/min',
178
- faqTitle: 'Vanliga frågor',
179
- bibliographyTitle: 'Vetenskapliga referenser',
180
168
  },
181
169
  };
@@ -1,4 +1,5 @@
1
1
  import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import { bibliography } from '../bibliography';
2
3
  import type { ToolLocaleContent } from '../../../types';
3
4
  import type { CricketThermometerUI } from '../ui';
4
5
 
@@ -87,19 +88,8 @@ export const content: ToolLocaleContent<CricketThermometerUI> = {
87
88
  slug,
88
89
  title,
89
90
  description,
90
- faqTitle: 'Sıkça Sorulan Sorular',
91
91
  faq: faqData,
92
- bibliographyTitle: 'Bilimsel Referanslar',
93
- bibliography: [
94
- {
95
- name: 'The American Naturalist - The Cricket as a Thermometer',
96
- url: 'https://www.jstor.org/stable/2453256',
97
- },
98
- {
99
- name: 'Wikipedia - Dolbear\'s Law',
100
- url: 'https://en.wikipedia.org/wiki/Dolbear%27s_law',
101
- },
102
- ],
92
+ bibliography,
103
93
  howTo: howToData,
104
94
  schemas: [faqSchema, howToSchema, appSchema],
105
95
  seo: [
@@ -175,7 +165,5 @@ export const content: ToolLocaleContent<CricketThermometerUI> = {
175
165
  btnSoundOn: 'Ses: Açık',
176
166
  btnSoundOff: 'Ses: Kapalı',
177
167
  unitChirpsMin: 'ötüş/dak',
178
- faqTitle: 'Sıkça Sorulan Sorular',
179
- bibliographyTitle: 'Bilimsel Referanslar',
180
168
  },
181
169
  };
@@ -1,4 +1,5 @@
1
1
  import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import { bibliography } from '../bibliography';
2
3
  import type { ToolLocaleContent } from '../../../types';
3
4
  import type { CricketThermometerUI } from '../ui';
4
5
 
@@ -87,19 +88,8 @@ export const content: ToolLocaleContent<CricketThermometerUI> = {
87
88
  slug,
88
89
  title,
89
90
  description,
90
- faqTitle: '常见问题',
91
91
  faq: faqData,
92
- bibliographyTitle: '科学参考文献',
93
- bibliography: [
94
- {
95
- name: 'The American Naturalist - The Cricket as a Thermometer',
96
- url: 'https://www.jstor.org/stable/2453256',
97
- },
98
- {
99
- name: 'Wikipedia - Dolbear\'s Law',
100
- url: 'https://en.wikipedia.org/wiki/Dolbear%27s_law',
101
- },
102
- ],
92
+ bibliography,
103
93
  howTo: howToData,
104
94
  schemas: [faqSchema, howToSchema, appSchema],
105
95
  seo: [
@@ -175,7 +165,5 @@ export const content: ToolLocaleContent<CricketThermometerUI> = {
175
165
  btnSoundOn: '声音:开启',
176
166
  btnSoundOff: '声音:关闭',
177
167
  unitChirpsMin: '次鸣叫/分',
178
- faqTitle: '常见问题',
179
- bibliographyTitle: '科学参考文献',
180
168
  },
181
169
  };
@@ -12,4 +12,4 @@ const content = await cricketThermometer.i18n[locale]?.();
12
12
  if (!content) return null;
13
13
  ---
14
14
 
15
- <SEORenderer content={{ locale: locale as string, sections: content.seo }} />
15
+ {content.seo?.length > 0 && <SEORenderer content={{ locale, sections: content.seo }} />}
@@ -6,6 +6,4 @@ export interface CricketThermometerUI extends Record<string, string> {
6
6
  btnSoundOn: string;
7
7
  btnSoundOff: string;
8
8
  unitChirpsMin: string;
9
- faqTitle: string;
10
- bibliographyTitle: string;
11
9
  }
@@ -0,0 +1,8 @@
1
+ import type { BibliographyEntry } from '../../types';
2
+
3
+ export const bibliography: BibliographyEntry[] = [
4
+ { name: 'Sustainable Web Design Model', url: 'https://sustainablewebdesign.org/' },
5
+ { name: 'Website Carbon Calculator', url: 'https://www.websitecarbon.com/' },
6
+ { name: 'The Green Web Foundation', url: 'https://www.thegreenwebfoundation.org/' },
7
+ { name: 'W3C - Web Sustainability Guidelines', url: 'https://w3c.github.io/sustyweb/' },
8
+ ];
@@ -14,7 +14,7 @@
14
14
  padding: 1rem;
15
15
  }
16
16
 
17
- :global(.theme-dark) .dc-wrap {
17
+ .theme-dark .dc-wrap {
18
18
  --dc-bg: #0f172a;
19
19
  --dc-bg-alt: #1e293b;
20
20
  --dc-border: #334155;
@@ -30,7 +30,7 @@
30
30
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
31
31
  }
32
32
 
33
- :global(.dc-results-wrapper) {
33
+ .dc-results-wrapper {
34
34
  display: grid;
35
35
  grid-template-columns: 1fr;
36
36
  border-top: 1px solid var(--dc-border);
@@ -38,7 +38,7 @@
38
38
  }
39
39
 
40
40
  @media (min-width: 1024px) {
41
- :global(.dc-results-wrapper) {
41
+ .dc-results-wrapper {
42
42
  grid-template-columns: 1.5fr 1fr;
43
43
  }
44
44
  }
@@ -146,12 +146,12 @@
146
146
  margin-top: 0.5rem;
147
147
  }
148
148
 
149
- :global(.btn-text.dc-hidden),
150
- :global(.btn-loader.dc-hidden) {
149
+ .btn-text.dc-hidden,
150
+ .btn-loader.dc-hidden {
151
151
  display: none;
152
152
  }
153
153
 
154
- :global(.dc-hidden) {
154
+ .dc-hidden {
155
155
  display: none;
156
156
  }
157
157
 
@@ -293,20 +293,20 @@
293
293
  color: var(--dc-text);
294
294
  }
295
295
 
296
- :global(.dc-impact-label) {
296
+ .dc-impact-label {
297
297
  font-size: 0.75rem;
298
298
  color: var(--dc-text-muted);
299
299
  font-weight: 600;
300
300
  }
301
301
 
302
- :global(.dc-tips-title) {
302
+ .dc-tips-title {
303
303
  font-size: 1.125rem;
304
304
  font-weight: 800;
305
305
  margin-bottom: 1.5rem;
306
306
  color: var(--dc-text);
307
307
  }
308
308
 
309
- :global(.dc-tips-list) {
309
+ .dc-tips-list {
310
310
  list-style: none;
311
311
  padding: 0;
312
312
  margin: 0;
@@ -315,7 +315,7 @@
315
315
  gap: 1rem;
316
316
  }
317
317
 
318
- :global(.dc-tips-list li) {
318
+ .dc-tips-list li {
319
319
  padding-left: 2rem;
320
320
  position: relative;
321
321
  font-size: 0.9375rem;
@@ -323,7 +323,7 @@
323
323
  line-height: 1.4;
324
324
  }
325
325
 
326
- :global(.dc-tips-list li::before) {
326
+ .dc-tips-list li::before {
327
327
  content: "→";
328
328
  position: absolute;
329
329
  left: 0;
@@ -1,4 +1,5 @@
1
1
  import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import { bibliography } from '../bibliography';
2
3
  import type { DigitalCarbonLocaleContent } from '../index';
3
4
 
4
5
  const slug = 'digitaler-co2-fussabdruck-rechner';
@@ -119,10 +120,8 @@ export const content: DigitalCarbonLocaleContent = {
119
120
  tipFonts: 'Laden Sie nur die Schriftschnitte, die Sie tatsächlich verwenden.',
120
121
  tipCache: 'Konfigurieren Sie HTTP-Cache-Header, um erneute Downloads zu vermeiden.',
121
122
  },
122
- faqTitle: 'Häufig gestellte Fragen',
123
123
  faq: faqData,
124
124
  howTo: howToData,
125
- bibliographyTitle: 'Referenzen zur Web-Nachhaltigkeit',
126
125
  seo: [
127
126
  {
128
127
  type: 'title',
@@ -225,11 +224,6 @@ export const content: DigitalCarbonLocaleContent = {
225
224
  html: 'Das Internet macht zwischen <strong>2 % und 4 % der weltweiten CO₂-Emissionen</strong> aus – ein Wert, der mit der Luftfahrtindustrie vergleichbar ist. Jedes Kilobyte, das Sie einsparen, macht nicht nur Ihre Website schneller: Es reduziert messbar die digitale Verschmutzung.',
226
225
  },
227
226
  ],
228
- bibliography: [
229
- { name: 'Sustainable Web Design Model', url: 'https://sustainablewebdesign.org/' },
230
- { name: 'Website Carbon Calculator', url: 'https://www.websitecarbon.com/' },
231
- { name: 'The Green Web Foundation', url: 'https://www.thegreenwebfoundation.org/' },
232
- { name: 'W3C - Web Sustainability Guidelines', url: 'https://w3c.github.io/sustyweb/' },
233
- ],
227
+ bibliography,
234
228
  schemas: [faqSchema, howToSchema, appSchema],
235
229
  };
@@ -1,4 +1,5 @@
1
1
  import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import { bibliography } from '../bibliography';
2
3
  import type { DigitalCarbonLocaleContent } from '../index';
3
4
 
4
5
  const slug = 'digital-carbon-footprint-calculator';
@@ -119,10 +120,8 @@ export const content: DigitalCarbonLocaleContent = {
119
120
  tipFonts: 'Load only the typographic weights you actually use.',
120
121
  tipCache: 'Configure HTTP cache headers to avoid re-downloads.',
121
122
  },
122
- faqTitle: 'Frequently Asked Questions',
123
123
  faq: faqData,
124
124
  howTo: howToData,
125
- bibliographyTitle: 'Web Sustainability References',
126
125
  seo: [
127
126
  {
128
127
  type: 'title',
@@ -225,11 +224,6 @@ export const content: DigitalCarbonLocaleContent = {
225
224
  html: 'The internet represents between <strong>2% and 4% of global CO₂ emissions</strong>, a figure comparable to the aviation industry. Every kilobyte you eliminate doesn\'t just make your website faster: it measurably reduces digital pollution.',
226
225
  },
227
226
  ],
228
- bibliography: [
229
- { name: 'Sustainable Web Design Model', url: 'https://sustainablewebdesign.org/' },
230
- { name: 'Website Carbon Calculator', url: 'https://www.websitecarbon.com/' },
231
- { name: 'The Green Web Foundation', url: 'https://www.thegreenwebfoundation.org/' },
232
- { name: 'W3C - Web Sustainability Guidelines', url: 'https://w3c.github.io/sustyweb/' },
233
- ],
227
+ bibliography,
234
228
  schemas: [faqSchema, howToSchema, appSchema],
235
229
  };
@@ -1,4 +1,5 @@
1
1
  import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import { bibliography } from '../bibliography';
2
3
  import type { DigitalCarbonLocaleContent } from '../index';
3
4
 
4
5
  const slug = 'calculadora-huella-carbono-digital';
@@ -119,16 +120,9 @@ export const content: DigitalCarbonLocaleContent = {
119
120
  tipFonts: 'Carga solo los pesos tipográficos que realmente usas.',
120
121
  tipCache: 'Configura cabeceras de caché HTTP para evitar re-descargas.',
121
122
  },
122
- faqTitle: 'Preguntas Frecuentes',
123
123
  faq: faqData,
124
124
  howTo: howToData,
125
- bibliographyTitle: 'Referencias de Sostenibilidad Web',
126
- bibliography: [
127
- { name: 'Sustainable Web Design Model', url: 'https://sustainablewebdesign.org/' },
128
- { name: 'Website Carbon Calculator', url: 'https://www.websitecarbon.com/' },
129
- { name: 'The Green Web Foundation', url: 'https://www.thegreenwebfoundation.org/' },
130
- { name: 'W3C - Web Sustainability Guidelines', url: 'https://w3c.github.io/sustyweb/' },
131
- ],
125
+ bibliography,
132
126
  seo: [
133
127
  {
134
128
  type: 'title',
@@ -1,4 +1,5 @@
1
1
  import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import { bibliography } from '../bibliography';
2
3
  import type { DigitalCarbonLocaleContent } from '../index';
3
4
 
4
5
  const slug = 'calculateur-empreinte-carbone-numerique';
@@ -119,10 +120,8 @@ export const content: DigitalCarbonLocaleContent = {
119
120
  tipFonts: 'Ne chargez que les graisses typographiques que vous utilisez réellement.',
120
121
  tipCache: 'Configurez les en-têtes de cache HTTP pour éviter les re-téléchargements.',
121
122
  },
122
- faqTitle: 'Questions Fréquemment Posées',
123
123
  faq: faqData,
124
124
  howTo: howToData,
125
- bibliographyTitle: 'Références sur la durabilité du web',
126
125
  seo: [
127
126
  {
128
127
  type: 'title',
@@ -225,11 +224,6 @@ export const content: DigitalCarbonLocaleContent = {
225
224
  html: 'Internet représente entre <strong>2% et 4% des émissions mondiales de CO₂</strong>, un chiffre comparable à l\'industrie aéronautique. Chaque kilo-octet éliminé ne rend pas seulement votre site plus rapide : il réduit de manière mesurable la pollution numérique.',
226
225
  },
227
226
  ],
228
- bibliography: [
229
- { name: 'Sustainable Web Design Model', url: 'https://sustainablewebdesign.org/' },
230
- { name: 'Website Carbon Calculator', url: 'https://www.websitecarbon.com/' },
231
- { name: 'The Green Web Foundation', url: 'https://www.thegreenwebfoundation.org/' },
232
- { name: 'W3C - Web Sustainability Guidelines', url: 'https://w3c.github.io/sustyweb/' },
233
- ],
227
+ bibliography,
234
228
  schemas: [faqSchema, howToSchema, appSchema],
235
229
  };
@@ -1,4 +1,5 @@
1
1
  import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import { bibliography } from '../bibliography';
2
3
  import type { DigitalCarbonLocaleContent } from '../index';
3
4
 
4
5
  const slug = 'kalkulator-jejak-karbon-digital';
@@ -119,10 +120,8 @@ export const content: DigitalCarbonLocaleContent = {
119
120
  tipFonts: 'Muat hanya tebal tipografi yang benar-benar Anda gunakan.',
120
121
  tipCache: 'Konfigurasikan header cache HTTP untuk menghindari pengunduhan ulang.',
121
122
  },
122
- faqTitle: 'Pertanyaan yang Sering Diajukan',
123
123
  faq: faqData,
124
124
  howTo: howToData,
125
- bibliographyTitle: 'Referensi Keberlanjutan Web',
126
125
  seo: [
127
126
  {
128
127
  type: 'title',
@@ -225,11 +224,6 @@ export const content: DigitalCarbonLocaleContent = {
225
224
  html: 'Internet mewakili antara <strong>2% dan 4% emisi CO₂ global</strong>, angka yang sebanding dengan industri penerbangan. Setiap kilobyte yang Anda hilangkan tidak hanya membuat situs web Anda lebih cepat: ia mengurangi polusi digital secara terukur.',
226
225
  },
227
226
  ],
228
- bibliography: [
229
- { name: 'Sustainable Web Design Model', url: 'https://sustainablewebdesign.org/' },
230
- { name: 'Website Carbon Calculator', url: 'https://www.websitecarbon.com/' },
231
- { name: 'The Green Web Foundation', url: 'https://www.thegreenwebfoundation.org/' },
232
- { name: 'W3C - Web Sustainability Guidelines', url: 'https://w3c.github.io/sustyweb/' },
233
- ],
227
+ bibliography,
234
228
  schemas: [faqSchema, howToSchema, appSchema],
235
229
  };
@@ -1,4 +1,5 @@
1
1
  import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import { bibliography } from '../bibliography';
2
3
  import type { DigitalCarbonLocaleContent } from '../index';
3
4
 
4
5
  const slug = 'calcolatore-impronta-carbonio-digitale';
@@ -119,10 +120,8 @@ export const content: DigitalCarbonLocaleContent = {
119
120
  tipFonts: 'Carica solo i pesi tipografici che usi effettivamente.',
120
121
  tipCache: 'Configura gli header della cache HTTP per evitare nuovi download.',
121
122
  },
122
- faqTitle: 'Domande Frequenti',
123
123
  faq: faqData,
124
124
  howTo: howToData,
125
- bibliographyTitle: 'Riferimenti alla sostenibilità web',
126
125
  seo: [
127
126
  {
128
127
  type: 'title',
@@ -225,11 +224,6 @@ export const content: DigitalCarbonLocaleContent = {
225
224
  html: 'Internet rappresenta tra il <strong>2% e il 4% delle emissioni globali di CO₂</strong>, una cifra paragonabile all\'industria dell\'aviazione. Ogni kilobyte rimosso non solo rende il tuo sito più veloce: riduce in modo misurabile l\'inquinamento digitale.',
226
225
  },
227
226
  ],
228
- bibliography: [
229
- { name: 'Sustainable Web Design Model', url: 'https://sustainablewebdesign.org/' },
230
- { name: 'Website Carbon Calculator', url: 'https://www.websitecarbon.com/' },
231
- { name: 'The Green Web Foundation', url: 'https://www.thegreenwebfoundation.org/' },
232
- { name: 'W3C - Web Sustainability Guidelines', url: 'https://w3c.github.io/sustyweb/' },
233
- ],
227
+ bibliography,
234
228
  schemas: [faqSchema, howToSchema, appSchema],
235
229
  };
@@ -1,4 +1,5 @@
1
1
  import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import { bibliography } from '../bibliography';
2
3
  import type { DigitalCarbonLocaleContent } from '../index';
3
4
 
4
5
  const slug = 'digital-carbon-footprint-calculator';
@@ -119,10 +120,8 @@ export const content: DigitalCarbonLocaleContent = {
119
120
  tipFonts: '実際に使用するフォントウェイトのみを読み込むようにしてください。',
120
121
  tipCache: 'HTTPキャッシュヘッダーを適切に設定し、不要な再ダウンロードを防いでください。',
121
122
  },
122
- faqTitle: 'よくある質問',
123
123
  faq: faqData,
124
124
  howTo: howToData,
125
- bibliographyTitle: 'ウェブ・サステナビリティに関する参考文献',
126
125
  seo: [
127
126
  {
128
127
  type: 'title',
@@ -225,11 +224,6 @@ export const content: DigitalCarbonLocaleContent = {
225
224
  html: 'インターネットは<strong>世界全体のCO₂排出量の2%から4%</strong>を占めており、これは航空業界にも匹敵する数字です。不要な数キロバイトを削ることは、単にサイトを速くするだけでなく、デジタル汚染を着実に減らすことにつながります。',
226
225
  },
227
226
  ],
228
- bibliography: [
229
- { name: 'Sustainable Web Design Model', url: 'https://sustainablewebdesign.org/' },
230
- { name: 'Website Carbon Calculator', url: 'https://www.websitecarbon.com/' },
231
- { name: 'The Green Web Foundation', url: 'https://www.thegreenwebfoundation.org/' },
232
- { name: 'W3C - Web Sustainability Guidelines', url: 'https://w3c.github.io/sustyweb/' },
233
- ],
227
+ bibliography,
234
228
  schemas: [faqSchema, howToSchema, appSchema],
235
229
  };
@@ -1,4 +1,5 @@
1
1
  import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import { bibliography } from '../bibliography';
2
3
  import type { DigitalCarbonLocaleContent } from '../index';
3
4
 
4
5
  const slug = 'digital-carbon-footprint-calculator';
@@ -119,10 +120,8 @@ export const content: DigitalCarbonLocaleContent = {
119
120
  tipFonts: '실제로 사용하는 폰트 굵기만 로드하세요.',
120
121
  tipCache: 'HTTP 캐시 헤더를 구성하여 재다운로드를 방지하세요.',
121
122
  },
122
- faqTitle: '자주 묻는 질문',
123
123
  faq: faqData,
124
124
  howTo: howToData,
125
- bibliographyTitle: '웹 지속 가능성 참고 문헌',
126
125
  seo: [
127
126
  {
128
127
  type: 'title',
@@ -225,11 +224,6 @@ export const content: DigitalCarbonLocaleContent = {
225
224
  html: '인터넷은 <strong>전 세계 CO₂ 배출량의 2%~4%</strong>를 차지하며, 이는 항공 산업과 맞먹는 수치입니다. 단 몇 킬로바이트라도 줄이는 것은 단순히 웹사이트를 빠르게 만드는 것이 아니라, 디지털 오염을 실질적으로 줄이는 일입니다.',
226
225
  },
227
226
  ],
228
- bibliography: [
229
- { name: 'Sustainable Web Design Model', url: 'https://sustainablewebdesign.org/' },
230
- { name: 'Website Carbon Calculator', url: 'https://www.websitecarbon.com/' },
231
- { name: 'The Green Web Foundation', url: 'https://www.thegreenwebfoundation.org/' },
232
- { name: 'W3C - Web Sustainability Guidelines', url: 'https://w3c.github.io/sustyweb/' },
233
- ],
227
+ bibliography,
234
228
  schemas: [faqSchema, howToSchema, appSchema],
235
229
  };
@@ -1,4 +1,5 @@
1
1
  import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import { bibliography } from '../bibliography';
2
3
  import type { DigitalCarbonLocaleContent } from '../index';
3
4
 
4
5
  const slug = 'digitale-co2-voetafdruk-calculator';
@@ -119,10 +120,8 @@ export const content: DigitalCarbonLocaleContent = {
119
120
  tipFonts: 'Laad alleen de lettertypegewichten die u daadwerkelijk gebruikt.',
120
121
  tipCache: 'Configureer HTTP-cache-headers om opnieuw downloaden te voorkomen.',
121
122
  },
122
- faqTitle: 'Veelgestelde vragen',
123
123
  faq: faqData,
124
124
  howTo: howToData,
125
- bibliographyTitle: 'Web-duurzaamheidsreferenties',
126
125
  seo: [
127
126
  {
128
127
  type: 'title',
@@ -225,11 +224,6 @@ export const content: DigitalCarbonLocaleContent = {
225
224
  html: 'Internet is verantwoordelijk voor tussen de <strong>2% en 4% van de wereldwijde CO₂-emissies</strong>, een cijfer dat vergelijkbaar is met de luchtvaartindustrie. Elke kilobyte die u verwijdert, maakt uw website niet alleen sneller: het vermindert meetbaar de digitale vervuiling.',
226
225
  },
227
226
  ],
228
- bibliography: [
229
- { name: 'Sustainable Web Design Model', url: 'https://sustainablewebdesign.org/' },
230
- { name: 'Website Carbon Calculator', url: 'https://www.websitecarbon.com/' },
231
- { name: 'The Green Web Foundation', url: 'https://www.thegreenwebfoundation.org/' },
232
- { name: 'W3C - Web Sustainability Guidelines', url: 'https://w3c.github.io/sustyweb/' },
233
- ],
227
+ bibliography,
234
228
  schemas: [faqSchema, howToSchema, appSchema],
235
229
  };
@@ -1,4 +1,5 @@
1
1
  import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import { bibliography } from '../bibliography';
2
3
  import type { DigitalCarbonLocaleContent } from '../index';
3
4
 
4
5
  const slug = 'kalkulator-cyfrowego-sladu-weglowego';
@@ -119,10 +120,8 @@ export const content: DigitalCarbonLocaleContent = {
119
120
  tipFonts: 'Ładuj tylko te grubości czcionek, których faktycznie używasz.',
120
121
  tipCache: 'Skonfiguruj nagłówki pamięci podręcznej HTTP, aby uniknąć ponownego pobierania.',
121
122
  },
122
- faqTitle: 'Często zadawane pytania',
123
123
  faq: faqData,
124
124
  howTo: howToData,
125
- bibliographyTitle: 'Źródła dotyczące zrównoważonego rozwoju sieci',
126
125
  seo: [
127
126
  {
128
127
  type: 'title',
@@ -225,11 +224,6 @@ export const content: DigitalCarbonLocaleContent = {
225
224
  html: 'Internet odpowiada za <strong>2% do 4% globalnej emisji CO₂</strong>, co jest wartością porównywalną z przemysłem lotniczym. Każdy wyeliminowany kilobajt nie tylko przyspiesza Twoją stronę: mierzalnie zmniejsza cyfrowe zanieczyszczenie.',
226
225
  },
227
226
  ],
228
- bibliography: [
229
- { name: 'Sustainable Web Design Model', url: 'https://sustainablewebdesign.org/' },
230
- { name: 'Website Carbon Calculator', url: 'https://www.websitecarbon.com/' },
231
- { name: 'The Green Web Foundation', url: 'https://www.thegreenwebfoundation.org/' },
232
- { name: 'W3C - Web Sustainability Guidelines', url: 'https://w3c.github.io/sustyweb/' },
233
- ],
227
+ bibliography,
234
228
  schemas: [faqSchema, howToSchema, appSchema],
235
229
  };
@@ -1,4 +1,5 @@
1
1
  import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import { bibliography } from '../bibliography';
2
3
  import type { DigitalCarbonLocaleContent } from '../index';
3
4
 
4
5
  const slug = 'calculadora-pegada-carbono-digital';
@@ -119,10 +120,8 @@ export const content: DigitalCarbonLocaleContent = {
119
120
  tipFonts: 'Carregue apenas os pesos tipográficos que realmente utiliza.',
120
121
  tipCache: 'Configure cabeçalhos de cache HTTP para evitar novos downloads.',
121
122
  },
122
- faqTitle: 'Perguntas Frequentes',
123
123
  faq: faqData,
124
124
  howTo: howToData,
125
- bibliographyTitle: 'Referências de Sustentabilidade Web',
126
125
  seo: [
127
126
  {
128
127
  type: 'title',
@@ -225,11 +224,6 @@ export const content: DigitalCarbonLocaleContent = {
225
224
  html: 'A internet representa entre <strong>2% e 4% das emissões globais de CO₂</strong>, um valor comparável à indústria da aviação. Cada kilobyte que elimina não torna apenas o seu website mais rápido: reduz de forma mensurável a poluição digital.',
226
225
  },
227
226
  ],
228
- bibliography: [
229
- { name: 'Sustainable Web Design Model', url: 'https://sustainablewebdesign.org/' },
230
- { name: 'Website Carbon Calculator', url: 'https://www.websitecarbon.com/' },
231
- { name: 'The Green Web Foundation', url: 'https://www.thegreenwebfoundation.org/' },
232
- { name: 'W3C - Web Sustainability Guidelines', url: 'https://w3c.github.io/sustyweb/' },
233
- ],
227
+ bibliography,
234
228
  schemas: [faqSchema, howToSchema, appSchema],
235
229
  };
@@ -1,4 +1,5 @@
1
1
  import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import { bibliography } from '../bibliography';
2
3
  import type { DigitalCarbonLocaleContent } from '../index';
3
4
 
4
5
  const slug = 'kalkulyator-tsifrovogo-uglerodnogo-sleda';
@@ -119,10 +120,8 @@ export const content: DigitalCarbonLocaleContent = {
119
120
  tipFonts: 'Загружайте только те начертания шрифтов, которые вы действительно используете.',
120
121
  tipCache: 'Настройте заголовки HTTP-кэша, чтобы избежать повторных загрузок.',
121
122
  },
122
- faqTitle: 'Часто задаваемые вопросы',
123
123
  faq: faqData,
124
124
  howTo: howToData,
125
- bibliographyTitle: 'Источники по устойчивому развитию веба',
126
125
  seo: [
127
126
  {
128
127
  type: 'title',
@@ -225,11 +224,6 @@ export const content: DigitalCarbonLocaleContent = {
225
224
  html: 'Интернет отвечает за <strong>2-4% глобальных выбросов CO₂</strong>, что сопоставимо с авиационной промышленностью. Каждый удаленный килобайт не просто делает ваш сайт быстрее: он измеримо снижает цифровое загрязнение.',
226
225
  },
227
226
  ],
228
- bibliography: [
229
- { name: 'Sustainable Web Design Model', url: 'https://sustainablewebdesign.org/' },
230
- { name: 'Website Carbon Calculator', url: 'https://www.websitecarbon.com/' },
231
- { name: 'The Green Web Foundation', url: 'https://www.thegreenwebfoundation.org/' },
232
- { name: 'W3C - Web Sustainability Guidelines', url: 'https://w3c.github.io/sustyweb/' },
233
- ],
227
+ bibliography,
234
228
  schemas: [faqSchema, howToSchema, appSchema],
235
229
  };
@@ -1,4 +1,5 @@
1
1
  import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import { bibliography } from '../bibliography';
2
3
  import type { DigitalCarbonLocaleContent } from '../index';
3
4
 
4
5
  const slug = 'digitalt-koldioxidavtryck-kalkylator';
@@ -119,10 +120,8 @@ export const content: DigitalCarbonLocaleContent = {
119
120
  tipFonts: 'Ladda endast de typsnittsvikter du faktiskt använder.',
120
121
  tipCache: 'Konfigurera HTTP-cache-headers för att undvika onödiga nedladdningar.',
121
122
  },
122
- faqTitle: 'Vanliga frågor',
123
123
  faq: faqData,
124
124
  howTo: howToData,
125
- bibliographyTitle: 'Referenser för webbhållbarhet',
126
125
  seo: [
127
126
  {
128
127
  type: 'title',
@@ -225,11 +224,6 @@ export const content: DigitalCarbonLocaleContent = {
225
224
  html: 'Internet står för mellan <strong>2 % och 4 % av de globala CO₂-utsläppen</strong>, en siffra som är jämförbar med flygindustrin. Varje kilobyte du tar bort gör inte bara din webbplats snabbare: det minskar mätbart den digitala föroreningen.',
226
225
  },
227
226
  ],
228
- bibliography: [
229
- { name: 'Sustainable Web Design Model', url: 'https://sustainablewebdesign.org/' },
230
- { name: 'Website Carbon Calculator', url: 'https://www.websitecarbon.com/' },
231
- { name: 'The Green Web Foundation', url: 'https://www.thegreenwebfoundation.org/' },
232
- { name: 'W3C - Web Sustainability Guidelines', url: 'https://w3c.github.io/sustyweb/' },
233
- ],
227
+ bibliography,
234
228
  schemas: [faqSchema, howToSchema, appSchema],
235
229
  };