@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.
Files changed (56) hide show
  1. package/package.json +2 -1
  2. package/src/entries.ts +7 -1
  3. package/src/index.ts +1 -0
  4. package/src/tests/locale_completeness.test.ts +2 -2
  5. package/src/tests/tool_validation.test.ts +2 -2
  6. package/src/tool/lightingCalculator/bibliography.astro +36 -0
  7. package/src/tool/lightingCalculator/bibliography.ts +10 -0
  8. package/src/tool/lightingCalculator/component.astro +308 -0
  9. package/src/tool/lightingCalculator/draw.ts +247 -0
  10. package/src/tool/lightingCalculator/entry.ts +29 -0
  11. package/src/tool/lightingCalculator/how-many-lights-per-room.css +493 -0
  12. package/src/tool/lightingCalculator/i18n/de.ts +213 -0
  13. package/src/tool/lightingCalculator/i18n/en.ts +213 -0
  14. package/src/tool/lightingCalculator/i18n/es.ts +213 -0
  15. package/src/tool/lightingCalculator/i18n/fr.ts +213 -0
  16. package/src/tool/lightingCalculator/i18n/id.ts +213 -0
  17. package/src/tool/lightingCalculator/i18n/it.ts +213 -0
  18. package/src/tool/lightingCalculator/i18n/ja.ts +213 -0
  19. package/src/tool/lightingCalculator/i18n/ko.ts +213 -0
  20. package/src/tool/lightingCalculator/i18n/nl.ts +213 -0
  21. package/src/tool/lightingCalculator/i18n/pl.ts +213 -0
  22. package/src/tool/lightingCalculator/i18n/pt.ts +213 -0
  23. package/src/tool/lightingCalculator/i18n/ru.ts +213 -0
  24. package/src/tool/lightingCalculator/i18n/sv.ts +213 -0
  25. package/src/tool/lightingCalculator/i18n/tr.ts +213 -0
  26. package/src/tool/lightingCalculator/i18n/zh.ts +213 -0
  27. package/src/tool/lightingCalculator/index.ts +9 -0
  28. package/src/tool/lightingCalculator/logic.ts +119 -0
  29. package/src/tool/lightingCalculator/seo.astro +15 -0
  30. package/src/tool/lightingCalculator/state.ts +113 -0
  31. package/src/tool/lightingCalculator/ui.ts +48 -0
  32. package/src/tool/tileLayoutCalculator/bibliography.astro +14 -0
  33. package/src/tool/tileLayoutCalculator/bibliography.ts +10 -0
  34. package/src/tool/tileLayoutCalculator/component.astro +415 -0
  35. package/src/tool/tileLayoutCalculator/entry.ts +29 -0
  36. package/src/tool/tileLayoutCalculator/i18n/de.ts +208 -0
  37. package/src/tool/tileLayoutCalculator/i18n/en.ts +208 -0
  38. package/src/tool/tileLayoutCalculator/i18n/es.ts +208 -0
  39. package/src/tool/tileLayoutCalculator/i18n/fr.ts +208 -0
  40. package/src/tool/tileLayoutCalculator/i18n/id.ts +208 -0
  41. package/src/tool/tileLayoutCalculator/i18n/it.ts +208 -0
  42. package/src/tool/tileLayoutCalculator/i18n/ja.ts +208 -0
  43. package/src/tool/tileLayoutCalculator/i18n/ko.ts +208 -0
  44. package/src/tool/tileLayoutCalculator/i18n/nl.ts +208 -0
  45. package/src/tool/tileLayoutCalculator/i18n/pl.ts +208 -0
  46. package/src/tool/tileLayoutCalculator/i18n/pt.ts +208 -0
  47. package/src/tool/tileLayoutCalculator/i18n/ru.ts +208 -0
  48. package/src/tool/tileLayoutCalculator/i18n/sv.ts +208 -0
  49. package/src/tool/tileLayoutCalculator/i18n/tr.ts +208 -0
  50. package/src/tool/tileLayoutCalculator/i18n/zh.ts +208 -0
  51. package/src/tool/tileLayoutCalculator/index.ts +9 -0
  52. package/src/tool/tileLayoutCalculator/logic.ts +55 -0
  53. package/src/tool/tileLayoutCalculator/seo.astro +15 -0
  54. package/src/tool/tileLayoutCalculator/tile-layout-calculator.css +404 -0
  55. package/src/tool/tileLayoutCalculator/ui.ts +37 -0
  56. 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 = 'kalkulator-pencahayaan-dan-lumen-untuk-rumah';
7
+ const title = 'Kalkulator Pencahayaan dan Lumen untuk Rumah';
8
+ const description =
9
+ 'Hitung secara tepat berapa lumen dan bola lampu yang Anda butuhkan untuk setiap ruangan. Pilih jenis ruangan, dimensi, dan jenis bola lampu untuk mendapatkan rencana pencahayaan profesional dengan estimasi lux real-time.';
10
+
11
+ const faqData = [
12
+ {
13
+ question: 'Berapa lumen yang saya butuhkan untuk ruang tamu?',
14
+ answer:
15
+ 'Untuk ruang tamu yang umum, targetkan sekitar 150 lux di lantai. Kalikan luas ruangan dalam meter persegi dengan 150 untuk mendapatkan lumen yang dibutuhkan. Untuk ruangan 20 meter persegi, Anda membutuhkan sekitar 3.000 lumen.',
16
+ },
17
+ {
18
+ question: 'Apa perbedaan antara lux dan lumen?',
19
+ answer:
20
+ 'Lumen mengukur total output cahaya dari sebuah bola lampu. Lux mengukur cahaya yang benar-benar mencapai sebuah permukaan. Ruangan dengan langit-langit tinggi atau dinding gelap membutuhkan lebih banyak lumen untuk mencapai level lux yang sama karena cahaya hilang karena jarak dan absorpsi.',
21
+ },
22
+ {
23
+ question: 'Apakah bola lampu LED benar-benar menghemat energi?',
24
+ answer:
25
+ 'Ya. Bola lampu LED menghasilkan sekitar 100 lumen per watt, sementara bola lampu pijar hanya menghasilkan sekitar 15. Bola lampu LED 10W memberikan cahaya yang sama dengan bola lampu pijar 60W, menggunakan seperenam dari listriknya.',
26
+ },
27
+ {
28
+ question: 'Bagaimana warna ruangan mempengaruhi kebutuhan pencahayaan?',
29
+ answer:
30
+ 'Dinding dan langit-langit gelap menyerap cahaya. Di ruangan dengan permukaan gelap, Anda mungkin membutuhkan 50% lebih banyak lumen dari rekomendasi standar.',
31
+ },
32
+ {
33
+ question: 'Berapa level lux yang baik untuk membaca?',
34
+ answer:
35
+ 'Untuk membaca yang nyaman, Anda butuh 300 hingga 500 lux di halaman. Pencahayaan ambient umum biasanya menyediakan 150 hingga 200 lux, jadi tambahkan lampu tugas di dekat tempat membaca Anda untuk kecerahan tambahan.',
36
+ },
37
+ {
38
+ question: 'Bisakah saya meredupkan bola lampu LED?',
39
+ answer:
40
+ 'Hanya jika mereka ditandai sebagai dapat-diredupkan. LED standar mungkin berkedip atau memiliki umur pakai yang lebih pendek ketika terhubung ke dimmer. Selalu periksa kemasan untuk simbol dapat-diredupkan sebelum memasang.',
41
+ },
42
+ ];
43
+
44
+ const howToData = [
45
+ {
46
+ name: 'Pilih jenis ruangan Anda',
47
+ text: 'Pilih fungsi ruangan. Dapur dan kantor membutuhkan cahaya yang lebih terang daripada kamar tidur atau lorong.',
48
+ },
49
+ {
50
+ name: 'Masukkan dimensi',
51
+ text: 'Masukkan lebar, panjang, dan tinggi langit-langit ruangan. Kalkulator menggunakan ini untuk menentukan indeks ruangan dan faktor pemanfaatan cahaya.',
52
+ },
53
+ {
54
+ name: 'Pilih jenis bola lampu dan jumlahnya',
55
+ text: 'Pilih teknologi bola lampu yang Anda sukai dan berapa banyak fixture yang Anda miliki. Kalkulator akan memberi tahu Anda jika Anda butuh lebih banyak bola lampu.',
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: 'id',
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: 'Panduan Lengkap Desain Pencahayaan Rumah dan Perencanaan Lumen',
104
+ level: 2,
105
+ },
106
+ {
107
+ type: 'paragraph',
108
+ html: 'Pencahayaan yang tepat mengubah rumah menjadi tempat tinggal. Di luar estetika, jumlah cahaya yang tepat mempengaruhi suasana hati, produktivitas, dan bahkan kesehatan mata. <strong>Kalkulator pencahayaan rumah kami</strong> membantu Anda menentukan secara tepat berapa lumen yang Anda butuhkan untuk setiap ruangan, dengan mempertimbangkan ukuran ruangan, tinggi langit-langit, warna permukaan, dan jenis bola lampu.',
109
+ },
110
+ {
111
+ type: 'stats',
112
+ items: [
113
+ { value: '150-500', label: 'Rentang Lux yang Direkomendasikan', icon: 'mdi:brightness-6' },
114
+ { value: '100 lm/W', label: 'Efisiensi LED', icon: 'mdi:lightbulb' },
115
+ { value: '80%', label: 'Faktor Pemeliharaan', icon: 'mdi:tools' },
116
+ ],
117
+ columns: 3,
118
+ },
119
+ {
120
+ type: 'comparative',
121
+ items: [
122
+ {
123
+ title: 'Pencahayaan Ambien Hangat',
124
+ description: 'Ideal untuk ruang tamu dan kamar tidur. Menciptakan atmosfer yang nyaman dan mengurangi kelelahan mata di malam hari.',
125
+ icon: 'mdi:weather-night',
126
+ points: ['150-200 lux', 'Suhu warna hangat (2700K)', 'Beberapa sumber yang dapat-diredupkan'],
127
+ },
128
+ {
129
+ title: 'Pencahayaan Tugas Terang',
130
+ description: 'Penting untuk dapur, kantor, dan kamar mandi. Memberikan visibilitas yang jelas untuk pekerjaan detail.',
131
+ icon: 'mdi:white-balance-sunny',
132
+ points: ['300-500 lux', 'Putih dingin (4000K)', 'Fokus pada permukaan kerja'],
133
+ },
134
+ ],
135
+ columns: 2,
136
+ },
137
+ {
138
+ type: 'title',
139
+ text: 'Mengapa Dimensi Ruangan Penting',
140
+ level: 3,
141
+ },
142
+ {
143
+ type: 'paragraph',
144
+ html: 'Cahaya menyebar dan melemah dengan jarak. Sebuah bola lampu yang cukup terang untuk langit-langit 2,5 meter mungkin terlalu redup untuk langit-langit 4 meter. Kalkulator memperhitungkan ini dengan menggunakan rumus indeks ruangan, yang mempertimbangkan baik luas lantai maupun tinggi pemasangan untuk memperkirakan berapa banyak cahaya yang benar-benar mencapai bidang kerja Anda.',
145
+ },
146
+ {
147
+ type: 'diagnostic',
148
+ variant: 'info',
149
+ title: 'Tabel Referensi Lux Cepat',
150
+ icon: 'mdi:table',
151
+ badge: 'Referensi',
152
+ html: '<ul style="margin:0;padding-left:1.2em"><li><strong>Ruang tamu</strong> → 150 lux</li><li><strong>Dapur</strong> → 300 lux</li><li><strong>Kamar tidur</strong> → 100 lux</li><li><strong>Kamar mandi</strong> → 200 lux</li><li><strong>Kantor</strong> → 500 lux</li><li><strong>Lorong</strong> → 100 lux</li></ul>',
153
+ },
154
+ {
155
+ type: 'summary',
156
+ title: 'Tips Profesional untuk Pencahayaan yang Lebih Baik',
157
+ items: [
158
+ 'Lapiskan tiga jenis cahaya: ambien, tugas, dan aksen.',
159
+ 'Gunakan dimmer untuk menyesuaikan kecerahan pada waktu yang berbeda dalam sehari.',
160
+ 'Pilih bola lampu LED untuk umur pakai yang panjang dan konsumsi energi yang rendah.',
161
+ 'Tempatkan lampu tugas di sisi berlawanan dari tangan dominan Anda untuk menghindari bayangan.',
162
+ 'Pertimbangkan bola lampu pintar untuk penjadwalan otomatis dan perubahan suhu warna.',
163
+ ],
164
+ },
165
+ ],
166
+ ui: {
167
+ sectionTitle: 'Kalkulator Pencahayaan Ruangan',
168
+ labelRoomType: 'Jenis ruangan',
169
+ labelRoomWidth: 'Lebar',
170
+ labelRoomLength: 'Panjang',
171
+ labelHeight: 'Langit-langit',
172
+ labelBulbType: 'Bola lampu',
173
+ labelBulbWatt: 'Watt',
174
+ labelFixtures: 'Fixture',
175
+ labelAmbient: 'Suasana',
176
+ btnAmbientCozy: 'Nyaman',
177
+ btnAmbientNormal: 'Normal',
178
+ btnAmbientBright: 'Terang',
179
+ unitMetricRoom: 'm',
180
+ unitImperialRoom: 'ft',
181
+ unitHeight: 'm',
182
+ unitBulbs: 'pcs',
183
+ unitWatt: 'W',
184
+ unitLux: 'lux',
185
+ labelTargetLux: 'Lux target',
186
+ labelCurrentLux: 'Lux saat ini',
187
+ labelBulbsNeeded: 'Bola lampu dibutuhkan',
188
+ labelRoomArea: 'Luas',
189
+ statusOptimal: 'Sempurna',
190
+ statusInsufficient: 'Terlalu Redup',
191
+ statusExcess: 'Terlalu Terang',
192
+ btnLiving: 'Ruang Tamu',
193
+ btnKitchen: 'Dapur',
194
+ btnBedroom: 'Kamar Tidur',
195
+ btnBathroom: 'Kamar Mandi',
196
+ btnOffice: 'Kantor',
197
+ btnHallway: 'Lorong',
198
+ btnBulbLED: 'LED',
199
+ btnBulbCFL: 'CFL',
200
+ btnBulbHalogen: 'Halogen',
201
+ btnBulbIncandescent: 'Pijar',
202
+ btnMetric: 'M',
203
+ btnImperial: 'ft',
204
+ tipOptimal: 'Pencahayaan Anda seimbang sempurna untuk ruangan ini.',
205
+ tipInsufficient: 'Tambahkan lebih banyak fixture atau bola lampu dengan watt yang lebih tinggi.',
206
+ tipExcess: 'Kurangi fixture atau redupkan untuk menghemat energi.',
207
+ labelManualAdjust: 'Penyesuaian manual',
208
+ labelSummary: 'Rencana pencahayaan Anda',
209
+ labelTotalLumens: 'Total lumen yang dibutuhkan',
210
+ labelSuggestedSetup: 'Konfigurasi yang direkomendasikan',
211
+ btnExport: 'Ekspor 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 = 'calcolatore-di-illuminazione-e-lumen-per-la-casa';
7
+ const title = 'Calcolatore di Illuminazione e Lumen per la Casa';
8
+ const description =
9
+ 'Calcola esattamente quanti lumen e lampadine ti servono per ogni stanza. Seleziona il tipo di stanza, le dimensioni e il tipo di lampadina per ottenere un piano di illuminazione professionale con stime lux in tempo reale.';
10
+
11
+ const faqData = [
12
+ {
13
+ question: 'Quanti lumen mi servono per un soggiorno?',
14
+ answer:
15
+ 'Per un soggiorno tipico, punta a circa 150 lux sul pavimento. Moltiplica l\'area della stanza in metri quadrati per 150 per ottenere i lumen necessari. Per una stanza di 20 metri quadrati, servono circa 3.000 lumen.',
16
+ },
17
+ {
18
+ question: 'Qual è la differenza tra lux e lumen?',
19
+ answer:
20
+ 'I lumen misurano la produzione totale di luce di una lampadina. I lux misurano la luce che effettivamente raggiunge una superficie. Una stanza con soffitti alti o pareti scure ha bisogno di più lumen per raggiungere lo stesso livello di lux perché la luce viene persa per distanza e assorbimento.',
21
+ },
22
+ {
23
+ question: 'Le lampadine LED risparmiano davvero energia?',
24
+ answer:
25
+ 'Sì. Le lampadine LED producono circa 100 lumen per watt, mentre le incandescenti ne producono solo circa 15. Una lampadina LED da 10W dà la stessa luce di una incandescente da 60W, usando un sesto dell\'elettricità.',
26
+ },
27
+ {
28
+ question: 'Come il colore della stanza influisce sui bisogni di illuminazione?',
29
+ answer:
30
+ 'Le pareti e i soffitti scuri assorbono la luce. In una stanza con superfici scure, potresti aver bisogno del 50% in più di lumen rispetto alla raccomandazione standard.',
31
+ },
32
+ {
33
+ question: 'Qual è un buon livello di lux per leggere?',
34
+ answer:
35
+ 'Per leggere comodamente, servono da 300 a 500 lux sulla pagina. L\'illuminazione ambientale generale fornisce solitamente da 150 a 200 lux, quindi aggiungi una lampada da lavoro vicino al tuo punto di lettura per la luminosità extra.',
36
+ },
37
+ {
38
+ question: 'Posso dimmerare le lampadine LED?',
39
+ answer:
40
+ 'Solo se sono contrassegnate come dimmerabili. Le LED standard potrebbero lampeggiare o avere una durata ridotta quando collegate a un dimmer. Controlla sempre la confezione per il simbolo dimmerabile prima di installare.',
41
+ },
42
+ ];
43
+
44
+ const howToData = [
45
+ {
46
+ name: 'Scegli il tipo di stanza',
47
+ text: 'Seleziona la funzione della stanza. Cucine e uffici hanno bisogno di luce più intensa rispetto a camere da letto o corridoi.',
48
+ },
49
+ {
50
+ name: 'Inserisci le dimensioni',
51
+ text: 'Inserisci larghezza, lunghezza e altezza del soffitto della stanza. Il calcolatore le usa per determinare l\'indice della stanza e il fattore di utilizzo della luce.',
52
+ },
53
+ {
54
+ name: 'Seleziona il tipo di lampadina e il numero',
55
+ text: 'Scegli la tecnologia della lampadina che preferisci e quanti corpi illuminanti hai. Il calcolatore ti dirà se ti servono più lampadine.',
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: 'it',
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: 'Guida Completa alla Progettazione dell\'Illuminazione Domestica e alla Pianificazione dei Lumen',
104
+ level: 2,
105
+ },
106
+ {
107
+ type: 'paragraph',
108
+ html: 'L\'illuminazione adeguata trasforma una casa in un luogo accogliente. Oltre all\'estetica, la giusta quantità di luce influenza l\'umore, la produttività e persino la salute degli occhi. <strong>Il nostro calcolatore di illuminazione per la casa</strong> ti aiuta a determinare esattamente quanti lumen ti servono per ogni stanza, tenendo conto delle dimensioni della stanza, dell\'altezza del soffitto, dei colori delle superfici e del tipo di lampadina.',
109
+ },
110
+ {
111
+ type: 'stats',
112
+ items: [
113
+ { value: '150-500', label: 'Intervallo Lux Consigliato', icon: 'mdi:brightness-6' },
114
+ { value: '100 lm/W', label: 'Efficienza LED', icon: 'mdi:lightbulb' },
115
+ { value: '80%', label: 'Fattore di Manutenzione', icon: 'mdi:tools' },
116
+ ],
117
+ columns: 3,
118
+ },
119
+ {
120
+ type: 'comparative',
121
+ items: [
122
+ {
123
+ title: 'Illuminazione Ambientale Calda',
124
+ description: 'Ideale per soggiorni e camere da letto. Crea un\'atmosfera accogliente e riduce l\'affaticamento visivo la sera.',
125
+ icon: 'mdi:weather-night',
126
+ points: ['150-200 lux', 'Temperatura colore calda (2700K)', 'Molteplici sorgenti dimmerabili'],
127
+ },
128
+ {
129
+ title: 'Illuminazione da Lavoro Luminosa',
130
+ description: 'Essenziale per cucine, uffici e bagni. Fornisce una visibilità chiara per lavori dettagliati.',
131
+ icon: 'mdi:white-balance-sunny',
132
+ points: ['300-500 lux', 'Bianco freddo (4000K)', 'Focalizzata sulle superfici di lavoro'],
133
+ },
134
+ ],
135
+ columns: 2,
136
+ },
137
+ {
138
+ type: 'title',
139
+ text: 'Perché le Dimensioni della Stanza sono Importanti',
140
+ level: 3,
141
+ },
142
+ {
143
+ type: 'paragraph',
144
+ html: 'La luce si espande e si indebolisce con la distanza. Una lampadina che è abbastanza luminosa per un soffitto di 2,5 metri potrebbe essere troppo fioca per un soffitto di 4 metri. Il calcolatore tiene conto di questo utilizzando la formula dell\'indice della stanza, che considera sia l\'area del pavimento che l\'altezza di montaggio per stimare quanta luce raggiunge effettivamente il tuo piano di lavoro.',
145
+ },
146
+ {
147
+ type: 'diagnostic',
148
+ variant: 'info',
149
+ title: 'Tabella di Riferimento Rapida Lux',
150
+ icon: 'mdi:table',
151
+ badge: 'Riferimento',
152
+ html: '<ul style="margin:0;padding-left:1.2em"><li><strong>Soggiorno</strong> → 150 lux</li><li><strong>Cucina</strong> → 300 lux</li><li><strong>Camera</strong> → 100 lux</li><li><strong>Bagno</strong> → 200 lux</li><li><strong>Ufficio</strong> → 500 lux</li><li><strong>Corridoio</strong> → 100 lux</li></ul>',
153
+ },
154
+ {
155
+ type: 'summary',
156
+ title: 'Consigli da Professionisti per una Migliore Illuminazione',
157
+ items: [
158
+ 'Sovrapponi tre tipi di luce: ambientale, da lavoro e d\'accento.',
159
+ 'Usa dimmer per regolare la luminosità in momenti diversi della giornata.',
160
+ 'Scegli lampadine LED per lunga durata e basso consumo energetico.',
161
+ 'Posiziona le lampade da lavoro sul lato opposto alla tua mano dominante per evitare ombre.',
162
+ 'Considera lampadine smart per programmazione automatica e variazioni di temperatura colore.',
163
+ ],
164
+ },
165
+ ],
166
+ ui: {
167
+ sectionTitle: 'Calcolatore Illuminazione Stanza',
168
+ labelRoomType: 'Tipo di stanza',
169
+ labelRoomWidth: 'Larghezza',
170
+ labelRoomLength: 'Lunghezza',
171
+ labelHeight: 'Soffitto',
172
+ labelBulbType: 'Lampadina',
173
+ labelBulbWatt: 'Potenza',
174
+ labelFixtures: 'Corpi illuminanti',
175
+ labelAmbient: 'Ambiente',
176
+ btnAmbientCozy: 'Cozy',
177
+ btnAmbientNormal: 'Normale',
178
+ btnAmbientBright: 'Luminoso',
179
+ unitMetricRoom: 'm',
180
+ unitImperialRoom: 'ft',
181
+ unitHeight: 'm',
182
+ unitBulbs: 'pz',
183
+ unitWatt: 'W',
184
+ unitLux: 'lux',
185
+ labelTargetLux: 'Lux obiettivo',
186
+ labelCurrentLux: 'Lux attuali',
187
+ labelBulbsNeeded: 'Lampadine necessarie',
188
+ labelRoomArea: 'Superficie',
189
+ statusOptimal: 'Perfetto',
190
+ statusInsufficient: 'Troppo Scuro',
191
+ statusExcess: 'Troppo Luminoso',
192
+ btnLiving: 'Soggiorno',
193
+ btnKitchen: 'Cucina',
194
+ btnBedroom: 'Camera',
195
+ btnBathroom: 'Bagno',
196
+ btnOffice: 'Ufficio',
197
+ btnHallway: 'Corridoio',
198
+ btnBulbLED: 'LED',
199
+ btnBulbCFL: 'CFL',
200
+ btnBulbHalogen: 'Alogena',
201
+ btnBulbIncandescent: 'Incandescente',
202
+ btnMetric: 'M',
203
+ btnImperial: 'ft',
204
+ tipOptimal: 'La tua illuminazione è perfettamente bilanciata per questa stanza.',
205
+ tipInsufficient: 'Aggiungi più corpi illuminanti o lampadine di potenza superiore.',
206
+ tipExcess: 'Riduci i corpi illuminanti o diminuisci per risparmiare energia.',
207
+ labelManualAdjust: 'Regolazione manuale',
208
+ labelSummary: 'Il tuo piano di illuminazione',
209
+ labelTotalLumens: 'Lumen totali necessari',
210
+ labelSuggestedSetup: 'Configurazione consigliata',
211
+ btnExport: 'Esporta 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 = 'how-many-lights-per-room';
7
+ const title = '住宅照明とルーメン計算機';
8
+ const description =
9
+ 'あらゆる部屋に必要なルーメン数と電球の数を正確に計算します。部屋の種類、寸法、電球の種類を選択すると、リアルタイムのルクス推定値付きのプロフェッショナルな照明計画が得られます。';
10
+
11
+ const faqData = [
12
+ {
13
+ question: 'リビングルームにはどのくらいのルーメンが必要ですか?',
14
+ answer:
15
+ '一般的なリビングルームでは、床面に約150ルクスを目指してください。部屋の面積(平方メートル)に150を掛けると、必要なルーメン数が出ます。20平方メートルの部屋では、約3,000ルーメンが必要です。',
16
+ },
17
+ {
18
+ question: 'ルクスとルーメンの違いは何ですか?',
19
+ answer:
20
+ 'ルーメンは電球から出る総光量を測る単位です。ルクスは、実際に表面に到達する光を測る単位です。天井が高い部屋や壁が暗い部屋は、距離や吸収による光の損失のため、同じルクス値を得るためにより多くのルーメンが必要です。',
21
+ },
22
+ {
23
+ question: 'LED電球は本当に省エネですか?',
24
+ answer:
25
+ 'はい。LED電球は1ワットあたり約100ルーメンを発生しますが、白熱電球は約15ルーメンしか発生しません。10WのLED電球は、60Wの白熱電球と同じ明るさを生み出し、電力を6分の1しか使いません。',
26
+ },
27
+ {
28
+ question: '部屋の色は照明の必要性にどう影響しますか?',
29
+ answer:
30
+ '暗い壁や天井は光を吸収します。暗い表面の部屋では、標準推奨値より50%多くのルーメンが必要になることがあります。',
31
+ },
32
+ {
33
+ question: '読書に適したルクス値はどのくらいですか?',
34
+ answer:
35
+ '快適に読書するには、ページに300~500ルクスが必要です。一般的な環境照明は通常150~200ルクスを提供するので、読書スポットの近くにタスクライトを追加して明るさを補ってください。',
36
+ },
37
+ {
38
+ question: 'LED電球は調光できますか?',
39
+ answer:
40
+ '調光対応と表示されている場合のみです。標準のLEDは調光器に接続するとちらついたり、寿命が短くなったりすることがあります。設置前に必ずパッケージの調光対応シンボルを確認してください。',
41
+ },
42
+ ];
43
+
44
+ const howToData = [
45
+ {
46
+ name: '部屋の種類を選ぶ',
47
+ text: '部屋の用途を選択してください。キッチンやオフィスは、寝室や廊下より明るい光が必要です。',
48
+ },
49
+ {
50
+ name: '寸法を入力する',
51
+ text: '部屋の幅、奥行き、天井高を入力してください。計算機はこれらを使用して室指数と照明利用係数を算出します。',
52
+ },
53
+ {
54
+ name: '電球の種類と数を選ぶ',
55
+ text: '好みの電球技術と設備の数を選択してください。計算機は、より多くの電球が必要かどうかを教えてくれます。',
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: 'ja',
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: '住宅照明設計とルーメン計画の完全ガイド',
104
+ level: 2,
105
+ },
106
+ {
107
+ type: 'paragraph',
108
+ html: '適切な照明は、家を住みやすい空間に変えます。美観だけでなく、適切な光量は気分、生産性、さらには眼の健康にも影響します。<strong>私たちの住宅照明計算機</strong>は、部屋の大きさ、天井高、壁面の色、電球の種類を考慮して、あらゆる部屋に必要なルーメン数を正確に算出します。',
109
+ },
110
+ {
111
+ type: 'stats',
112
+ items: [
113
+ { value: '150-500', label: '推奨ルクス範囲', icon: 'mdi:brightness-6' },
114
+ { value: '100 lm/W', label: 'LED効率', icon: 'mdi:lightbulb' },
115
+ { value: '80%', label: '保守率', icon: 'mdi:tools' },
116
+ ],
117
+ columns: 3,
118
+ },
119
+ {
120
+ type: 'comparative',
121
+ items: [
122
+ {
123
+ title: '暖かい環境照明',
124
+ description: 'リビングルームや寝室に最適。居心地の良い雰囲気を作り出し、夜間の眼疲労を軽減します。',
125
+ icon: 'mdi:weather-night',
126
+ points: ['150-200 lux', '電球色(2700K)', '複数の調光可能な光源'],
127
+ },
128
+ {
129
+ title: '明るい作業照明',
130
+ description: 'キッチン、オフィス、浴室に不可欠。細かい作業に対して明確な視認性を提供します。',
131
+ icon: 'mdi:white-balance-sunny',
132
+ points: ['300-500 lux', '昼白色(4000K)', '作業面に焦点を当てる'],
133
+ },
134
+ ],
135
+ columns: 2,
136
+ },
137
+ {
138
+ type: 'title',
139
+ text: 'なぜ部屋の寸法が重要なのか',
140
+ level: 3,
141
+ },
142
+ {
143
+ type: 'paragraph',
144
+ html: '光は距離とともに広がり、弱まっていきます。2.5メートルの天井に十分明るい電球でも、4メートルの天井では暗すぎることがあります。計算機は室指数の式を使用してこれを考慮に入れます。式は床面積と器具高の両方を考慮し、実際に作業面に到達する光量を推定します。',
145
+ },
146
+ {
147
+ type: 'diagnostic',
148
+ variant: 'info',
149
+ title: 'クイックリファレンス ルクス表',
150
+ icon: 'mdi:table',
151
+ badge: '参考',
152
+ html: '<ul style="margin:0;padding-left:1.2em"><li><strong>リビング</strong> → 150 lux</li><li><strong>キッチン</strong> → 300 lux</li><li><strong>寝室</strong> → 100 lux</li><li><strong>浴室</strong> → 200 lux</li><li><strong>オフィス</strong> → 500 lux</li><li><strong>廊下</strong> → 100 lux</li></ul>',
153
+ },
154
+ {
155
+ type: 'summary',
156
+ title: 'より良い照明のためのプロのヒント',
157
+ items: [
158
+ '環境照明、作業照明、アクセント照明の3つの光を重ね合わせましょう。',
159
+ '1日の時間帯に合わせて明るさを調整するために調光器を使用しましょう。',
160
+ '長寿命で低消費電力のLED電球を選びましょう。',
161
+ '利き手の反対側に作業灯を置くと、影ができにくくなります。',
162
+ 'スマート電球を使えば、自動スケジュールや色温度の変化が可能です。',
163
+ ],
164
+ },
165
+ ],
166
+ ui: {
167
+ sectionTitle: '部屋照明計算機',
168
+ labelRoomType: '部屋の種類',
169
+ labelRoomWidth: '幅',
170
+ labelRoomLength: '奥行き',
171
+ labelHeight: '天井',
172
+ labelBulbType: '電球',
173
+ labelBulbWatt: '消費電力',
174
+ labelFixtures: '器具',
175
+ labelAmbient: '雰囲気',
176
+ btnAmbientCozy: '居心地の良い',
177
+ btnAmbientNormal: '普通',
178
+ btnAmbientBright: '明るい',
179
+ unitMetricRoom: 'm',
180
+ unitImperialRoom: 'ft',
181
+ unitHeight: 'm',
182
+ unitBulbs: '個',
183
+ unitWatt: 'W',
184
+ unitLux: 'lux',
185
+ labelTargetLux: '目標ルクス',
186
+ labelCurrentLux: '現在のルクス',
187
+ labelBulbsNeeded: '必要な電球数',
188
+ labelRoomArea: '面積',
189
+ statusOptimal: '完璧',
190
+ statusInsufficient: '暗すぎ',
191
+ statusExcess: '明るすぎ',
192
+ btnLiving: 'リビング',
193
+ btnKitchen: 'キッチン',
194
+ btnBedroom: '寝室',
195
+ btnBathroom: '浴室',
196
+ btnOffice: 'オフィス',
197
+ btnHallway: '廊下',
198
+ btnBulbLED: 'LED',
199
+ btnBulbCFL: 'CFL',
200
+ btnBulbHalogen: 'ハロゲン',
201
+ btnBulbIncandescent: '白熱',
202
+ btnMetric: 'M',
203
+ btnImperial: 'ft',
204
+ tipOptimal: 'この部屋の照明は完璧にバランスが取れています。',
205
+ tipInsufficient: 'より多くの器具または高ワット数の電球を追加してください。',
206
+ tipExcess: '器具を減らすか調光して省エネしましょう。',
207
+ labelManualAdjust: '手動調整',
208
+ labelSummary: '照明計画',
209
+ labelTotalLumens: '必要な総ルーメン数',
210
+ labelSuggestedSetup: '推奨構成',
211
+ btnExport: 'PDFを出力',
212
+ },
213
+ };