@jjlmoya/utils-babies 1.1.0 → 1.3.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 (28) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +7 -0
  3. package/src/tool/baby-feeding-calculator/bibliography.astro +8 -4
  4. package/src/tool/baby-feeding-calculator/component.astro +208 -177
  5. package/src/tool/baby-feeding-calculator/style.css +317 -229
  6. package/src/tool/baby-percentile-calculator/bibliography.astro +8 -4
  7. package/src/tool/baby-percentile-calculator/component.astro +98 -240
  8. package/src/tool/baby-percentile-calculator/i18n/en.ts +1 -0
  9. package/src/tool/baby-percentile-calculator/i18n/es.ts +1 -0
  10. package/src/tool/baby-percentile-calculator/i18n/fr.ts +1 -0
  11. package/src/tool/baby-percentile-calculator/index.ts +1 -0
  12. package/src/tool/baby-percentile-calculator/style.css +342 -268
  13. package/src/tool/baby-size-converter/bibliography.astro +8 -4
  14. package/src/tool/baby-size-converter/component.astro +221 -212
  15. package/src/tool/baby-size-converter/style.css +433 -263
  16. package/src/tool/fertile-days-estimator/bibliography.astro +8 -4
  17. package/src/tool/fertile-days-estimator/component.astro +202 -200
  18. package/src/tool/fertile-days-estimator/style.css +408 -270
  19. package/src/tool/pregnancy-calculator/bibliography.astro +8 -4
  20. package/src/tool/pregnancy-calculator/component.astro +50 -8
  21. package/src/tool/pregnancy-calculator/i18n/en.ts +8 -0
  22. package/src/tool/pregnancy-calculator/i18n/es.ts +8 -0
  23. package/src/tool/pregnancy-calculator/i18n/fr.ts +8 -0
  24. package/src/tool/pregnancy-calculator/index.ts +8 -0
  25. package/src/tool/pregnancy-calculator/style.css +351 -134
  26. package/src/tool/vaccination-calendar/bibliography.astro +8 -4
  27. package/src/tool/vaccination-calendar/component.astro +120 -124
  28. package/src/tool/vaccination-calendar/style.css +296 -209
@@ -1,329 +1,417 @@
1
- .baby-feeding-calculator {
2
- --bfc-bg: #fff;
3
- --bfc-bg-muted: #f8fafc;
4
- --bfc-bg-alt: #f1f5f9;
5
- --bfc-text: #0f172a;
6
- --bfc-text-muted: #334155;
7
- --bfc-text-dim: #64748b;
8
- --bfc-border: #e2e8f0;
9
- --bfc-border-inner: #cbd5e1;
10
- --bfc-shadow: rgba(0, 0, 0, 0.08);
11
- --bfc-primary: #0d9488;
12
- --bfc-primary-on: #fff;
13
- --bfc-primary-soft: #f0fdfa;
14
- --bfc-primary-glow: rgba(13, 148, 136, 0.3);
15
- --bfc-hunger-bg: #fff7ed;
16
- --bfc-hunger-text: #c2410c;
17
- --bfc-satiety-bg: #f0fdf4;
18
- --bfc-satiety-text: #15803d;
19
-
20
- width: 100%;
1
+ /* PRINCIPAL CONTAINER */
2
+ .bfc-card {
3
+ background: #fff;
4
+ border: 1px solid #e2e8f0;
5
+ border-radius: 28px;
6
+ overflow: hidden;
7
+ display: flex;
8
+ flex-direction: column;
9
+ box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
21
10
  }
22
11
 
23
- .theme-dark .baby-feeding-calculator {
24
- --bfc-bg: #111827;
25
- --bfc-bg-muted: #1f2937;
26
- --bfc-bg-alt: #374151;
27
- --bfc-text: #f9fafb;
28
- --bfc-text-muted: #e2e8f0;
29
- --bfc-text-dim: #94a3b8;
30
- --bfc-border: #374151;
31
- --bfc-border-inner: #4b5563;
32
- --bfc-shadow: rgba(0, 0, 0, 0.3);
33
- --bfc-primary: #2dd4bf;
34
- --bfc-primary-on: #fff;
35
- --bfc-primary-soft: rgba(13, 148, 136, 0.05);
36
- --bfc-primary-glow: rgba(45, 212, 191, 0.3);
37
- --bfc-hunger-bg: rgba(194, 65, 12, 0.1);
38
- --bfc-hunger-text: #fdba74;
39
- --bfc-satiety-bg: rgba(21, 128, 61, 0.1);
40
- --bfc-satiety-text: #4ade80;
41
- }
42
-
43
- .baby-feeding-calculator-card {
44
- background: var(--bfc-bg);
45
- border: 1px solid var(--bfc-border);
46
- border-radius: 1rem;
47
- box-shadow: 0 2px 12px var(--bfc-shadow);
48
- overflow: hidden;
49
- width: 100%;
12
+ .dark .bfc-card {
13
+ background: #111827;
14
+ border-color: #1f2937;
50
15
  }
51
16
 
52
- .baby-feeding-calculator-card-main {
17
+ /* GRID STRUCTURE */
18
+ .bfc-main {
53
19
  display: grid;
54
20
  grid-template-columns: 1fr 1fr;
55
- gap: 0;
56
21
  }
57
22
 
58
- @media (max-width: 720px) {
59
- .baby-feeding-calculator-card-main {
60
- grid-template-columns: 1fr;
61
- }
23
+ .bfc-left {
24
+ background: #f8fafc;
25
+ padding: 40px;
26
+ border-right: 1px solid #e2e8f0;
62
27
  }
63
28
 
64
- .baby-feeding-calculator-card-left {
65
- padding: 1.5rem;
66
- border-right: 1px solid var(--bfc-border);
67
- display: flex;
68
- flex-direction: column;
69
- gap: 1.25rem;
29
+ .dark .bfc-left {
30
+ background: #1f2937;
31
+ border-right-color: #374151;
70
32
  }
71
33
 
72
- @media (max-width: 720px) {
73
- .baby-feeding-calculator-card-left {
74
- border-right: none;
75
- border-bottom: 1px solid var(--bfc-border);
76
- }
34
+ .bfc-right {
35
+ background: #fff;
36
+ padding: 40px;
77
37
  }
78
38
 
79
- .baby-feeding-calculator-card-right {
80
- padding: 1.5rem;
81
- display: flex;
82
- flex-direction: column;
83
- gap: 1.25rem;
39
+ .dark .bfc-right {
40
+ background: #111827;
84
41
  }
85
42
 
86
- .baby-feeding-calculator-section-marker {
87
- font-size: 0.7rem;
88
- font-weight: 700;
89
- letter-spacing: 0.1em;
43
+ /* SECTION MARKER */
44
+ .bfc-section-marker {
45
+ display: block;
46
+ font-size: 0.75rem;
47
+ font-weight: 800;
90
48
  text-transform: uppercase;
91
- color: var(--bfc-text-dim);
92
- padding-bottom: 0.5rem;
93
- border-bottom: 1px solid var(--bfc-border);
49
+ letter-spacing: 0.15em;
50
+ color: #64748b;
51
+ margin-bottom: 32px;
94
52
  }
95
53
 
96
- .baby-feeding-calculator-input-group {
97
- display: flex;
98
- flex-direction: column;
99
- gap: 0.5rem;
54
+ /* INPUT LABEL */
55
+ .bfc-input-label {
56
+ display: block;
57
+ font-size: 0.95rem;
58
+ font-weight: 700;
59
+ color: #334155;
60
+ margin-bottom: 12px;
100
61
  }
101
62
 
102
- .baby-feeding-calculator-input-label {
103
- font-size: 0.8rem;
104
- font-weight: 600;
105
- color: var(--bfc-text-muted);
63
+ .dark .bfc-input-label {
64
+ color: #e2e8f0;
106
65
  }
107
66
 
108
- .baby-feeding-calculator-unit-nav {
67
+ /* INPUT GROUP */
68
+ .bfc-input-group {
69
+ margin-bottom: 28px;
70
+ }
71
+
72
+ /* UNIT NAV */
73
+ .bfc-unit-nav {
109
74
  display: flex;
110
- gap: 0.25rem;
111
- background: var(--bfc-bg-alt);
112
- border-radius: 0.5rem;
113
- padding: 0.2rem;
75
+ background: #e2e8f0;
76
+ padding: 4px;
77
+ border-radius: 12px;
78
+ margin-bottom: 24px;
79
+ }
80
+
81
+ .dark .bfc-unit-nav {
82
+ background: #374151;
114
83
  }
115
84
 
116
- .baby-feeding-calculator-unit-tab {
85
+ .bfc-unit-tab {
117
86
  flex: 1;
118
- padding: 0.3rem 0.5rem;
87
+ padding: 8px;
119
88
  border: none;
120
- border-radius: 0.35rem;
121
- background: transparent;
122
- color: var(--bfc-text-dim);
123
- font-size: 0.75rem;
124
- font-weight: 600;
89
+ background: #f1f5f9;
90
+ color: #64748b;
91
+ font-size: 0.85rem;
92
+ font-weight: 700;
93
+ border-radius: 8px;
125
94
  cursor: pointer;
126
- transition: background 0.15s, color 0.15s;
95
+ transition: all 0.2s ease;
96
+ margin: 2px;
97
+ }
98
+
99
+ .dark .bfc-unit-tab {
100
+ background: #1f2937;
101
+ }
102
+
103
+ .bfc-unit-active {
104
+ background: #fff;
105
+ color: #0d9488;
106
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
127
107
  }
128
108
 
129
- .baby-feeding-calculator-unit-tab.active {
130
- background: var(--bfc-primary);
131
- color: var(--bfc-primary-on);
109
+ .dark .bfc-unit-active {
110
+ background: #4b5563;
111
+ color: #2dd4bf;
132
112
  }
133
113
 
134
- .baby-feeding-calculator-stepper-box {
114
+ /* STEPPER */
115
+ .bfc-stepper-box {
135
116
  display: flex;
136
117
  align-items: center;
137
- gap: 0.5rem;
118
+ justify-content: space-between;
119
+ background: #fff;
120
+ border: 1px solid #cbd5e1;
121
+ border-radius: 16px;
122
+ padding: 8px;
123
+ margin-bottom: 8px;
124
+ }
125
+
126
+ .dark .bfc-stepper-box {
127
+ background: #111827;
128
+ border-color: #4b5563;
138
129
  }
139
130
 
140
- .baby-feeding-calculator-btn-step {
141
- width: 2rem;
142
- height: 2rem;
143
- border: 1px solid var(--bfc-border-inner);
144
- border-radius: 0.4rem;
145
- background: var(--bfc-bg-muted);
146
- color: var(--bfc-text);
147
- font-size: 1.1rem;
131
+ .bfc-btn-step {
132
+ width: 44px;
133
+ height: 44px;
134
+ border-radius: 12px;
135
+ border: none;
136
+ background: #f1f5f9;
137
+ color: #334155;
138
+ font-size: 1.25rem;
139
+ font-weight: 700;
148
140
  cursor: pointer;
149
- display: flex;
150
- align-items: center;
151
- justify-content: center;
152
- transition: background 0.15s, border-color 0.15s;
141
+ transition: all 0.2s ease;
153
142
  }
154
143
 
155
- .baby-feeding-calculator-btn-step:hover {
156
- background: var(--bfc-primary-soft);
157
- border-color: var(--bfc-primary);
158
- color: var(--bfc-primary);
144
+ .dark .bfc-btn-step {
145
+ background: #374151;
146
+ color: #f9fafb;
159
147
  }
160
148
 
161
- .baby-feeding-calculator-val-view {
162
- flex: 1;
163
- display: flex;
164
- align-items: baseline;
165
- justify-content: center;
166
- gap: 0.3rem;
149
+ .bfc-btn-step:hover {
150
+ background: #0d9488;
151
+ color: #fff;
167
152
  }
168
153
 
169
- .baby-feeding-calculator-val-big {
170
- font-size: 1.5rem;
171
- font-weight: 700;
172
- color: var(--bfc-text);
154
+ .bfc-val-view {
155
+ text-align: center;
173
156
  }
174
157
 
175
- .baby-feeding-calculator-val-sub {
176
- font-size: 0.75rem;
177
- color: var(--bfc-text-dim);
158
+ .bfc-val-big {
159
+ display: block;
160
+ font-size: 2rem;
161
+ font-weight: 800;
162
+ color: #0f172a;
178
163
  }
179
164
 
180
- .baby-feeding-calculator-slider-line {
165
+ .dark .bfc-val-big {
166
+ color: #fff;
167
+ }
168
+
169
+ .bfc-val-sub {
170
+ display: block;
171
+ font-size: 0.85rem;
172
+ color: #64748b;
173
+ font-weight: 600;
174
+ }
175
+
176
+ /* SLIDER */
177
+ .bfc-slider-wrap {
178
+ padding: 0 11px;
179
+ }
180
+
181
+ .bfc-slider {
182
+ -webkit-appearance: none;
183
+ appearance: none;
181
184
  width: 100%;
182
- accent-color: var(--bfc-primary);
183
- cursor: pointer;
185
+ margin: 16px 0;
186
+ height: 6px;
187
+ background: #e2e8f0;
188
+ border-radius: 3px;
189
+ outline: none;
184
190
  }
185
191
 
186
- .baby-feeding-calculator-type-rack {
187
- display: flex;
188
- gap: 0.4rem;
192
+ .dark .bfc-slider {
193
+ background: #374151;
189
194
  }
190
195
 
191
- .baby-feeding-calculator-type-tile {
192
- flex: 1;
193
- padding: 0.45rem 0.5rem;
194
- border: 1px solid var(--bfc-border-inner);
195
- border-radius: 0.5rem;
196
- background: var(--bfc-bg-muted);
197
- color: var(--bfc-text-muted);
198
- font-size: 0.78rem;
199
- font-weight: 600;
196
+ .bfc-slider::-webkit-slider-thumb {
197
+ -webkit-appearance: none;
198
+ appearance: none;
199
+ width: 22px;
200
+ height: 22px;
201
+ border-radius: 50%;
202
+ background: #0d9488;
200
203
  cursor: pointer;
204
+ border: 3px solid #fff;
205
+ box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
206
+ }
207
+
208
+ /* FEED TYPE */
209
+ .bfc-type-rack {
210
+ display: grid;
211
+ grid-template-columns: repeat(3, 1fr);
212
+ gap: 12px;
213
+ }
214
+
215
+ .bfc-type-tile {
216
+ background: #f1f5f9;
217
+ border: 1px solid #cbd5e1;
218
+ border-radius: 14px;
219
+ padding: 14px 4px;
201
220
  text-align: center;
202
- transition: background 0.15s, border-color 0.15s, color 0.15s;
221
+ cursor: pointer;
222
+ transition: all 0.2s ease;
223
+ font-size: 0.9rem;
224
+ font-weight: 700;
225
+ color: #64748b;
203
226
  }
204
227
 
205
- .baby-feeding-calculator-type-tile.active {
206
- background: var(--bfc-primary-soft);
207
- border-color: var(--bfc-primary);
208
- color: var(--bfc-primary);
228
+ .dark .bfc-type-tile {
229
+ background: #1f2937;
230
+ border-color: #4b5563;
209
231
  }
210
232
 
211
- .baby-feeding-calculator-gauge-area {
212
- display: flex;
213
- flex-direction: column;
214
- align-items: center;
215
- gap: 0.5rem;
216
- padding: 1rem 0;
233
+ .bfc-type-active {
234
+ background: #f0fdfa;
235
+ border-color: #0d9488;
236
+ color: #0f766e;
237
+ box-shadow: 0 2px 8px rgba(13, 148, 136, 0.1);
217
238
  }
218
239
 
219
- .baby-feeding-calculator-gauge-viz {
220
- width: 100px;
221
- height: 100px;
222
- display: flex;
223
- align-items: center;
224
- justify-content: center;
240
+ .dark .bfc-type-active {
241
+ background: rgba(13, 148, 136, 0.1);
242
+ color: #2dd4bf;
243
+ border-color: #2dd4bf;
225
244
  }
226
245
 
227
- .baby-feeding-calculator-stomach-bubble {
228
- width: 80px;
229
- height: 80px;
230
- border-radius: 50%;
231
- background: var(--bfc-primary-soft);
232
- border: 2px solid var(--bfc-primary);
233
- box-shadow: 0 0 16px var(--bfc-primary-glow);
234
- display: flex;
235
- align-items: center;
236
- justify-content: center;
237
- transform-origin: center;
238
- transition: transform 0.4s ease;
246
+ /* GAUGE */
247
+ .bfc-gauge-area {
248
+ margin-top: 40px;
249
+ padding: 30px;
250
+ background: #fff;
251
+ border-radius: 20px;
252
+ border: 1px solid #e2e8f0;
239
253
  }
240
254
 
241
- .baby-feeding-calculator-visual-hint {
242
- font-size: 0.65rem;
243
- font-weight: 700;
244
- color: var(--bfc-primary);
245
- text-align: center;
255
+ .dark .bfc-gauge-area {
256
+ background: #111827;
257
+ border-color: #374151;
246
258
  }
247
259
 
248
- .baby-feeding-calculator-res-card-box {
249
- background: var(--bfc-bg-muted);
250
- border: 1px solid var(--bfc-border);
251
- border-radius: 0.75rem;
252
- padding: 1rem;
260
+ .bfc-gauge-viz {
261
+ display: flex;
262
+ flex-direction: column;
263
+ align-items: center;
253
264
  text-align: center;
265
+ gap: 16px;
254
266
  }
255
267
 
256
- .baby-feeding-calculator-res-main-val {
257
- font-size: 1.25rem;
258
- font-weight: 700;
259
- color: var(--bfc-primary);
268
+ .bfc-stomach-bubble {
269
+ width: 60px;
270
+ height: 60px;
271
+ background: radial-gradient(circle at 30% 30%, #5eead4 0%, #0d9488 100%);
272
+ border-radius: 50%;
273
+ transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
274
+ box-shadow: 0 10px 25px rgba(13, 148, 136, 0.2);
260
275
  }
261
276
 
262
- .baby-feeding-calculator-res-label {
263
- font-size: 0.72rem;
277
+ .bfc-visual-hint {
278
+ font-size: 0.95rem;
264
279
  font-weight: 600;
265
- color: var(--bfc-text-dim);
266
- text-transform: uppercase;
267
- letter-spacing: 0.05em;
268
- margin-bottom: 0.25rem;
280
+ color: #0f766e;
281
+ margin: 0;
269
282
  }
270
283
 
271
- .baby-feeding-calculator-stats-grid {
272
- display: grid;
273
- grid-template-columns: repeat(3, 1fr);
274
- gap: 0.5rem;
284
+ .dark .bfc-visual-hint {
285
+ color: #2dd4bf;
275
286
  }
276
287
 
277
- .baby-feeding-calculator-stat-item {
278
- background: var(--bfc-bg-muted);
279
- border: 1px solid var(--bfc-border);
280
- border-radius: 0.6rem;
281
- padding: 0.75rem 0.5rem;
288
+ /* RESULT BOX */
289
+ .bfc-res-card-box {
290
+ background: #f0fdfa;
291
+ border-radius: 24px;
292
+ padding: 32px 16px;
282
293
  text-align: center;
294
+ margin-bottom: 24px;
283
295
  }
284
296
 
285
- .baby-feeding-calculator-stat-value {
297
+ .dark .bfc-res-card-box {
298
+ background: rgba(13, 148, 136, 0.05);
299
+ }
300
+
301
+ .bfc-res-main-val {
302
+ display: block;
303
+ font-size: 3.5rem;
304
+ font-weight: 950;
305
+ color: #0d9488;
306
+ letter-spacing: -0.05em;
307
+ line-height: 1;
308
+ }
309
+
310
+ .dark .bfc-res-main-val {
311
+ color: #2dd4bf;
312
+ }
313
+
314
+ .bfc-res-label {
315
+ display: block;
316
+ margin-top: 8px;
286
317
  font-size: 1rem;
287
318
  font-weight: 700;
288
- color: var(--bfc-text);
289
- margin-bottom: 0.2rem;
319
+ color: #64748b;
320
+ }
321
+
322
+ /* STATS */
323
+ .bfc-stats-grid {
324
+ display: grid;
325
+ grid-template-columns: 1fr 1fr;
326
+ gap: 20px;
327
+ margin-bottom: 32px;
290
328
  }
291
329
 
292
- .baby-feeding-calculator-stat-label {
293
- font-size: 0.65rem;
294
- color: var(--bfc-text-dim);
330
+ .bfc-stat-item {
331
+ padding: 8px;
332
+ border-bottom: 2px solid #f1f5f9;
295
333
  }
296
334
 
297
- .baby-feeding-calculator-behavior-sec {
298
- display: flex;
299
- flex-direction: column;
300
- gap: 0.4rem;
335
+ .dark .bfc-stat-item {
336
+ border-bottom-color: #374151;
337
+ }
338
+
339
+ .bfc-stat-label {
340
+ display: block;
341
+ font-size: 0.7rem;
342
+ font-weight: 800;
343
+ color: #94a3b8;
344
+ text-transform: uppercase;
345
+ margin-bottom: 2px;
301
346
  }
302
347
 
303
- .baby-feeding-calculator-pills-container {
348
+ .bfc-stat-value {
349
+ font-size: 1.15rem;
350
+ font-weight: 800;
351
+ color: #334155;
352
+ }
353
+
354
+ .dark .bfc-stat-value {
355
+ color: #e2e8f0;
356
+ }
357
+
358
+ /* BEHAVIOR SECTION */
359
+ .bfc-behavior-sec {
360
+ margin-top: 32px;
361
+ }
362
+
363
+ .bfc-pills-container {
304
364
  display: flex;
305
365
  flex-wrap: wrap;
306
- gap: 0.35rem;
366
+ gap: 8px;
367
+ margin-top: 12px;
307
368
  }
308
369
 
309
- .baby-feeding-calculator-pill {
310
- display: inline-block;
311
- padding: 0.25rem 0.6rem;
312
- border-radius: 999px;
313
- font-size: 0.7rem;
314
- font-weight: 600;
370
+ .bfc-pill {
371
+ font-size: 0.8rem;
372
+ font-weight: 700;
373
+ padding: 6px 12px;
374
+ border-radius: 100px;
375
+ }
376
+
377
+ .bfc-pill-hunger {
378
+ background: #fff7ed;
379
+ color: #c2410c;
315
380
  }
316
381
 
317
- .baby-feeding-calculator-pill-hambre {
318
- background: var(--bfc-hunger-bg);
319
- color: var(--bfc-hunger-text);
382
+ .dark .bfc-pill-hunger {
383
+ background: rgba(194, 65, 12, 0.1);
384
+ color: #fdba74;
320
385
  }
321
386
 
322
- .baby-feeding-calculator-pill-saciedad {
323
- background: var(--bfc-satiety-bg);
324
- color: var(--bfc-satiety-text);
387
+ .bfc-pill-fullness {
388
+ background: #f0fdf4;
389
+ color: #15803d;
325
390
  }
326
391
 
327
- .baby-feeding-calculator-hidden {
392
+ .dark .bfc-pill-fullness {
393
+ background: rgba(21, 128, 61, 0.1);
394
+ color: #4ade80;
395
+ }
396
+
397
+ /* HIDDEN */
398
+ .bfc-hidden {
328
399
  display: none;
329
400
  }
401
+
402
+ /* RESPONSIVE */
403
+ @media (max-width: 800px) {
404
+ .bfc-main {
405
+ grid-template-columns: 1fr;
406
+ }
407
+
408
+ .bfc-left {
409
+ border-right: none;
410
+ border-bottom: 1px solid #e2e8f0;
411
+ padding: 30px 20px;
412
+ }
413
+
414
+ .bfc-right {
415
+ padding: 30px 20px;
416
+ }
417
+ }
@@ -1,7 +1,11 @@
1
1
  ---
2
2
  import { Bibliography as BibliographyUI } from '@jjlmoya/utils-shared';
3
- import type { BibliographyEntry } from '../../types';
4
- interface Props { links?: BibliographyEntry[]; title: string; }
5
- const { links = [], title } = Astro.props;
3
+ import { babyPercentileCalculator } from './index';
4
+ import type { KnownLocale } from '../../types';
5
+
6
+ interface Props { locale?: KnownLocale; }
7
+ const { locale = 'es' } = Astro.props;
8
+ const content = await babyPercentileCalculator.i18n[locale]?.();
9
+ if (!content) return null;
6
10
  ---
7
- <BibliographyUI links={links} title={title} />
11
+ <BibliographyUI links={content.bibliography} title={content.bibliographyTitle ?? ''} />