@jjlmoya/utils-diy 1.28.0 → 1.30.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 (304) hide show
  1. package/package.json +2 -2
  2. package/src/category/i18n/de.ts +12 -12
  3. package/src/category/i18n/en.ts +110 -110
  4. package/src/category/i18n/es.ts +110 -110
  5. package/src/category/i18n/fr.ts +101 -101
  6. package/src/category/i18n/id.ts +12 -12
  7. package/src/category/i18n/it.ts +12 -12
  8. package/src/category/i18n/ja.ts +12 -12
  9. package/src/category/i18n/ko.ts +12 -12
  10. package/src/category/i18n/nl.ts +12 -12
  11. package/src/category/i18n/pl.ts +12 -12
  12. package/src/category/i18n/pt.ts +12 -12
  13. package/src/category/i18n/ru.ts +12 -12
  14. package/src/category/i18n/sv.ts +12 -12
  15. package/src/category/i18n/tr.ts +12 -12
  16. package/src/category/i18n/zh.ts +12 -12
  17. package/src/category/index.ts +36 -36
  18. package/src/category/seo.astro +1 -1
  19. package/src/components/PreviewNavSidebar.astro +1 -1
  20. package/src/components/PreviewToolbar.astro +1 -1
  21. package/src/data.ts +1 -1
  22. package/src/entries.ts +37 -37
  23. package/src/env.d.ts +1 -1
  24. package/src/index.ts +50 -50
  25. package/src/layouts/PreviewLayout.astro +1 -1
  26. package/src/pages/index.astro +1 -1
  27. package/src/tests/category_seo_quality.test.ts +74 -0
  28. package/src/tests/faq_count.test.ts +1 -1
  29. package/src/tests/mocks/astro_mock.js +1 -1
  30. package/src/tests/no_h1_in_components.test.ts +1 -1
  31. package/src/tests/seo_length.test.ts +1 -1
  32. package/src/tests/seo_parity.test.ts +2 -2
  33. package/src/tests/seo_translation_completeness.test.ts +18 -12
  34. package/src/tests/tool_validation.test.ts +15 -15
  35. package/src/tool/balusterCalculator/bibliography.ts +16 -16
  36. package/src/tool/balusterCalculator/i18n/de.ts +251 -251
  37. package/src/tool/balusterCalculator/i18n/en.ts +251 -251
  38. package/src/tool/balusterCalculator/i18n/es.ts +251 -251
  39. package/src/tool/balusterCalculator/i18n/fr.ts +251 -251
  40. package/src/tool/balusterCalculator/i18n/id.ts +251 -251
  41. package/src/tool/balusterCalculator/i18n/it.ts +251 -251
  42. package/src/tool/balusterCalculator/i18n/ja.ts +251 -251
  43. package/src/tool/balusterCalculator/i18n/ko.ts +251 -251
  44. package/src/tool/balusterCalculator/i18n/nl.ts +251 -251
  45. package/src/tool/balusterCalculator/i18n/pl.ts +251 -251
  46. package/src/tool/balusterCalculator/i18n/pt.ts +251 -251
  47. package/src/tool/balusterCalculator/i18n/ru.ts +251 -251
  48. package/src/tool/balusterCalculator/i18n/sv.ts +251 -251
  49. package/src/tool/balusterCalculator/i18n/tr.ts +251 -251
  50. package/src/tool/balusterCalculator/i18n/zh.ts +251 -251
  51. package/src/tool/balusterCalculator/seo.astro +15 -15
  52. package/src/tool/clayCalculator/bibliography.ts +12 -12
  53. package/src/tool/clayCalculator/i18n/de.ts +174 -174
  54. package/src/tool/clayCalculator/i18n/en.ts +174 -174
  55. package/src/tool/clayCalculator/i18n/es.ts +174 -174
  56. package/src/tool/clayCalculator/i18n/fr.ts +174 -174
  57. package/src/tool/clayCalculator/i18n/id.ts +174 -174
  58. package/src/tool/clayCalculator/i18n/it.ts +174 -174
  59. package/src/tool/clayCalculator/i18n/ja.ts +173 -173
  60. package/src/tool/clayCalculator/i18n/ko.ts +174 -174
  61. package/src/tool/clayCalculator/i18n/nl.ts +174 -174
  62. package/src/tool/clayCalculator/i18n/pl.ts +174 -174
  63. package/src/tool/clayCalculator/i18n/pt.ts +174 -174
  64. package/src/tool/clayCalculator/i18n/ru.ts +174 -174
  65. package/src/tool/clayCalculator/i18n/sv.ts +174 -174
  66. package/src/tool/clayCalculator/i18n/tr.ts +174 -174
  67. package/src/tool/clayCalculator/i18n/zh.ts +174 -174
  68. package/src/tool/clayCalculator/seo.astro +15 -15
  69. package/src/tool/concreteCalculator/bibliography.ts +7 -7
  70. package/src/tool/concreteCalculator/i18n/de.ts +188 -188
  71. package/src/tool/concreteCalculator/i18n/en.ts +188 -188
  72. package/src/tool/concreteCalculator/i18n/es.ts +188 -188
  73. package/src/tool/concreteCalculator/i18n/fr.ts +188 -188
  74. package/src/tool/concreteCalculator/i18n/id.ts +188 -188
  75. package/src/tool/concreteCalculator/i18n/it.ts +188 -188
  76. package/src/tool/concreteCalculator/i18n/ja.ts +188 -188
  77. package/src/tool/concreteCalculator/i18n/ko.ts +188 -188
  78. package/src/tool/concreteCalculator/i18n/nl.ts +188 -188
  79. package/src/tool/concreteCalculator/i18n/pl.ts +188 -188
  80. package/src/tool/concreteCalculator/i18n/pt.ts +188 -188
  81. package/src/tool/concreteCalculator/i18n/ru.ts +188 -188
  82. package/src/tool/concreteCalculator/i18n/sv.ts +188 -188
  83. package/src/tool/concreteCalculator/i18n/tr.ts +188 -188
  84. package/src/tool/concreteCalculator/i18n/zh.ts +188 -188
  85. package/src/tool/concreteCalculator/seo.astro +15 -15
  86. package/src/tool/cutOptimizer/bibliography.ts +12 -12
  87. package/src/tool/cutOptimizer/i18n/de.ts +169 -169
  88. package/src/tool/cutOptimizer/i18n/en.ts +169 -169
  89. package/src/tool/cutOptimizer/i18n/es.ts +169 -169
  90. package/src/tool/cutOptimizer/i18n/fr.ts +169 -169
  91. package/src/tool/cutOptimizer/i18n/id.ts +169 -169
  92. package/src/tool/cutOptimizer/i18n/it.ts +169 -169
  93. package/src/tool/cutOptimizer/i18n/ja.ts +169 -169
  94. package/src/tool/cutOptimizer/i18n/ko.ts +169 -169
  95. package/src/tool/cutOptimizer/i18n/nl.ts +169 -169
  96. package/src/tool/cutOptimizer/i18n/pl.ts +169 -169
  97. package/src/tool/cutOptimizer/i18n/pt.ts +169 -169
  98. package/src/tool/cutOptimizer/i18n/ru.ts +169 -169
  99. package/src/tool/cutOptimizer/i18n/sv.ts +169 -169
  100. package/src/tool/cutOptimizer/i18n/tr.ts +169 -169
  101. package/src/tool/cutOptimizer/i18n/zh.ts +169 -169
  102. package/src/tool/cutOptimizer/seo.astro +15 -15
  103. package/src/tool/drillCalculator/bibliography.ts +12 -12
  104. package/src/tool/drillCalculator/i18n/de.ts +134 -134
  105. package/src/tool/drillCalculator/i18n/en.ts +134 -134
  106. package/src/tool/drillCalculator/i18n/es.ts +134 -134
  107. package/src/tool/drillCalculator/i18n/fr.ts +134 -134
  108. package/src/tool/drillCalculator/i18n/id.ts +134 -134
  109. package/src/tool/drillCalculator/i18n/it.ts +134 -134
  110. package/src/tool/drillCalculator/i18n/ja.ts +134 -134
  111. package/src/tool/drillCalculator/i18n/ko.ts +134 -134
  112. package/src/tool/drillCalculator/i18n/nl.ts +134 -134
  113. package/src/tool/drillCalculator/i18n/pl.ts +134 -134
  114. package/src/tool/drillCalculator/i18n/pt.ts +134 -134
  115. package/src/tool/drillCalculator/i18n/ru.ts +134 -134
  116. package/src/tool/drillCalculator/i18n/sv.ts +134 -134
  117. package/src/tool/drillCalculator/i18n/tr.ts +134 -134
  118. package/src/tool/drillCalculator/i18n/zh.ts +134 -134
  119. package/src/tool/drillCalculator/seo.astro +15 -15
  120. package/src/tool/drillSharpener/bibliography.ts +16 -16
  121. package/src/tool/drillSharpener/i18n/de.ts +117 -117
  122. package/src/tool/drillSharpener/i18n/en.ts +117 -117
  123. package/src/tool/drillSharpener/i18n/es.ts +117 -117
  124. package/src/tool/drillSharpener/i18n/fr.ts +117 -117
  125. package/src/tool/drillSharpener/i18n/id.ts +117 -117
  126. package/src/tool/drillSharpener/i18n/it.ts +117 -117
  127. package/src/tool/drillSharpener/i18n/ja.ts +117 -117
  128. package/src/tool/drillSharpener/i18n/ko.ts +117 -117
  129. package/src/tool/drillSharpener/i18n/nl.ts +117 -117
  130. package/src/tool/drillSharpener/i18n/pl.ts +117 -117
  131. package/src/tool/drillSharpener/i18n/pt.ts +117 -117
  132. package/src/tool/drillSharpener/i18n/ru.ts +117 -117
  133. package/src/tool/drillSharpener/i18n/sv.ts +117 -117
  134. package/src/tool/drillSharpener/i18n/tr.ts +117 -117
  135. package/src/tool/drillSharpener/i18n/zh.ts +117 -117
  136. package/src/tool/drillSharpener/seo.astro +15 -15
  137. package/src/tool/epoxyCalculator/bibliography.ts +20 -20
  138. package/src/tool/epoxyCalculator/i18n/de.ts +116 -116
  139. package/src/tool/epoxyCalculator/i18n/en.ts +178 -178
  140. package/src/tool/epoxyCalculator/i18n/es.ts +178 -178
  141. package/src/tool/epoxyCalculator/i18n/fr.ts +178 -178
  142. package/src/tool/epoxyCalculator/i18n/id.ts +116 -116
  143. package/src/tool/epoxyCalculator/i18n/it.ts +116 -116
  144. package/src/tool/epoxyCalculator/i18n/ja.ts +116 -116
  145. package/src/tool/epoxyCalculator/i18n/ko.ts +116 -116
  146. package/src/tool/epoxyCalculator/i18n/nl.ts +116 -116
  147. package/src/tool/epoxyCalculator/i18n/pl.ts +116 -116
  148. package/src/tool/epoxyCalculator/i18n/pt.ts +116 -116
  149. package/src/tool/epoxyCalculator/i18n/ru.ts +116 -116
  150. package/src/tool/epoxyCalculator/i18n/sv.ts +116 -116
  151. package/src/tool/epoxyCalculator/i18n/tr.ts +116 -116
  152. package/src/tool/epoxyCalculator/i18n/zh.ts +116 -116
  153. package/src/tool/epoxyCalculator/seo.astro +15 -15
  154. package/src/tool/furnitureFit/bibliography.ts +12 -12
  155. package/src/tool/furnitureFit/i18n/de.ts +111 -111
  156. package/src/tool/furnitureFit/i18n/en.ts +149 -149
  157. package/src/tool/furnitureFit/i18n/es.ts +149 -149
  158. package/src/tool/furnitureFit/i18n/fr.ts +149 -149
  159. package/src/tool/furnitureFit/i18n/id.ts +111 -111
  160. package/src/tool/furnitureFit/i18n/it.ts +111 -111
  161. package/src/tool/furnitureFit/i18n/ja.ts +111 -111
  162. package/src/tool/furnitureFit/i18n/ko.ts +111 -111
  163. package/src/tool/furnitureFit/i18n/nl.ts +111 -111
  164. package/src/tool/furnitureFit/i18n/pl.ts +111 -111
  165. package/src/tool/furnitureFit/i18n/pt.ts +111 -111
  166. package/src/tool/furnitureFit/i18n/ru.ts +111 -111
  167. package/src/tool/furnitureFit/i18n/sv.ts +111 -111
  168. package/src/tool/furnitureFit/i18n/tr.ts +111 -111
  169. package/src/tool/furnitureFit/i18n/zh.ts +111 -111
  170. package/src/tool/furnitureFit/seo.astro +15 -15
  171. package/src/tool/mortarCalculator/bibliography.ts +20 -20
  172. package/src/tool/mortarCalculator/i18n/de.ts +130 -130
  173. package/src/tool/mortarCalculator/i18n/en.ts +202 -202
  174. package/src/tool/mortarCalculator/i18n/es.ts +179 -179
  175. package/src/tool/mortarCalculator/i18n/fr.ts +203 -203
  176. package/src/tool/mortarCalculator/i18n/id.ts +130 -130
  177. package/src/tool/mortarCalculator/i18n/it.ts +130 -130
  178. package/src/tool/mortarCalculator/i18n/ja.ts +130 -130
  179. package/src/tool/mortarCalculator/i18n/ko.ts +130 -130
  180. package/src/tool/mortarCalculator/i18n/nl.ts +130 -130
  181. package/src/tool/mortarCalculator/i18n/pl.ts +130 -130
  182. package/src/tool/mortarCalculator/i18n/pt.ts +130 -130
  183. package/src/tool/mortarCalculator/i18n/ru.ts +130 -130
  184. package/src/tool/mortarCalculator/i18n/sv.ts +130 -130
  185. package/src/tool/mortarCalculator/i18n/tr.ts +130 -130
  186. package/src/tool/mortarCalculator/i18n/zh.ts +130 -130
  187. package/src/tool/mortarCalculator/seo.astro +15 -15
  188. package/src/tool/passepartoutCalculator/bibliography.ts +16 -16
  189. package/src/tool/passepartoutCalculator/i18n/de.ts +108 -108
  190. package/src/tool/passepartoutCalculator/i18n/en.ts +165 -165
  191. package/src/tool/passepartoutCalculator/i18n/es.ts +165 -165
  192. package/src/tool/passepartoutCalculator/i18n/fr.ts +165 -165
  193. package/src/tool/passepartoutCalculator/i18n/id.ts +108 -108
  194. package/src/tool/passepartoutCalculator/i18n/it.ts +108 -108
  195. package/src/tool/passepartoutCalculator/i18n/ja.ts +108 -108
  196. package/src/tool/passepartoutCalculator/i18n/ko.ts +108 -108
  197. package/src/tool/passepartoutCalculator/i18n/nl.ts +108 -108
  198. package/src/tool/passepartoutCalculator/i18n/pl.ts +108 -108
  199. package/src/tool/passepartoutCalculator/i18n/pt.ts +108 -108
  200. package/src/tool/passepartoutCalculator/i18n/ru.ts +108 -108
  201. package/src/tool/passepartoutCalculator/i18n/sv.ts +108 -108
  202. package/src/tool/passepartoutCalculator/i18n/tr.ts +108 -108
  203. package/src/tool/passepartoutCalculator/i18n/zh.ts +108 -108
  204. package/src/tool/passepartoutCalculator/seo.astro +15 -15
  205. package/src/tool/pythagoreanRightAngleCalculator/bibliography.ts +12 -12
  206. package/src/tool/pythagoreanRightAngleCalculator/i18n/de.ts +129 -129
  207. package/src/tool/pythagoreanRightAngleCalculator/i18n/en.ts +129 -129
  208. package/src/tool/pythagoreanRightAngleCalculator/i18n/es.ts +129 -129
  209. package/src/tool/pythagoreanRightAngleCalculator/i18n/fr.ts +129 -129
  210. package/src/tool/pythagoreanRightAngleCalculator/i18n/id.ts +129 -129
  211. package/src/tool/pythagoreanRightAngleCalculator/i18n/it.ts +129 -129
  212. package/src/tool/pythagoreanRightAngleCalculator/i18n/ja.ts +129 -129
  213. package/src/tool/pythagoreanRightAngleCalculator/i18n/ko.ts +129 -129
  214. package/src/tool/pythagoreanRightAngleCalculator/i18n/nl.ts +129 -129
  215. package/src/tool/pythagoreanRightAngleCalculator/i18n/pl.ts +129 -129
  216. package/src/tool/pythagoreanRightAngleCalculator/i18n/pt.ts +129 -129
  217. package/src/tool/pythagoreanRightAngleCalculator/i18n/ru.ts +129 -129
  218. package/src/tool/pythagoreanRightAngleCalculator/i18n/sv.ts +129 -129
  219. package/src/tool/pythagoreanRightAngleCalculator/i18n/tr.ts +129 -129
  220. package/src/tool/pythagoreanRightAngleCalculator/i18n/zh.ts +129 -129
  221. package/src/tool/stairCalculator/bibliography.ts +16 -16
  222. package/src/tool/stairCalculator/i18n/de.ts +143 -143
  223. package/src/tool/stairCalculator/i18n/en.ts +145 -145
  224. package/src/tool/stairCalculator/i18n/es.ts +145 -145
  225. package/src/tool/stairCalculator/i18n/fr.ts +145 -145
  226. package/src/tool/stairCalculator/i18n/id.ts +143 -143
  227. package/src/tool/stairCalculator/i18n/it.ts +143 -143
  228. package/src/tool/stairCalculator/i18n/ja.ts +143 -143
  229. package/src/tool/stairCalculator/i18n/ko.ts +143 -143
  230. package/src/tool/stairCalculator/i18n/nl.ts +143 -143
  231. package/src/tool/stairCalculator/i18n/pl.ts +143 -143
  232. package/src/tool/stairCalculator/i18n/pt.ts +143 -143
  233. package/src/tool/stairCalculator/i18n/ru.ts +143 -143
  234. package/src/tool/stairCalculator/i18n/sv.ts +143 -143
  235. package/src/tool/stairCalculator/i18n/tr.ts +143 -143
  236. package/src/tool/stairCalculator/i18n/zh.ts +143 -143
  237. package/src/tool/stairCalculator/seo.astro +15 -15
  238. package/src/tool/thermalExpansionCalculator/bibliography.ts +16 -16
  239. package/src/tool/thermalExpansionCalculator/i18n/de.ts +132 -132
  240. package/src/tool/thermalExpansionCalculator/i18n/en.ts +170 -170
  241. package/src/tool/thermalExpansionCalculator/i18n/es.ts +170 -170
  242. package/src/tool/thermalExpansionCalculator/i18n/fr.ts +170 -170
  243. package/src/tool/thermalExpansionCalculator/i18n/id.ts +132 -132
  244. package/src/tool/thermalExpansionCalculator/i18n/it.ts +132 -132
  245. package/src/tool/thermalExpansionCalculator/i18n/ja.ts +132 -132
  246. package/src/tool/thermalExpansionCalculator/i18n/ko.ts +132 -132
  247. package/src/tool/thermalExpansionCalculator/i18n/nl.ts +132 -132
  248. package/src/tool/thermalExpansionCalculator/i18n/pl.ts +132 -132
  249. package/src/tool/thermalExpansionCalculator/i18n/pt.ts +132 -132
  250. package/src/tool/thermalExpansionCalculator/i18n/ru.ts +132 -132
  251. package/src/tool/thermalExpansionCalculator/i18n/sv.ts +132 -132
  252. package/src/tool/thermalExpansionCalculator/i18n/tr.ts +132 -132
  253. package/src/tool/thermalExpansionCalculator/i18n/zh.ts +132 -132
  254. package/src/tool/thermalExpansionCalculator/seo.astro +15 -15
  255. package/src/tool/twoStrokeMixtureCalculator/bibliography.ts +12 -12
  256. package/src/tool/twoStrokeMixtureCalculator/i18n/de.ts +194 -194
  257. package/src/tool/twoStrokeMixtureCalculator/i18n/en.ts +194 -194
  258. package/src/tool/twoStrokeMixtureCalculator/i18n/es.ts +194 -194
  259. package/src/tool/twoStrokeMixtureCalculator/i18n/fr.ts +194 -194
  260. package/src/tool/twoStrokeMixtureCalculator/i18n/id.ts +194 -194
  261. package/src/tool/twoStrokeMixtureCalculator/i18n/it.ts +194 -194
  262. package/src/tool/twoStrokeMixtureCalculator/i18n/ja.ts +194 -194
  263. package/src/tool/twoStrokeMixtureCalculator/i18n/ko.ts +194 -194
  264. package/src/tool/twoStrokeMixtureCalculator/i18n/nl.ts +194 -194
  265. package/src/tool/twoStrokeMixtureCalculator/i18n/pl.ts +194 -194
  266. package/src/tool/twoStrokeMixtureCalculator/i18n/pt.ts +194 -194
  267. package/src/tool/twoStrokeMixtureCalculator/i18n/ru.ts +194 -194
  268. package/src/tool/twoStrokeMixtureCalculator/i18n/sv.ts +194 -194
  269. package/src/tool/twoStrokeMixtureCalculator/i18n/tr.ts +194 -194
  270. package/src/tool/twoStrokeMixtureCalculator/i18n/zh.ts +194 -194
  271. package/src/tool/voltageDropCalculator/bibliography.ts +16 -16
  272. package/src/tool/voltageDropCalculator/i18n/de.ts +113 -113
  273. package/src/tool/voltageDropCalculator/i18n/en.ts +151 -151
  274. package/src/tool/voltageDropCalculator/i18n/es.ts +151 -151
  275. package/src/tool/voltageDropCalculator/i18n/fr.ts +145 -145
  276. package/src/tool/voltageDropCalculator/i18n/id.ts +113 -113
  277. package/src/tool/voltageDropCalculator/i18n/it.ts +113 -113
  278. package/src/tool/voltageDropCalculator/i18n/ja.ts +113 -113
  279. package/src/tool/voltageDropCalculator/i18n/ko.ts +113 -113
  280. package/src/tool/voltageDropCalculator/i18n/nl.ts +113 -113
  281. package/src/tool/voltageDropCalculator/i18n/pl.ts +113 -113
  282. package/src/tool/voltageDropCalculator/i18n/pt.ts +113 -113
  283. package/src/tool/voltageDropCalculator/i18n/ru.ts +113 -113
  284. package/src/tool/voltageDropCalculator/i18n/sv.ts +113 -113
  285. package/src/tool/voltageDropCalculator/i18n/tr.ts +113 -113
  286. package/src/tool/voltageDropCalculator/i18n/zh.ts +113 -113
  287. package/src/tool/voltageDropCalculator/seo.astro +15 -15
  288. package/src/tool/workshopFractionConverter/bibliography.ts +12 -12
  289. package/src/tool/workshopFractionConverter/i18n/de.ts +147 -147
  290. package/src/tool/workshopFractionConverter/i18n/en.ts +147 -147
  291. package/src/tool/workshopFractionConverter/i18n/es.ts +147 -147
  292. package/src/tool/workshopFractionConverter/i18n/fr.ts +147 -147
  293. package/src/tool/workshopFractionConverter/i18n/id.ts +147 -147
  294. package/src/tool/workshopFractionConverter/i18n/it.ts +147 -147
  295. package/src/tool/workshopFractionConverter/i18n/ja.ts +147 -147
  296. package/src/tool/workshopFractionConverter/i18n/ko.ts +147 -147
  297. package/src/tool/workshopFractionConverter/i18n/nl.ts +147 -147
  298. package/src/tool/workshopFractionConverter/i18n/pl.ts +147 -147
  299. package/src/tool/workshopFractionConverter/i18n/pt.ts +147 -147
  300. package/src/tool/workshopFractionConverter/i18n/ru.ts +147 -147
  301. package/src/tool/workshopFractionConverter/i18n/sv.ts +147 -147
  302. package/src/tool/workshopFractionConverter/i18n/tr.ts +147 -147
  303. package/src/tool/workshopFractionConverter/i18n/zh.ts +147 -147
  304. package/src/tools.ts +20 -20
@@ -1,145 +1,145 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
- import type { ToolLocaleContent } from '../../../types';
3
- import type { StairCalculatorUI } from '../ui';
4
- import { bibliography } from '../bibliography';
5
-
6
- const slug = 'stair-calculator';
7
- const title = 'Stair Calculator: Design and Execution';
8
- const description = 'Calculate exact stair measurements: tread, riser, slope and materials. Apply Blondel\'s law and avoid construction errors.';
9
-
10
- const faqData = [
11
- {
12
- question: 'What is Blondel\'s law?',
13
- answer: 'It is a formula that establishes that for a staircase to be comfortable, the sum of two risers and one tread should be between 62 and 64 cm (2R + T = 63). This law is based on average human step length and ensures that climbing or descending is safe and comfortable.',
14
- },
15
- {
16
- question: 'What is the maximum height of a step?',
17
- answer: 'In residential buildings, 18-19 cm is recommended. For public spaces, the maximum is typically 17.5 cm according to standards. Higher risers are tiring and potentially dangerous, especially for children and elderly people.',
18
- },
19
- {
20
- question: 'How do I calculate if space is limited?',
21
- answer: 'If horizontal space is limited, you must increase the number of steps (reducing riser height) or accept a steeper slope, though less comfortable. The calculator helps you find the optimal balance.',
22
- },
23
- {
24
- question: 'What does concrete volume calculation include?',
25
- answer: 'The total concrete volume is calculated considering the steps plus the inclined slab (the sloped plane supporting the steps). Ignoring this volume would result in insufficient concrete orders.',
26
- },
27
- {
28
- question: 'Why is cumulative layout important?',
29
- answer: 'Measuring each step separately generates cumulative errors. Cumulative layout ensures all steps have exactly the same height, avoiding hazards and improving usage comfort.',
30
- },
31
- ];
32
-
33
- const howToData = [
34
- { name: 'Measure the height difference', text: 'Measure the total height difference (H) from finished floor to finished floor above. This is the fundamental value for the entire calculation.' },
35
- { name: 'Enter available length', text: 'Optional: If you have space constraints, enter available horizontal length. Use 0 for free calculation without limits.' },
36
- { name: 'Adjust number of steps', text: 'The calculator proposes an initial number, but you can adjust it. Watch the Blondel indicator: it should be green (62-64 cm) for maximum comfort.' },
37
- { name: 'Define construction parameters', text: 'Specify slab thickness, finishes, concrete strength and stair width. These values affect final material calculations.' },
38
- ];
39
-
40
- const faqSchema: WithContext<FAQPage> = {
41
- '@context': 'https://schema.org',
42
- '@type': 'FAQPage',
43
- mainEntity: faqData.map((item) => ({
44
- '@type': 'Question',
45
- name: item.question,
46
- acceptedAnswer: { '@type': 'Answer', text: item.answer },
47
- })),
48
- };
49
-
50
- const howToSchema: WithContext<HowToThing> = {
51
- '@context': 'https://schema.org',
52
- '@type': 'HowTo',
53
- name: title,
54
- description,
55
- step: howToData.map((step, i) => ({
56
- '@type': 'HowToStep',
57
- position: i + 1,
58
- name: step.name,
59
- text: step.text,
60
- })),
61
- };
62
-
63
- const appSchema: WithContext<SoftwareApplication> = {
64
- '@context': 'https://schema.org',
65
- '@type': 'SoftwareApplication',
66
- name: title,
67
- description,
68
- applicationCategory: 'UtilityApplication',
69
- operatingSystem: 'All',
70
- offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
71
- inLanguage: 'en',
72
- };
73
-
74
- export const content: ToolLocaleContent<StairCalculatorUI> = {
75
- slug,
76
- title,
77
- description,
78
- faqTitle: 'Frequently Asked Questions',
79
- faq: faqData,
80
- bibliography,
81
- howTo: howToData,
82
- schemas: [faqSchema, howToSchema, appSchema],
83
- seo: [
84
- { type: 'title', text: 'Staircase Design Geometry: Blondel\'s Law', level: 2 },
85
- { type: 'paragraph', html: 'The comfort of a staircase depends on human step length. When you climb or descend stairs, your body expects a predictable rhythm. Blondel\'s law establishes that 2 risers + 1 tread = 62-64 cm is the standard ensuring maximum comfort and safety.' },
86
- { type: 'title', text: 'Structural Control and Materials', level: 3 },
87
- { type: 'paragraph', html: 'For professional execution, it is vital to account for the concrete slab (the inclined plane supporting the steps). Ignoring this volume would result in insufficient concrete orders and defective construction. The calculator automatically integrates this calculation.' },
88
- { type: 'title', text: 'Layout and Marking: Cumulative Error', level: 3 },
89
- { type: 'paragraph', html: 'In construction, the greatest enemy is millimetre-level error. If you measure each step separately, the sum of small errors can leave the last step 5 cm higher or lower than the first. Cumulative layout prevents this problem.' },
90
- { type: 'title', text: 'Final Finish Provisions', level: 3 },
91
- { type: 'paragraph', html: 'A critical detail: are you installing 3 cm granite steps? This data is fundamental. If not properly accounted for, the first step will be 3 cm higher and the last 3 cm lower, creating a real safety hazard.' },
92
- ],
93
- ui: {
94
- labelGeometry: 'Geometry and Opening',
95
- labelTotalHeight: 'Total Height Difference (H)',
96
- labelAvailableLength: 'Available Length (L)',
97
- labelAvailableLengthHint: 'Use 0 for free calculation.',
98
- labelNumSteps: 'Number of Steps',
99
- labelOptimize: 'Optimize (18cm)',
100
- labelWork: 'Construction Details',
101
- labelSlabThickness: 'Slab (e)',
102
- labelFinishThickness: 'Finish',
103
- labelCeilingHeight: 'Ceiling Height (Optional)',
104
- labelStairWidth: 'Stair Width',
105
- labelConcreteStrength: 'Concrete Strength',
106
- optionH150: 'H-150 (Lean)',
107
- optionH200: 'H-200 (Residential)',
108
- optionH250: 'H-250 (Structural)',
109
- labelRiser: 'Riser',
110
- labelTread: 'Tread',
111
- labelSlope: 'Slope',
112
- labelRealAdvance: 'Actual Run',
113
- labelLayoutTable: 'Layout and Execution',
114
- colStep: 'Step',
115
- colConcreteHeight: 'Concrete Height',
116
- colFinishedHeight: 'Finished Height',
117
- colAdvance: 'Run',
118
- adjustedNote: 'Adjusted',
119
- labelMaterials: 'Material Estimate',
120
- labelTotalConcrete: 'Total Concrete:',
121
- labelCement: 'Cement (bags/25kg):',
122
- labelSand: 'Sand Required:',
123
- unitM3: 'm³',
124
- unitBags: 'bags',
125
- unitLiters: 'L',
126
- btnShare: 'Share',
127
- btnPrint: 'Print PDF',
128
- statusOptimalComfort: 'Optimal Comfort',
129
- statusMarginLimit: 'Margin Limit',
130
- statusCriticalDesign: 'Critical Design',
131
- statusRiserError: 'Tread Error',
132
-
133
- msgInvalidValues: 'Invalid values',
134
- msgInsufficientSpace: 'INSUFFICIENT SPACE',
135
- msgDangerousTread: 'The {val}cm tread is dangerous.',
136
- msgBlondelValue: 'Blondel: {val}cm.',
137
- msgOptimalStep: 'Comfortable step: {val}cm.',
138
- msgLowCeiling: 'LOW HEADROOM (<2m)',
139
- msgCalculating: 'Calculating...',
140
- msgEnterMeasurements: 'Enter measurements',
141
-
142
- shareTitle: 'Construction Summary',
143
- shareMessage: 'Stairs: H={h}cm, N={n}, CH={ch}cm, Vol={vol}m3',
144
- },
145
- };
1
+ import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+ import type { StairCalculatorUI } from '../ui';
4
+ import { bibliography } from '../bibliography';
5
+
6
+ const slug = 'stair-calculator';
7
+ const title = 'Stair Calculator: Design and Execution';
8
+ const description = 'Calculate exact stair measurements: tread, riser, slope and materials. Apply Blondel\'s law and avoid construction errors.';
9
+
10
+ const faqData = [
11
+ {
12
+ question: 'What is Blondel\'s law?',
13
+ answer: 'It is a formula that establishes that for a staircase to be comfortable, the sum of two risers and one tread should be between 62 and 64 cm (2R + T = 63). This law is based on average human step length and ensures that climbing or descending is safe and comfortable.',
14
+ },
15
+ {
16
+ question: 'What is the maximum height of a step?',
17
+ answer: 'In residential buildings, 18-19 cm is recommended. For public spaces, the maximum is typically 17.5 cm according to standards. Higher risers are tiring and potentially dangerous, especially for children and elderly people.',
18
+ },
19
+ {
20
+ question: 'How do I calculate if space is limited?',
21
+ answer: 'If horizontal space is limited, you must increase the number of steps (reducing riser height) or accept a steeper slope, though less comfortable. The calculator helps you find the optimal balance.',
22
+ },
23
+ {
24
+ question: 'What does concrete volume calculation include?',
25
+ answer: 'The total concrete volume is calculated considering the steps plus the inclined slab (the sloped plane supporting the steps). Ignoring this volume would result in insufficient concrete orders.',
26
+ },
27
+ {
28
+ question: 'Why is cumulative layout important?',
29
+ answer: 'Measuring each step separately generates cumulative errors. Cumulative layout ensures all steps have exactly the same height, avoiding hazards and improving usage comfort.',
30
+ },
31
+ ];
32
+
33
+ const howToData = [
34
+ { name: 'Measure the height difference', text: 'Measure the total height difference (H) from finished floor to finished floor above. This is the fundamental value for the entire calculation.' },
35
+ { name: 'Enter available length', text: 'Optional: If you have space constraints, enter available horizontal length. Use 0 for free calculation without limits.' },
36
+ { name: 'Adjust number of steps', text: 'The calculator proposes an initial number, but you can adjust it. Watch the Blondel indicator: it should be green (62-64 cm) for maximum comfort.' },
37
+ { name: 'Define construction parameters', text: 'Specify slab thickness, finishes, concrete strength and stair width. These values affect final material calculations.' },
38
+ ];
39
+
40
+ const faqSchema: WithContext<FAQPage> = {
41
+ '@context': 'https://schema.org',
42
+ '@type': 'FAQPage',
43
+ mainEntity: faqData.map((item) => ({
44
+ '@type': 'Question',
45
+ name: item.question,
46
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
47
+ })),
48
+ };
49
+
50
+ const howToSchema: WithContext<HowToThing> = {
51
+ '@context': 'https://schema.org',
52
+ '@type': 'HowTo',
53
+ name: title,
54
+ description,
55
+ step: howToData.map((step, i) => ({
56
+ '@type': 'HowToStep',
57
+ position: i + 1,
58
+ name: step.name,
59
+ text: step.text,
60
+ })),
61
+ };
62
+
63
+ const appSchema: WithContext<SoftwareApplication> = {
64
+ '@context': 'https://schema.org',
65
+ '@type': 'SoftwareApplication',
66
+ name: title,
67
+ description,
68
+ applicationCategory: 'UtilityApplication',
69
+ operatingSystem: 'All',
70
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
71
+ inLanguage: 'en',
72
+ };
73
+
74
+ export const content: ToolLocaleContent<StairCalculatorUI> = {
75
+ slug,
76
+ title,
77
+ description,
78
+ faqTitle: 'Frequently Asked Questions',
79
+ faq: faqData,
80
+ bibliography,
81
+ howTo: howToData,
82
+ schemas: [faqSchema, howToSchema, appSchema],
83
+ seo: [
84
+ { type: 'title', text: 'Staircase Design Geometry: Blondel\'s Law', level: 2 },
85
+ { type: 'paragraph', html: 'The comfort of a staircase depends on human step length. When you climb or descend stairs, your body expects a predictable rhythm. Blondel\'s law establishes that 2 risers + 1 tread = 62-64 cm is the standard ensuring maximum comfort and safety.' },
86
+ { type: 'title', text: 'Structural Control and Materials', level: 3 },
87
+ { type: 'paragraph', html: 'For professional execution, it is vital to account for the concrete slab (the inclined plane supporting the steps). Ignoring this volume would result in insufficient concrete orders and defective construction. The calculator automatically integrates this calculation.' },
88
+ { type: 'title', text: 'Layout and Marking: Cumulative Error', level: 3 },
89
+ { type: 'paragraph', html: 'In construction, the greatest enemy is millimetre-level error. If you measure each step separately, the sum of small errors can leave the last step 5 cm higher or lower than the first. Cumulative layout prevents this problem.' },
90
+ { type: 'title', text: 'Final Finish Provisions', level: 3 },
91
+ { type: 'paragraph', html: 'A critical detail: are you installing 3 cm granite steps? This data is fundamental. If not properly accounted for, the first step will be 3 cm higher and the last 3 cm lower, creating a real safety hazard.' },
92
+ ],
93
+ ui: {
94
+ labelGeometry: 'Geometry and Opening',
95
+ labelTotalHeight: 'Total Height Difference (H)',
96
+ labelAvailableLength: 'Available Length (L)',
97
+ labelAvailableLengthHint: 'Use 0 for free calculation.',
98
+ labelNumSteps: 'Number of Steps',
99
+ labelOptimize: 'Optimize (18cm)',
100
+ labelWork: 'Construction Details',
101
+ labelSlabThickness: 'Slab (e)',
102
+ labelFinishThickness: 'Finish',
103
+ labelCeilingHeight: 'Ceiling Height (Optional)',
104
+ labelStairWidth: 'Stair Width',
105
+ labelConcreteStrength: 'Concrete Strength',
106
+ optionH150: 'H-150 (Lean)',
107
+ optionH200: 'H-200 (Residential)',
108
+ optionH250: 'H-250 (Structural)',
109
+ labelRiser: 'Riser',
110
+ labelTread: 'Tread',
111
+ labelSlope: 'Slope',
112
+ labelRealAdvance: 'Actual Run',
113
+ labelLayoutTable: 'Layout and Execution',
114
+ colStep: 'Step',
115
+ colConcreteHeight: 'Concrete Height',
116
+ colFinishedHeight: 'Finished Height',
117
+ colAdvance: 'Run',
118
+ adjustedNote: 'Adjusted',
119
+ labelMaterials: 'Material Estimate',
120
+ labelTotalConcrete: 'Total Concrete:',
121
+ labelCement: 'Cement (bags/25kg):',
122
+ labelSand: 'Sand Required:',
123
+ unitM3: 'm³',
124
+ unitBags: 'bags',
125
+ unitLiters: 'L',
126
+ btnShare: 'Share',
127
+ btnPrint: 'Print PDF',
128
+ statusOptimalComfort: 'Optimal Comfort',
129
+ statusMarginLimit: 'Margin Limit',
130
+ statusCriticalDesign: 'Critical Design',
131
+ statusRiserError: 'Tread Error',
132
+
133
+ msgInvalidValues: 'Invalid values',
134
+ msgInsufficientSpace: 'INSUFFICIENT SPACE',
135
+ msgDangerousTread: 'The {val}cm tread is dangerous.',
136
+ msgBlondelValue: 'Blondel: {val}cm.',
137
+ msgOptimalStep: 'Comfortable step: {val}cm.',
138
+ msgLowCeiling: 'LOW HEADROOM (<2m)',
139
+ msgCalculating: 'Calculating...',
140
+ msgEnterMeasurements: 'Enter measurements',
141
+
142
+ shareTitle: 'Construction Summary',
143
+ shareMessage: 'Stairs: H={h}cm, N={n}, CH={ch}cm, Vol={vol}m3',
144
+ },
145
+ };
@@ -1,145 +1,145 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
- import type { ToolLocaleContent } from '../../../types';
3
- import type { StairCalculatorUI } from '../ui';
4
- import { bibliography } from '../bibliography';
5
-
6
- const slug = 'calculadora-escaleras';
7
- const title = 'Calculadora de Escaleras: Diseño y Ejecución';
8
- const description = 'Calcula las medidas exactas de tu escalera: huella, contrahuella, ángulo y materiales. Respeta la Ley de Blondel y evita errores de obra.';
9
-
10
- const faqData = [
11
- {
12
- question: '¿Qué es la Ley de Blondel?',
13
- answer: 'Es una fórmula que establece que para que una escalera sea cómoda, la suma de dos contrahuellas y una huella debe estar entre 62 y 64 cm (2CH + H = 63). Esta ley se basa en la longitud media del paso humano y garantiza que subir o bajar la escalera sea seguro y cómodo.',
14
- },
15
- {
16
- question: '¿Cuál es la altura máxima de un peldaño?',
17
- answer: 'En viviendas se recomienda no superar los 18-19 cm. Para espacios públicos, el máximo suele ser 17.5 cm según normativa. Contrahuellas mayores cansan más y pueden ser peligrosas, especialmente para niños y personas mayores.',
18
- },
19
- {
20
- question: '¿Cómo calculo si tengo poco espacio?',
21
- answer: 'Si el avance horizontal es limitado, deberás aumentar el número de peldaños (reduciendo la contrahuella) o aceptar una pendiente mayor, aunque sea menos cómoda. La calculadora te ayuda a encontrar el equilibrio óptimo.',
22
- },
23
- {
24
- question: '¿Qué incluye la cubicación de hormigón?',
25
- answer: 'Se calcula el volumen total de hormigón considerando los peldaños más la losa inclinada (el plano inclinado que soporta los escalones). Ignorar este volumen resultaría en un pedido de hormigón insuficiente.',
26
- },
27
- {
28
- question: '¿Por qué es importante el replanteo acumulado?',
29
- answer: 'Medir cada escalón por separado genera errores acumulados. El replanteo acumulado garantiza que todos los peldaños tengan exactamente la misma altura, evitando riesgos y mejorando la comodidad de uso.',
30
- },
31
- ];
32
-
33
- const howToData = [
34
- { name: 'Medir el desnivel', text: 'Mide el desnivel total (H) desde el suelo terminado inferior al suelo terminado superior. Este es el dato fundamental para toda la calculadora.' },
35
- { name: 'Introduce la longitud disponible', text: 'Opcional: Si tienes restricciones de espacio, introduce la longitud horizontal disponible. Usa 0 para cálculo libre sin limitaciones.' },
36
- { name: 'Ajusta el número de peldaños', text: 'La calculadora propone un número inicial, pero puedes ajustarlo. Observa el indicador de Blondel: debe estar en verde (62-64 cm) para máxima comodidad.' },
37
- { name: 'Define parámetros de obra', text: 'Especifica el espesor de la losa, acabados finales, resistencia del hormigón y ancho de la escalera. Estos datos afectan a la cubicación final.' },
38
- ];
39
-
40
- const faqSchema: WithContext<FAQPage> = {
41
- '@context': 'https://schema.org',
42
- '@type': 'FAQPage',
43
- mainEntity: faqData.map((item) => ({
44
- '@type': 'Question',
45
- name: item.question,
46
- acceptedAnswer: { '@type': 'Answer', text: item.answer },
47
- })),
48
- };
49
-
50
- const howToSchema: WithContext<HowToThing> = {
51
- '@context': 'https://schema.org',
52
- '@type': 'HowTo',
53
- name: title,
54
- description,
55
- step: howToData.map((step, i) => ({
56
- '@type': 'HowToStep',
57
- position: i + 1,
58
- name: step.name,
59
- text: step.text,
60
- })),
61
- };
62
-
63
- const appSchema: WithContext<SoftwareApplication> = {
64
- '@context': 'https://schema.org',
65
- '@type': 'SoftwareApplication',
66
- name: title,
67
- description,
68
- applicationCategory: 'UtilityApplication',
69
- operatingSystem: 'All',
70
- offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
71
- inLanguage: 'es',
72
- };
73
-
74
- export const content: ToolLocaleContent<StairCalculatorUI> = {
75
- slug,
76
- title,
77
- description,
78
- faqTitle: 'Preguntas Frecuentes',
79
- faq: faqData,
80
- bibliography,
81
- howTo: howToData,
82
- schemas: [faqSchema, howToSchema, appSchema],
83
- seo: [
84
- { type: 'title', text: 'Diseño Geométrico de Escaleras: La Ley de Blondel', level: 2 },
85
- { type: 'paragraph', html: 'El confort de una escalera depende de la longitud del paso humano. Cuando subes o bajas escaleras, tu cuerpo espera un ritmo predecible. La Ley de Blondel establece que 2 contrahuellas + 1 huella = 62-64 cm es el estándar que garantiza máxima comodidad y seguridad.' },
86
- { type: 'title', text: 'Control de Estructura y Materiales', level: 3 },
87
- { type: 'paragraph', html: 'Para una ejecución profesional, es vital considerar la losa de hormigón (el plano inclinado que sostiene los escalones). Ignorar este volumen resultaría en un pedido de hormigón insuficiente y ejecución defectuosa. La calculadora integra automáticamente este cálculo.' },
88
- { type: 'title', text: 'Replanteo y Trazado: El Error Acumulado', level: 3 },
89
- { type: 'paragraph', html: 'En construcción, el mayor enemigo es el error milimétrico. Si mides cada escalón por separado, la suma de pequeños errores puede dejar el último peldaño 5 cm más alto o más bajo que el primero. El replanteo acumulado evita este problema.' },
90
- { type: 'title', text: 'Previsión de Acabados Finales', level: 3 },
91
- { type: 'paragraph', html: 'Un detalle crítico: ¿vas a instalar peldaños de granito de 3 cm? Este dato es fundamental. Si no se prevé correctamente, el primer peldaño quedará 3 cm más alto y el último 3 cm más bajo, creando un riesgo de seguridad real.' },
92
- ],
93
- ui: {
94
- labelGeometry: 'Geometría y Hueco',
95
- labelTotalHeight: 'Desnivel Total (H)',
96
- labelAvailableLength: 'Longitud Disponible (L)',
97
- labelAvailableLengthHint: 'Usa 0 para cálculo libre.',
98
- labelNumSteps: 'Nº Peldaños',
99
- labelOptimize: 'Optimizar (18cm)',
100
- labelWork: 'Obra e Instalación',
101
- labelSlabThickness: 'Losa (e)',
102
- labelFinishThickness: 'Acabado',
103
- labelCeilingHeight: 'Altura Techo (Opción)',
104
- labelStairWidth: 'Ancho Escalera',
105
- labelConcreteStrength: 'Resistencia Hormigón',
106
- optionH150: 'H-150 (Limpieza)',
107
- optionH200: 'H-200 (Vivienda)',
108
- optionH250: 'H-250 (Estructural)',
109
- labelRiser: 'Contrahuella',
110
- labelTread: 'Huella',
111
- labelSlope: 'Pendiente',
112
- labelRealAdvance: 'Avance Real',
113
- labelLayoutTable: 'Replanteo y Ejecución',
114
- colStep: 'Peldaño',
115
- colConcreteHeight: 'H. Hormigón',
116
- colFinishedHeight: 'H. Terminada',
117
- colAdvance: 'Avance',
118
- adjustedNote: 'Ajustado',
119
- labelMaterials: 'Cubicación y Pedido',
120
- labelTotalConcrete: 'Hormigón Total:',
121
- labelCement: 'Cemento (sacos/25kg):',
122
- labelSand: 'Arena necesaria:',
123
- unitM3: 'm³',
124
- unitBags: 'sacos',
125
- unitLiters: 'L',
126
- btnShare: 'Compartir',
127
- btnPrint: 'Imprimir PDF',
128
- statusOptimalComfort: 'Confort Óptimo',
129
- statusMarginLimit: 'Margen Límite',
130
- statusCriticalDesign: 'Diseño Crítico',
131
- statusRiserError: 'Error de Huella',
132
-
133
- msgInvalidValues: 'Valores inválidos',
134
- msgInsufficientSpace: 'ESPACIO INSUFICIENTE',
135
- msgDangerousTread: 'La huella de {val}cm es peligrosa.',
136
- msgBlondelValue: 'Blondel: {val}cm.',
137
- msgOptimalStep: 'Paso cómodo: {val}cm.',
138
- msgLowCeiling: 'CABECEO BAJO (<2m)',
139
- msgCalculating: 'Calculando...',
140
- msgEnterMeasurements: 'Ingresa medidas',
141
-
142
- shareTitle: 'Resumen Obra',
143
- shareMessage: 'Escalera: H={h}cm, N={n}, CH={ch}cm, Vol={vol}m3',
144
- },
145
- };
1
+ import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+ import type { StairCalculatorUI } from '../ui';
4
+ import { bibliography } from '../bibliography';
5
+
6
+ const slug = 'calculadora-escaleras';
7
+ const title = 'Calculadora de Escaleras: Diseño y Ejecución';
8
+ const description = 'Calcula las medidas exactas de tu escalera: huella, contrahuella, ángulo y materiales. Respeta la Ley de Blondel y evita errores de obra.';
9
+
10
+ const faqData = [
11
+ {
12
+ question: '¿Qué es la Ley de Blondel?',
13
+ answer: 'Es una fórmula que establece que para que una escalera sea cómoda, la suma de dos contrahuellas y una huella debe estar entre 62 y 64 cm (2CH + H = 63). Esta ley se basa en la longitud media del paso humano y garantiza que subir o bajar la escalera sea seguro y cómodo.',
14
+ },
15
+ {
16
+ question: '¿Cuál es la altura máxima de un peldaño?',
17
+ answer: 'En viviendas se recomienda no superar los 18-19 cm. Para espacios públicos, el máximo suele ser 17.5 cm según normativa. Contrahuellas mayores cansan más y pueden ser peligrosas, especialmente para niños y personas mayores.',
18
+ },
19
+ {
20
+ question: '¿Cómo calculo si tengo poco espacio?',
21
+ answer: 'Si el avance horizontal es limitado, deberás aumentar el número de peldaños (reduciendo la contrahuella) o aceptar una pendiente mayor, aunque sea menos cómoda. La calculadora te ayuda a encontrar el equilibrio óptimo.',
22
+ },
23
+ {
24
+ question: '¿Qué incluye la cubicación de hormigón?',
25
+ answer: 'Se calcula el volumen total de hormigón considerando los peldaños más la losa inclinada (el plano inclinado que soporta los escalones). Ignorar este volumen resultaría en un pedido de hormigón insuficiente.',
26
+ },
27
+ {
28
+ question: '¿Por qué es importante el replanteo acumulado?',
29
+ answer: 'Medir cada escalón por separado genera errores acumulados. El replanteo acumulado garantiza que todos los peldaños tengan exactamente la misma altura, evitando riesgos y mejorando la comodidad de uso.',
30
+ },
31
+ ];
32
+
33
+ const howToData = [
34
+ { name: 'Medir el desnivel', text: 'Mide el desnivel total (H) desde el suelo terminado inferior al suelo terminado superior. Este es el dato fundamental para toda la calculadora.' },
35
+ { name: 'Introduce la longitud disponible', text: 'Opcional: Si tienes restricciones de espacio, introduce la longitud horizontal disponible. Usa 0 para cálculo libre sin limitaciones.' },
36
+ { name: 'Ajusta el número de peldaños', text: 'La calculadora propone un número inicial, pero puedes ajustarlo. Observa el indicador de Blondel: debe estar en verde (62-64 cm) para máxima comodidad.' },
37
+ { name: 'Define parámetros de obra', text: 'Especifica el espesor de la losa, acabados finales, resistencia del hormigón y ancho de la escalera. Estos datos afectan a la cubicación final.' },
38
+ ];
39
+
40
+ const faqSchema: WithContext<FAQPage> = {
41
+ '@context': 'https://schema.org',
42
+ '@type': 'FAQPage',
43
+ mainEntity: faqData.map((item) => ({
44
+ '@type': 'Question',
45
+ name: item.question,
46
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
47
+ })),
48
+ };
49
+
50
+ const howToSchema: WithContext<HowToThing> = {
51
+ '@context': 'https://schema.org',
52
+ '@type': 'HowTo',
53
+ name: title,
54
+ description,
55
+ step: howToData.map((step, i) => ({
56
+ '@type': 'HowToStep',
57
+ position: i + 1,
58
+ name: step.name,
59
+ text: step.text,
60
+ })),
61
+ };
62
+
63
+ const appSchema: WithContext<SoftwareApplication> = {
64
+ '@context': 'https://schema.org',
65
+ '@type': 'SoftwareApplication',
66
+ name: title,
67
+ description,
68
+ applicationCategory: 'UtilityApplication',
69
+ operatingSystem: 'All',
70
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
71
+ inLanguage: 'es',
72
+ };
73
+
74
+ export const content: ToolLocaleContent<StairCalculatorUI> = {
75
+ slug,
76
+ title,
77
+ description,
78
+ faqTitle: 'Preguntas Frecuentes',
79
+ faq: faqData,
80
+ bibliography,
81
+ howTo: howToData,
82
+ schemas: [faqSchema, howToSchema, appSchema],
83
+ seo: [
84
+ { type: 'title', text: 'Diseño Geométrico de Escaleras: La Ley de Blondel', level: 2 },
85
+ { type: 'paragraph', html: 'El confort de una escalera depende de la longitud del paso humano. Cuando subes o bajas escaleras, tu cuerpo espera un ritmo predecible. La Ley de Blondel establece que 2 contrahuellas + 1 huella = 62-64 cm es el estándar que garantiza máxima comodidad y seguridad.' },
86
+ { type: 'title', text: 'Control de Estructura y Materiales', level: 3 },
87
+ { type: 'paragraph', html: 'Para una ejecución profesional, es vital considerar la losa de hormigón (el plano inclinado que sostiene los escalones). Ignorar este volumen resultaría en un pedido de hormigón insuficiente y ejecución defectuosa. La calculadora integra automáticamente este cálculo.' },
88
+ { type: 'title', text: 'Replanteo y Trazado: El Error Acumulado', level: 3 },
89
+ { type: 'paragraph', html: 'En construcción, el mayor enemigo es el error milimétrico. Si mides cada escalón por separado, la suma de pequeños errores puede dejar el último peldaño 5 cm más alto o más bajo que el primero. El replanteo acumulado evita este problema.' },
90
+ { type: 'title', text: 'Previsión de Acabados Finales', level: 3 },
91
+ { type: 'paragraph', html: 'Un detalle crítico: ¿vas a instalar peldaños de granito de 3 cm? Este dato es fundamental. Si no se prevé correctamente, el primer peldaño quedará 3 cm más alto y el último 3 cm más bajo, creando un riesgo de seguridad real.' },
92
+ ],
93
+ ui: {
94
+ labelGeometry: 'Geometría y Hueco',
95
+ labelTotalHeight: 'Desnivel Total (H)',
96
+ labelAvailableLength: 'Longitud Disponible (L)',
97
+ labelAvailableLengthHint: 'Usa 0 para cálculo libre.',
98
+ labelNumSteps: 'Nº Peldaños',
99
+ labelOptimize: 'Optimizar (18cm)',
100
+ labelWork: 'Obra e Instalación',
101
+ labelSlabThickness: 'Losa (e)',
102
+ labelFinishThickness: 'Acabado',
103
+ labelCeilingHeight: 'Altura Techo (Opción)',
104
+ labelStairWidth: 'Ancho Escalera',
105
+ labelConcreteStrength: 'Resistencia Hormigón',
106
+ optionH150: 'H-150 (Limpieza)',
107
+ optionH200: 'H-200 (Vivienda)',
108
+ optionH250: 'H-250 (Estructural)',
109
+ labelRiser: 'Contrahuella',
110
+ labelTread: 'Huella',
111
+ labelSlope: 'Pendiente',
112
+ labelRealAdvance: 'Avance Real',
113
+ labelLayoutTable: 'Replanteo y Ejecución',
114
+ colStep: 'Peldaño',
115
+ colConcreteHeight: 'H. Hormigón',
116
+ colFinishedHeight: 'H. Terminada',
117
+ colAdvance: 'Avance',
118
+ adjustedNote: 'Ajustado',
119
+ labelMaterials: 'Cubicación y Pedido',
120
+ labelTotalConcrete: 'Hormigón Total:',
121
+ labelCement: 'Cemento (sacos/25kg):',
122
+ labelSand: 'Arena necesaria:',
123
+ unitM3: 'm³',
124
+ unitBags: 'sacos',
125
+ unitLiters: 'L',
126
+ btnShare: 'Compartir',
127
+ btnPrint: 'Imprimir PDF',
128
+ statusOptimalComfort: 'Confort Óptimo',
129
+ statusMarginLimit: 'Margen Límite',
130
+ statusCriticalDesign: 'Diseño Crítico',
131
+ statusRiserError: 'Error de Huella',
132
+
133
+ msgInvalidValues: 'Valores inválidos',
134
+ msgInsufficientSpace: 'ESPACIO INSUFICIENTE',
135
+ msgDangerousTread: 'La huella de {val}cm es peligrosa.',
136
+ msgBlondelValue: 'Blondel: {val}cm.',
137
+ msgOptimalStep: 'Paso cómodo: {val}cm.',
138
+ msgLowCeiling: 'CABECEO BAJO (<2m)',
139
+ msgCalculating: 'Calculando...',
140
+ msgEnterMeasurements: 'Ingresa medidas',
141
+
142
+ shareTitle: 'Resumen Obra',
143
+ shareMessage: 'Escalera: H={h}cm, N={n}, CH={ch}cm, Vol={vol}m3',
144
+ },
145
+ };