@jjlmoya/utils-diy 1.2.0 → 1.4.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 (189) hide show
  1. package/package.json +2 -1
  2. package/src/category/i18n/de.ts +12 -0
  3. package/src/category/i18n/id.ts +12 -0
  4. package/src/category/i18n/it.ts +12 -0
  5. package/src/category/i18n/ja.ts +12 -0
  6. package/src/category/i18n/ko.ts +12 -0
  7. package/src/category/i18n/nl.ts +12 -0
  8. package/src/category/i18n/pl.ts +12 -0
  9. package/src/category/i18n/pt.ts +12 -0
  10. package/src/category/i18n/ru.ts +12 -0
  11. package/src/category/i18n/sv.ts +12 -0
  12. package/src/category/i18n/tr.ts +12 -0
  13. package/src/category/i18n/zh.ts +12 -0
  14. package/src/category/index.ts +13 -1
  15. package/src/tests/faq_count.test.ts +1 -1
  16. package/src/tests/i18n_coverage.test.ts +36 -0
  17. package/src/tests/locale_completeness.test.ts +2 -2
  18. package/src/tests/seo_length.test.ts +3 -0
  19. package/src/tests/slug_uniqueness.test.ts +58 -0
  20. package/src/tool/balusterCalculator/i18n/de.ts +264 -0
  21. package/src/tool/balusterCalculator/i18n/id.ts +264 -0
  22. package/src/tool/balusterCalculator/i18n/it.ts +264 -0
  23. package/src/tool/balusterCalculator/i18n/ja.ts +264 -0
  24. package/src/tool/balusterCalculator/i18n/ko.ts +264 -0
  25. package/src/tool/balusterCalculator/i18n/nl.ts +264 -0
  26. package/src/tool/balusterCalculator/i18n/pl.ts +264 -0
  27. package/src/tool/balusterCalculator/i18n/pt.ts +264 -0
  28. package/src/tool/balusterCalculator/i18n/ru.ts +264 -0
  29. package/src/tool/balusterCalculator/i18n/sv.ts +264 -0
  30. package/src/tool/balusterCalculator/i18n/tr.ts +264 -0
  31. package/src/tool/balusterCalculator/i18n/zh.ts +264 -0
  32. package/src/tool/balusterCalculator/index.ts +15 -7
  33. package/src/tool/clayCalculator/i18n/de.ts +183 -0
  34. package/src/tool/clayCalculator/i18n/id.ts +183 -0
  35. package/src/tool/clayCalculator/i18n/it.ts +183 -0
  36. package/src/tool/clayCalculator/i18n/ja.ts +182 -0
  37. package/src/tool/clayCalculator/i18n/ko.ts +183 -0
  38. package/src/tool/clayCalculator/i18n/nl.ts +183 -0
  39. package/src/tool/clayCalculator/i18n/pl.ts +183 -0
  40. package/src/tool/clayCalculator/i18n/pt.ts +183 -0
  41. package/src/tool/clayCalculator/i18n/ru.ts +183 -0
  42. package/src/tool/clayCalculator/i18n/sv.ts +183 -0
  43. package/src/tool/clayCalculator/i18n/tr.ts +183 -0
  44. package/src/tool/clayCalculator/i18n/zh.ts +183 -0
  45. package/src/tool/clayCalculator/index.ts +15 -7
  46. package/src/tool/concreteCalculator/i18n/de.ts +201 -0
  47. package/src/tool/concreteCalculator/i18n/id.ts +201 -0
  48. package/src/tool/concreteCalculator/i18n/it.ts +201 -0
  49. package/src/tool/concreteCalculator/i18n/ja.ts +201 -0
  50. package/src/tool/concreteCalculator/i18n/ko.ts +201 -0
  51. package/src/tool/concreteCalculator/i18n/nl.ts +201 -0
  52. package/src/tool/concreteCalculator/i18n/pl.ts +201 -0
  53. package/src/tool/concreteCalculator/i18n/pt.ts +201 -0
  54. package/src/tool/concreteCalculator/i18n/ru.ts +201 -0
  55. package/src/tool/concreteCalculator/i18n/sv.ts +201 -0
  56. package/src/tool/concreteCalculator/i18n/tr.ts +201 -0
  57. package/src/tool/concreteCalculator/i18n/zh.ts +201 -0
  58. package/src/tool/concreteCalculator/index.ts +17 -5
  59. package/src/tool/cutOptimizer/i18n/de.ts +178 -0
  60. package/src/tool/cutOptimizer/i18n/id.ts +178 -0
  61. package/src/tool/cutOptimizer/i18n/it.ts +178 -0
  62. package/src/tool/cutOptimizer/i18n/ja.ts +178 -0
  63. package/src/tool/cutOptimizer/i18n/ko.ts +178 -0
  64. package/src/tool/cutOptimizer/i18n/nl.ts +178 -0
  65. package/src/tool/cutOptimizer/i18n/pl.ts +178 -0
  66. package/src/tool/cutOptimizer/i18n/pt.ts +178 -0
  67. package/src/tool/cutOptimizer/i18n/ru.ts +178 -0
  68. package/src/tool/cutOptimizer/i18n/sv.ts +178 -0
  69. package/src/tool/cutOptimizer/i18n/tr.ts +178 -0
  70. package/src/tool/cutOptimizer/i18n/zh.ts +178 -0
  71. package/src/tool/cutOptimizer/index.ts +17 -5
  72. package/src/tool/drillCalculator/i18n/de.ts +137 -0
  73. package/src/tool/drillCalculator/i18n/id.ts +137 -0
  74. package/src/tool/drillCalculator/i18n/it.ts +137 -0
  75. package/src/tool/drillCalculator/i18n/ja.ts +137 -0
  76. package/src/tool/drillCalculator/i18n/ko.ts +137 -0
  77. package/src/tool/drillCalculator/i18n/nl.ts +137 -0
  78. package/src/tool/drillCalculator/i18n/pl.ts +137 -0
  79. package/src/tool/drillCalculator/i18n/pt.ts +137 -0
  80. package/src/tool/drillCalculator/i18n/ru.ts +137 -0
  81. package/src/tool/drillCalculator/i18n/sv.ts +137 -0
  82. package/src/tool/drillCalculator/i18n/tr.ts +137 -0
  83. package/src/tool/drillCalculator/i18n/zh.ts +137 -0
  84. package/src/tool/drillCalculator/index.ts +17 -5
  85. package/src/tool/drillSharpener/i18n/de.ts +120 -0
  86. package/src/tool/drillSharpener/i18n/id.ts +120 -0
  87. package/src/tool/drillSharpener/i18n/it.ts +120 -0
  88. package/src/tool/drillSharpener/i18n/ja.ts +120 -0
  89. package/src/tool/drillSharpener/i18n/ko.ts +120 -0
  90. package/src/tool/drillSharpener/i18n/nl.ts +120 -0
  91. package/src/tool/drillSharpener/i18n/pl.ts +120 -0
  92. package/src/tool/drillSharpener/i18n/pt.ts +120 -0
  93. package/src/tool/drillSharpener/i18n/ru.ts +120 -0
  94. package/src/tool/drillSharpener/i18n/sv.ts +120 -0
  95. package/src/tool/drillSharpener/i18n/tr.ts +120 -0
  96. package/src/tool/drillSharpener/i18n/zh.ts +120 -0
  97. package/src/tool/drillSharpener/index.ts +17 -5
  98. package/src/tool/epoxyCalculator/i18n/de.ts +118 -0
  99. package/src/tool/epoxyCalculator/i18n/id.ts +118 -0
  100. package/src/tool/epoxyCalculator/i18n/it.ts +118 -0
  101. package/src/tool/epoxyCalculator/i18n/ja.ts +118 -0
  102. package/src/tool/epoxyCalculator/i18n/ko.ts +118 -0
  103. package/src/tool/epoxyCalculator/i18n/nl.ts +118 -0
  104. package/src/tool/epoxyCalculator/i18n/pl.ts +118 -0
  105. package/src/tool/epoxyCalculator/i18n/pt.ts +118 -0
  106. package/src/tool/epoxyCalculator/i18n/ru.ts +118 -0
  107. package/src/tool/epoxyCalculator/i18n/sv.ts +118 -0
  108. package/src/tool/epoxyCalculator/i18n/tr.ts +118 -0
  109. package/src/tool/epoxyCalculator/i18n/zh.ts +118 -0
  110. package/src/tool/epoxyCalculator/index.ts +15 -7
  111. package/src/tool/furnitureFit/i18n/de.ts +113 -0
  112. package/src/tool/furnitureFit/i18n/id.ts +113 -0
  113. package/src/tool/furnitureFit/i18n/it.ts +113 -0
  114. package/src/tool/furnitureFit/i18n/ja.ts +113 -0
  115. package/src/tool/furnitureFit/i18n/ko.ts +113 -0
  116. package/src/tool/furnitureFit/i18n/nl.ts +113 -0
  117. package/src/tool/furnitureFit/i18n/pl.ts +113 -0
  118. package/src/tool/furnitureFit/i18n/pt.ts +113 -0
  119. package/src/tool/furnitureFit/i18n/ru.ts +113 -0
  120. package/src/tool/furnitureFit/i18n/sv.ts +113 -0
  121. package/src/tool/furnitureFit/i18n/tr.ts +113 -0
  122. package/src/tool/furnitureFit/i18n/zh.ts +113 -0
  123. package/src/tool/furnitureFit/index.ts +17 -5
  124. package/src/tool/mortarCalculator/i18n/de.ts +129 -0
  125. package/src/tool/mortarCalculator/i18n/id.ts +129 -0
  126. package/src/tool/mortarCalculator/i18n/it.ts +129 -0
  127. package/src/tool/mortarCalculator/i18n/ja.ts +129 -0
  128. package/src/tool/mortarCalculator/i18n/ko.ts +129 -0
  129. package/src/tool/mortarCalculator/i18n/nl.ts +129 -0
  130. package/src/tool/mortarCalculator/i18n/pl.ts +129 -0
  131. package/src/tool/mortarCalculator/i18n/pt.ts +129 -0
  132. package/src/tool/mortarCalculator/i18n/ru.ts +129 -0
  133. package/src/tool/mortarCalculator/i18n/sv.ts +129 -0
  134. package/src/tool/mortarCalculator/i18n/tr.ts +129 -0
  135. package/src/tool/mortarCalculator/i18n/zh.ts +129 -0
  136. package/src/tool/mortarCalculator/index.ts +17 -5
  137. package/src/tool/passepartoutCalculator/i18n/de.ts +108 -0
  138. package/src/tool/passepartoutCalculator/i18n/id.ts +108 -0
  139. package/src/tool/passepartoutCalculator/i18n/it.ts +108 -0
  140. package/src/tool/passepartoutCalculator/i18n/ja.ts +108 -0
  141. package/src/tool/passepartoutCalculator/i18n/ko.ts +108 -0
  142. package/src/tool/passepartoutCalculator/i18n/nl.ts +108 -0
  143. package/src/tool/passepartoutCalculator/i18n/pl.ts +108 -0
  144. package/src/tool/passepartoutCalculator/i18n/pt.ts +108 -0
  145. package/src/tool/passepartoutCalculator/i18n/ru.ts +108 -0
  146. package/src/tool/passepartoutCalculator/i18n/sv.ts +108 -0
  147. package/src/tool/passepartoutCalculator/i18n/tr.ts +108 -0
  148. package/src/tool/passepartoutCalculator/i18n/zh.ts +108 -0
  149. package/src/tool/passepartoutCalculator/index.ts +17 -5
  150. package/src/tool/stairCalculator/i18n/de.ts +144 -0
  151. package/src/tool/stairCalculator/i18n/id.ts +144 -0
  152. package/src/tool/stairCalculator/i18n/it.ts +144 -0
  153. package/src/tool/stairCalculator/i18n/ja.ts +144 -0
  154. package/src/tool/stairCalculator/i18n/ko.ts +144 -0
  155. package/src/tool/stairCalculator/i18n/nl.ts +144 -0
  156. package/src/tool/stairCalculator/i18n/pl.ts +144 -0
  157. package/src/tool/stairCalculator/i18n/pt.ts +144 -0
  158. package/src/tool/stairCalculator/i18n/ru.ts +144 -0
  159. package/src/tool/stairCalculator/i18n/sv.ts +144 -0
  160. package/src/tool/stairCalculator/i18n/tr.ts +144 -0
  161. package/src/tool/stairCalculator/i18n/zh.ts +144 -0
  162. package/src/tool/stairCalculator/index.ts +17 -5
  163. package/src/tool/thermalExpansionCalculator/i18n/de.ts +132 -0
  164. package/src/tool/thermalExpansionCalculator/i18n/id.ts +130 -0
  165. package/src/tool/thermalExpansionCalculator/i18n/it.ts +130 -0
  166. package/src/tool/thermalExpansionCalculator/i18n/ja.ts +130 -0
  167. package/src/tool/thermalExpansionCalculator/i18n/ko.ts +130 -0
  168. package/src/tool/thermalExpansionCalculator/i18n/nl.ts +130 -0
  169. package/src/tool/thermalExpansionCalculator/i18n/pl.ts +130 -0
  170. package/src/tool/thermalExpansionCalculator/i18n/pt.ts +130 -0
  171. package/src/tool/thermalExpansionCalculator/i18n/ru.ts +130 -0
  172. package/src/tool/thermalExpansionCalculator/i18n/sv.ts +130 -0
  173. package/src/tool/thermalExpansionCalculator/i18n/tr.ts +130 -0
  174. package/src/tool/thermalExpansionCalculator/i18n/zh.ts +130 -0
  175. package/src/tool/thermalExpansionCalculator/index.ts +17 -5
  176. package/src/tool/voltageDropCalculator/i18n/de.ts +112 -0
  177. package/src/tool/voltageDropCalculator/i18n/id.ts +110 -0
  178. package/src/tool/voltageDropCalculator/i18n/it.ts +110 -0
  179. package/src/tool/voltageDropCalculator/i18n/ja.ts +110 -0
  180. package/src/tool/voltageDropCalculator/i18n/ko.ts +110 -0
  181. package/src/tool/voltageDropCalculator/i18n/nl.ts +110 -0
  182. package/src/tool/voltageDropCalculator/i18n/pl.ts +110 -0
  183. package/src/tool/voltageDropCalculator/i18n/pt.ts +110 -0
  184. package/src/tool/voltageDropCalculator/i18n/ru.ts +110 -0
  185. package/src/tool/voltageDropCalculator/i18n/sv.ts +110 -0
  186. package/src/tool/voltageDropCalculator/i18n/tr.ts +110 -0
  187. package/src/tool/voltageDropCalculator/i18n/zh.ts +110 -0
  188. package/src/tool/voltageDropCalculator/index.ts +17 -5
  189. package/src/types.ts +1 -1
@@ -0,0 +1,118 @@
1
+ import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+ import type { EpoxyCalculatorUI } from '../ui';
4
+
5
+ const slug = 'calculadora-resina-epoxica';
6
+ const title = 'Calculadora de Resina Epóxica: Mistura e Volume Exato';
7
+ const description = 'Calcule a quantidade exata de resina epóxica e endurecedor necessária para os seus projetos. Evite desperdícios em mesas rio, joalharia e moldes.';
8
+
9
+ const faqData = [
10
+ {
11
+ question: 'Porque é que a proporção exata é tão importante na resina?',
12
+ answer: 'Ao contrário de outras misturas, a resina epóxica não seca por evaporação, mas por uma reação química (polimerização). Se sobrar resina ou endurecedor, a reação será incompleta, deixando a peça pegajosa, mole ou com bolhas permanentes.',
13
+ },
14
+ {
15
+ question: 'O que é a proporção em peso vs volume?',
16
+ answer: 'Muitas resinas misturam-se 2:1 em volume mas 100:45 em peso devido ao facto de o endurecedor ser habitualmente mais denso. Use sempre a escala indicada pelo fabricante e, se possível, use uma balança digital para máxima precisão.',
17
+ },
18
+ {
19
+ question: 'Como evito as bolhas ao misturar?',
20
+ answer: 'Misture lentamente com movimentos circulares constantes durante pelo menos 3 minutos, raspando bem as paredes do copo. Deixe repousar a mistura um par de minutos antes de verter para que as bolhas subam à superfície.',
21
+ },
22
+ {
23
+ question: 'O que é o tempo de vida (Pot Life)?',
24
+ answer: 'É o tempo que tem para trabalhar com a mistura antes de esta começar a endurecer (gelificar). No verão ou em grandes volumes, este tempo reduz-se drasticamente devido à reação exotérmica (gera calor).',
25
+ },
26
+ ];
27
+
28
+ const howToData = [
29
+ { name: 'Medir as dimensões do molde', text: 'Meça o comprimento, largura e a profundidade (espessura) da zona que quer preencher com resina.' },
30
+ { name: 'Introduzir a relação de mistura', text: 'Consulte o rótulo do seu produto para verificar se a mistura é 1:1, 2:1 ou 3:1 e se se baseia em peso ou volume.' },
31
+ { name: 'Pesar os componentes', text: 'Verta primeiro o componente A (resina) e depois o B (endurecedor) num recipiente limpo sobre uma balança digital.' },
32
+ { name: 'Mistura técnica', text: 'Mexa suavemente até que a mistura esteja totalmente transparente e não se vejam "fios" de diferente densidade.' },
33
+ ];
34
+
35
+ const faqSchema: WithContext<FAQPage> = {
36
+ '@context': 'https://schema.org',
37
+ '@type': 'FAQPage',
38
+ mainEntity: faqData.map((item) => ({
39
+ '@type': 'Question',
40
+ name: item.question,
41
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
42
+ })),
43
+ };
44
+
45
+ const howToSchema: WithContext<HowToThing> = {
46
+ '@context': 'https://schema.org',
47
+ '@type': 'HowTo',
48
+ name: title,
49
+ description,
50
+ step: howToData.map((step, i) => ({
51
+ '@type': 'HowToStep',
52
+ position: i + 1,
53
+ name: step.name,
54
+ text: step.text,
55
+ })),
56
+ };
57
+
58
+ const appSchema: WithContext<SoftwareApplication> = {
59
+ '@context': 'https://schema.org',
60
+ '@type': 'SoftwareApplication',
61
+ name: title,
62
+ description,
63
+ applicationCategory: 'UtilityApplication',
64
+ operatingSystem: 'All',
65
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
66
+ inLanguage: 'pt',
67
+ };
68
+
69
+ export const content: ToolLocaleContent<EpoxyCalculatorUI> = {
70
+ slug,
71
+ title,
72
+ description,
73
+ faqTitle: 'Perguntas Frequentes',
74
+ faq: faqData,
75
+ bibliographyTitle: 'Referências Técnicas',
76
+ bibliography: [
77
+ { name: 'TotalBoat - Centro de Suporte e Guias Técnicos', url: 'https://www.totalboat.com/pages/support' },
78
+ { name: 'ArtResin - Perguntas Frequentes e Guia de Uso', url: 'https://www.artresin.com/pages/artresin-faq' },
79
+ ],
80
+ howTo: howToData,
81
+ schemas: [faqSchema, howToSchema, appSchema],
82
+ seo: [
83
+ { type: 'title', text: 'Guia de Cálculo e Mistura de Resina Epóxica', level: 2 },
84
+ { type: 'paragraph', html: 'A resina epóxica não é uma tinta que seca por evaporação; é uma <strong>reação química exotérmica</strong> complexa. A magia acontece quando as moléculas de epóxido se encadeiam com as de poliamina para formar um polímero termoendurecível sólido cristalino.' },
85
+ { type: 'paragraph', html: 'A diferença entre uma peça de arte duradoura e um desastre pegajoso reside na <strong>estequiometria exata</strong>. Um erro de apenas 5% na proporção de mistura pode inibir a cura permanentemente. Esta ferramenta elimina as suposições matemáticas, permitindo-lhe focar-se na criação.' },
86
+ { type: 'grid', columns: [
87
+ { type: 'card', icon: 'mdi:scale-balance', title: 'Volume ou Peso?', html: '<p>O erro nº 1 dos principiantes é assumir que 100ml pesam 100g. <strong>A resina é mais densa que o endurecedor.</strong></p><p>Se a ficha técnica do seu produto diz "100:50 por peso", NÃO é o mesmo que "2:1 por volume". Esta calculadora trabalha com <strong>Volume</strong> (V = L × W × H), que é o padrão para preencher moldes.</p>' },
88
+ { type: 'card', icon: 'mdi:water-percent', title: 'Proporções Comuns', html: '<ul><li><strong>1:1</strong> — Revestimentos, vernizes e adesivos rápidos.</li><li><strong>2:1</strong> — Padrão. River tables, joalharia e moldes médios.</li><li><strong>3:1</strong> — Pavimentos industriais e laminados estruturais de alta dureza.</li></ul>' },
89
+ ]},
90
+ { type: 'title', text: 'Protocolo de Segurança e Boas Práticas', level: 2 },
91
+ { type: 'grid', columns: [
92
+ { type: 'card', icon: 'mdi:thermometer', title: 'Temperatura Vital', html: '<p>Trabalhe sempre entre <strong>21°C e 25°C</strong>. O frio pode parar a reação, deixando a peça turva. O calor excessivo acelera a reação exotérmica perigosamente ("flash cure").</p>' },
93
+ { type: 'card', icon: 'mdi:cup-outline', title: 'Técnica do Copo Duplo', html: '<p>Não confie numa única mistura. Raspe bem os lados e o fundo, verta a mistura num <strong>segundo copo limpo</strong> e volte a misturar. Isto assegura que não resta material sem catalisar.</p>' },
94
+ ]},
95
+ ],
96
+ ui: {
97
+ shapeRect: 'Retangular',
98
+ shapeCylinder: 'Cilíndrico',
99
+ shapeSphere: 'Esférico',
100
+ labelLength: 'Comprimento (cm)',
101
+ labelWidth: 'Largura (cm)',
102
+ labelDiameter: 'Diâmetro (cm)',
103
+ labelDepth: 'Profundidade (cm)',
104
+ labelRatio: 'Proporção de Mistura (Peso/Volume)',
105
+ labelCustomRatio: 'Usar proporção personalizada (A:B)',
106
+ labelResinA: 'Resina (A)',
107
+ labelHardenerB: 'Endurecedor (B)',
108
+ labelWasteTitle: 'Margem de Segurança',
109
+ labelWasteDesc: 'Adicione 5% extra para perdas',
110
+ labelTotalVolume: 'Volume Total',
111
+ labelPartA: 'Parte A (Resina)',
112
+ labelPartB: 'Parte B (Endurecedor)',
113
+ labelVisualization: 'Visualização',
114
+ shapeRectLabel: 'Bloco Retangular',
115
+ shapeCylinderLabel: 'Cilindro / Molde Redondo',
116
+ shapeSphereLabel: 'Esfera Completa',
117
+ },
118
+ };
@@ -0,0 +1,118 @@
1
+ import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+ import type { EpoxyCalculatorUI } from '../ui';
4
+
5
+ const slug = 'kalkulyator-epoksidnoj-smoly';
6
+ const title = 'Калькулятор эпоксидной смолы: точная смесь и объем';
7
+ const description = 'Рассчитайте точное количество эпоксидной смолы и отвердителя, необходимых для ваших проектов. Избегайте лишних трат при создании столов-рек, украшений и форм.';
8
+
9
+ const faqData = [
10
+ {
11
+ question: 'Почему так важна точная пропорция при работе со смолой?',
12
+ answer: 'В отличие от других смесей, эпоксидная смола высыхает не за счет испарения, а в результате химической реакции (полимеризации). Если останется лишняя смола или отвердитель, реакция будет неполной, в результате чего изделие останется липким, мягким или с постоянными пузырьками воздуха.',
13
+ },
14
+ {
15
+ question: 'В чем разница между пропорцией по весу и по объему?',
16
+ answer: 'Многие смолы смешиваются в пропорции 2:1 по объему, но 100:45 по весу, так как отвердитель обычно плотнее. Всегда используйте шкалу, указанную производителем, и, по возможности, используйте цифровые весы для максимальной точности.',
17
+ },
18
+ {
19
+ question: 'Как избежать появления пузырьков при смешивании?',
20
+ answer: 'Смешивайте медленно постоянными круговыми движениями не менее 3 минут, тщательно соскребая смолу со стенок стакана. Дайте смеси отстояться пару минут перед заливкой, чтобы пузырьки поднялись на поверхность.',
21
+ },
22
+ {
23
+ question: 'Что такое время жизни (Pot Life)?',
24
+ answer: 'Это время, в течение которого вы можете работать со смесью до того, как она начнет твердеть (гелеобразование). Летом или при больших объемах это время резко сокращается из-за экзотермической реакции (выделения тепла).',
25
+ },
26
+ ];
27
+
28
+ const howToData = [
29
+ { name: 'Измерить размеры формы', text: 'Измерьте длину, ширину и глубину (толщину) области, которую вы хотите заполнить смолой.' },
30
+ { name: 'Ввести соотношение компонентов', text: 'Посмотрите на этикетке вашего продукта, является ли соотношение 1:1, 2:1 или 3:1 и основано ли оно на весе или объеме.' },
31
+ { name: 'Взвесить компоненты', text: 'Сначала налейте компонент А (смолу), а затем Б (отвердитель) в чистую емкость на цифровых весах.' },
32
+ { name: 'Техническое смешивание', text: 'Аккуратно перемешивайте, пока смесь не станет полностью прозрачной и не исчезнут "нити" разной плотности.' },
33
+ ];
34
+
35
+ const faqSchema: WithContext<FAQPage> = {
36
+ '@context': 'https://schema.org',
37
+ '@type': 'FAQPage',
38
+ mainEntity: faqData.map((item) => ({
39
+ '@type': 'Question',
40
+ name: item.question,
41
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
42
+ })),
43
+ };
44
+
45
+ const howToSchema: WithContext<HowToThing> = {
46
+ '@context': 'https://schema.org',
47
+ '@type': 'HowTo',
48
+ name: title,
49
+ description,
50
+ step: howToData.map((step, i) => ({
51
+ '@type': 'HowToStep',
52
+ position: i + 1,
53
+ name: step.name,
54
+ text: step.text,
55
+ })),
56
+ };
57
+
58
+ const appSchema: WithContext<SoftwareApplication> = {
59
+ '@context': 'https://schema.org',
60
+ '@type': 'SoftwareApplication',
61
+ name: title,
62
+ description,
63
+ applicationCategory: 'UtilityApplication',
64
+ operatingSystem: 'All',
65
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
66
+ inLanguage: 'ru',
67
+ };
68
+
69
+ export const content: ToolLocaleContent<EpoxyCalculatorUI> = {
70
+ slug,
71
+ title,
72
+ description,
73
+ faqTitle: 'Часто задаваемые вопросы',
74
+ faq: faqData,
75
+ bibliographyTitle: 'Технические справочники',
76
+ bibliography: [
77
+ { name: 'TotalBoat - Центр поддержки и технические руководства', url: 'https://www.totalboat.com/pages/support' },
78
+ { name: 'ArtResin - FAQ и руководство по использованию', url: 'https://www.artresin.com/pages/artresin-faq' },
79
+ ],
80
+ howTo: howToData,
81
+ schemas: [faqSchema, howToSchema, appSchema],
82
+ seo: [
83
+ { type: 'title', text: 'Руководство по расчету и смешиванию эпоксидной смолы', level: 2 },
84
+ { type: 'paragraph', html: 'Эпоксидная смола — это не краска, которая сохнет за счет испарения; это сложная <strong>экзотермическая химическая реакция</strong>. Магия происходит, когда молекулы эпоксида соединяются с молекулами полиамина, образуя твердый кристаллический термореактивный полимер.' },
85
+ { type: 'paragraph', html: 'Разница между долговечным произведением искусства и липким фиаско заключается в <strong>точной стехиометрии</strong>. Ошибка всего в 5% в пропорции смешивания может навсегда остановить процесс отверждения. Этот инструмент избавляет от математических догадок, позволяя вам сосредоточиться на творчестве.' },
86
+ { type: 'grid', columns: [
87
+ { type: 'card', icon: 'mdi:scale-balance', title: 'Объем или вес?', html: '<p>Ошибка №1 новичков — предполагать, что 100 мл весят 100 г. <strong>Смола плотнее отвердителя.</strong></p><p>Если в техническом описании вашего продукта указано "100:50 по весу", это НЕ то же самое, что "2:1 по объему". Этот калькулятор работает с <strong>Объемом</strong> (V = L × W × H), что является стандартом для заполнения форм.</p>' },
88
+ { type: 'card', icon: 'mdi:water-percent', title: 'Распространенные пропорции', html: '<ul><li><strong>1:1</strong> — Покрытия, лаки и быстрые клеи.</li><li><strong>2:1</strong> — Стандарт. Столы-реки, украшения и средние отливки.</li><li><strong>3:1</strong> — Промышленные полы и высокопрочные конструкционные ламинаты.</li></ul>' },
89
+ ]},
90
+ { type: 'title', text: 'Протокол безопасности и лучшие практики', level: 2 },
91
+ { type: 'grid', columns: [
92
+ { type: 'card', icon: 'mdi:thermometer', title: 'Важность температуры', html: '<p>Всегда работайте при температуре от <strong>21°C до 25°C</strong>. Холод может остановить реакцию, сделав изделие мутным. Чрезмерное тепло опасно ускоряет экзотермическую реакцию ("вспышка").</p>' },
93
+ { type: 'card', icon: 'mdi:cup-outline', title: 'Техника «двойного стакана»', html: '<p>Не полагайтесь на одно смешивание. Тщательно соскребите смолу со стенок и дна, перелейте смесь во <strong>второй чистый стакан</strong> и перемешайте снова. Это гарантирует отсутствие остатков непрореагировавшего материала.</p>' },
94
+ ]},
95
+ ],
96
+ ui: {
97
+ shapeRect: 'Прямоугольная',
98
+ shapeCylinder: 'Цилиндрическая',
99
+ shapeSphere: 'Сферическая',
100
+ labelLength: 'Длина (см)',
101
+ labelWidth: 'Ширина (см)',
102
+ labelDiameter: 'Диаметр (см)',
103
+ labelDepth: 'Глубина (см)',
104
+ labelRatio: 'Пропорция смешивания (Вес/Объем)',
105
+ labelCustomRatio: 'Использовать свое соотношение (А:Б)',
106
+ labelResinA: 'Смола (А)',
107
+ labelHardenerB: 'Отвердитель (Б)',
108
+ labelWasteTitle: 'Запас прочности',
109
+ labelWasteDesc: 'Добавить 5% на потери',
110
+ labelTotalVolume: 'Общий объем',
111
+ labelPartA: 'Часть А (Смола)',
112
+ labelPartB: 'Часть Б (Отвердитель)',
113
+ labelVisualization: 'Визуализация',
114
+ shapeRectLabel: 'Прямоугольный блок',
115
+ shapeCylinderLabel: 'Цилиндр / Круглая форма',
116
+ shapeSphereLabel: 'Полная сфера',
117
+ },
118
+ };
@@ -0,0 +1,118 @@
1
+ import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+ import type { EpoxyCalculatorUI } from '../ui';
4
+
5
+ const slug = 'epoxyharts-kalkylator';
6
+ const title = 'Epoxyharts kalkylator: Exakt blandning och volym';
7
+ const description = 'Beräkna den exakta mängden epoxyharts och härdare som behövs för dina projekt. Undvik slöseri vid river tables, smycken och gjutformar.';
8
+
9
+ const faqData = [
10
+ {
11
+ question: 'Varför är den exakta proportionen så viktig vid epoxyarbete?',
12
+ answer: 'Till skillnad från andra blandningar torkar inte epoxyharts genom avdunstning, utan genom en kemisk reaktion (polymerisation). Om det finns för mycket harts eller härdare blir reaktionen ofullständig, vilket lämnar biten klibbig, mjuk eller med permanenta bubblor.',
13
+ },
14
+ {
15
+ question: 'Vad är skillnaden mellan förhållande i vikt vs volym?',
16
+ answer: 'Många hartser blandas 2:1 i volym men 100:45 i vikt eftersom härdaren oftast är mer kompakt. Använd alltid den skala som tillverkaren anger och använd om möjligt en digitalvåg för maximal precision.',
17
+ },
18
+ {
19
+ question: 'Hur undviker jag bubblor vid blandning?',
20
+ answer: 'Blanda långsamt med konstanta cirkelrörelser i minst 3 minuter och skrapa noga av bägarens väggar. Låt blandningen vila ett par minuter innan du häller så att bubblorna kan stiga till ytan.',
21
+ },
22
+ {
23
+ question: 'Vad är pot life (bearbetningstid)?',
24
+ answer: 'Det är den tid du har på dig att arbeta med blandningen innan den börjar härda (gelatineras). På sommaren eller vid stora volymer minskar denna tid drastiskt på grund av den exoterma reaktionen (värmeutveckling).',
25
+ },
26
+ ];
27
+
28
+ const howToData = [
29
+ { name: 'Mät formens dimensioner', text: 'Mät längd, bredd och djup (tjocklek) på det område du vill fylla med harts.' },
30
+ { name: 'Ange blandningsförhållande', text: 'Kontrollera på etiketten till din produkt om förhållandet är 1:1, 2:1 eller 3:1 och om det baseras på vikt eller volym.' },
31
+ { name: 'Väg komponenterna', text: 'Häll först i komponent A (harts) och sedan B (härdare) i en ren behållare på en digitalvåg.' },
32
+ { name: 'Teknisk blandning', text: 'Rör om försiktigt tills blandningen är helt transparent och inga "strimmor" av olika densitet syns.' },
33
+ ];
34
+
35
+ const faqSchema: WithContext<FAQPage> = {
36
+ '@context': 'https://schema.org',
37
+ '@type': 'FAQPage',
38
+ mainEntity: faqData.map((item) => ({
39
+ '@type': 'Question',
40
+ name: item.question,
41
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
42
+ })),
43
+ };
44
+
45
+ const howToSchema: WithContext<HowToThing> = {
46
+ '@context': 'https://schema.org',
47
+ '@type': 'HowTo',
48
+ name: title,
49
+ description,
50
+ step: howToData.map((step, i) => ({
51
+ '@type': 'HowToStep',
52
+ position: i + 1,
53
+ name: step.name,
54
+ text: step.text,
55
+ })),
56
+ };
57
+
58
+ const appSchema: WithContext<SoftwareApplication> = {
59
+ '@context': 'https://schema.org',
60
+ '@type': 'SoftwareApplication',
61
+ name: title,
62
+ description,
63
+ applicationCategory: 'UtilityApplication',
64
+ operatingSystem: 'All',
65
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
66
+ inLanguage: 'sv',
67
+ };
68
+
69
+ export const content: ToolLocaleContent<EpoxyCalculatorUI> = {
70
+ slug,
71
+ title,
72
+ description,
73
+ faqTitle: 'Vanliga frågor',
74
+ faq: faqData,
75
+ bibliographyTitle: 'Tekniska referenser',
76
+ bibliography: [
77
+ { name: 'TotalBoat - Supportcenter och tekniska guider', url: 'https://www.totalboat.com/pages/support' },
78
+ { name: 'ArtResin - FAQ och bruksanvisning', url: 'https://www.artresin.com/pages/artresin-faq' },
79
+ ],
80
+ howTo: howToData,
81
+ schemas: [faqSchema, howToSchema, appSchema],
82
+ seo: [
83
+ { type: 'title', text: 'Guide för beräkning och blandning av epoxyharts', level: 2 },
84
+ { type: 'paragraph', html: 'Epoxyharts är inte en färg som torkar genom avdunstning; det är en komplex <strong>exoterm kemisk reaktion</strong>. Magin sker när epoximolekylerna kedjar ihop sig med polyaminmolekylerna för att bilda en solid kristallin härdplastpolymer.' },
85
+ { type: 'paragraph', html: 'Skillnaden mellan ett hållbart konstverk och en klibbig katastrof ligger i den <strong>exakta stökiometrin</strong>. Ett fel på bara 5 % i blandningsförhållandet kan förhindra härdningen permanent. Detta verktyg eliminerar matematiska gissningar så att du kan fokusera på skapandet.' },
86
+ { type: 'grid', columns: [
87
+ { type: 'card', icon: 'mdi:scale-balance', title: 'Volym eller vikt?', html: '<p>Det vanligaste felet bland nybörjare är att anta att 100 ml väger 100 g. <strong>Harts är tätare än härdare.</strong></p><p>Om produkten faktablad anger "100:50 i vikt", är det INTE samma sak som "2:1 i volym". Denna kalkylator arbetar med <strong>Volym</strong> (V = L × B × D), vilket är standard för att fylla formar.</p>' },
88
+ { type: 'card', icon: 'mdi:water-percent', title: 'Vanliga förhållanden', html: '<ul><li><strong>1:1</strong> — Beläggningar, fernissor och snabblim.</li><li><strong>2:1</strong> — Standard. River tables, smycken och medelstora gjutningar.</li><li><strong>3:1</strong> — Industrigolv och höghårda strukturella laminat.</li></ul>' },
89
+ ]},
90
+ { type: 'title', text: 'Säkerhetsprotokoll och bästa praxis', level: 2 },
91
+ { type: 'grid', columns: [
92
+ { type: 'card', icon: 'mdi:thermometer', title: 'Livsviktig temperatur', html: '<p>Arbeta alltid mellan <strong>21°C och 25°C</strong>. Kyla kan stoppa reaktionen och göra biten grumlig. Överdriven värme accelererar den exoterma reaktionen farligt mycket ("flash cure").</p>' },
93
+ { type: 'card', icon: 'mdi:cup-outline', title: 'Dubbelbägarmetoden', html: '<p>Lita inte på en enda blandning. Skrapa noga sidorna och botten, häll blandningen i en <strong>andra ren bägare</strong> und blanda igen. Detta säkerställer att inget okatalyserat material blir kvar.</p>' },
94
+ ]},
95
+ ],
96
+ ui: {
97
+ shapeRect: 'Rektangulär',
98
+ shapeCylinder: 'Cylindrisk',
99
+ shapeSphere: 'Sfärisk',
100
+ labelLength: 'Längd (cm)',
101
+ labelWidth: 'Bredd (cm)',
102
+ labelDiameter: 'Diameter (cm)',
103
+ labelDepth: 'Djup (cm)',
104
+ labelRatio: 'Blandningsförhållande (Vikt/Volym)',
105
+ labelCustomRatio: 'Använd anpassat förhållande (A:B)',
106
+ labelResinA: 'Harts (A)',
107
+ labelHardenerB: 'Härdare (B)',
108
+ labelWasteTitle: 'Säkerhetsmarginal',
109
+ labelWasteDesc: 'Lägg till 5% extra för förluster',
110
+ labelTotalVolume: 'Total volym',
111
+ labelPartA: 'Del A (Harts)',
112
+ labelPartB: 'Del B (Härdare)',
113
+ labelVisualization: 'Visualisering',
114
+ shapeRectLabel: 'Rektangulärt block',
115
+ shapeCylinderLabel: 'Cylinder / Rund form',
116
+ shapeSphereLabel: 'Hel sfär',
117
+ },
118
+ };
@@ -0,0 +1,118 @@
1
+ import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+ import type { EpoxyCalculatorUI } from '../ui';
4
+
5
+ const slug = 'epoksi-recine-hesaplayici';
6
+ const title = 'Epoksi Reçine Hesaplayıcı: Karışım ve Tam Hacim';
7
+ const description = 'Projeleriniz için gereken tam epoksi reçine ve sertleştirici miktarını hesaplayın. Nehir masaları, takı ve kalıplarda israfı önleyin.';
8
+
9
+ const faqData = [
10
+ {
11
+ question: 'Reçinede tam oran neden bu kadar önemlidir?',
12
+ answer: 'Diğer karışımların aksine, epoksi reçine buharlaşma yoluyla değil, kimyasal bir reaksiyon (polimerizasyon) yoluyla kurur. Reçine veya sertleştirici fazla kalırsa reaksiyon eksik kalır; bu da parçanın yapışkan, yumuşak kalmasına veya kalıcı kabarcıklar oluşmasına neden olur.',
13
+ },
14
+ {
15
+ question: 'Ağırlık vs hacim oran nedir?',
16
+ answer: 'Birçok reçine hacim olarak 2:1 oranında karıştırılır ancak sertleştirici genellikle daha yoğun olduğu için ağırlık olarak bu oran 100:45 olabilir. Daima üreticinin belirttiği ölçeği kullanın ve mümkünse maksimum hassasiyet için dijital bir terazi kullanın.',
17
+ },
18
+ {
19
+ question: 'Karıştırırken kabarcıklardan nasıl kaçınırım?',
20
+ answer: 'Bardağın kenarlarını iyice sıyırarak en az 3 dakika boyunca sabit dairesel hareketlerle yavaşça karıştırın. Karışımı dökmeden önce kabarcıkların yüzeye çıkması için birkaç dakika bekletin.',
21
+ },
22
+ {
23
+ question: 'Kap ömrü (Pot Life) nedir?',
24
+ answer: 'Karışımın sertleşmeye (jelleşmeye) başlamadan önce üzerinde çalışabileceğiniz süredir. Yazın veya büyük hacimlerde, ekzotermik reaksiyon (ısı üretimi) nedeniyle bu süre önemli ölçüde azalır.',
25
+ },
26
+ ];
27
+
28
+ const howToData = [
29
+ { name: 'Kalıp boyutlarını ölçün', text: 'Reçine ile doldurmak istediğiniz alanın boyunu, enini ve derinliğini (kalınlığını) ölçün.' },
30
+ { name: 'Karışım oranını girin', text: 'Ürününüzün etiketinden karışımın 1:1, 2:1 veya 3:1 olup olmadığını ve bunun ağırlığa mı yoksa hacme mi dayalı olduğunu kontrol edin.' },
31
+ { name: 'Bileşenleri tartın', text: 'Dijital bir terazi üzerindeki temiz bir kaba önce A bileşenini (reçine), ardından B bileşenini (sertleştirici) dökün.' },
32
+ { name: 'Teknik karıştırma', text: 'Karışım tamamen şeffaf olana ve farklı yoğunluktaki "çizgiler" görülmeyene kadar nazikçe karıştırın.' },
33
+ ];
34
+
35
+ const faqSchema: WithContext<FAQPage> = {
36
+ '@context': 'https://schema.org',
37
+ '@type': 'FAQPage',
38
+ mainEntity: faqData.map((item) => ({
39
+ '@type': 'Question',
40
+ name: item.question,
41
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
42
+ })),
43
+ };
44
+
45
+ const howToSchema: WithContext<HowToThing> = {
46
+ '@context': 'https://schema.org',
47
+ '@type': 'HowTo',
48
+ name: title,
49
+ description,
50
+ step: howToData.map((step, i) => ({
51
+ '@type': 'HowToStep',
52
+ position: i + 1,
53
+ name: step.name,
54
+ text: step.text,
55
+ })),
56
+ };
57
+
58
+ const appSchema: WithContext<SoftwareApplication> = {
59
+ '@context': 'https://schema.org',
60
+ '@type': 'SoftwareApplication',
61
+ name: title,
62
+ description,
63
+ applicationCategory: 'UtilityApplication',
64
+ operatingSystem: 'All',
65
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
66
+ inLanguage: 'tr',
67
+ };
68
+
69
+ export const content: ToolLocaleContent<EpoxyCalculatorUI> = {
70
+ slug,
71
+ title,
72
+ description,
73
+ faqTitle: 'Sıkça Sorulan Sorular',
74
+ faq: faqData,
75
+ bibliographyTitle: 'Teknik Referanslar',
76
+ bibliography: [
77
+ { name: 'TotalBoat - Destek Merkezi ve Teknik Kılavuzlar', url: 'https://www.totalboat.com/pages/support' },
78
+ { name: 'ArtResin - SSS ve Kullanım Kılavuzu', url: 'https://www.artresin.com/pages/artresin-faq' },
79
+ ],
80
+ howTo: howToData,
81
+ schemas: [faqSchema, howToSchema, appSchema],
82
+ seo: [
83
+ { type: 'title', text: 'Epoksi Reçine Hesaplama ve Karıştırma Kılavuzu', level: 2 },
84
+ { type: 'paragraph', html: 'Epoksi reçine buharlaşma yoluyla kuruyan bir boya değildir; karmaşık bir <strong>ekzotermik kimyasal reaksiyondur</strong>. Sihir, epoksit molekülleri poliamin molekülleriyle zincirlenerek kristal katı bir termoset polimer oluşturduğunda gerçekleşir.' },
85
+ { type: 'paragraph', html: 'Dayanıklı bir sanat eseri ile yapış yapış bir felaket arasındaki fark <strong>tam stokiyometride</strong> yatar. Karışım oranındaki sadece %5\'lik bir hata, kürleşmeyi kalıcı olarak engelleyebilir. Bu araç, matematiksel tahminleri ortadan kaldırarak yaratıcılığınıza odaklanmanızı sağlar.' },
86
+ { type: 'grid', columns: [
87
+ { type: 'card', icon: 'mdi:scale-balance', title: 'Hacim mi Ağırlık mı?', html: '<p>Yeni başlayanların 1 numaralı hatası 100ml\'nin 100g ağırlığında olduğunu varsaymaktır. <strong>Reçine sertleştiriciden daha yoğundur.</strong></p><p>Ürününüzün teknik bilgi formu "ağırlıkça 100:50" diyorsa, bu "hacimce 2:1" ile AYNI değildir. Bu hesaplayıcı, kalıpları doldurmak için standart olan <strong>Hacim</strong> (V = U × G × Y) ile çalışır.</p>' },
88
+ { type: 'card', icon: 'mdi:water-percent', title: 'Yaygın Oranlar', html: '<ul><li><strong>1:1</strong> — Kaplamalar, vernikler ve hızlı yapıştırıcılar.</li><li><strong>2:1</strong> — Standart. Nehir masaları, takı ve orta ölçekli kalıplar.</li><li><strong>3:1</strong> — Endüstriyel zeminler ve yüksek sertlikteki yapısal laminatlar.</li></ul>' },
89
+ ]},
90
+ { type: 'title', text: 'Güvenlik Protokolü ve En İyi Uygulamalar', level: 2 },
91
+ { type: 'grid', columns: [
92
+ { type: 'card', icon: 'mdi:thermometer', title: 'Hayati Sıcaklık', html: '<p>Daima <strong>21°C ile 25°C</strong> arasında çalışın. Soğuk reaksiyonu durdurarak parçanın bulanık kalmasına neden olabilir. Aşırı ısı ekzotermik reaksiyonu tehlikeli bir şekilde hızlandırır ("flash cure").</p>' },
93
+ { type: 'card', icon: 'mdi:cup-outline', title: 'Çift Bardak Tekniği', html: '<p>Tek bir karıştırmaya güvenmeyin. Kenarları ve tabanı iyice sıyırın, karışımı <strong>ikinci temiz bir bardağa</strong> dökün ve tekrar karıştırın. Bu, katalize olmamış hiçbir malzemenin kalmamasını sağlar.</p>' },
94
+ ]},
95
+ ],
96
+ ui: {
97
+ shapeRect: 'Dikdörtgen',
98
+ shapeCylinder: 'Silindirik',
99
+ shapeSphere: 'Küresel',
100
+ labelLength: 'Boy (cm)',
101
+ labelWidth: 'En (cm)',
102
+ labelDiameter: 'Çap (cm)',
103
+ labelDepth: 'Derinlik (cm)',
104
+ labelRatio: 'Karışım Oranı (Ağırlık/Hacim)',
105
+ labelCustomRatio: 'Özel oran kullan (A:B)',
106
+ labelResinA: 'Reçine (A)',
107
+ labelHardenerB: 'Sertleştirici (B)',
108
+ labelWasteTitle: 'Güvenlik Payı',
109
+ labelWasteDesc: 'Kayıplar için %5 fazladan ekleyin',
110
+ labelTotalVolume: 'Toplam Hacim',
111
+ labelPartA: 'A Parçası (Reçine)',
112
+ labelPartB: 'B Parçası (Katalizör)',
113
+ labelVisualization: 'Görselleştirme',
114
+ shapeRectLabel: 'Dikdörtgen Blok',
115
+ shapeCylinderLabel: 'Silindir / Yuvarlak Kalıp',
116
+ shapeSphereLabel: 'Tam Küre',
117
+ },
118
+ };
@@ -0,0 +1,118 @@
1
+ import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+ import type { EpoxyCalculatorUI } from '../ui';
4
+
5
+ const slug = 'epoxy-resin-calculator';
6
+ const title = '环氧树脂计算器:混合比例与精确体积';
7
+ const description = '为您的项目计算环氧树脂和固化剂的精确用量。避免在河流桌、首饰和模具制作中造成浪费。';
8
+
9
+ const faqData = [
10
+ {
11
+ question: '为什么树脂的精确比例如此重要?',
12
+ answer: '与其他混合物不同,环氧树脂不是靠蒸发干燥的,而是通过化学反应(聚合)。如果树脂或固化剂过量,反应将不完全,导致作品粘手、变软或留下永久性气泡。',
13
+ },
14
+ {
15
+ question: '重量比 vs 体积比有什么区别?',
16
+ answer: '许多树脂的体积比是 2:1,但重量比通常是 100:45,因为固化剂通常密度更高。请始终使用制造商指定的比例,如果可能,请使用电子秤以获得最高精度。',
17
+ },
18
+ {
19
+ question: '混合时如何避免产生气泡?',
20
+ answer: '以恒定的圆周运动缓慢搅拌至少 3 分钟,同时刮净杯壁。浇注前让混合物静置几分钟,让气泡升到表面。',
21
+ },
22
+ {
23
+ question: '什么是操作时间 (Pot Life)?',
24
+ answer: '是指混合物开始硬化(凝胶化)前您可以进行操作的时间。在夏季或大规模混合时,由于放热反应(产生热量),这个时间会大幅缩短。',
25
+ },
26
+ ];
27
+
28
+ const howToData = [
29
+ { name: '测量模具尺寸', text: '测量您想要填充树脂区域的长度、宽度和深度(厚度)。' },
30
+ { name: '输入混合比例', text: '查看产品标签,确定混合比例是 1:1、2:1 还是 3:1,以及是基于重量还是体积。' },
31
+ { name: '称重组件', text: '在电子秤上的干净容器中,先倒入 A 组分(树脂),然后倒入 B 组分(固化剂)。' },
32
+ { name: '技术搅拌', text: '轻轻搅拌,直到混合物完全透明,看不见不同密度的“丝线”。' },
33
+ ];
34
+
35
+ const faqSchema: WithContext<FAQPage> = {
36
+ '@context': 'https://schema.org',
37
+ '@type': 'FAQPage',
38
+ mainEntity: faqData.map((item) => ({
39
+ '@type': 'Question',
40
+ name: item.question,
41
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
42
+ })),
43
+ };
44
+
45
+ const howToSchema: WithContext<HowToThing> = {
46
+ '@context': 'https://schema.org',
47
+ '@type': 'HowTo',
48
+ name: title,
49
+ description,
50
+ step: howToData.map((step, i) => ({
51
+ '@type': 'HowToStep',
52
+ position: i + 1,
53
+ name: step.name,
54
+ text: step.text,
55
+ })),
56
+ };
57
+
58
+ const appSchema: WithContext<SoftwareApplication> = {
59
+ '@context': 'https://schema.org',
60
+ '@type': 'SoftwareApplication',
61
+ name: title,
62
+ description,
63
+ applicationCategory: 'UtilityApplication',
64
+ operatingSystem: 'All',
65
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
66
+ inLanguage: 'zh',
67
+ };
68
+
69
+ export const content: ToolLocaleContent<EpoxyCalculatorUI> = {
70
+ slug,
71
+ title,
72
+ description,
73
+ faqTitle: '常见问题',
74
+ faq: faqData,
75
+ bibliographyTitle: '技术参考',
76
+ bibliography: [
77
+ { name: 'TotalBoat - 支持中心与技术指南', url: 'https://www.totalboat.com/pages/support' },
78
+ { name: 'ArtResin - 常见问题与使用指南', url: 'https://www.artresin.com/pages/artresin-faq' },
79
+ ],
80
+ howTo: howToData,
81
+ schemas: [faqSchema, howToSchema, appSchema],
82
+ seo: [
83
+ { type: 'title', text: '环氧树脂计算与混合指南', level: 2 },
84
+ { type: 'paragraph', html: '环氧树脂不是靠蒸发干燥的油漆;它是一个复杂的<strong>放热化学反应</strong>。当环氧分子与多胺分子链结合形成固体结晶热固性聚合物时,魔法就发生了。' },
85
+ { type: 'paragraph', html: '一件耐用的艺术品与一场粘糊糊的灾难之间的区别在于<strong>精确的化学计量</strong>。混合比例哪怕只有 5% 的误差,都可能永久性地抑制固化。本工具消除了数学上的猜测,让您专注于创作。' },
86
+ { type: 'grid', columns: [
87
+ { type: 'card', icon: 'mdi:scale-balance', title: '体积还是重量?', html: '<p>初学者的一号错误是假设 100ml 重 100g。<strong>树脂的密度比固化剂大。</strong></p><p>如果您的产品说明书上写着“重量比 100:50”,这与“体积比 2:1”是不同的。此计算器使用<strong>体积</strong> (V = L × W × H) 进行工作,这是填充模具的标准。</p>' },
88
+ { type: 'card', icon: 'mdi:water-percent', title: '常见比例', html: '<ul><li><strong>1:1</strong> — 涂层、清漆和快干胶水。</li><li><strong>2:1</strong> — 标准。河流桌、首饰和中型模具。</li><li><strong>3:1</strong> — 工业地面和高硬度结构层压板。</li></ul>' },
89
+ ]},
90
+ { type: 'title', text: '安全协议与最佳实践', level: 2 },
91
+ { type: 'grid', columns: [
92
+ { type: 'card', icon: 'mdi:thermometer', title: '关键温度', html: '<p>始终在 <strong>21°C 至 25°C</strong> 之间操作。寒冷会中止反应,使作品变得混浊。热量过高会危险地加速放热反应(爆聚)。</p>' },
93
+ { type: 'card', icon: 'mdi:cup-outline', title: '双杯混合法', html: '<p>不要依赖单次混合。彻底刮净杯壁和杯底,将混合物倒入<strong>第二个干净的杯子</strong>中再次搅拌。这可以确保没有未反应的材料残留。</p>' },
94
+ ]},
95
+ ],
96
+ ui: {
97
+ shapeRect: '矩形',
98
+ shapeCylinder: '圆柱形',
99
+ shapeSphere: '球形',
100
+ labelLength: '长度 (cm)',
101
+ labelWidth: '宽度 (cm)',
102
+ labelDiameter: '直径 (cm)',
103
+ labelDepth: '深度 (cm)',
104
+ labelRatio: '混合比例 (重量/体积)',
105
+ labelCustomRatio: '使用自定义比例 (A:B)',
106
+ labelResinA: '树脂 (A)',
107
+ labelHardenerB: '固化剂 (B)',
108
+ labelWasteTitle: '安全余量',
109
+ labelWasteDesc: '额外增加 5% 以弥补损耗',
110
+ labelTotalVolume: '总重量',
111
+ labelPartA: 'A 组分 (树脂)',
112
+ labelPartB: 'B 组分 (固化剂)',
113
+ labelVisualization: '可视化',
114
+ shapeRectLabel: '矩形块',
115
+ shapeCylinderLabel: '圆柱体 / 圆形模具',
116
+ shapeSphereLabel: '完整球体',
117
+ },
118
+ };
@@ -6,10 +6,6 @@ import type { EpoxyCalculatorUI } from './ui';
6
6
 
7
7
  export type EpoxyCalculatorLocaleContent = ToolLocaleContent<EpoxyCalculatorUI>;
8
8
 
9
- import { content as es } from './i18n/es';
10
- import { content as en } from './i18n/en';
11
- import { content as fr } from './i18n/fr';
12
-
13
9
  export const epoxyCalculator: DiyToolEntry<EpoxyCalculatorUI> = {
14
10
  id: 'epoxy-calculator',
15
11
  icons: {
@@ -17,9 +13,21 @@ export const epoxyCalculator: DiyToolEntry<EpoxyCalculatorUI> = {
17
13
  fg: 'mdi:scale-balance',
18
14
  },
19
15
  i18n: {
20
- es: async () => es,
21
- en: async () => en,
22
- fr: async () => fr,
16
+ de: () => import('./i18n/de').then((m) => m.content),
17
+ en: () => import('./i18n/en').then((m) => m.content),
18
+ es: () => import('./i18n/es').then((m) => m.content),
19
+ fr: () => import('./i18n/fr').then((m) => m.content),
20
+ id: () => import('./i18n/id').then((m) => m.content),
21
+ it: () => import('./i18n/it').then((m) => m.content),
22
+ ja: () => import('./i18n/ja').then((m) => m.content),
23
+ ko: () => import('./i18n/ko').then((m) => m.content),
24
+ nl: () => import('./i18n/nl').then((m) => m.content),
25
+ pl: () => import('./i18n/pl').then((m) => m.content),
26
+ pt: () => import('./i18n/pt').then((m) => m.content),
27
+ ru: () => import('./i18n/ru').then((m) => m.content),
28
+ sv: () => import('./i18n/sv').then((m) => m.content),
29
+ tr: () => import('./i18n/tr').then((m) => m.content),
30
+ zh: () => import('./i18n/zh').then((m) => m.content),
23
31
  },
24
32
  };
25
33