@jjlmoya/utils-home 1.30.0 → 1.32.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.
- package/package.json +2 -1
- package/src/entries.ts +7 -1
- package/src/index.ts +1 -0
- package/src/tests/locale_completeness.test.ts +2 -2
- package/src/tests/tool_validation.test.ts +2 -2
- package/src/tool/lightingCalculator/bibliography.astro +36 -0
- package/src/tool/lightingCalculator/bibliography.ts +10 -0
- package/src/tool/lightingCalculator/component.astro +308 -0
- package/src/tool/lightingCalculator/draw.ts +247 -0
- package/src/tool/lightingCalculator/entry.ts +29 -0
- package/src/tool/lightingCalculator/how-many-lights-per-room.css +493 -0
- package/src/tool/lightingCalculator/i18n/de.ts +213 -0
- package/src/tool/lightingCalculator/i18n/en.ts +213 -0
- package/src/tool/lightingCalculator/i18n/es.ts +213 -0
- package/src/tool/lightingCalculator/i18n/fr.ts +213 -0
- package/src/tool/lightingCalculator/i18n/id.ts +213 -0
- package/src/tool/lightingCalculator/i18n/it.ts +213 -0
- package/src/tool/lightingCalculator/i18n/ja.ts +213 -0
- package/src/tool/lightingCalculator/i18n/ko.ts +213 -0
- package/src/tool/lightingCalculator/i18n/nl.ts +213 -0
- package/src/tool/lightingCalculator/i18n/pl.ts +213 -0
- package/src/tool/lightingCalculator/i18n/pt.ts +213 -0
- package/src/tool/lightingCalculator/i18n/ru.ts +213 -0
- package/src/tool/lightingCalculator/i18n/sv.ts +213 -0
- package/src/tool/lightingCalculator/i18n/tr.ts +213 -0
- package/src/tool/lightingCalculator/i18n/zh.ts +213 -0
- package/src/tool/lightingCalculator/index.ts +9 -0
- package/src/tool/lightingCalculator/logic.ts +119 -0
- package/src/tool/lightingCalculator/seo.astro +15 -0
- package/src/tool/lightingCalculator/state.ts +113 -0
- package/src/tool/lightingCalculator/ui.ts +48 -0
- package/src/tool/tileLayoutCalculator/bibliography.astro +14 -0
- package/src/tool/tileLayoutCalculator/bibliography.ts +10 -0
- package/src/tool/tileLayoutCalculator/component.astro +415 -0
- package/src/tool/tileLayoutCalculator/entry.ts +29 -0
- package/src/tool/tileLayoutCalculator/i18n/de.ts +208 -0
- package/src/tool/tileLayoutCalculator/i18n/en.ts +208 -0
- package/src/tool/tileLayoutCalculator/i18n/es.ts +208 -0
- package/src/tool/tileLayoutCalculator/i18n/fr.ts +208 -0
- package/src/tool/tileLayoutCalculator/i18n/id.ts +208 -0
- package/src/tool/tileLayoutCalculator/i18n/it.ts +208 -0
- package/src/tool/tileLayoutCalculator/i18n/ja.ts +208 -0
- package/src/tool/tileLayoutCalculator/i18n/ko.ts +208 -0
- package/src/tool/tileLayoutCalculator/i18n/nl.ts +208 -0
- package/src/tool/tileLayoutCalculator/i18n/pl.ts +208 -0
- package/src/tool/tileLayoutCalculator/i18n/pt.ts +208 -0
- package/src/tool/tileLayoutCalculator/i18n/ru.ts +208 -0
- package/src/tool/tileLayoutCalculator/i18n/sv.ts +208 -0
- package/src/tool/tileLayoutCalculator/i18n/tr.ts +208 -0
- package/src/tool/tileLayoutCalculator/i18n/zh.ts +208 -0
- package/src/tool/tileLayoutCalculator/index.ts +9 -0
- package/src/tool/tileLayoutCalculator/logic.ts +55 -0
- package/src/tool/tileLayoutCalculator/seo.astro +15 -0
- package/src/tool/tileLayoutCalculator/tile-layout-calculator.css +404 -0
- package/src/tool/tileLayoutCalculator/ui.ts +37 -0
- package/src/tools.ts +4 -0
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import type { ToolLocaleContent } from '../../../types';
|
|
3
|
+
import type { LightingCalculatorUI } from '../ui';
|
|
4
|
+
import { bibliography } from '../bibliography';
|
|
5
|
+
|
|
6
|
+
const slug = 'how-many-lights-per-room';
|
|
7
|
+
const title = 'Home Lighting and Lumens Calculator';
|
|
8
|
+
const description =
|
|
9
|
+
'Calculate exactly how many lumens and light bulbs you need for any room. Select your room type, dimensions, and bulb type to get a professional lighting plan with real-time lux estimates.';
|
|
10
|
+
|
|
11
|
+
const faqData = [
|
|
12
|
+
{
|
|
13
|
+
question: 'How many lumens do I need for a living room?',
|
|
14
|
+
answer:
|
|
15
|
+
'For a typical living room, aim for around 150 lux on the floor. Multiply the room area in square meters by 150 to get the required lumens. For a 20 square meter room, you need approximately 3,000 lumens.',
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
question: 'What is the difference between lux and lumens?',
|
|
19
|
+
answer:
|
|
20
|
+
'Lumens measure the total light output from a bulb. Lux measures the light that actually reaches a surface. A room with high ceilings or dark walls needs more lumens to achieve the same lux level because light is lost to distance and absorption.',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
question: 'Do LED bulbs really save energy?',
|
|
24
|
+
answer:
|
|
25
|
+
'Yes. LED bulbs produce about 100 lumens per watt, while incandescent bulbs produce only about 15. A 10W LED bulb gives the same light as a 60W incandescent bulb, using one-sixth of the electricity.',
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
question: 'How does room color affect lighting needs?',
|
|
29
|
+
answer:
|
|
30
|
+
'Dark walls and ceilings absorb light. In a room with dark surfaces, you may need 50% more lumens than the standard recommendation.',
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
question: 'What is a good lux level for reading?',
|
|
34
|
+
answer:
|
|
35
|
+
'For comfortable reading, you need 300 to 500 lux on the page. General ambient lighting usually provides 150 to 200 lux, so add a task lamp near your reading spot for the extra brightness.',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
question: 'Can I dim LED bulbs?',
|
|
39
|
+
answer:
|
|
40
|
+
'Only if they are marked as dimmable. Standard LEDs may flicker or have a shortened lifespan when connected to a dimmer. Always check the packaging for the dimmable symbol before installing.',
|
|
41
|
+
},
|
|
42
|
+
];
|
|
43
|
+
|
|
44
|
+
const howToData = [
|
|
45
|
+
{
|
|
46
|
+
name: 'Choose your room type',
|
|
47
|
+
text: 'Select the room function. Kitchens and offices need brighter light than bedrooms or hallways.',
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
name: 'Enter dimensions',
|
|
51
|
+
text: 'Input the room width, length, and ceiling height. The calculator uses these to determine the room index and light utilization factor.',
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: 'Select bulb type and count',
|
|
55
|
+
text: 'Choose your preferred bulb technology and how many fixtures you have. The calculator will tell you if you need more bulbs.',
|
|
56
|
+
},
|
|
57
|
+
];
|
|
58
|
+
|
|
59
|
+
const faqSchema: WithContext<FAQPage> = {
|
|
60
|
+
'@context': 'https://schema.org',
|
|
61
|
+
'@type': 'FAQPage',
|
|
62
|
+
mainEntity: faqData.map((item) => ({
|
|
63
|
+
'@type': 'Question',
|
|
64
|
+
name: item.question,
|
|
65
|
+
acceptedAnswer: { '@type': 'Answer', text: item.answer },
|
|
66
|
+
})),
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
const howToSchema: WithContext<HowTo> = {
|
|
70
|
+
'@context': 'https://schema.org',
|
|
71
|
+
'@type': 'HowTo',
|
|
72
|
+
name: title,
|
|
73
|
+
description,
|
|
74
|
+
step: howToData.map((step) => ({
|
|
75
|
+
'@type': 'HowToStep',
|
|
76
|
+
name: step.name,
|
|
77
|
+
text: step.text,
|
|
78
|
+
})),
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
const appSchema: WithContext<SoftwareApplication> = {
|
|
82
|
+
'@context': 'https://schema.org',
|
|
83
|
+
'@type': 'SoftwareApplication',
|
|
84
|
+
name: title,
|
|
85
|
+
description,
|
|
86
|
+
applicationCategory: 'UtilityApplication',
|
|
87
|
+
operatingSystem: 'All',
|
|
88
|
+
offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
|
|
89
|
+
inLanguage: 'en',
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
export const content: ToolLocaleContent<LightingCalculatorUI> = {
|
|
93
|
+
slug,
|
|
94
|
+
title,
|
|
95
|
+
description,
|
|
96
|
+
faq: faqData,
|
|
97
|
+
bibliography,
|
|
98
|
+
howTo: howToData,
|
|
99
|
+
schemas: [faqSchema, howToSchema, appSchema],
|
|
100
|
+
seo: [
|
|
101
|
+
{
|
|
102
|
+
type: 'title',
|
|
103
|
+
text: 'Complete Guide to Home Lighting Design and Lumens Planning',
|
|
104
|
+
level: 2,
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
type: 'paragraph',
|
|
108
|
+
html: 'Proper lighting transforms a house into a home. Beyond aesthetics, the right amount of light affects mood, productivity, and even eye health. <strong>Our home lighting calculator</strong> helps you determine exactly how many lumens you need for any room, taking into account room size, ceiling height, surface colors, and bulb type.',
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
type: 'stats',
|
|
112
|
+
items: [
|
|
113
|
+
{ value: '150-500', label: 'Recommended Lux Range', icon: 'mdi:brightness-6' },
|
|
114
|
+
{ value: '100 lm/W', label: 'LED Efficiency', icon: 'mdi:lightbulb' },
|
|
115
|
+
{ value: '80%', label: 'Maintenance Factor', icon: 'mdi:tools' },
|
|
116
|
+
],
|
|
117
|
+
columns: 3,
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
type: 'comparative',
|
|
121
|
+
items: [
|
|
122
|
+
{
|
|
123
|
+
title: 'Warm Ambient Lighting',
|
|
124
|
+
description: 'Ideal for living rooms and bedrooms. Creates a cozy atmosphere and reduces eye strain in the evening.',
|
|
125
|
+
icon: 'mdi:weather-night',
|
|
126
|
+
points: ['150-200 lux', 'Warm color temperature (2700K)', 'Multiple dimmable sources'],
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
title: 'Bright Task Lighting',
|
|
130
|
+
description: 'Essential for kitchens, offices, and bathrooms. Provides clear visibility for detailed work.',
|
|
131
|
+
icon: 'mdi:white-balance-sunny',
|
|
132
|
+
points: ['300-500 lux', 'Cool white (4000K)', 'Focused on work surfaces'],
|
|
133
|
+
},
|
|
134
|
+
],
|
|
135
|
+
columns: 2,
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
type: 'title',
|
|
139
|
+
text: 'Why Room Dimensions Matter',
|
|
140
|
+
level: 3,
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
type: 'paragraph',
|
|
144
|
+
html: 'Light spreads and weakens with distance. A bulb that is bright enough for a 2.5 meter ceiling may be too dim for a 4 meter ceiling. The calculator accounts for this by using the room index formula, which considers both floor area and mounting height to estimate how much light actually reaches your work plane.',
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
type: 'diagnostic',
|
|
148
|
+
variant: 'info',
|
|
149
|
+
title: 'Quick Reference Lux Table',
|
|
150
|
+
icon: 'mdi:table',
|
|
151
|
+
badge: 'Reference',
|
|
152
|
+
html: '<ul style="margin:0;padding-left:1.2em"><li><strong>Living room</strong> → 150 lux</li><li><strong>Kitchen</strong> → 300 lux</li><li><strong>Bedroom</strong> → 100 lux</li><li><strong>Bathroom</strong> → 200 lux</li><li><strong>Office</strong> → 500 lux</li><li><strong>Hallway</strong> → 100 lux</li></ul>',
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
type: 'summary',
|
|
156
|
+
title: 'Pro Tips for Better Lighting',
|
|
157
|
+
items: [
|
|
158
|
+
'Layer three types of light: ambient, task, and accent.',
|
|
159
|
+
'Use dimmers to adjust brightness for different times of day.',
|
|
160
|
+
'Choose LED bulbs for long life and low energy consumption.',
|
|
161
|
+
'Place task lights on the opposite side of your dominant hand to avoid shadows.',
|
|
162
|
+
'Consider smart bulbs for automated scheduling and color temperature changes.',
|
|
163
|
+
],
|
|
164
|
+
},
|
|
165
|
+
],
|
|
166
|
+
ui: {
|
|
167
|
+
sectionTitle: 'Room Lighting Calculator',
|
|
168
|
+
labelRoomType: 'Room type',
|
|
169
|
+
labelRoomWidth: 'Width',
|
|
170
|
+
labelRoomLength: 'Length',
|
|
171
|
+
labelHeight: 'Ceiling',
|
|
172
|
+
labelBulbType: 'Bulb',
|
|
173
|
+
labelBulbWatt: 'Wattage',
|
|
174
|
+
labelFixtures: 'Fixtures',
|
|
175
|
+
labelAmbient: 'Ambiance',
|
|
176
|
+
btnAmbientCozy: 'Cozy',
|
|
177
|
+
btnAmbientNormal: 'Normal',
|
|
178
|
+
btnAmbientBright: 'Bright',
|
|
179
|
+
unitMetricRoom: 'm',
|
|
180
|
+
unitImperialRoom: 'ft',
|
|
181
|
+
unitHeight: 'm',
|
|
182
|
+
unitBulbs: 'pcs',
|
|
183
|
+
unitWatt: 'W',
|
|
184
|
+
unitLux: 'lux',
|
|
185
|
+
labelTargetLux: 'Target lux',
|
|
186
|
+
labelCurrentLux: 'Current lux',
|
|
187
|
+
labelBulbsNeeded: 'Bulbs needed',
|
|
188
|
+
labelRoomArea: 'Area',
|
|
189
|
+
statusOptimal: 'Perfect',
|
|
190
|
+
statusInsufficient: 'Too Dim',
|
|
191
|
+
statusExcess: 'Too Bright',
|
|
192
|
+
btnLiving: 'Living',
|
|
193
|
+
btnKitchen: 'Kitchen',
|
|
194
|
+
btnBedroom: 'Bedroom',
|
|
195
|
+
btnBathroom: 'Bathroom',
|
|
196
|
+
btnOffice: 'Office',
|
|
197
|
+
btnHallway: 'Hallway',
|
|
198
|
+
btnBulbLED: 'LED',
|
|
199
|
+
btnBulbCFL: 'CFL',
|
|
200
|
+
btnBulbHalogen: 'Halogen',
|
|
201
|
+
btnBulbIncandescent: 'Incandescent',
|
|
202
|
+
btnMetric: 'M',
|
|
203
|
+
btnImperial: 'ft',
|
|
204
|
+
tipOptimal: 'Your lighting is perfectly balanced for this room.',
|
|
205
|
+
tipInsufficient: 'Add more fixtures or higher wattage bulbs.',
|
|
206
|
+
tipExcess: 'Reduce fixtures or dim to save energy.',
|
|
207
|
+
labelManualAdjust: 'Manual override',
|
|
208
|
+
labelSummary: 'Your lighting plan',
|
|
209
|
+
labelTotalLumens: 'Total lumens needed',
|
|
210
|
+
labelSuggestedSetup: 'Recommended setup',
|
|
211
|
+
btnExport: 'Export PDF',
|
|
212
|
+
},
|
|
213
|
+
};
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import type { ToolLocaleContent } from '../../../types';
|
|
3
|
+
import type { LightingCalculatorUI } from '../ui';
|
|
4
|
+
import { bibliography } from '../bibliography';
|
|
5
|
+
|
|
6
|
+
const slug = 'calculadora-de-iluminacion-y-lumenes-para-el-hogar';
|
|
7
|
+
const title = 'Calculadora de Iluminación y Lúmenes para el Hogar';
|
|
8
|
+
const description =
|
|
9
|
+
'Calcule exactamente cuántos lúmenes y bombillas necesita para cualquier habitación. Seleccione el tipo de habitación, las dimensiones y el tipo de bombilla para obtener un plan de iluminación profesional con estimaciones de lux en tiempo real.';
|
|
10
|
+
|
|
11
|
+
const faqData = [
|
|
12
|
+
{
|
|
13
|
+
question: '¿Cuántos lúmenes necesito para una sala de estar?',
|
|
14
|
+
answer:
|
|
15
|
+
'Para una sala de estar típica, apunte a unos 150 lux en el suelo. Multiplique el área de la habitación en metros cuadrados por 150 para obtener los lúmenes necesarios. Para una habitación de 20 metros cuadrados, necesita aproximadamente 3.000 lúmenes.',
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
question: '¿Cuál es la diferencia entre lux y lúmenes?',
|
|
19
|
+
answer:
|
|
20
|
+
'Los lúmenes miden la producción total de luz de una bombilla. Los lux miden la luz que realmente llega a una superficie. Una habitación con techos altos o paredes oscuras necesita más lúmenes para alcanzar el mismo nivel de lux porque la luz se pierde por la distancia y la absorción.',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
question: '¿Realmente ahorran energía las bombillas LED?',
|
|
24
|
+
answer:
|
|
25
|
+
'Sí. Las bombillas LED producen unos 100 lúmenes por watt, mientras que las incandescentes producen solo unos 15. Una bombilla LED de 10W proporciona la misma luz que una incandescente de 60W, usando una sexta parte de la electricidad.',
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
question: '¿Cómo afecta el color de la habitación a las necesidades de iluminación?',
|
|
29
|
+
answer:
|
|
30
|
+
'Las paredes y techos oscuros absorben la luz. En una habitación con superficies oscuras, puede necesitar un 50% más de lúmenes que la recomendación estándar.',
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
question: '¿Cuál es un buen nivel de lux para leer?',
|
|
34
|
+
answer:
|
|
35
|
+
'Para leer cómodamente, necesita de 300 a 500 lux en la página. La iluminación ambiental general suele proporcionar de 150 a 200 lux, así que añada una lámpara de tarea cerca de su lugar de lectura para el brillo adicional.',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
question: '¿Se pueden atenuar las bombillas LED?',
|
|
39
|
+
answer:
|
|
40
|
+
'Solo si están marcadas como atenuables. Las LED estándar pueden parpadear o tener una vida útil reducida cuando se conectan a un regulador. Verifique siempre el empaque en busca del símbolo de atenuable antes de instalar.',
|
|
41
|
+
},
|
|
42
|
+
];
|
|
43
|
+
|
|
44
|
+
const howToData = [
|
|
45
|
+
{
|
|
46
|
+
name: 'Elija el tipo de habitación',
|
|
47
|
+
text: 'Seleccione la función de la habitación. Las cocinas y oficinas necesitan más luz que los dormitorios o pasillos.',
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
name: 'Introduzca las dimensiones',
|
|
51
|
+
text: 'Introduzca el ancho, la longitud y la altura del techo de la habitación. La calculadora utiliza estos datos para determinar el índice de la habitación y el factor de utilización de la luz.',
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: 'Seleccione el tipo de bombilla y la cantidad',
|
|
55
|
+
text: 'Elija su tecnología de bombilla preferida y cuántos luminarios tiene. La calculadora le indicará si necesita más bombillas.',
|
|
56
|
+
},
|
|
57
|
+
];
|
|
58
|
+
|
|
59
|
+
const faqSchema: WithContext<FAQPage> = {
|
|
60
|
+
'@context': 'https://schema.org',
|
|
61
|
+
'@type': 'FAQPage',
|
|
62
|
+
mainEntity: faqData.map((item) => ({
|
|
63
|
+
'@type': 'Question',
|
|
64
|
+
name: item.question,
|
|
65
|
+
acceptedAnswer: { '@type': 'Answer', text: item.answer },
|
|
66
|
+
})),
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
const howToSchema: WithContext<HowTo> = {
|
|
70
|
+
'@context': 'https://schema.org',
|
|
71
|
+
'@type': 'HowTo',
|
|
72
|
+
name: title,
|
|
73
|
+
description,
|
|
74
|
+
step: howToData.map((step) => ({
|
|
75
|
+
'@type': 'HowToStep',
|
|
76
|
+
name: step.name,
|
|
77
|
+
text: step.text,
|
|
78
|
+
})),
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
const appSchema: WithContext<SoftwareApplication> = {
|
|
82
|
+
'@context': 'https://schema.org',
|
|
83
|
+
'@type': 'SoftwareApplication',
|
|
84
|
+
name: title,
|
|
85
|
+
description,
|
|
86
|
+
applicationCategory: 'UtilityApplication',
|
|
87
|
+
operatingSystem: 'All',
|
|
88
|
+
offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
|
|
89
|
+
inLanguage: 'es',
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
export const content: ToolLocaleContent<LightingCalculatorUI> = {
|
|
93
|
+
slug,
|
|
94
|
+
title,
|
|
95
|
+
description,
|
|
96
|
+
faq: faqData,
|
|
97
|
+
bibliography,
|
|
98
|
+
howTo: howToData,
|
|
99
|
+
schemas: [faqSchema, howToSchema, appSchema],
|
|
100
|
+
seo: [
|
|
101
|
+
{
|
|
102
|
+
type: 'title',
|
|
103
|
+
text: 'Guía Completa de Diseño de Iluminación para el Hogar y Planificación de Lúmenes',
|
|
104
|
+
level: 2,
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
type: 'paragraph',
|
|
108
|
+
html: 'La iluminación adecuada transforma una casa en un hogar. Más allá de la estética, la cantidad de luz adecuada afecta el estado de ánimo, la productividad e incluso la salud ocular. <strong>Nuestra calculadora de iluminación para el hogar</strong> le ayuda a determinar exactamente cuántos lúmenes necesita para cualquier habitación, teniendo en cuenta el tamaño de la habitación, la altura del techo, los colores de las superficies y el tipo de bombilla.',
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
type: 'stats',
|
|
112
|
+
items: [
|
|
113
|
+
{ value: '150-500', label: 'Rango de Lux Recomendado', icon: 'mdi:brightness-6' },
|
|
114
|
+
{ value: '100 lm/W', label: 'Eficiencia LED', icon: 'mdi:lightbulb' },
|
|
115
|
+
{ value: '80%', label: 'Factor de Mantenimiento', icon: 'mdi:tools' },
|
|
116
|
+
],
|
|
117
|
+
columns: 3,
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
type: 'comparative',
|
|
121
|
+
items: [
|
|
122
|
+
{
|
|
123
|
+
title: 'Iluminación Ambiental Cálida',
|
|
124
|
+
description: 'Ideal para salas de estar y dormitorios. Crea una atmósfera acogedora y reduce la fatiga visual por la noche.',
|
|
125
|
+
icon: 'mdi:weather-night',
|
|
126
|
+
points: ['150-200 lux', 'Temperatura de color cálida (2700K)', 'Múltiples fuentes atenuables'],
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
title: 'Iluminación de Tareas Brillante',
|
|
130
|
+
description: 'Esencial para cocinas, oficinas y baños. Proporciona visibilidad clara para trabajos detallados.',
|
|
131
|
+
icon: 'mdi:white-balance-sunny',
|
|
132
|
+
points: ['300-500 lux', 'Blanco frío (4000K)', 'Enfocada en superficies de trabajo'],
|
|
133
|
+
},
|
|
134
|
+
],
|
|
135
|
+
columns: 2,
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
type: 'title',
|
|
139
|
+
text: 'Por qué Importan las Dimensiones de la Habitación',
|
|
140
|
+
level: 3,
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
type: 'paragraph',
|
|
144
|
+
html: 'La luz se expande y se debilita con la distancia. Una bombilla que es suficientemente brillante para un techo de 2,5 metros puede ser demasiado tenue para un techo de 4 metros. La calculadora tiene esto en cuenta utilizando la fórmula del índice de la habitación, que considera tanto el área del piso como la altura de montaje para estimar cuánta luz realmente llega a su plano de trabajo.',
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
type: 'diagnostic',
|
|
148
|
+
variant: 'info',
|
|
149
|
+
title: 'Tabla de Referencia Rápida de Lux',
|
|
150
|
+
icon: 'mdi:table',
|
|
151
|
+
badge: 'Referencia',
|
|
152
|
+
html: '<ul style="margin:0;padding-left:1.2em"><li><strong>Sala de estar</strong> → 150 lux</li><li><strong>Cocina</strong> → 300 lux</li><li><strong>Dormitorio</strong> → 100 lux</li><li><strong>Baño</strong> → 200 lux</li><li><strong>Oficina</strong> → 500 lux</li><li><strong>Pasillo</strong> → 100 lux</li></ul>',
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
type: 'summary',
|
|
156
|
+
title: 'Consejos Profesionales para una Mejor Iluminación',
|
|
157
|
+
items: [
|
|
158
|
+
'Capa tres tipos de luz: ambiental, de tareas y de acento.',
|
|
159
|
+
'Use atenuadores para ajustar el brillo en diferentes momentos del día.',
|
|
160
|
+
'Elija bombillas LED para larga vida útil y bajo consumo de energía.',
|
|
161
|
+
'Coloque las lámparas de tareas en el lado opuesto a su mano dominante para evitar sombras.',
|
|
162
|
+
'Considere bombillas inteligentes para programación automatizada y cambios de temperatura de color.',
|
|
163
|
+
],
|
|
164
|
+
},
|
|
165
|
+
],
|
|
166
|
+
ui: {
|
|
167
|
+
sectionTitle: 'Calculadora de Iluminación de Habitaciones',
|
|
168
|
+
labelRoomType: 'Tipo de habitación',
|
|
169
|
+
labelRoomWidth: 'Ancho',
|
|
170
|
+
labelRoomLength: 'Largo',
|
|
171
|
+
labelHeight: 'Techo',
|
|
172
|
+
labelBulbType: 'Bombilla',
|
|
173
|
+
labelBulbWatt: 'Potencia',
|
|
174
|
+
labelFixtures: 'Luminarias',
|
|
175
|
+
labelAmbient: 'Ambiente',
|
|
176
|
+
btnAmbientCozy: 'Acogedor',
|
|
177
|
+
btnAmbientNormal: 'Normal',
|
|
178
|
+
btnAmbientBright: 'Brillante',
|
|
179
|
+
unitMetricRoom: 'm',
|
|
180
|
+
unitImperialRoom: 'ft',
|
|
181
|
+
unitHeight: 'm',
|
|
182
|
+
unitBulbs: 'uds',
|
|
183
|
+
unitWatt: 'W',
|
|
184
|
+
unitLux: 'lux',
|
|
185
|
+
labelTargetLux: 'Lux objetivo',
|
|
186
|
+
labelCurrentLux: 'Lux actuales',
|
|
187
|
+
labelBulbsNeeded: 'Bombillas necesarias',
|
|
188
|
+
labelRoomArea: 'Área',
|
|
189
|
+
statusOptimal: 'Perfecto',
|
|
190
|
+
statusInsufficient: 'Demasiado tenue',
|
|
191
|
+
statusExcess: 'Demasiado brillante',
|
|
192
|
+
btnLiving: 'Sala',
|
|
193
|
+
btnKitchen: 'Cocina',
|
|
194
|
+
btnBedroom: 'Dormitorio',
|
|
195
|
+
btnBathroom: 'Baño',
|
|
196
|
+
btnOffice: 'Oficina',
|
|
197
|
+
btnHallway: 'Pasillo',
|
|
198
|
+
btnBulbLED: 'LED',
|
|
199
|
+
btnBulbCFL: 'CFL',
|
|
200
|
+
btnBulbHalogen: 'Halógena',
|
|
201
|
+
btnBulbIncandescent: 'Incandescente',
|
|
202
|
+
btnMetric: 'M',
|
|
203
|
+
btnImperial: 'ft',
|
|
204
|
+
tipOptimal: 'Su iluminación está perfectamente equilibrada para esta habitación.',
|
|
205
|
+
tipInsufficient: 'Añada más luminarias o bombillas de mayor potencia.',
|
|
206
|
+
tipExcess: 'Reduzca luminarias o atenúe para ahorrar energía.',
|
|
207
|
+
labelManualAdjust: 'Ajuste manual',
|
|
208
|
+
labelSummary: 'Su plan de iluminación',
|
|
209
|
+
labelTotalLumens: 'Lúmenes totales necesarios',
|
|
210
|
+
labelSuggestedSetup: 'Configuración recomendada',
|
|
211
|
+
btnExport: 'Exportar PDF',
|
|
212
|
+
},
|
|
213
|
+
};
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import type { ToolLocaleContent } from '../../../types';
|
|
3
|
+
import type { LightingCalculatorUI } from '../ui';
|
|
4
|
+
import { bibliography } from '../bibliography';
|
|
5
|
+
|
|
6
|
+
const slug = 'calculateur-declairage-et-de-lumens-pour-la-maison';
|
|
7
|
+
const title = 'Calculateur d\'Éclairage et de Lumens pour la Maison';
|
|
8
|
+
const description =
|
|
9
|
+
'Calculez exactement combien de lumens et d\'ampoules vous avez besoin pour chaque pièce. Sélectionnez le type de pièce, les dimensions et le type d\'ampoule pour obtenir un plan d\'éclairage professionnel avec des estimations de lux en temps réel.';
|
|
10
|
+
|
|
11
|
+
const faqData = [
|
|
12
|
+
{
|
|
13
|
+
question: 'De combien de lumens ai-je besoin pour un salon ?',
|
|
14
|
+
answer:
|
|
15
|
+
'Pour un salon typique, visez environ 150 lux au sol. Multipliez la superficie de la pièce en mètres carrés par 150 pour obtenir les lumens nécessaires. Pour une pièce de 20 mètres carrés, vous avez besoin d\'environ 3 000 lumens.',
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
question: 'Quelle est la différence entre lux et lumens ?',
|
|
19
|
+
answer:
|
|
20
|
+
'Les lumens mesurent la production totale de lumière d\'une ampoule. Les lux mesurent la lumière qui atteint réellement une surface. Une pièce avec des plafonds hauts ou des murs sombres a besoin de plus de lumens pour atteindre le même niveau de lux car la lumière est perdue par la distance et l\'absorption.',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
question: 'Les ampoules LED économisent-elles vraiment de l\'énergie ?',
|
|
24
|
+
answer:
|
|
25
|
+
'Oui. Les ampoules LED produisent environ 100 lumens par watt, tandis que les ampoules incandescentes en produisent seulement environ 15. Une ampoule LED de 10W donne la même lumière qu\'une ampoule incandescente de 60W, en utilisant un sixième de l\'électricité.',
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
question: 'Comment la couleur de la pièce affecte-t-elle les besoins en éclairage ?',
|
|
29
|
+
answer:
|
|
30
|
+
'Les murs et plafonds sombres absorbent la lumière. Dans une pièce avec des surfaces sombres, vous pouvez avoir besoin de 50 % de lumens supplémentaires par rapport à la recommandation standard.',
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
question: 'Quel est un bon niveau de lux pour lire ?',
|
|
34
|
+
answer:
|
|
35
|
+
'Pour une lecture confortable, vous avez besoin de 300 à 500 lux sur la page. L\'éclairage ambiant général fournit habituellement 150 à 200 lux, ajoutez donc une lampe de travail près de votre place de lecture pour la luminosité supplémentaire.',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
question: 'Puis-je dimmer des ampoules LED ?',
|
|
39
|
+
answer:
|
|
40
|
+
'Seulement si elles sont marquées comme dimmables. Les LED standard peuvent clignoter ou avoir une durée de vie raccourcie lorsqu\'elles sont connectées à un variateur. Vérifiez toujours l\'emballage pour le symbole dimmable avant l\'installation.',
|
|
41
|
+
},
|
|
42
|
+
];
|
|
43
|
+
|
|
44
|
+
const howToData = [
|
|
45
|
+
{
|
|
46
|
+
name: 'Choisissez le type de pièce',
|
|
47
|
+
text: 'Sélectionnez la fonction de la pièce. Les cuisines et les bureaux ont besoin d\'une lumière plus vive que les chambres ou les couloirs.',
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
name: 'Entrez les dimensions',
|
|
51
|
+
text: 'Saisissez la largeur, la longueur et la hauteur sous plafond de la pièce. Le calculateur utilise ces données pour déterminer l\'indice de la pièce et le facteur d\'utilisation de la lumière.',
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: 'Sélectionnez le type d\'ampoule et le nombre',
|
|
55
|
+
text: 'Choisissez votre technologie d\'ampoule préférée et le nombre de luminaires que vous avez. Le calculateur vous dira si vous avez besoin de plus d\'ampoules.',
|
|
56
|
+
},
|
|
57
|
+
];
|
|
58
|
+
|
|
59
|
+
const faqSchema: WithContext<FAQPage> = {
|
|
60
|
+
'@context': 'https://schema.org',
|
|
61
|
+
'@type': 'FAQPage',
|
|
62
|
+
mainEntity: faqData.map((item) => ({
|
|
63
|
+
'@type': 'Question',
|
|
64
|
+
name: item.question,
|
|
65
|
+
acceptedAnswer: { '@type': 'Answer', text: item.answer },
|
|
66
|
+
})),
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
const howToSchema: WithContext<HowTo> = {
|
|
70
|
+
'@context': 'https://schema.org',
|
|
71
|
+
'@type': 'HowTo',
|
|
72
|
+
name: title,
|
|
73
|
+
description,
|
|
74
|
+
step: howToData.map((step) => ({
|
|
75
|
+
'@type': 'HowToStep',
|
|
76
|
+
name: step.name,
|
|
77
|
+
text: step.text,
|
|
78
|
+
})),
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
const appSchema: WithContext<SoftwareApplication> = {
|
|
82
|
+
'@context': 'https://schema.org',
|
|
83
|
+
'@type': 'SoftwareApplication',
|
|
84
|
+
name: title,
|
|
85
|
+
description,
|
|
86
|
+
applicationCategory: 'UtilityApplication',
|
|
87
|
+
operatingSystem: 'All',
|
|
88
|
+
offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
|
|
89
|
+
inLanguage: 'fr',
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
export const content: ToolLocaleContent<LightingCalculatorUI> = {
|
|
93
|
+
slug,
|
|
94
|
+
title,
|
|
95
|
+
description,
|
|
96
|
+
faq: faqData,
|
|
97
|
+
bibliography,
|
|
98
|
+
howTo: howToData,
|
|
99
|
+
schemas: [faqSchema, howToSchema, appSchema],
|
|
100
|
+
seo: [
|
|
101
|
+
{
|
|
102
|
+
type: 'title',
|
|
103
|
+
text: 'Guide Complet de Conception d\'Éclairage Domestique et de Planification des Lumens',
|
|
104
|
+
level: 2,
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
type: 'paragraph',
|
|
108
|
+
html: 'Un éclairage approprié transforme une maison en foyer. Au-delà de l\'esthétique, la bonne quantité de lumière affecte l\'humeur, la productivité et même la santé des yeux. <strong>Notre calculateur d\'éclairage domestique</strong> vous aide à déterminer exactement combien de lumens vous avez besoin pour chaque pièce, en tenant compte de la taille de la pièce, de la hauteur du plafond, des couleurs des surfaces et du type d\'ampoule.',
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
type: 'stats',
|
|
112
|
+
items: [
|
|
113
|
+
{ value: '150-500', label: 'Plage de Lux Recommandée', icon: 'mdi:brightness-6' },
|
|
114
|
+
{ value: '100 lm/W', label: 'Efficacité LED', icon: 'mdi:lightbulb' },
|
|
115
|
+
{ value: '80%', label: 'Facteur de Maintenance', icon: 'mdi:tools' },
|
|
116
|
+
],
|
|
117
|
+
columns: 3,
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
type: 'comparative',
|
|
121
|
+
items: [
|
|
122
|
+
{
|
|
123
|
+
title: 'Éclairage Ambiant Chaud',
|
|
124
|
+
description: 'Idéal pour les salons et les chambres. Crée une atmosphère cosy et réduit la fatigue visuelle le soir.',
|
|
125
|
+
icon: 'mdi:weather-night',
|
|
126
|
+
points: ['150-200 lux', 'Température de couleur chaude (2700K)', 'Multiples sources dimmables'],
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
title: 'Éclairage de Tâche Lumineux',
|
|
130
|
+
description: 'Essentiel pour les cuisines, les bureaux et les salles de bain. Offre une visibilité claire pour les travaux détaillés.',
|
|
131
|
+
icon: 'mdi:white-balance-sunny',
|
|
132
|
+
points: ['300-500 lux', 'Blanc froid (4000K)', 'Focalisé sur les surfaces de travail'],
|
|
133
|
+
},
|
|
134
|
+
],
|
|
135
|
+
columns: 2,
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
type: 'title',
|
|
139
|
+
text: 'Pourquoi les Dimensions de la Pièce sont Importantes',
|
|
140
|
+
level: 3,
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
type: 'paragraph',
|
|
144
|
+
html: 'La lumière se propage et s\'affaiblit avec la distance. Une ampoule suffisamment brillante pour un plafond de 2,5 mètres peut être trop faible pour un plafond de 4 mètres. Le calculateur prend cela en compte en utilisant la formule de l\'indice de la pièce, qui considère à la fois la superficie au sol et la hauteur de montage pour estimer combien de lumière atteint réellement votre plan de travail.',
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
type: 'diagnostic',
|
|
148
|
+
variant: 'info',
|
|
149
|
+
title: 'Table de Référence Rapide des Lux',
|
|
150
|
+
icon: 'mdi:table',
|
|
151
|
+
badge: 'Référence',
|
|
152
|
+
html: '<ul style="margin:0;padding-left:1.2em"><li><strong>Salon</strong> → 150 lux</li><li><strong>Cuisine</strong> → 300 lux</li><li><strong>Chambre</strong> → 100 lux</li><li><strong>Salle de bain</strong> → 200 lux</li><li><strong>Bureau</strong> → 500 lux</li><li><strong>Couloir</strong> → 100 lux</li></ul>',
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
type: 'summary',
|
|
156
|
+
title: 'Conseils de Pro pour un Meilleur Éclairage',
|
|
157
|
+
items: [
|
|
158
|
+
'Superposez trois types de lumière: ambiante, de tâche et d\'accent.',
|
|
159
|
+
'Utilisez des variateurs pour ajuster la luminosité selon les moments de la journée.',
|
|
160
|
+
'Choisissez des ampoules LED pour une longue durée de vie et une faible consommation d\'énergie.',
|
|
161
|
+
'Placez les lampes de travail du côté opposé à votre main dominante pour éviter les ombres.',
|
|
162
|
+
'Envisagez des ampoules connectées pour une planification automatisée et des changements de température de couleur.',
|
|
163
|
+
],
|
|
164
|
+
},
|
|
165
|
+
],
|
|
166
|
+
ui: {
|
|
167
|
+
sectionTitle: 'Calculateur d\'Éclairage de Pièce',
|
|
168
|
+
labelRoomType: 'Type de pièce',
|
|
169
|
+
labelRoomWidth: 'Largeur',
|
|
170
|
+
labelRoomLength: 'Longueur',
|
|
171
|
+
labelHeight: 'Plafond',
|
|
172
|
+
labelBulbType: 'Ampoule',
|
|
173
|
+
labelBulbWatt: 'Puissance',
|
|
174
|
+
labelFixtures: 'Luminaires',
|
|
175
|
+
labelAmbient: 'Ambiance',
|
|
176
|
+
btnAmbientCozy: 'Cozy',
|
|
177
|
+
btnAmbientNormal: 'Normal',
|
|
178
|
+
btnAmbientBright: 'Lumineux',
|
|
179
|
+
unitMetricRoom: 'm',
|
|
180
|
+
unitImperialRoom: 'ft',
|
|
181
|
+
unitHeight: 'm',
|
|
182
|
+
unitBulbs: 'pcs',
|
|
183
|
+
unitWatt: 'W',
|
|
184
|
+
unitLux: 'lux',
|
|
185
|
+
labelTargetLux: 'Lux cible',
|
|
186
|
+
labelCurrentLux: 'Lux actuels',
|
|
187
|
+
labelBulbsNeeded: 'Ampoules nécessaires',
|
|
188
|
+
labelRoomArea: 'Superficie',
|
|
189
|
+
statusOptimal: 'Parfait',
|
|
190
|
+
statusInsufficient: 'Trop Sombre',
|
|
191
|
+
statusExcess: 'Trop Lumineux',
|
|
192
|
+
btnLiving: 'Salon',
|
|
193
|
+
btnKitchen: 'Cuisine',
|
|
194
|
+
btnBedroom: 'Chambre',
|
|
195
|
+
btnBathroom: 'Salle de bain',
|
|
196
|
+
btnOffice: 'Bureau',
|
|
197
|
+
btnHallway: 'Couloir',
|
|
198
|
+
btnBulbLED: 'LED',
|
|
199
|
+
btnBulbCFL: 'CFL',
|
|
200
|
+
btnBulbHalogen: 'Halogène',
|
|
201
|
+
btnBulbIncandescent: 'Incandescente',
|
|
202
|
+
btnMetric: 'M',
|
|
203
|
+
btnImperial: 'ft',
|
|
204
|
+
tipOptimal: 'Votre éclairage est parfaitement équilibré pour cette pièce.',
|
|
205
|
+
tipInsufficient: 'Ajoutez des luminaires ou des ampoules plus puissantes.',
|
|
206
|
+
tipExcess: 'Réduisez les luminaires ou dimmez pour économiser de l\'énergie.',
|
|
207
|
+
labelManualAdjust: 'Ajustement manuel',
|
|
208
|
+
labelSummary: 'Votre plan d\'éclairage',
|
|
209
|
+
labelTotalLumens: 'Lumens totaux nécessaires',
|
|
210
|
+
labelSuggestedSetup: 'Configuration recommandée',
|
|
211
|
+
btnExport: 'Exporter PDF',
|
|
212
|
+
},
|
|
213
|
+
};
|