@jjlmoya/utils-babies 1.1.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 +69 -0
- package/src/category/i18n/en.ts +48 -0
- package/src/category/i18n/es.ts +48 -0
- package/src/category/i18n/fr.ts +48 -0
- package/src/category/index.ts +24 -0
- package/src/category/seo.astro +15 -0
- package/src/components/PreviewNavSidebar.astro +116 -0
- package/src/components/PreviewToolbar.astro +143 -0
- package/src/data.ts +30 -0
- package/src/env.d.ts +5 -0
- package/src/index.ts +19 -0
- package/src/layouts/PreviewLayout.astro +117 -0
- package/src/pages/[locale]/[slug].astro +146 -0
- package/src/pages/[locale].astro +251 -0
- package/src/pages/index.astro +4 -0
- package/src/tests/faq_count.test.ts +19 -0
- package/src/tests/locale_completeness.test.ts +42 -0
- package/src/tests/mocks/astro_mock.js +2 -0
- package/src/tests/no_h1_in_components.test.ts +48 -0
- package/src/tests/seo_length.test.ts +23 -0
- package/src/tests/tool_validation.test.ts +17 -0
- package/src/tool/baby-feeding-calculator/bibliography.astro +7 -0
- package/src/tool/baby-feeding-calculator/component.astro +210 -0
- package/src/tool/baby-feeding-calculator/i18n/en.ts +162 -0
- package/src/tool/baby-feeding-calculator/i18n/es.ts +162 -0
- package/src/tool/baby-feeding-calculator/i18n/fr.ts +162 -0
- package/src/tool/baby-feeding-calculator/index.ts +47 -0
- package/src/tool/baby-feeding-calculator/logic.ts +85 -0
- package/src/tool/baby-feeding-calculator/seo.astro +58 -0
- package/src/tool/baby-feeding-calculator/style.css +329 -0
- package/src/tool/baby-percentile-calculator/bibliography.astro +7 -0
- package/src/tool/baby-percentile-calculator/component.astro +388 -0
- package/src/tool/baby-percentile-calculator/i18n/en.ts +244 -0
- package/src/tool/baby-percentile-calculator/i18n/es.ts +244 -0
- package/src/tool/baby-percentile-calculator/i18n/fr.ts +244 -0
- package/src/tool/baby-percentile-calculator/index.ts +54 -0
- package/src/tool/baby-percentile-calculator/lmsData.ts +80 -0
- package/src/tool/baby-percentile-calculator/logic.ts +85 -0
- package/src/tool/baby-percentile-calculator/seo.astro +36 -0
- package/src/tool/baby-percentile-calculator/style.css +393 -0
- package/src/tool/baby-size-converter/bibliography.astro +7 -0
- package/src/tool/baby-size-converter/component.astro +289 -0
- package/src/tool/baby-size-converter/data.json +11 -0
- package/src/tool/baby-size-converter/i18n/en.ts +203 -0
- package/src/tool/baby-size-converter/i18n/es.ts +203 -0
- package/src/tool/baby-size-converter/i18n/fr.ts +203 -0
- package/src/tool/baby-size-converter/index.ts +53 -0
- package/src/tool/baby-size-converter/logic.ts +44 -0
- package/src/tool/baby-size-converter/seo.astro +36 -0
- package/src/tool/baby-size-converter/style.css +394 -0
- package/src/tool/fertile-days-estimator/bibliography.astro +7 -0
- package/src/tool/fertile-days-estimator/component.astro +265 -0
- package/src/tool/fertile-days-estimator/i18n/en.ts +258 -0
- package/src/tool/fertile-days-estimator/i18n/es.ts +262 -0
- package/src/tool/fertile-days-estimator/i18n/fr.ts +258 -0
- package/src/tool/fertile-days-estimator/index.ts +47 -0
- package/src/tool/fertile-days-estimator/logic.ts +58 -0
- package/src/tool/fertile-days-estimator/seo.astro +36 -0
- package/src/tool/fertile-days-estimator/style.css +419 -0
- package/src/tool/pregnancy-calculator/bibliography.astro +7 -0
- package/src/tool/pregnancy-calculator/calculator.ts +41 -0
- package/src/tool/pregnancy-calculator/component.astro +432 -0
- package/src/tool/pregnancy-calculator/i18n/en.ts +315 -0
- package/src/tool/pregnancy-calculator/i18n/es.ts +319 -0
- package/src/tool/pregnancy-calculator/i18n/fr.ts +315 -0
- package/src/tool/pregnancy-calculator/index.ts +55 -0
- package/src/tool/pregnancy-calculator/milestones.ts +153 -0
- package/src/tool/pregnancy-calculator/seo.astro +36 -0
- package/src/tool/pregnancy-calculator/store.ts +60 -0
- package/src/tool/pregnancy-calculator/style.css +807 -0
- package/src/tool/vaccination-calendar/bibliography.astro +7 -0
- package/src/tool/vaccination-calendar/component.astro +286 -0
- package/src/tool/vaccination-calendar/i18n/en.ts +170 -0
- package/src/tool/vaccination-calendar/i18n/es.ts +174 -0
- package/src/tool/vaccination-calendar/i18n/fr.ts +170 -0
- package/src/tool/vaccination-calendar/index.ts +47 -0
- package/src/tool/vaccination-calendar/logic.ts +59 -0
- package/src/tool/vaccination-calendar/seo.astro +36 -0
- package/src/tool/vaccination-calendar/style.css +316 -0
- package/src/tool/vaccination-calendar/vaccinationData.ts +21 -0
- package/src/tools.ts +17 -0
- package/src/types.ts +72 -0
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
import type { FertileDaysEstimatorLocaleContent } from '../index';
|
|
2
|
+
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
3
|
+
|
|
4
|
+
const slug = 'fertile-days-calculator';
|
|
5
|
+
const title = 'Fertile Days Calculator';
|
|
6
|
+
const description = 'Calculate your fertile window and ovulation date based on your menstrual cycle.';
|
|
7
|
+
const faq = [
|
|
8
|
+
{
|
|
9
|
+
question: 'How is the fertile window calculated?',
|
|
10
|
+
answer: 'The fertile window is calculated from the first day of your last period. Ovulation occurs approximately 14 days before the start of the next cycle. Fertile days include the 5 days before ovulation and the day of ovulation itself.',
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
question: 'How accurate is this calculator?',
|
|
14
|
+
answer: 'The calculator is an estimate based on the standard 28-day cycle model (or whichever you specify). It is a guide and may not reflect individual variations. For greater accuracy, combine it with basal body temperature tracking or ovulation tests.',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
question: 'What if my cycle is irregular?',
|
|
18
|
+
answer: 'If your cycles vary greatly from month to month, the calculation may be less accurate. In that case, basal body temperature tracking or LH tests are more reliable methods for identifying ovulation.',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
question: 'How long does the egg survive after ovulation?',
|
|
22
|
+
answer: 'The egg has a lifespan of 12 to 24 hours. However, sperm can survive up to 5 days in the female reproductive tract, which is why the actual fertile window spans several days before ovulation.',
|
|
23
|
+
},
|
|
24
|
+
];
|
|
25
|
+
const howTo = [
|
|
26
|
+
{
|
|
27
|
+
name: 'Select the first day of your last period',
|
|
28
|
+
text: 'Click on the calendar day that corresponds to the start of your last menstruation.',
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
name: 'Adjust your cycle length',
|
|
32
|
+
text: 'Move the slider to indicate how many days your menstrual cycle usually lasts.',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'Check the results',
|
|
36
|
+
text: 'The calculator automatically shows the estimated ovulation date, fertile window and the start of the next period.',
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: 'Navigate the calendar',
|
|
40
|
+
text: 'Use the navigation arrows to see the marked days in previous or future months.',
|
|
41
|
+
},
|
|
42
|
+
];
|
|
43
|
+
|
|
44
|
+
const faqSchema: WithContext<FAQPage> = {
|
|
45
|
+
'@context': 'https://schema.org',
|
|
46
|
+
'@type': 'FAQPage',
|
|
47
|
+
mainEntity: faq.map((item) => ({
|
|
48
|
+
'@type': 'Question',
|
|
49
|
+
name: item.question,
|
|
50
|
+
acceptedAnswer: { '@type': 'Answer', text: item.answer },
|
|
51
|
+
})),
|
|
52
|
+
};
|
|
53
|
+
const howToSchema: WithContext<HowTo> = {
|
|
54
|
+
'@context': 'https://schema.org',
|
|
55
|
+
'@type': 'HowTo',
|
|
56
|
+
name: title,
|
|
57
|
+
description,
|
|
58
|
+
step: howTo.map((step) => ({
|
|
59
|
+
'@type': 'HowToStep',
|
|
60
|
+
name: step.name,
|
|
61
|
+
text: step.text,
|
|
62
|
+
})),
|
|
63
|
+
};
|
|
64
|
+
const appSchema: WithContext<SoftwareApplication> = {
|
|
65
|
+
'@context': 'https://schema.org',
|
|
66
|
+
'@type': 'SoftwareApplication',
|
|
67
|
+
name: title,
|
|
68
|
+
description,
|
|
69
|
+
applicationCategory: 'UtilitiesApplication',
|
|
70
|
+
operatingSystem: 'Web',
|
|
71
|
+
offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
|
|
72
|
+
inLanguage: 'en',
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
export const content: FertileDaysEstimatorLocaleContent = {
|
|
76
|
+
slug,
|
|
77
|
+
title,
|
|
78
|
+
description,
|
|
79
|
+
ui: {
|
|
80
|
+
step1Title: 'When did your last period start?',
|
|
81
|
+
step1Desc: 'Select the first day of your last menstrual period on the calendar.',
|
|
82
|
+
pulseHint: 'Click on a day in the calendar to continue',
|
|
83
|
+
step1Indicator: 'Start Date',
|
|
84
|
+
step2Indicator: 'Your Calendar',
|
|
85
|
+
sidebarTitle: 'Your Cycle',
|
|
86
|
+
sidebarDesc: 'Customise the results by adjusting your cycle length.',
|
|
87
|
+
labelCycleLength: 'Cycle Length',
|
|
88
|
+
unitDays: 'days',
|
|
89
|
+
labelOvulation: 'Next Ovulation',
|
|
90
|
+
labelFertileWindow: 'Fertile Window',
|
|
91
|
+
labelNextPeriod: 'Next Period',
|
|
92
|
+
legendSelection: 'Your selection',
|
|
93
|
+
legendPeriod: 'Period',
|
|
94
|
+
legendFertile: 'Fertile',
|
|
95
|
+
legendOvulation: 'Ovulation',
|
|
96
|
+
faqTitle: 'Frequently asked questions',
|
|
97
|
+
bibliographyTitle: 'References',
|
|
98
|
+
},
|
|
99
|
+
seo: [
|
|
100
|
+
{
|
|
101
|
+
type: 'title',
|
|
102
|
+
text: 'Fertile Days Calculator: Complete Guide to Your Cycle and Ovulation',
|
|
103
|
+
level: 2,
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
type: 'summary',
|
|
107
|
+
title: '5 key facts about the fertile window',
|
|
108
|
+
items: [
|
|
109
|
+
'Ovulation occurs approximately 14 days before the start of the next period.',
|
|
110
|
+
'The fertile window includes the 5 days before ovulation plus the day of ovulation itself.',
|
|
111
|
+
'Sperm can survive up to 5 days in the female reproductive tract.',
|
|
112
|
+
'Irregular cycles reduce the reliability of calendar-based calculations.',
|
|
113
|
+
'Combining this tool with basal body temperature or LH tests increases accuracy.',
|
|
114
|
+
],
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
type: 'title',
|
|
118
|
+
text: 'How the fertile window calculation works',
|
|
119
|
+
level: 3,
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
type: 'paragraph',
|
|
123
|
+
html: 'The method is based on the Ogino-Knaus rule and the standard ovulation model. With a 28-day cycle, ovulation typically occurs around day 14. The calculator identifies this point and marks the days of highest fertility around it.',
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
type: 'stats',
|
|
127
|
+
columns: 3,
|
|
128
|
+
items: [
|
|
129
|
+
{ value: '14 days', label: 'Before the next period' },
|
|
130
|
+
{ value: '5 days', label: 'Fertile window duration' },
|
|
131
|
+
{ value: '12-24 h', label: 'Egg lifespan' },
|
|
132
|
+
],
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
type: 'title',
|
|
136
|
+
text: 'Phases of the menstrual cycle',
|
|
137
|
+
level: 3,
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
type: 'comparative',
|
|
141
|
+
columns: 2,
|
|
142
|
+
items: [
|
|
143
|
+
{
|
|
144
|
+
title: 'Follicular phase',
|
|
145
|
+
description: 'Begins with menstruation and lasts until ovulation.',
|
|
146
|
+
points: [
|
|
147
|
+
'Ovarian follicles mature under the influence of FSH.',
|
|
148
|
+
'Lasts between 10 and 14 days in regular cycles.',
|
|
149
|
+
'Oestrogen levels rise progressively.',
|
|
150
|
+
],
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
title: 'Luteal phase',
|
|
154
|
+
description: 'Begins after ovulation and ends with menstruation.',
|
|
155
|
+
points: [
|
|
156
|
+
'The corpus luteum produces progesterone to prepare the endometrium.',
|
|
157
|
+
'Lasts approximately 14 days in normal cycles.',
|
|
158
|
+
'If fertilisation does not occur, the corpus luteum degenerates.',
|
|
159
|
+
],
|
|
160
|
+
},
|
|
161
|
+
],
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
type: 'tip',
|
|
165
|
+
html: 'Although the calculator uses a standard model, menstrual cycles can vary from month to month. For greater accuracy, combine this tool with basal body temperature tracking or ovulation tests.',
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
type: 'title',
|
|
169
|
+
text: 'Biological signs of ovulation',
|
|
170
|
+
level: 3,
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
type: 'list',
|
|
174
|
+
items: [
|
|
175
|
+
'Changes in cervical mucus: during fertile days it becomes clear and stretchy, similar to raw egg white.',
|
|
176
|
+
'Slight rise in basal body temperature (0.2–0.4 °C) immediately after ovulation.',
|
|
177
|
+
'Mild pain or discomfort on the side of the active ovary (Mittelschmerz) during ovulation.',
|
|
178
|
+
'Slight increase in libido near ovulation, driven by hormonal changes.',
|
|
179
|
+
'Mild bloating or feeling of abdominal fullness during fertile days.',
|
|
180
|
+
],
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
type: 'title',
|
|
184
|
+
text: 'Lifestyle and fertility',
|
|
185
|
+
level: 3,
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
type: 'list',
|
|
189
|
+
items: [
|
|
190
|
+
'Chronic stress can disrupt ovulation and lengthen or shorten the menstrual cycle.',
|
|
191
|
+
'Body weight has a direct impact: both underweight and overweight can affect ovulation.',
|
|
192
|
+
'Moderate exercise supports cycle regularity; extreme exercise can suppress it.',
|
|
193
|
+
'Smoking reduces ovarian reserve and brings forward menopause by several years.',
|
|
194
|
+
'A diet rich in folic acid, iron and antioxidants supports reproductive health.',
|
|
195
|
+
],
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
type: 'title',
|
|
199
|
+
text: 'Cycle monitoring methods',
|
|
200
|
+
level: 3,
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
type: 'table',
|
|
204
|
+
headers: ['Method', 'Reliability', 'Cost'],
|
|
205
|
+
rows: [
|
|
206
|
+
['Calendar calculator', 'Medium', 'Free'],
|
|
207
|
+
['Basal body temperature', 'High with practice', 'Low'],
|
|
208
|
+
['Urine LH test', 'High', 'Moderate'],
|
|
209
|
+
['Digital fertility monitor', 'Very high', 'High'],
|
|
210
|
+
['Follicular ultrasound', 'Maximum', 'Clinic'],
|
|
211
|
+
],
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
type: 'glossary',
|
|
215
|
+
items: [
|
|
216
|
+
{
|
|
217
|
+
term: 'Ovulation',
|
|
218
|
+
definition: 'Release of the mature egg from the ovarian follicle, triggered by a surge in luteinising hormone (LH). It occurs once per cycle.',
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
term: 'Fertile window',
|
|
222
|
+
definition: 'The period of highest likelihood of conception, covering the 5 days before ovulation plus the day of ovulation.',
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
term: 'Cervical mucus',
|
|
226
|
+
definition: 'Secretion from the cervix whose texture varies throughout the cycle. During fertile days it becomes clear, stretchy and slippery, facilitating sperm passage.',
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
term: 'Basal body temperature',
|
|
230
|
+
definition: 'Body temperature at complete rest, measured upon waking before any activity. It rises slightly (0.2–0.4 °C) after ovulation due to the effect of progesterone.',
|
|
231
|
+
},
|
|
232
|
+
],
|
|
233
|
+
},
|
|
234
|
+
],
|
|
235
|
+
faqTitle: "Frequently asked questions",
|
|
236
|
+
faq,
|
|
237
|
+
bibliographyTitle: "References",
|
|
238
|
+
bibliography: [
|
|
239
|
+
{
|
|
240
|
+
name: 'WHO - Family Planning',
|
|
241
|
+
url: 'https://www.who.int/health-topics/family-planning-contraception',
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
name: 'American College of Obstetricians and Gynecologists - Fertility Awareness',
|
|
245
|
+
url: 'https://www.acog.org/womens-health/faqs/fertility-awareness-based-methods-of-family-planning',
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
name: 'Wilcox AJ et al. - Timing of Sexual Intercourse in Relation to Ovulation (NEJM, 1995)',
|
|
249
|
+
url: 'https://www.nejm.org/doi/10.1056/NEJM199512073332301',
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
name: 'NICE - Fertility problems: assessment and treatment',
|
|
253
|
+
url: 'https://www.nice.org.uk/guidance/cg156',
|
|
254
|
+
},
|
|
255
|
+
],
|
|
256
|
+
howTo,
|
|
257
|
+
schemas: [faqSchema as any, howToSchema as any, appSchema],
|
|
258
|
+
};
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
import type { FertileDaysEstimatorLocaleContent } from '../index';
|
|
2
|
+
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
3
|
+
|
|
4
|
+
const slug = 'calculadora-dias-fertiles';
|
|
5
|
+
const title = 'Calculadora de Días Fértiles';
|
|
6
|
+
const description = 'Calcula tu ventana fértil y fecha de ovulación según tu ciclo menstrual.';
|
|
7
|
+
const faq = [
|
|
8
|
+
{
|
|
9
|
+
question: '¿Cómo se calcula la ventana fértil?',
|
|
10
|
+
answer: 'La ventana fértil se calcula a partir del primer día de tu último periodo. La ovulación ocurre aproximadamente 14 días antes del inicio del siguiente ciclo. Los días fértiles incluyen los 5 días previos a la ovulación y el propio día de la ovulación.',
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
question: '¿Qué precisión tiene esta calculadora?',
|
|
14
|
+
answer: 'La calculadora es una estimación basada en el modelo estándar de ciclo de 28 días (o el que tú indiques). Es orientativa y puede no reflejar variaciones individuales. Para mayor precisión, combínala con el seguimiento de temperatura basal o test de ovulación.',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
question: '¿Qué pasa si mi ciclo es irregular?',
|
|
18
|
+
answer: 'Si tus ciclos varían mucho de un mes a otro, el cálculo puede ser menos preciso. En ese caso, el seguimiento de la temperatura basal o los test de LH son métodos más fiables para identificar la ovulación.',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
question: '¿Cuánto tiempo sobrevive el óvulo tras la ovulación?',
|
|
22
|
+
answer: 'El óvulo tiene una vida útil de 12 a 24 horas. Sin embargo, los espermatozoides pueden sobrevivir hasta 5 días en el tracto reproductivo femenino, de ahí que la ventana fértil real abarque varios días antes de la ovulación.',
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
question: '¿Se puede usar esta calculadora para evitar el embarazo?',
|
|
26
|
+
answer: 'No se recomienda usar esta calculadora como método anticonceptivo. Los métodos basados en el calendario tienen una tasa de fallo significativa. Consulta con tu médico o ginecólogo para métodos anticonceptivos seguros y adecuados para ti.',
|
|
27
|
+
},
|
|
28
|
+
];
|
|
29
|
+
const howTo = [
|
|
30
|
+
{
|
|
31
|
+
name: 'Selecciona el primer día de tu último periodo',
|
|
32
|
+
text: 'Haz clic en el día del calendario que corresponda al inicio de tu última menstruación.',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'Ajusta la duración de tu ciclo',
|
|
36
|
+
text: 'Mueve el control deslizante para indicar cuántos días dura habitualmente tu ciclo menstrual.',
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: 'Consulta los resultados',
|
|
40
|
+
text: 'La calculadora muestra automáticamente la fecha de ovulación estimada, la ventana fértil y el inicio del siguiente periodo.',
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
name: 'Navega por el calendario',
|
|
44
|
+
text: 'Usa las flechas de navegación para ver los días marcados en meses anteriores o posteriores.',
|
|
45
|
+
},
|
|
46
|
+
];
|
|
47
|
+
|
|
48
|
+
const faqSchema: WithContext<FAQPage> = {
|
|
49
|
+
'@context': 'https://schema.org',
|
|
50
|
+
'@type': 'FAQPage',
|
|
51
|
+
mainEntity: faq.map((item) => ({
|
|
52
|
+
'@type': 'Question',
|
|
53
|
+
name: item.question,
|
|
54
|
+
acceptedAnswer: { '@type': 'Answer', text: item.answer },
|
|
55
|
+
})),
|
|
56
|
+
};
|
|
57
|
+
const howToSchema: WithContext<HowTo> = {
|
|
58
|
+
'@context': 'https://schema.org',
|
|
59
|
+
'@type': 'HowTo',
|
|
60
|
+
name: title,
|
|
61
|
+
description,
|
|
62
|
+
step: howTo.map((step) => ({
|
|
63
|
+
'@type': 'HowToStep',
|
|
64
|
+
name: step.name,
|
|
65
|
+
text: step.text,
|
|
66
|
+
})),
|
|
67
|
+
};
|
|
68
|
+
const appSchema: WithContext<SoftwareApplication> = {
|
|
69
|
+
'@context': 'https://schema.org',
|
|
70
|
+
'@type': 'SoftwareApplication',
|
|
71
|
+
name: title,
|
|
72
|
+
description,
|
|
73
|
+
applicationCategory: 'UtilitiesApplication',
|
|
74
|
+
operatingSystem: 'Web',
|
|
75
|
+
offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
|
|
76
|
+
inLanguage: 'es',
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
export const content: FertileDaysEstimatorLocaleContent = {
|
|
80
|
+
slug,
|
|
81
|
+
title,
|
|
82
|
+
description,
|
|
83
|
+
ui: {
|
|
84
|
+
step1Title: '¿Cuándo empezó tu última regla?',
|
|
85
|
+
step1Desc: 'Selecciona el primer día de tu último periodo menstrual en el calendario.',
|
|
86
|
+
pulseHint: 'Haz clic en un día del calendario para continuar',
|
|
87
|
+
step1Indicator: 'Fecha de Inicio',
|
|
88
|
+
step2Indicator: 'Tu Calendario',
|
|
89
|
+
sidebarTitle: 'Tu Ciclo',
|
|
90
|
+
sidebarDesc: 'Personaliza los resultados ajustando la duración de tu ciclo.',
|
|
91
|
+
labelCycleLength: 'Duración del Ciclo',
|
|
92
|
+
unitDays: 'días',
|
|
93
|
+
labelOvulation: 'Próxima Ovulación',
|
|
94
|
+
labelFertileWindow: 'Ventana Fértil',
|
|
95
|
+
labelNextPeriod: 'Siguiente Periodo',
|
|
96
|
+
legendSelection: 'Tu selección',
|
|
97
|
+
legendPeriod: 'Periodo',
|
|
98
|
+
legendFertile: 'Fértil',
|
|
99
|
+
legendOvulation: 'Ovulación',
|
|
100
|
+
faqTitle: 'Preguntas frecuentes',
|
|
101
|
+
bibliographyTitle: 'Referencias',
|
|
102
|
+
},
|
|
103
|
+
seo: [
|
|
104
|
+
{
|
|
105
|
+
type: 'title',
|
|
106
|
+
text: 'Calculadora de Días Fértiles: Guía Completa sobre el Ciclo y la Ovulación',
|
|
107
|
+
level: 2,
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
type: 'summary',
|
|
111
|
+
title: '5 claves sobre la ventana fértil',
|
|
112
|
+
items: [
|
|
113
|
+
'La ovulación ocurre aproximadamente 14 días antes del inicio del siguiente periodo.',
|
|
114
|
+
'La ventana fértil incluye los 5 días previos a la ovulación más el propio día de ovulación.',
|
|
115
|
+
'Los espermatozoides pueden sobrevivir hasta 5 días en el tracto reproductivo femenino.',
|
|
116
|
+
'Los ciclos irregulares reducen la fiabilidad del cálculo basado en el calendario.',
|
|
117
|
+
'Combinar esta herramienta con temperatura basal o tests de LH aumenta la precisión.',
|
|
118
|
+
],
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
type: 'title',
|
|
122
|
+
text: 'Cómo funciona el cálculo de la ventana fértil',
|
|
123
|
+
level: 3,
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
type: 'paragraph',
|
|
127
|
+
html: 'El método se basa en la regla de Ogino-Knaus y el modelo estándar de ovulación. Con un ciclo de 28 días, la ovulación suele producirse alrededor del día 14. La calculadora identifica este punto y marca los días de mayor fertilidad a su alrededor.',
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
type: 'stats',
|
|
131
|
+
columns: 3,
|
|
132
|
+
items: [
|
|
133
|
+
{ value: '14 días', label: 'Antes del siguiente periodo' },
|
|
134
|
+
{ value: '5 días', label: 'Duración de la ventana fértil' },
|
|
135
|
+
{ value: '12-24 h', label: 'Vida útil del óvulo' },
|
|
136
|
+
],
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
type: 'title',
|
|
140
|
+
text: 'Fases del ciclo menstrual',
|
|
141
|
+
level: 3,
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
type: 'comparative',
|
|
145
|
+
columns: 2,
|
|
146
|
+
items: [
|
|
147
|
+
{
|
|
148
|
+
title: 'Fase folicular',
|
|
149
|
+
description: 'Comienza con la menstruación y dura hasta la ovulación.',
|
|
150
|
+
points: [
|
|
151
|
+
'Los folículos ováricos maduran bajo la influencia de la FSH.',
|
|
152
|
+
'Dura entre 10 y 14 días en ciclos regulares.',
|
|
153
|
+
'Los niveles de estrógenos aumentan progresivamente.',
|
|
154
|
+
],
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
title: 'Fase lútea',
|
|
158
|
+
description: 'Comienza tras la ovulación y finaliza con la menstruación.',
|
|
159
|
+
points: [
|
|
160
|
+
'El cuerpo lúteo produce progesterona para preparar el endometrio.',
|
|
161
|
+
'Dura aproximadamente 14 días en ciclos normales.',
|
|
162
|
+
'Si no hay fertilización, el cuerpo lúteo se degenera.',
|
|
163
|
+
],
|
|
164
|
+
},
|
|
165
|
+
],
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
type: 'tip',
|
|
169
|
+
html: 'Aunque la calculadora utiliza un modelo estándar, los ciclos menstruales pueden variar mes a mes. Para una mayor precisión, combina esta herramienta con el seguimiento de la temperatura basal o los test de ovulación.',
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
type: 'title',
|
|
173
|
+
text: 'Signos biológicos de la ovulación',
|
|
174
|
+
level: 3,
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
type: 'list',
|
|
178
|
+
items: [
|
|
179
|
+
'Cambios en el moco cervical: en los días fértiles se vuelve transparente y elástico, similar a la clara de huevo.',
|
|
180
|
+
'Aumento leve de la temperatura basal corporal (0,2–0,4 °C) justo después de la ovulación.',
|
|
181
|
+
'Dolor o molestia leve en el lado del ovario activo (Mittelschmerz) durante la ovulación.',
|
|
182
|
+
'Ligero aumento de la libido cerca de la ovulación, mediado por cambios hormonales.',
|
|
183
|
+
'Distensión o sensación de plenitud abdominal leve durante los días fértiles.',
|
|
184
|
+
],
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
type: 'title',
|
|
188
|
+
text: 'Estilo de vida y fertilidad',
|
|
189
|
+
level: 3,
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
type: 'list',
|
|
193
|
+
items: [
|
|
194
|
+
'El estrés crónico puede alterar la ovulación y alargar o acortar el ciclo menstrual.',
|
|
195
|
+
'El peso corporal influye directamente: tanto el bajo peso como el sobrepeso afectan a la ovulación.',
|
|
196
|
+
'El ejercicio moderado favorece la regularidad del ciclo; el ejercicio extremo puede suprimirlo.',
|
|
197
|
+
'El tabaco reduce la reserva ovárica y adelanta la menopausia varios años.',
|
|
198
|
+
'Una dieta rica en ácido fólico, hierro y antioxidantes apoya la salud reproductiva.',
|
|
199
|
+
],
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
type: 'title',
|
|
203
|
+
text: 'Métodos de monitorización del ciclo',
|
|
204
|
+
level: 3,
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
type: 'table',
|
|
208
|
+
headers: ['Método', 'Fiabilidad', 'Coste'],
|
|
209
|
+
rows: [
|
|
210
|
+
['Calculadora de calendario', 'Media', 'Gratuito'],
|
|
211
|
+
['Temperatura basal corporal', 'Alta con práctica', 'Bajo'],
|
|
212
|
+
['Test de LH en orina', 'Alta', 'Moderado'],
|
|
213
|
+
['Monitor de fertilidad digital', 'Muy alta', 'Alto'],
|
|
214
|
+
['Ecografía folicular', 'Máxima', 'Clínica'],
|
|
215
|
+
],
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
type: 'glossary',
|
|
219
|
+
items: [
|
|
220
|
+
{
|
|
221
|
+
term: 'Ovulación',
|
|
222
|
+
definition: 'Liberación del óvulo maduro desde el folículo ovárico, desencadenada por un pico de hormona luteinizante (LH). Ocurre una vez por ciclo.',
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
term: 'Ventana fértil',
|
|
226
|
+
definition: 'Período de mayor probabilidad de concepción, que abarca los 5 días previos a la ovulación más el día de la ovulación.',
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
term: 'Moco cervical',
|
|
230
|
+
definition: 'Secreción del cuello uterino cuya textura varía a lo largo del ciclo. En los días fértiles se vuelve transparente, elástico y filante, facilitando el paso de los espermatozoides.',
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
term: 'Temperatura basal corporal',
|
|
234
|
+
definition: 'Temperatura corporal en reposo absoluto, medida al despertar antes de cualquier actividad. Aumenta ligeramente (0,2–0,4 °C) tras la ovulación por efecto de la progesterona.',
|
|
235
|
+
},
|
|
236
|
+
],
|
|
237
|
+
},
|
|
238
|
+
],
|
|
239
|
+
faqTitle: "Preguntas frecuentes",
|
|
240
|
+
faq,
|
|
241
|
+
bibliographyTitle: "Referencias",
|
|
242
|
+
bibliography: [
|
|
243
|
+
{
|
|
244
|
+
name: 'OMS - Planificación familiar',
|
|
245
|
+
url: 'https://www.who.int/es/health-topics/family-planning-contraception',
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
name: 'American College of Obstetricians and Gynecologists - Fertility Awareness',
|
|
249
|
+
url: 'https://www.acog.org/womens-health/faqs/fertility-awareness-based-methods-of-family-planning',
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
name: 'Sociedad Española de Fertilidad - Ciclo menstrual y ovulación',
|
|
253
|
+
url: 'https://www.sef.es',
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
name: 'Wilcox AJ et al. - Timing of Sexual Intercourse in Relation to Ovulation (NEJM, 1995)',
|
|
257
|
+
url: 'https://www.nejm.org/doi/10.1056/NEJM199512073332301',
|
|
258
|
+
},
|
|
259
|
+
],
|
|
260
|
+
howTo,
|
|
261
|
+
schemas: [faqSchema as any, howToSchema as any, appSchema],
|
|
262
|
+
};
|