@jjlmoya/utils-textiles 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 +60 -0
- package/src/category/i18n/en.ts +76 -0
- package/src/category/i18n/es.ts +76 -0
- package/src/category/i18n/fr.ts +73 -0
- package/src/category/index.ts +17 -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 +11 -0
- package/src/env.d.ts +5 -0
- package/src/index.ts +32 -0
- package/src/layouts/PreviewLayout.astro +117 -0
- package/src/pages/[locale]/[slug].astro +146 -0
- package/src/pages/[locale].astro +253 -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 +22 -0
- package/src/tests/title_separators.test.ts +40 -0
- package/src/tests/tool_validation.test.ts +17 -0
- package/src/tool/burnTest/bibliography.astro +34 -0
- package/src/tool/burnTest/component.astro +602 -0
- package/src/tool/burnTest/i18n/en.ts +225 -0
- package/src/tool/burnTest/i18n/es.ts +225 -0
- package/src/tool/burnTest/i18n/fr.ts +225 -0
- package/src/tool/burnTest/index.ts +34 -0
- package/src/tool/burnTest/logic.ts +3 -0
- package/src/tool/burnTest/seo.astro +40 -0
- package/src/tool/burnTest/ui.ts +36 -0
- package/src/tool/clothingSizeConverter/bibliography.astro +34 -0
- package/src/tool/clothingSizeConverter/component.astro +1226 -0
- package/src/tool/clothingSizeConverter/i18n/en.ts +356 -0
- package/src/tool/clothingSizeConverter/i18n/es.ts +356 -0
- package/src/tool/clothingSizeConverter/i18n/fr.ts +356 -0
- package/src/tool/clothingSizeConverter/index.ts +34 -0
- package/src/tool/clothingSizeConverter/logic.ts +30 -0
- package/src/tool/clothingSizeConverter/seo.astro +40 -0
- package/src/tool/clothingSizeConverter/ui.ts +70 -0
- package/src/tool/fabricProjectCalculator/bibliography.astro +19 -0
- package/src/tool/fabricProjectCalculator/component.astro +914 -0
- package/src/tool/fabricProjectCalculator/i18n/en.ts +250 -0
- package/src/tool/fabricProjectCalculator/i18n/es.ts +250 -0
- package/src/tool/fabricProjectCalculator/i18n/fr.ts +250 -0
- package/src/tool/fabricProjectCalculator/index.ts +34 -0
- package/src/tool/fabricProjectCalculator/logic.ts +89 -0
- package/src/tool/fabricProjectCalculator/seo.astro +40 -0
- package/src/tool/fabricProjectCalculator/ui.ts +57 -0
- package/src/tool/fabricTruth/bibliography.astro +40 -0
- package/src/tool/fabricTruth/component.astro +708 -0
- package/src/tool/fabricTruth/i18n/en.ts +282 -0
- package/src/tool/fabricTruth/i18n/es.ts +316 -0
- package/src/tool/fabricTruth/i18n/fr.ts +282 -0
- package/src/tool/fabricTruth/index.ts +34 -0
- package/src/tool/fabricTruth/logic.ts +91 -0
- package/src/tool/fabricTruth/seo.astro +40 -0
- package/src/tool/fabricTruth/ui.ts +28 -0
- package/src/tool/fiberPrep/bibliography.astro +33 -0
- package/src/tool/fiberPrep/component.astro +987 -0
- package/src/tool/fiberPrep/i18n/en.ts +225 -0
- package/src/tool/fiberPrep/i18n/es.ts +225 -0
- package/src/tool/fiberPrep/i18n/fr.ts +225 -0
- package/src/tool/fiberPrep/index.ts +34 -0
- package/src/tool/fiberPrep/logic.ts +36 -0
- package/src/tool/fiberPrep/seo.astro +40 -0
- package/src/tool/fiberPrep/ui.ts +38 -0
- package/src/tool/knittingGauge/bibliography.astro +14 -0
- package/src/tool/knittingGauge/component.astro +828 -0
- package/src/tool/knittingGauge/i18n/en.ts +234 -0
- package/src/tool/knittingGauge/i18n/es.ts +234 -0
- package/src/tool/knittingGauge/i18n/fr.ts +234 -0
- package/src/tool/knittingGauge/index.ts +34 -0
- package/src/tool/knittingGauge/logic.ts +28 -0
- package/src/tool/knittingGauge/seo.astro +40 -0
- package/src/tool/knittingGauge/ui.ts +41 -0
- package/src/tool/laundryGuide/bibliography.astro +33 -0
- package/src/tool/laundryGuide/component.astro +486 -0
- package/src/tool/laundryGuide/data-en.ts +166 -0
- package/src/tool/laundryGuide/data-es.ts +166 -0
- package/src/tool/laundryGuide/data-fr.ts +103 -0
- package/src/tool/laundryGuide/i18n/en.ts +275 -0
- package/src/tool/laundryGuide/i18n/es.ts +275 -0
- package/src/tool/laundryGuide/i18n/fr.ts +291 -0
- package/src/tool/laundryGuide/index.ts +29 -0
- package/src/tool/laundryGuide/logic.ts +19 -0
- package/src/tool/laundryGuide/seo.astro +40 -0
- package/src/tool/needleConverter/bibliography.astro +14 -0
- package/src/tool/needleConverter/component.astro +518 -0
- package/src/tool/needleConverter/i18n/en.ts +217 -0
- package/src/tool/needleConverter/i18n/es.ts +217 -0
- package/src/tool/needleConverter/i18n/fr.ts +217 -0
- package/src/tool/needleConverter/index.ts +34 -0
- package/src/tool/needleConverter/logic.ts +31 -0
- package/src/tool/needleConverter/seo.astro +15 -0
- package/src/tool/needleConverter/ui.ts +17 -0
- package/src/tool/sewingPatternScaler/bibliography.astro +14 -0
- package/src/tool/sewingPatternScaler/component.astro +550 -0
- package/src/tool/sewingPatternScaler/i18n/en.ts +196 -0
- package/src/tool/sewingPatternScaler/i18n/es.ts +231 -0
- package/src/tool/sewingPatternScaler/i18n/fr.ts +187 -0
- package/src/tool/sewingPatternScaler/index.ts +34 -0
- package/src/tool/sewingPatternScaler/logic.ts +35 -0
- package/src/tool/sewingPatternScaler/seo.astro +49 -0
- package/src/tool/sewingPatternScaler/ui.ts +29 -0
- package/src/tool/shoeSizeConverter/bibliography.astro +34 -0
- package/src/tool/shoeSizeConverter/component.astro +437 -0
- package/src/tool/shoeSizeConverter/i18n/en.ts +188 -0
- package/src/tool/shoeSizeConverter/i18n/es.ts +188 -0
- package/src/tool/shoeSizeConverter/i18n/fr.ts +188 -0
- package/src/tool/shoeSizeConverter/index.ts +34 -0
- package/src/tool/shoeSizeConverter/logic.ts +8 -0
- package/src/tool/shoeSizeConverter/seo.astro +40 -0
- package/src/tool/shoeSizeConverter/ui.ts +21 -0
- package/src/tool/stainChemistry/bibliography.astro +40 -0
- package/src/tool/stainChemistry/component.astro +717 -0
- package/src/tool/stainChemistry/i18n/en.ts +303 -0
- package/src/tool/stainChemistry/i18n/es.ts +300 -0
- package/src/tool/stainChemistry/i18n/fr.ts +310 -0
- package/src/tool/stainChemistry/index.ts +34 -0
- package/src/tool/stainChemistry/logic.ts +11 -0
- package/src/tool/stainChemistry/seo.astro +40 -0
- package/src/tool/stainChemistry/ui.ts +51 -0
- package/src/tool/yarnCalculator/bibliography.astro +19 -0
- package/src/tool/yarnCalculator/component.astro +792 -0
- package/src/tool/yarnCalculator/i18n/en.ts +310 -0
- package/src/tool/yarnCalculator/i18n/es.ts +310 -0
- package/src/tool/yarnCalculator/i18n/fr.ts +310 -0
- package/src/tool/yarnCalculator/index.ts +34 -0
- package/src/tool/yarnCalculator/logic.ts +84 -0
- package/src/tool/yarnCalculator/seo.astro +14 -0
- package/src/tool/yarnCalculator/ui.ts +42 -0
- package/src/tools.ts +16 -0
- package/src/types.ts +72 -0
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import type { ToolLocaleContent } from '../../../types';
|
|
3
|
+
import type { ShoeSizeConverterUI } from '../ui';
|
|
4
|
+
|
|
5
|
+
const slug = 'shoe-size-converter';
|
|
6
|
+
const title = 'International Shoe Size Converter';
|
|
7
|
+
const description =
|
|
8
|
+
'Convert shoe sizes between US, European (EU), UK and centimetre (CM) systems. Size guide for men and women.';
|
|
9
|
+
|
|
10
|
+
const faqData = [
|
|
11
|
+
{
|
|
12
|
+
question: 'How do I find my shoe size in the United States (US)?',
|
|
13
|
+
answer:
|
|
14
|
+
'For men, the US size is usually one unit larger than the UK. For women, the scale is different. The most accurate method is to measure your foot in centimetres and use our converter to get your exact US number.',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
question: 'What is the difference between UK and US shoe sizes?',
|
|
18
|
+
answer:
|
|
19
|
+
'Although both use the imperial system, their starting points differ. Generally, a size 8 UK equals a size 9 US in men\'s footwear.',
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
question: 'How do I measure my foot to find the CM size?',
|
|
23
|
+
answer:
|
|
24
|
+
'Place your heel against a wall, mark where your longest toe ends and measure the distance. That measurement in centimetres (CM) is the most reliable for buying shoes from international brands.',
|
|
25
|
+
},
|
|
26
|
+
];
|
|
27
|
+
|
|
28
|
+
const howToData = [
|
|
29
|
+
{
|
|
30
|
+
name: 'Choose Gender',
|
|
31
|
+
text: 'Select whether you are looking for men\'s or women\'s sizes, as the scales differ.',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: 'Select Region',
|
|
35
|
+
text: 'Indicate the size system you know (EU, US, UK or CM).',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
name: 'Pick Your Number',
|
|
39
|
+
text: 'Use the selector or click directly on the size grid.',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: 'View Equivalences',
|
|
43
|
+
text: 'Instantly get the corresponding number in all other world regions.',
|
|
44
|
+
},
|
|
45
|
+
];
|
|
46
|
+
|
|
47
|
+
const faqSchema: WithContext<FAQPage> = {
|
|
48
|
+
'@context': 'https://schema.org',
|
|
49
|
+
'@type': 'FAQPage',
|
|
50
|
+
mainEntity: faqData.map((item) => ({
|
|
51
|
+
'@type': 'Question',
|
|
52
|
+
name: item.question,
|
|
53
|
+
acceptedAnswer: { '@type': 'Answer', text: item.answer },
|
|
54
|
+
})),
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
const howToSchema: WithContext<HowTo> = {
|
|
58
|
+
'@context': 'https://schema.org',
|
|
59
|
+
'@type': 'HowTo',
|
|
60
|
+
name: title,
|
|
61
|
+
description,
|
|
62
|
+
step: howToData.map((step) => ({
|
|
63
|
+
'@type': 'HowToStep',
|
|
64
|
+
name: step.name,
|
|
65
|
+
text: step.text,
|
|
66
|
+
})),
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
const appSchema: WithContext<SoftwareApplication> = {
|
|
70
|
+
'@context': 'https://schema.org',
|
|
71
|
+
'@type': 'SoftwareApplication',
|
|
72
|
+
name: title,
|
|
73
|
+
description,
|
|
74
|
+
applicationCategory: 'UtilityApplication',
|
|
75
|
+
operatingSystem: 'All',
|
|
76
|
+
offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
|
|
77
|
+
inLanguage: 'en',
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
export const content: ToolLocaleContent<ShoeSizeConverterUI> = {
|
|
81
|
+
slug,
|
|
82
|
+
title,
|
|
83
|
+
description,
|
|
84
|
+
faqTitle: 'Frequently Asked Questions',
|
|
85
|
+
faq: faqData,
|
|
86
|
+
bibliographyTitle: 'Bibliography',
|
|
87
|
+
bibliography: [
|
|
88
|
+
{ name: 'Shoe size conversion - Wikipedia', url: 'https://en.wikipedia.org/wiki/Shoe_size' },
|
|
89
|
+
{ name: 'ISO 9407: Shoe sizes - Mondopoint system', url: 'https://www.iso.org/standard/17157.html' },
|
|
90
|
+
{ name: 'Shoe size conversion - Zappos', url: 'https://www.zappos.com/c/shoe-size-conversion' },
|
|
91
|
+
],
|
|
92
|
+
howTo: howToData,
|
|
93
|
+
schemas: [faqSchema, howToSchema, appSchema],
|
|
94
|
+
seo: [
|
|
95
|
+
{
|
|
96
|
+
type: 'title',
|
|
97
|
+
text: 'Shoe Size Converter: Complete International Guide',
|
|
98
|
+
level: 2,
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
type: 'paragraph',
|
|
102
|
+
html: 'Buying footwear from international stores can be a logistical challenge. The <strong>shoe size converter</strong> is an essential tool to avoid unnecessary returns and ensure every purchase is a success.',
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
type: 'title',
|
|
106
|
+
text: 'How do shoe size equivalences work?',
|
|
107
|
+
level: 2,
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
type: 'paragraph',
|
|
111
|
+
html: 'The world of footwear is not unified. Historically, each region developed its own system based on local units of measurement such as inches or the "Paris point".',
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
type: 'list',
|
|
115
|
+
items: [
|
|
116
|
+
'<span><strong>EU sizes (Europe):</strong> Based on the "Paris point", equivalent to 2/3 of a centimetre. The most common system in Spain and much of the continent.</span>',
|
|
117
|
+
'<span><strong>US sizes (United States):</strong> Use inches with a different starting point for men\'s and women\'s shoes.</span>',
|
|
118
|
+
'<span><strong>UK sizes (United Kingdom):</strong> Also imperial-based, but with scales that are typically one unit smaller than US for the same foot.</span>',
|
|
119
|
+
'<span><strong>CM / Mondopoint size:</strong> The most precise. Uses the actual foot length in centimetres directly.</span>',
|
|
120
|
+
],
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
type: 'title',
|
|
124
|
+
text: 'Guide to measuring your foot and finding your exact size',
|
|
125
|
+
level: 2,
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
type: 'paragraph',
|
|
129
|
+
html: 'Before using the converter, it is vital to know your actual foot measurement. The fundamental measurement is the length from your heel to your longest toe.',
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
type: 'tip',
|
|
133
|
+
title: 'Professional Tip',
|
|
134
|
+
html: 'Measure your feet at the end of the day. Feet tend to swell with activity and heat, so a morning measurement could result in shoes that feel tight in the afternoon.',
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
type: 'title',
|
|
138
|
+
text: 'Why sizes vary between sneaker brands',
|
|
139
|
+
level: 2,
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
type: 'paragraph',
|
|
143
|
+
html: 'Why are you a 42 in Nike but a 41 1/3 in Adidas? Brands use their own "lasts" (3D foot models). Some sports brands tend to run small, requiring you to size up by half a number.',
|
|
144
|
+
},
|
|
145
|
+
],
|
|
146
|
+
ui: {
|
|
147
|
+
genderMenTitle: "Men's Footwear",
|
|
148
|
+
genderWomenTitle: "Women's Footwear",
|
|
149
|
+
regionLabel: 'Your Size System',
|
|
150
|
+
regionEU: 'Europe (EU)',
|
|
151
|
+
regionUS: 'United States (US)',
|
|
152
|
+
regionUK: 'United Kingdom (UK)',
|
|
153
|
+
regionCM: 'Mondopoint (CM)',
|
|
154
|
+
gridTitle: 'Select Your Size',
|
|
155
|
+
gridDesc: 'Click to see international equivalences',
|
|
156
|
+
labelEU: 'Europe (EU)',
|
|
157
|
+
labelUS: 'United States (US)',
|
|
158
|
+
labelUK: 'United Kingdom (UK)',
|
|
159
|
+
labelCM: 'Mondopoint',
|
|
160
|
+
unitCM: 'cm',
|
|
161
|
+
infoBannerHtml: 'The <strong>CM</strong> size represents the physical length of the foot. It is the most reliable method for buying shoes from international brands.',
|
|
162
|
+
menData: [
|
|
163
|
+
{ EU: '39', US: '6.5', UK: '6', CM: '24.5' },
|
|
164
|
+
{ EU: '40', US: '7.5', UK: '7', CM: '25.0' },
|
|
165
|
+
{ EU: '40.5', US: '8', UK: '7.5', CM: '25.5' },
|
|
166
|
+
{ EU: '41', US: '8.5', UK: '8', CM: '26.0' },
|
|
167
|
+
{ EU: '42', US: '9', UK: '8.5', CM: '26.5' },
|
|
168
|
+
{ EU: '42.5', US: '9.5', UK: '9', CM: '27.0' },
|
|
169
|
+
{ EU: '43', US: '10', UK: '9.5', CM: '27.5' },
|
|
170
|
+
{ EU: '44', US: '10.5', UK: '10', CM: '28.0' },
|
|
171
|
+
{ EU: '44.5', US: '11', UK: '10.5', CM: '28.5' },
|
|
172
|
+
{ EU: '45', US: '11.5', UK: '11', CM: '29.0' },
|
|
173
|
+
{ EU: '46', US: '12', UK: '11.5', CM: '30.0' },
|
|
174
|
+
],
|
|
175
|
+
womenData: [
|
|
176
|
+
{ EU: '35', US: '5', UK: '3', CM: '22.0' },
|
|
177
|
+
{ EU: '36', US: '6', UK: '4', CM: '22.5' },
|
|
178
|
+
{ EU: '37', US: '6.5', UK: '4.5', CM: '23.5' },
|
|
179
|
+
{ EU: '37.5', US: '7', UK: '5', CM: '23.8' },
|
|
180
|
+
{ EU: '38', US: '7.5', UK: '5.5', CM: '24.0' },
|
|
181
|
+
{ EU: '38.5', US: '8', UK: '6', CM: '24.5' },
|
|
182
|
+
{ EU: '39', US: '8.5', UK: '6.5', CM: '25.0' },
|
|
183
|
+
{ EU: '40', US: '9', UK: '7', CM: '25.5' },
|
|
184
|
+
{ EU: '41', US: '10', UK: '8', CM: '26.5' },
|
|
185
|
+
{ EU: '42', US: '11', UK: '9', CM: '27.0' },
|
|
186
|
+
],
|
|
187
|
+
},
|
|
188
|
+
};
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import type { ToolLocaleContent } from '../../../types';
|
|
3
|
+
import type { ShoeSizeConverterUI } from '../ui';
|
|
4
|
+
|
|
5
|
+
const slug = 'conversor-tallas-zapatos';
|
|
6
|
+
const title = 'Conversor de Tallas de Zapatos';
|
|
7
|
+
const description =
|
|
8
|
+
'Convierte tallas de zapatos entre sistemas de Estados Unidos (US), Europa (EU), Reino Unido (UK) y centímetros (CM). Guía de calzado para hombre y mujer.';
|
|
9
|
+
|
|
10
|
+
const faqData = [
|
|
11
|
+
{
|
|
12
|
+
question: '¿Cómo saber mi talla de zapatos en Estados Unidos (US)?',
|
|
13
|
+
answer:
|
|
14
|
+
'Para hombres, la talla US suele ser una unidad mayor que la UK. Para mujeres, la escala es diferente. La forma más precisa es medir tu pie en centímetros y usar nuestro conversor para obtener tu número US exacto.',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
question: '¿Qué diferencia hay entre la talla UK y la talla US de calzado?',
|
|
18
|
+
answer:
|
|
19
|
+
'Aunque ambas usan el sistema imperial, sus puntos de partida difieren. Generalmente, una talla 8 UK equivale a una talla 9 US en calzado masculino.',
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
question: '¿Cómo medir mi pie para saber la talla CM?',
|
|
23
|
+
answer:
|
|
24
|
+
'Coloca el talón contra una pared, marca dónde termina tu dedo más largo y mide la distancia. Esa medida en centímetros (CM) es la más fiable para comprar zapatillas de marcas internacionales.',
|
|
25
|
+
},
|
|
26
|
+
];
|
|
27
|
+
|
|
28
|
+
const howToData = [
|
|
29
|
+
{
|
|
30
|
+
name: 'Elige Género',
|
|
31
|
+
text: 'Selecciona si buscas tallas para hombre o mujer, ya que las escalas varían.',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: 'Selecciona Región',
|
|
35
|
+
text: 'Indica el sistema de tallas que conoces (EU, US, UK o CM).',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
name: 'Elige tu Número',
|
|
39
|
+
text: 'Usa el selector o haz clic directamente en la cuadrícula de tallas europeas.',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: 'Ver Equivalencias',
|
|
43
|
+
text: 'Obtén instantáneamente el número correspondiente en el resto de regiones del mundo.',
|
|
44
|
+
},
|
|
45
|
+
];
|
|
46
|
+
|
|
47
|
+
const faqSchema: WithContext<FAQPage> = {
|
|
48
|
+
'@context': 'https://schema.org',
|
|
49
|
+
'@type': 'FAQPage',
|
|
50
|
+
mainEntity: faqData.map((item) => ({
|
|
51
|
+
'@type': 'Question',
|
|
52
|
+
name: item.question,
|
|
53
|
+
acceptedAnswer: { '@type': 'Answer', text: item.answer },
|
|
54
|
+
})),
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
const howToSchema: WithContext<HowTo> = {
|
|
58
|
+
'@context': 'https://schema.org',
|
|
59
|
+
'@type': 'HowTo',
|
|
60
|
+
name: title,
|
|
61
|
+
description,
|
|
62
|
+
step: howToData.map((step) => ({
|
|
63
|
+
'@type': 'HowToStep',
|
|
64
|
+
name: step.name,
|
|
65
|
+
text: step.text,
|
|
66
|
+
})),
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
const appSchema: WithContext<SoftwareApplication> = {
|
|
70
|
+
'@context': 'https://schema.org',
|
|
71
|
+
'@type': 'SoftwareApplication',
|
|
72
|
+
name: title,
|
|
73
|
+
description,
|
|
74
|
+
applicationCategory: 'UtilityApplication',
|
|
75
|
+
operatingSystem: 'All',
|
|
76
|
+
offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
|
|
77
|
+
inLanguage: 'es',
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
export const content: ToolLocaleContent<ShoeSizeConverterUI> = {
|
|
81
|
+
slug,
|
|
82
|
+
title,
|
|
83
|
+
description,
|
|
84
|
+
faqTitle: 'Preguntas Frecuentes',
|
|
85
|
+
faq: faqData,
|
|
86
|
+
bibliographyTitle: 'Bibliografía',
|
|
87
|
+
bibliography: [
|
|
88
|
+
{ name: 'Shoe size conversion - Wikipedia', url: 'https://en.wikipedia.org/wiki/Shoe_size' },
|
|
89
|
+
{ name: 'ISO 9407: Shoe sizes - Mondopoint system', url: 'https://www.iso.org/standard/17157.html' },
|
|
90
|
+
{ name: 'Shoe size conversion - Zappos', url: 'https://www.zappos.com/c/shoe-size-conversion' },
|
|
91
|
+
],
|
|
92
|
+
howTo: howToData,
|
|
93
|
+
schemas: [faqSchema, howToSchema, appSchema],
|
|
94
|
+
seo: [
|
|
95
|
+
{
|
|
96
|
+
type: 'title',
|
|
97
|
+
text: 'Conversor de Tallas de Zapatos: Guía Internacional Completa',
|
|
98
|
+
level: 2,
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
type: 'paragraph',
|
|
102
|
+
html: 'Comprar calzado en tiendas internacionales puede ser un desafío logístico. El <strong>conversor de tallas de zapatos</strong> es una herramienta esencial para evitar devoluciones innecesarias y asegurar que cada compra, ya sea en Amazon, AliExpress o una tienda de deporte especializada, sea un éxito.',
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
type: 'title',
|
|
106
|
+
text: '¿Cómo funcionan las equivalencias de tallas de calzado?',
|
|
107
|
+
level: 2,
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
type: 'paragraph',
|
|
111
|
+
html: 'El mundo del calzado no está unificado. Históricamente, cada región desarrolló su propio sistema basado en unidades de medida locales como pulgadas o el "punto de París".',
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
type: 'list',
|
|
115
|
+
items: [
|
|
116
|
+
'<span><strong>Tallas EU (Europa):</strong> Basadas en el "Punto de París", que equivale a 2/3 de centímetro. Es el sistema más común en España.</span>',
|
|
117
|
+
'<span><strong>Tallas US (Estados Unidos):</strong> Utilizan pulgadas con un punto de partida diferente para hombres y mujeres.</span>',
|
|
118
|
+
'<span><strong>Tallas UK (Reino Unido):</strong> También en sistema imperial, pero con escalas una unidad menor que las de EE. UU.</span>',
|
|
119
|
+
'<span><strong>Talla CM / Mondopoint:</strong> La más precisa. Utiliza directamente la longitud del pie en centímetros.</span>',
|
|
120
|
+
],
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
type: 'title',
|
|
124
|
+
text: 'Guía para medir tu pie y encontrar tu talla exacta',
|
|
125
|
+
level: 2,
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
type: 'paragraph',
|
|
129
|
+
html: 'Antes de usar el conversor, es vital conocer la medida real de tu pie. Para los zapatos, la medida fundamental es el largo del pie desde el talón hasta el dedo más largo.',
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
type: 'tip',
|
|
133
|
+
title: 'Consejo Profesional',
|
|
134
|
+
html: 'Mide tus pies al final del día. Los pies tienden a hincharse con la actividad y el calor, por lo que una medida matutina podría resultar en zapatos que te aprieten por la tarde.',
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
type: 'title',
|
|
138
|
+
text: 'Por qué las tallas varían entre marcas de zapatillas',
|
|
139
|
+
level: 2,
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
type: 'paragraph',
|
|
143
|
+
html: '¿Por qué eres una 42 en Nike pero una 41 1/3 en Adidas? Las marcas utilizan sus propias "hormas". Algunas marcas deportivas tienden a tallar pequeño, lo que obliga a comprar medio número más de lo habitual.',
|
|
144
|
+
},
|
|
145
|
+
],
|
|
146
|
+
ui: {
|
|
147
|
+
genderMenTitle: 'Calzado de Hombre',
|
|
148
|
+
genderWomenTitle: 'Calzado de Mujer',
|
|
149
|
+
regionLabel: 'Tu Sistema de Talla',
|
|
150
|
+
regionEU: 'Europa (EU)',
|
|
151
|
+
regionUS: 'Estados Unidos (US)',
|
|
152
|
+
regionUK: 'Reino Unido (UK)',
|
|
153
|
+
regionCM: 'Mondopoint (CM)',
|
|
154
|
+
gridTitle: 'Selecciona tu Talla',
|
|
155
|
+
gridDesc: 'Haz clic para ver las equivalencias internacionales',
|
|
156
|
+
labelEU: 'Europa (EU)',
|
|
157
|
+
labelUS: 'EE. UU. (US)',
|
|
158
|
+
labelUK: 'Reino Unido (UK)',
|
|
159
|
+
labelCM: 'Mondopoint',
|
|
160
|
+
unitCM: 'cm',
|
|
161
|
+
infoBannerHtml: 'La talla <strong>CM</strong> representa la longitud física del pie. Es el método más fiable para comprar zapatillas de marcas internacionales.',
|
|
162
|
+
menData: [
|
|
163
|
+
{ EU: '39', US: '6.5', UK: '6', CM: '24.5' },
|
|
164
|
+
{ EU: '40', US: '7.5', UK: '7', CM: '25.0' },
|
|
165
|
+
{ EU: '40.5', US: '8', UK: '7.5', CM: '25.5' },
|
|
166
|
+
{ EU: '41', US: '8.5', UK: '8', CM: '26.0' },
|
|
167
|
+
{ EU: '42', US: '9', UK: '8.5', CM: '26.5' },
|
|
168
|
+
{ EU: '42.5', US: '9.5', UK: '9', CM: '27.0' },
|
|
169
|
+
{ EU: '43', US: '10', UK: '9.5', CM: '27.5' },
|
|
170
|
+
{ EU: '44', US: '10.5', UK: '10', CM: '28.0' },
|
|
171
|
+
{ EU: '44.5', US: '11', UK: '10.5', CM: '28.5' },
|
|
172
|
+
{ EU: '45', US: '11.5', UK: '11', CM: '29.0' },
|
|
173
|
+
{ EU: '46', US: '12', UK: '11.5', CM: '30.0' },
|
|
174
|
+
],
|
|
175
|
+
womenData: [
|
|
176
|
+
{ EU: '35', US: '5', UK: '3', CM: '22.0' },
|
|
177
|
+
{ EU: '36', US: '6', UK: '4', CM: '22.5' },
|
|
178
|
+
{ EU: '37', US: '6.5', UK: '4.5', CM: '23.5' },
|
|
179
|
+
{ EU: '37.5', US: '7', UK: '5', CM: '23.8' },
|
|
180
|
+
{ EU: '38', US: '7.5', UK: '5.5', CM: '24.0' },
|
|
181
|
+
{ EU: '38.5', US: '8', UK: '6', CM: '24.5' },
|
|
182
|
+
{ EU: '39', US: '8.5', UK: '6.5', CM: '25.0' },
|
|
183
|
+
{ EU: '40', US: '9', UK: '7', CM: '25.5' },
|
|
184
|
+
{ EU: '41', US: '10', UK: '8', CM: '26.5' },
|
|
185
|
+
{ EU: '42', US: '11', UK: '9', CM: '27.0' },
|
|
186
|
+
],
|
|
187
|
+
},
|
|
188
|
+
};
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import type { ToolLocaleContent } from '../../../types';
|
|
3
|
+
import type { ShoeSizeConverterUI } from '../ui';
|
|
4
|
+
|
|
5
|
+
const slug = 'convertisseur-pointures-chaussures';
|
|
6
|
+
const title = 'Convertisseur de Pointures International';
|
|
7
|
+
const description =
|
|
8
|
+
'Convertissez les pointures entre les systèmes américain (US), européen (EU), britannique (UK) et centimètres (CM). Guide pour homme et femme.';
|
|
9
|
+
|
|
10
|
+
const faqData = [
|
|
11
|
+
{
|
|
12
|
+
question: 'Comment connaître ma pointure aux États-Unis (US) ?',
|
|
13
|
+
answer:
|
|
14
|
+
'Pour les hommes, la taille US est généralement une unité supérieure à la UK. Pour les femmes, l\'échelle est différente. La méthode la plus précise est de mesurer votre pied en centimètres et d\'utiliser notre convertisseur.',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
question: 'Quelle est la différence entre la pointure UK et US ?',
|
|
18
|
+
answer:
|
|
19
|
+
'Bien que les deux utilisent le système impérial, leurs points de départ diffèrent. Généralement, une pointure 8 UK équivaut à une pointure 9 US en chaussures pour hommes.',
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
question: 'Comment mesurer mon pied pour connaître la taille CM ?',
|
|
23
|
+
answer:
|
|
24
|
+
'Placez le talon contre un mur, marquez où se termine votre orteil le plus long et mesurez la distance. Cette mesure en centimètres (CM) est la plus fiable pour acheter des chaussures de marques internationales.',
|
|
25
|
+
},
|
|
26
|
+
];
|
|
27
|
+
|
|
28
|
+
const howToData = [
|
|
29
|
+
{
|
|
30
|
+
name: 'Choisir le genre',
|
|
31
|
+
text: 'Sélectionnez si vous cherchez des tailles pour homme ou femme, car les échelles varient.',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: 'Sélectionner la région',
|
|
35
|
+
text: 'Indiquez le système de tailles que vous connaissez (EU, US, UK ou CM).',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
name: 'Choisir votre numéro',
|
|
39
|
+
text: 'Utilisez le sélecteur ou cliquez directement sur la grille de tailles.',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: 'Voir les équivalences',
|
|
43
|
+
text: 'Obtenez instantanément le numéro correspondant dans toutes les autres régions du monde.',
|
|
44
|
+
},
|
|
45
|
+
];
|
|
46
|
+
|
|
47
|
+
const faqSchema: WithContext<FAQPage> = {
|
|
48
|
+
'@context': 'https://schema.org',
|
|
49
|
+
'@type': 'FAQPage',
|
|
50
|
+
mainEntity: faqData.map((item) => ({
|
|
51
|
+
'@type': 'Question',
|
|
52
|
+
name: item.question,
|
|
53
|
+
acceptedAnswer: { '@type': 'Answer', text: item.answer },
|
|
54
|
+
})),
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
const howToSchema: WithContext<HowTo> = {
|
|
58
|
+
'@context': 'https://schema.org',
|
|
59
|
+
'@type': 'HowTo',
|
|
60
|
+
name: title,
|
|
61
|
+
description,
|
|
62
|
+
step: howToData.map((step) => ({
|
|
63
|
+
'@type': 'HowToStep',
|
|
64
|
+
name: step.name,
|
|
65
|
+
text: step.text,
|
|
66
|
+
})),
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
const appSchema: WithContext<SoftwareApplication> = {
|
|
70
|
+
'@context': 'https://schema.org',
|
|
71
|
+
'@type': 'SoftwareApplication',
|
|
72
|
+
name: title,
|
|
73
|
+
description,
|
|
74
|
+
applicationCategory: 'UtilityApplication',
|
|
75
|
+
operatingSystem: 'All',
|
|
76
|
+
offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
|
|
77
|
+
inLanguage: 'fr',
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
export const content: ToolLocaleContent<ShoeSizeConverterUI> = {
|
|
81
|
+
slug,
|
|
82
|
+
title,
|
|
83
|
+
description,
|
|
84
|
+
faqTitle: 'Questions Fréquentes',
|
|
85
|
+
faq: faqData,
|
|
86
|
+
bibliographyTitle: 'Bibliographie',
|
|
87
|
+
bibliography: [
|
|
88
|
+
{ name: 'Shoe size conversion - Wikipedia', url: 'https://en.wikipedia.org/wiki/Shoe_size' },
|
|
89
|
+
{ name: 'ISO 9407: Pointures - Système Mondopoint', url: 'https://www.iso.org/standard/17157.html' },
|
|
90
|
+
{ name: 'Shoe size conversion - Zappos', url: 'https://www.zappos.com/c/shoe-size-conversion' },
|
|
91
|
+
],
|
|
92
|
+
howTo: howToData,
|
|
93
|
+
schemas: [faqSchema, howToSchema, appSchema],
|
|
94
|
+
seo: [
|
|
95
|
+
{
|
|
96
|
+
type: 'title',
|
|
97
|
+
text: 'Convertisseur de Pointures : Guide International Complet',
|
|
98
|
+
level: 2,
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
type: 'paragraph',
|
|
102
|
+
html: 'Acheter des chaussures dans des boutiques internationales peut être un défi logistique. Le <strong>convertisseur de pointures</strong> est un outil essentiel pour éviter les retours inutiles et s\'assurer que chaque achat est une réussite.',
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
type: 'title',
|
|
106
|
+
text: 'Comment fonctionnent les équivalences de pointures ?',
|
|
107
|
+
level: 2,
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
type: 'paragraph',
|
|
111
|
+
html: 'Le monde de la chaussure n\'est pas unifié. Historiquement, chaque région a développé son propre système basé sur des unités de mesure locales comme les pouces ou le "point de Paris".',
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
type: 'list',
|
|
115
|
+
items: [
|
|
116
|
+
'<span><strong>Tailles EU (Europe) :</strong> Basées sur le "point de Paris", équivalant à 2/3 de centimètre. Le système le plus courant en France.</span>',
|
|
117
|
+
'<span><strong>Tailles US (États-Unis) :</strong> Utilisent les pouces avec un point de départ différent pour hommes et femmes.</span>',
|
|
118
|
+
'<span><strong>Tailles UK (Royaume-Uni) :</strong> Également en système impérial, mais généralement une unité inférieure aux US.</span>',
|
|
119
|
+
'<span><strong>Taille CM / Mondopoint :</strong> La plus précise. Utilise directement la longueur du pied en centimètres.</span>',
|
|
120
|
+
],
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
type: 'title',
|
|
124
|
+
text: 'Guide pour mesurer votre pied et trouver votre pointure exacte',
|
|
125
|
+
level: 2,
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
type: 'paragraph',
|
|
129
|
+
html: 'Avant d\'utiliser le convertisseur, il est essentiel de connaître la mesure réelle de votre pied. La mesure fondamentale est la longueur du talon jusqu\'au bout du plus long orteil.',
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
type: 'tip',
|
|
133
|
+
title: 'Conseil Professionnel',
|
|
134
|
+
html: 'Mesurez vos pieds en fin de journée. Les pieds ont tendance à gonfler avec l\'activité et la chaleur, une mesure matinale pourrait donner des chaussures trop serrées l\'après-midi.',
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
type: 'title',
|
|
138
|
+
text: 'Pourquoi les pointures varient selon les marques',
|
|
139
|
+
level: 2,
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
type: 'paragraph',
|
|
143
|
+
html: 'Pourquoi portez-vous du 42 chez Nike mais du 41 1/3 chez Adidas ? Les marques utilisent leurs propres "formes". Certaines marques de sport ont tendance à tailler petit, obligeant à prendre une demi-pointure de plus.',
|
|
144
|
+
},
|
|
145
|
+
],
|
|
146
|
+
ui: {
|
|
147
|
+
genderMenTitle: 'Chaussures Homme',
|
|
148
|
+
genderWomenTitle: 'Chaussures Femme',
|
|
149
|
+
regionLabel: 'Votre Système de Taille',
|
|
150
|
+
regionEU: 'Europe (EU)',
|
|
151
|
+
regionUS: 'États-Unis (US)',
|
|
152
|
+
regionUK: 'Royaume-Uni (UK)',
|
|
153
|
+
regionCM: 'Mondopoint (CM)',
|
|
154
|
+
gridTitle: 'Sélectionnez votre Pointure',
|
|
155
|
+
gridDesc: 'Cliquez pour voir les équivalences internationales',
|
|
156
|
+
labelEU: 'Europe (EU)',
|
|
157
|
+
labelUS: 'États-Unis (US)',
|
|
158
|
+
labelUK: 'Royaume-Uni (UK)',
|
|
159
|
+
labelCM: 'Mondopoint',
|
|
160
|
+
unitCM: 'cm',
|
|
161
|
+
infoBannerHtml: 'La taille <strong>CM</strong> représente la longueur physique du pied. C\'est la méthode la plus fiable pour acheter des chaussures de marques internationales.',
|
|
162
|
+
menData: [
|
|
163
|
+
{ EU: '39', US: '6.5', UK: '6', CM: '24.5' },
|
|
164
|
+
{ EU: '40', US: '7.5', UK: '7', CM: '25.0' },
|
|
165
|
+
{ EU: '40.5', US: '8', UK: '7.5', CM: '25.5' },
|
|
166
|
+
{ EU: '41', US: '8.5', UK: '8', CM: '26.0' },
|
|
167
|
+
{ EU: '42', US: '9', UK: '8.5', CM: '26.5' },
|
|
168
|
+
{ EU: '42.5', US: '9.5', UK: '9', CM: '27.0' },
|
|
169
|
+
{ EU: '43', US: '10', UK: '9.5', CM: '27.5' },
|
|
170
|
+
{ EU: '44', US: '10.5', UK: '10', CM: '28.0' },
|
|
171
|
+
{ EU: '44.5', US: '11', UK: '10.5', CM: '28.5' },
|
|
172
|
+
{ EU: '45', US: '11.5', UK: '11', CM: '29.0' },
|
|
173
|
+
{ EU: '46', US: '12', UK: '11.5', CM: '30.0' },
|
|
174
|
+
],
|
|
175
|
+
womenData: [
|
|
176
|
+
{ EU: '35', US: '5', UK: '3', CM: '22.0' },
|
|
177
|
+
{ EU: '36', US: '6', UK: '4', CM: '22.5' },
|
|
178
|
+
{ EU: '37', US: '6.5', UK: '4.5', CM: '23.5' },
|
|
179
|
+
{ EU: '37.5', US: '7', UK: '5', CM: '23.8' },
|
|
180
|
+
{ EU: '38', US: '7.5', UK: '5.5', CM: '24.0' },
|
|
181
|
+
{ EU: '38.5', US: '8', UK: '6', CM: '24.5' },
|
|
182
|
+
{ EU: '39', US: '8.5', UK: '6.5', CM: '25.0' },
|
|
183
|
+
{ EU: '40', US: '9', UK: '7', CM: '25.5' },
|
|
184
|
+
{ EU: '41', US: '10', UK: '8', CM: '26.5' },
|
|
185
|
+
{ EU: '42', US: '11', UK: '9', CM: '27.0' },
|
|
186
|
+
],
|
|
187
|
+
},
|
|
188
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { TextilesToolEntry, ToolLocaleContent, ToolDefinition } from '../../types';
|
|
2
|
+
import ShoeSizeConverterComponent from './component.astro';
|
|
3
|
+
import ShoeSizeConverterSEO from './seo.astro';
|
|
4
|
+
import ShoeSizeConverterBibliography from './bibliography.astro';
|
|
5
|
+
|
|
6
|
+
import type { ShoeSizeConverterUI } from './ui';
|
|
7
|
+
|
|
8
|
+
export type ShoeSizeConverterLocaleContent = ToolLocaleContent<ShoeSizeConverterUI>;
|
|
9
|
+
|
|
10
|
+
import { content as es } from './i18n/es';
|
|
11
|
+
import { content as en } from './i18n/en';
|
|
12
|
+
import { content as fr } from './i18n/fr';
|
|
13
|
+
|
|
14
|
+
export const shoeSizeConverter: TextilesToolEntry<ShoeSizeConverterUI> = {
|
|
15
|
+
id: 'shoe-size-converter',
|
|
16
|
+
icons: {
|
|
17
|
+
bg: 'mdi:shoe-heel',
|
|
18
|
+
fg: 'mdi:ruler',
|
|
19
|
+
},
|
|
20
|
+
i18n: {
|
|
21
|
+
es: async () => es,
|
|
22
|
+
en: async () => en,
|
|
23
|
+
fr: async () => fr,
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export { ShoeSizeConverterComponent, ShoeSizeConverterSEO, ShoeSizeConverterBibliography };
|
|
28
|
+
|
|
29
|
+
export const SHOE_SIZE_CONVERTER_TOOL: ToolDefinition = {
|
|
30
|
+
entry: shoeSizeConverter,
|
|
31
|
+
Component: ShoeSizeConverterComponent,
|
|
32
|
+
SEOComponent: ShoeSizeConverterSEO,
|
|
33
|
+
BibliographyComponent: ShoeSizeConverterBibliography,
|
|
34
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
import {
|
|
3
|
+
SEOTitle,
|
|
4
|
+
SEOCard,
|
|
5
|
+
SEOTip,
|
|
6
|
+
SEOList,
|
|
7
|
+
SEOArticle
|
|
8
|
+
} from '@jjlmoya/utils-shared';
|
|
9
|
+
import { shoeSizeConverter } from './index';
|
|
10
|
+
import type { KnownLocale } from '../../types';
|
|
11
|
+
|
|
12
|
+
interface Props {
|
|
13
|
+
locale?: KnownLocale;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
const { locale = 'es' } = Astro.props;
|
|
17
|
+
const content = await shoeSizeConverter.i18n[locale]?.();
|
|
18
|
+
if (!content) return null;
|
|
19
|
+
|
|
20
|
+
const { seo } = content;
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
<SEOArticle>
|
|
24
|
+
{seo.map((section: any) => {
|
|
25
|
+
switch (section.type) {
|
|
26
|
+
case 'title':
|
|
27
|
+
return <SEOTitle title={section.text} level={section.level || 2} />;
|
|
28
|
+
case 'paragraph':
|
|
29
|
+
return <p set:html={section.html} />;
|
|
30
|
+
case 'list':
|
|
31
|
+
return <SEOList items={section.items} />;
|
|
32
|
+
case 'card':
|
|
33
|
+
return <SEOCard title={section.title} icon={section.icon}><Fragment set:html={section.html} /></SEOCard>;
|
|
34
|
+
case 'tip':
|
|
35
|
+
return <SEOTip title={section.title}><Fragment set:html={section.html} /></SEOTip>;
|
|
36
|
+
default:
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
})}
|
|
40
|
+
</SEOArticle>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { SizeMapping } from './logic';
|
|
2
|
+
|
|
3
|
+
export interface ShoeSizeConverterUI {
|
|
4
|
+
genderMenTitle: string;
|
|
5
|
+
genderWomenTitle: string;
|
|
6
|
+
regionLabel: string;
|
|
7
|
+
regionEU: string;
|
|
8
|
+
regionUS: string;
|
|
9
|
+
regionUK: string;
|
|
10
|
+
regionCM: string;
|
|
11
|
+
gridTitle: string;
|
|
12
|
+
gridDesc: string;
|
|
13
|
+
labelEU: string;
|
|
14
|
+
labelUS: string;
|
|
15
|
+
labelUK: string;
|
|
16
|
+
labelCM: string;
|
|
17
|
+
unitCM: string;
|
|
18
|
+
infoBannerHtml: string;
|
|
19
|
+
menData: SizeMapping[];
|
|
20
|
+
womenData: SizeMapping[];
|
|
21
|
+
}
|