@jjlmoya/utils-nautical 1.14.0 → 1.16.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 +1 -1
- package/src/pages/[locale]/[slug].astro +28 -12
- package/src/tests/locale_completeness.test.ts +1 -31
- package/src/tests/shared-test-helpers.ts +56 -0
- package/src/tests/tool_exports.test.ts +34 -0
- package/src/tool/endurance/bibliography.astro +1 -1
- package/src/tool/endurance/bibliography.ts +12 -0
- package/src/tool/endurance/entry.ts +2 -2
- package/src/tool/endurance/i18n/de.ts +1 -13
- package/src/tool/endurance/i18n/en.ts +1 -12
- package/src/tool/endurance/i18n/es.ts +1 -13
- package/src/tool/endurance/i18n/fr.ts +1 -13
- package/src/tool/endurance/i18n/id.ts +1 -13
- package/src/tool/endurance/i18n/it.ts +1 -13
- package/src/tool/endurance/i18n/ja.ts +1 -13
- package/src/tool/endurance/i18n/ko.ts +1 -13
- package/src/tool/endurance/i18n/nl.ts +1 -13
- package/src/tool/endurance/i18n/pl.ts +1 -13
- package/src/tool/endurance/i18n/pt.ts +1 -13
- package/src/tool/endurance/i18n/ru.ts +1 -13
- package/src/tool/endurance/i18n/sv.ts +1 -13
- package/src/tool/endurance/i18n/tr.ts +1 -13
- package/src/tool/endurance/i18n/zh.ts +1 -13
- package/src/tool/endurance/nautical-endurance-calculator.css +1 -1
- package/src/tool/endurance/seo.astro +2 -42
- package/src/tool/nauticalConverter/bibliography.astro +1 -1
- package/src/tool/nauticalConverter/bibliography.ts +12 -0
- package/src/tool/nauticalConverter/entry.ts +2 -2
- package/src/tool/nauticalConverter/i18n/de.ts +1 -13
- package/src/tool/nauticalConverter/i18n/en.ts +1 -13
- package/src/tool/nauticalConverter/i18n/es.ts +1 -13
- package/src/tool/nauticalConverter/i18n/fr.ts +1 -13
- package/src/tool/nauticalConverter/i18n/id.ts +1 -13
- package/src/tool/nauticalConverter/i18n/it.ts +1 -13
- package/src/tool/nauticalConverter/i18n/ja.ts +1 -13
- package/src/tool/nauticalConverter/i18n/ko.ts +1 -13
- package/src/tool/nauticalConverter/i18n/nl.ts +1 -13
- package/src/tool/nauticalConverter/i18n/pl.ts +1 -13
- package/src/tool/nauticalConverter/i18n/pt.ts +1 -13
- package/src/tool/nauticalConverter/i18n/ru.ts +1 -13
- package/src/tool/nauticalConverter/i18n/sv.ts +1 -13
- package/src/tool/nauticalConverter/i18n/tr.ts +1 -13
- package/src/tool/nauticalConverter/i18n/zh.ts +1 -13
- package/src/tool/nauticalConverter/nautical-units-converter.css +1 -1
- package/src/tool/nauticalConverter/seo.astro +2 -39
- package/src/tool/sailArea/bibliography.astro +1 -1
- package/src/tool/sailArea/bibliography.ts +16 -0
- package/src/tool/sailArea/entry.ts +2 -2
- package/src/tool/sailArea/i18n/de.ts +1 -17
- package/src/tool/sailArea/i18n/en.ts +1 -17
- package/src/tool/sailArea/i18n/es.ts +1 -17
- package/src/tool/sailArea/i18n/fr.ts +1 -17
- package/src/tool/sailArea/i18n/id.ts +1 -17
- package/src/tool/sailArea/i18n/it.ts +1 -17
- package/src/tool/sailArea/i18n/ja.ts +1 -17
- package/src/tool/sailArea/i18n/ko.ts +1 -17
- package/src/tool/sailArea/i18n/nl.ts +1 -17
- package/src/tool/sailArea/i18n/pl.ts +1 -17
- package/src/tool/sailArea/i18n/pt.ts +1 -17
- package/src/tool/sailArea/i18n/ru.ts +1 -17
- package/src/tool/sailArea/i18n/sv.ts +1 -17
- package/src/tool/sailArea/i18n/tr.ts +1 -17
- package/src/tool/sailArea/i18n/zh.ts +1 -17
- package/src/tool/sailArea/sail-area-calculator.css +2 -2
- package/src/tool/sailArea/seo.astro +2 -39
- package/src/tool/speedConverter/bibliography.astro +1 -1
- package/src/tool/speedConverter/bibliography.ts +12 -0
- package/src/tool/speedConverter/entry.ts +2 -2
- package/src/tool/speedConverter/i18n/de.ts +1 -13
- package/src/tool/speedConverter/i18n/en.ts +1 -13
- package/src/tool/speedConverter/i18n/es.ts +1 -13
- package/src/tool/speedConverter/i18n/fr.ts +1 -13
- package/src/tool/speedConverter/i18n/id.ts +1 -13
- package/src/tool/speedConverter/i18n/it.ts +1 -13
- package/src/tool/speedConverter/i18n/ja.ts +1 -13
- package/src/tool/speedConverter/i18n/ko.ts +1 -13
- package/src/tool/speedConverter/i18n/nl.ts +1 -13
- package/src/tool/speedConverter/i18n/pl.ts +1 -13
- package/src/tool/speedConverter/i18n/pt.ts +1 -13
- package/src/tool/speedConverter/i18n/ru.ts +1 -13
- package/src/tool/speedConverter/i18n/sv.ts +1 -13
- package/src/tool/speedConverter/i18n/tr.ts +1 -13
- package/src/tool/speedConverter/i18n/zh.ts +1 -13
- package/src/tool/speedConverter/nautical-speed-converter.css +1 -1
- package/src/tool/speedConverter/seo.astro +2 -30
- package/src/tool/tideCalculator/bibliography.astro +1 -1
- package/src/tool/tideCalculator/bibliography.ts +12 -0
- package/src/tool/tideCalculator/entry.ts +2 -2
- package/src/tool/tideCalculator/i18n/de.ts +1 -13
- package/src/tool/tideCalculator/i18n/en.ts +1 -13
- package/src/tool/tideCalculator/i18n/es.ts +1 -13
- package/src/tool/tideCalculator/i18n/fr.ts +1 -13
- package/src/tool/tideCalculator/i18n/id.ts +1 -13
- package/src/tool/tideCalculator/i18n/it.ts +1 -13
- package/src/tool/tideCalculator/i18n/ja.ts +1 -13
- package/src/tool/tideCalculator/i18n/ko.ts +1 -13
- package/src/tool/tideCalculator/i18n/nl.ts +1 -13
- package/src/tool/tideCalculator/i18n/pl.ts +1 -13
- package/src/tool/tideCalculator/i18n/pt.ts +1 -13
- package/src/tool/tideCalculator/i18n/ru.ts +1 -13
- package/src/tool/tideCalculator/i18n/sv.ts +1 -13
- package/src/tool/tideCalculator/i18n/tr.ts +1 -13
- package/src/tool/tideCalculator/i18n/zh.ts +1 -13
- package/src/tool/tideCalculator/seo.astro +2 -48
- package/src/tool/tideCalculator/tide-height-calculator.css +4 -4
- package/src/tool/underKeel/bibliography.astro +1 -1
- package/src/tool/underKeel/bibliography.ts +12 -0
- package/src/tool/underKeel/entry.ts +2 -2
- package/src/tool/underKeel/i18n/de.ts +1 -13
- package/src/tool/underKeel/i18n/en.ts +1 -13
- package/src/tool/underKeel/i18n/es.ts +1 -13
- package/src/tool/underKeel/i18n/fr.ts +1 -13
- package/src/tool/underKeel/i18n/id.ts +2 -14
- package/src/tool/underKeel/i18n/it.ts +2 -14
- package/src/tool/underKeel/i18n/ja.ts +2 -14
- package/src/tool/underKeel/i18n/ko.ts +2 -14
- package/src/tool/underKeel/i18n/nl.ts +2 -14
- package/src/tool/underKeel/i18n/pl.ts +2 -14
- package/src/tool/underKeel/i18n/pt.ts +2 -14
- package/src/tool/underKeel/i18n/ru.ts +2 -14
- package/src/tool/underKeel/i18n/sv.ts +2 -14
- package/src/tool/underKeel/i18n/tr.ts +2 -14
- package/src/tool/underKeel/i18n/zh.ts +2 -14
- package/src/tool/underKeel/seo.astro +2 -33
- package/src/tool/underKeel/under-keel-clearance-calculator.css +1 -1
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
import {
|
|
3
|
-
SEOTitle,
|
|
4
|
-
SEOTable,
|
|
5
|
-
SEOTip,
|
|
6
|
-
SEOGlossary,
|
|
7
|
-
SEOArticle,
|
|
8
|
-
} from '@jjlmoya/utils-shared';
|
|
2
|
+
import { SEORenderer } from '@jjlmoya/utils-shared';
|
|
9
3
|
import { nauticalConverter } from './index';
|
|
10
4
|
import type { KnownLocale } from '../../types';
|
|
11
5
|
|
|
@@ -16,37 +10,6 @@ interface Props {
|
|
|
16
10
|
const { locale = 'es' } = Astro.props;
|
|
17
11
|
const content = await nauticalConverter.i18n[locale]?.();
|
|
18
12
|
if (!content) return null;
|
|
19
|
-
|
|
20
|
-
const { seo } = content;
|
|
21
13
|
---
|
|
22
14
|
|
|
23
|
-
<
|
|
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 'tip':
|
|
31
|
-
return <SEOTip title={section.title}><Fragment set:html={section.html} /></SEOTip>;
|
|
32
|
-
case 'table':
|
|
33
|
-
return (
|
|
34
|
-
<SEOTable headers={section.headers}>
|
|
35
|
-
{section.rows.map((row: string[]) => (
|
|
36
|
-
<tr>{row.map((cell: string) => <td set:html={cell} />)}</tr>
|
|
37
|
-
))}
|
|
38
|
-
</SEOTable>
|
|
39
|
-
);
|
|
40
|
-
case 'glossary':
|
|
41
|
-
return <SEOGlossary items={section.items} />;
|
|
42
|
-
case 'list':
|
|
43
|
-
return (
|
|
44
|
-
<ul>
|
|
45
|
-
{section.items.map((item: string) => <li set:html={item} />)}
|
|
46
|
-
</ul>
|
|
47
|
-
);
|
|
48
|
-
default:
|
|
49
|
-
return null;
|
|
50
|
-
}
|
|
51
|
-
})}
|
|
52
|
-
</SEOArticle>
|
|
15
|
+
{content.seo?.length > 0 && <SEORenderer content={{ locale, sections: content.seo }} />}
|
|
@@ -11,4 +11,4 @@ const { locale = 'es' } = Astro.props;
|
|
|
11
11
|
const content = await sailArea.i18n[locale]?.();
|
|
12
12
|
---
|
|
13
13
|
|
|
14
|
-
{content && <SharedBibliography links={content.bibliography}
|
|
14
|
+
{content && <SharedBibliography links={content.bibliography} />}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { BibliographyEntry } from '../../types';
|
|
2
|
+
|
|
3
|
+
export const bibliography: BibliographyEntry[] = [
|
|
4
|
+
{
|
|
5
|
+
name: 'Society of Naval Architects and Marine Engineers - SNAME',
|
|
6
|
+
url: 'https://www.sname.org/',
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
name: 'ORC - Offshore Racing Congress',
|
|
10
|
+
url: 'https://orc.org/',
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
name: 'Elvstrom Sailmakers - Sail Manual',
|
|
14
|
+
url: 'https://www.elvstromsails.com/',
|
|
15
|
+
},
|
|
16
|
+
];
|
|
@@ -21,8 +21,6 @@ export interface SailAreaUI {
|
|
|
21
21
|
performanceTypeLabel: string;
|
|
22
22
|
racerLabel: string;
|
|
23
23
|
exportPdfLabel: string;
|
|
24
|
-
faqTitle: string;
|
|
25
|
-
bibliographyTitle: string;
|
|
26
24
|
}
|
|
27
25
|
|
|
28
26
|
export type SailAreaLocaleContent = ToolLocaleContent<SailAreaUI>;
|
|
@@ -51,3 +49,5 @@ export const sailArea: NauticalToolEntry<SailAreaUI> = {
|
|
|
51
49
|
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
52
50
|
},
|
|
53
51
|
};
|
|
52
|
+
|
|
53
|
+
export { bibliography } from './bibliography';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { SailAreaUI, SailAreaLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -26,8 +27,6 @@ const ui: SailAreaUI = {
|
|
|
26
27
|
performanceTypeLabel: 'Leistungstyp',
|
|
27
28
|
racerLabel: 'Regattayacht',
|
|
28
29
|
exportPdfLabel: 'TECHNISCHEN BERICHT ERSTELLEN',
|
|
29
|
-
faqTitle: 'Häufig gestellte Fragen',
|
|
30
|
-
bibliographyTitle: 'Bibliografie',
|
|
31
30
|
};
|
|
32
31
|
|
|
33
32
|
const faq: SailAreaLocaleContent['faq'] = [
|
|
@@ -76,21 +75,6 @@ const howTo: SailAreaLocaleContent['howTo'] = [
|
|
|
76
75
|
},
|
|
77
76
|
];
|
|
78
77
|
|
|
79
|
-
const bibliography: SailAreaLocaleContent['bibliography'] = [
|
|
80
|
-
{
|
|
81
|
-
name: 'Society of Naval Architects and Marine Engineers - SNAME',
|
|
82
|
-
url: 'https://www.sname.org/',
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
name: 'ORC - Offshore Racing Congress',
|
|
86
|
-
url: 'https://orc.org/',
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
name: 'Elvstrom Sailmakers - Sail Manual',
|
|
90
|
-
url: 'https://www.elvstromsails.com/',
|
|
91
|
-
},
|
|
92
|
-
];
|
|
93
|
-
|
|
94
78
|
const seo: SailAreaLocaleContent['seo'] = [
|
|
95
79
|
{
|
|
96
80
|
type: 'title',
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { SailAreaUI, SailAreaLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -26,8 +27,6 @@ const ui: SailAreaUI = {
|
|
|
26
27
|
performanceTypeLabel: 'Performance',
|
|
27
28
|
racerLabel: 'Racer',
|
|
28
29
|
exportPdfLabel: 'GENERATE TECHNICAL REPORT',
|
|
29
|
-
faqTitle: 'Frequently Asked Questions',
|
|
30
|
-
bibliographyTitle: 'Bibliography',
|
|
31
30
|
};
|
|
32
31
|
|
|
33
32
|
const faq: SailAreaLocaleContent['faq'] = [
|
|
@@ -76,21 +75,6 @@ const howTo: SailAreaLocaleContent['howTo'] = [
|
|
|
76
75
|
},
|
|
77
76
|
];
|
|
78
77
|
|
|
79
|
-
const bibliography: SailAreaLocaleContent['bibliography'] = [
|
|
80
|
-
{
|
|
81
|
-
name: 'Society of Naval Architects and Marine Engineers - SNAME',
|
|
82
|
-
url: 'https://www.sname.org/',
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
name: 'ORC - Offshore Racing Congress',
|
|
86
|
-
url: 'https://orc.org/',
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
name: 'Elvstrom Sailmakers - Sail Manual',
|
|
90
|
-
url: 'https://www.elvstromsails.com/',
|
|
91
|
-
},
|
|
92
|
-
];
|
|
93
|
-
|
|
94
78
|
const seo: SailAreaLocaleContent['seo'] = [
|
|
95
79
|
{
|
|
96
80
|
type: 'title',
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { SailAreaUI, SailAreaLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -26,8 +27,6 @@ const ui: SailAreaUI = {
|
|
|
26
27
|
performanceTypeLabel: 'Performance',
|
|
27
28
|
racerLabel: 'Regata',
|
|
28
29
|
exportPdfLabel: 'GENERAR INFORME TECNICO',
|
|
29
|
-
faqTitle: 'Preguntas Frecuentes',
|
|
30
|
-
bibliographyTitle: 'Referencias',
|
|
31
30
|
};
|
|
32
31
|
|
|
33
32
|
const faq: SailAreaLocaleContent['faq'] = [
|
|
@@ -76,21 +75,6 @@ const howTo: SailAreaLocaleContent['howTo'] = [
|
|
|
76
75
|
},
|
|
77
76
|
];
|
|
78
77
|
|
|
79
|
-
const bibliography: SailAreaLocaleContent['bibliography'] = [
|
|
80
|
-
{
|
|
81
|
-
name: 'Sociedad de Arquitectos Navales - SNAME',
|
|
82
|
-
url: 'https://www.sname.org/',
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
name: 'ORC - Offshore Racing Congress',
|
|
86
|
-
url: 'https://orc.org/',
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
name: 'Elvstrom Sailmakers - Manual de Veleria',
|
|
90
|
-
url: 'https://www.elvstromsails.com/',
|
|
91
|
-
},
|
|
92
|
-
];
|
|
93
|
-
|
|
94
78
|
const seo: SailAreaLocaleContent['seo'] = [
|
|
95
79
|
{
|
|
96
80
|
type: 'title',
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { SailAreaUI, SailAreaLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -26,8 +27,6 @@ const ui: SailAreaUI = {
|
|
|
26
27
|
performanceTypeLabel: 'Performance',
|
|
27
28
|
racerLabel: 'Course',
|
|
28
29
|
exportPdfLabel: 'GENERER RAPPORT TECHNIQUE',
|
|
29
|
-
faqTitle: 'Questions Frequentes',
|
|
30
|
-
bibliographyTitle: 'Bibliographie',
|
|
31
30
|
};
|
|
32
31
|
|
|
33
32
|
const faq: SailAreaLocaleContent['faq'] = [
|
|
@@ -76,21 +75,6 @@ const howTo: SailAreaLocaleContent['howTo'] = [
|
|
|
76
75
|
},
|
|
77
76
|
];
|
|
78
77
|
|
|
79
|
-
const bibliography: SailAreaLocaleContent['bibliography'] = [
|
|
80
|
-
{
|
|
81
|
-
name: 'Societe des Architectes Navals - SNAME',
|
|
82
|
-
url: 'https://www.sname.org/',
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
name: 'ORC - Offshore Racing Congress',
|
|
86
|
-
url: 'https://orc.org/',
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
name: 'Elvstrom Sailmakers - Manuel de Voilerie',
|
|
90
|
-
url: 'https://www.elvstromsails.com/',
|
|
91
|
-
},
|
|
92
|
-
];
|
|
93
|
-
|
|
94
78
|
const seo: SailAreaLocaleContent['seo'] = [
|
|
95
79
|
{
|
|
96
80
|
type: 'title',
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { SailAreaUI, SailAreaLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -26,8 +27,6 @@ const ui: SailAreaUI = {
|
|
|
26
27
|
performanceTypeLabel: 'Tipe Performa',
|
|
27
28
|
racerLabel: 'Kapal Balap (Racer)',
|
|
28
29
|
exportPdfLabel: 'BUAT LAPORAN TEKNIS',
|
|
29
|
-
faqTitle: 'Pertanyaan yang Sering Diajukan',
|
|
30
|
-
bibliographyTitle: 'Bibliografi',
|
|
31
30
|
};
|
|
32
31
|
|
|
33
32
|
const faq: SailAreaLocaleContent['faq'] = [
|
|
@@ -76,21 +75,6 @@ const howTo: SailAreaLocaleContent['howTo'] = [
|
|
|
76
75
|
},
|
|
77
76
|
];
|
|
78
77
|
|
|
79
|
-
const bibliography: SailAreaLocaleContent['bibliography'] = [
|
|
80
|
-
{
|
|
81
|
-
name: 'Society of Naval Architects and Marine Engineers - SNAME',
|
|
82
|
-
url: 'https://www.sname.org/',
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
name: 'ORC - Offshore Racing Congress',
|
|
86
|
-
url: 'https://orc.org/',
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
name: 'Elvstrom Sailmakers - Sail Manual',
|
|
90
|
-
url: 'https://www.elvstromsails.com/',
|
|
91
|
-
},
|
|
92
|
-
];
|
|
93
|
-
|
|
94
78
|
const seo: SailAreaLocaleContent['seo'] = [
|
|
95
79
|
{
|
|
96
80
|
type: 'title',
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { SailAreaUI, SailAreaLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -26,8 +27,6 @@ const ui: SailAreaUI = {
|
|
|
26
27
|
performanceTypeLabel: 'Tipo di Prestazione',
|
|
27
28
|
racerLabel: 'Racer',
|
|
28
29
|
exportPdfLabel: 'GENERA RAPPORTO TECNICO',
|
|
29
|
-
faqTitle: 'Domande Frequenti',
|
|
30
|
-
bibliographyTitle: 'Bibliografia',
|
|
31
30
|
};
|
|
32
31
|
|
|
33
32
|
const faq: SailAreaLocaleContent['faq'] = [
|
|
@@ -76,21 +75,6 @@ const howTo: SailAreaLocaleContent['howTo'] = [
|
|
|
76
75
|
},
|
|
77
76
|
];
|
|
78
77
|
|
|
79
|
-
const bibliography: SailAreaLocaleContent['bibliography'] = [
|
|
80
|
-
{
|
|
81
|
-
name: 'Society of Naval Architects and Marine Engineers - SNAME',
|
|
82
|
-
url: 'https://www.sname.org/',
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
name: 'ORC - Offshore Racing Congress',
|
|
86
|
-
url: 'https://orc.org/',
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
name: 'Elvstrom Sailmakers - Sail Manual',
|
|
90
|
-
url: 'https://www.elvstromsails.com/',
|
|
91
|
-
},
|
|
92
|
-
];
|
|
93
|
-
|
|
94
78
|
const seo: SailAreaLocaleContent['seo'] = [
|
|
95
79
|
{
|
|
96
80
|
type: 'title',
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { SailAreaUI, SailAreaLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -26,8 +27,6 @@ const ui: SailAreaUI = {
|
|
|
26
27
|
performanceTypeLabel: 'パフォーマンス型',
|
|
27
28
|
racerLabel: 'レーサー',
|
|
28
29
|
exportPdfLabel: 'テクニカルレポートを生成',
|
|
29
|
-
faqTitle: 'よくある質問',
|
|
30
|
-
bibliographyTitle: '参考文献',
|
|
31
30
|
};
|
|
32
31
|
|
|
33
32
|
const faq: SailAreaLocaleContent['faq'] = [
|
|
@@ -76,21 +75,6 @@ const howTo: SailAreaLocaleContent['howTo'] = [
|
|
|
76
75
|
},
|
|
77
76
|
];
|
|
78
77
|
|
|
79
|
-
const bibliography: SailAreaLocaleContent['bibliography'] = [
|
|
80
|
-
{
|
|
81
|
-
name: 'Society of Naval Architects and Marine Engineers - SNAME',
|
|
82
|
-
url: 'https://www.sname.org/',
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
name: 'ORC - Offshore Racing Congress',
|
|
86
|
-
url: 'https://orc.org/',
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
name: 'Elvstrom Sailmakers - Sail Manual',
|
|
90
|
-
url: 'https://www.elvstromsails.com/',
|
|
91
|
-
},
|
|
92
|
-
];
|
|
93
|
-
|
|
94
78
|
const seo: SailAreaLocaleContent['seo'] = [
|
|
95
79
|
{
|
|
96
80
|
type: 'title',
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { SailAreaUI, SailAreaLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -26,8 +27,6 @@ const ui: SailAreaUI = {
|
|
|
26
27
|
performanceTypeLabel: '성능 유형',
|
|
27
28
|
racerLabel: '레이서',
|
|
28
29
|
exportPdfLabel: '기술 보고서 생성',
|
|
29
|
-
faqTitle: '자주 묻는 질문',
|
|
30
|
-
bibliographyTitle: '참고 문헌',
|
|
31
30
|
};
|
|
32
31
|
|
|
33
32
|
const faq: SailAreaLocaleContent['faq'] = [
|
|
@@ -76,21 +75,6 @@ const howTo: SailAreaLocaleContent['howTo'] = [
|
|
|
76
75
|
},
|
|
77
76
|
];
|
|
78
77
|
|
|
79
|
-
const bibliography: SailAreaLocaleContent['bibliography'] = [
|
|
80
|
-
{
|
|
81
|
-
name: 'Society of Naval Architects and Marine Engineers - SNAME',
|
|
82
|
-
url: 'https://www.sname.org/',
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
name: 'ORC - Offshore Racing Congress',
|
|
86
|
-
url: 'https://orc.org/',
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
name: 'Elvstrom Sailmakers - Sail Manual',
|
|
90
|
-
url: 'https://www.elvstromsails.com/',
|
|
91
|
-
},
|
|
92
|
-
];
|
|
93
|
-
|
|
94
78
|
const seo: SailAreaLocaleContent['seo'] = [
|
|
95
79
|
{
|
|
96
80
|
type: 'title',
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { SailAreaUI, SailAreaLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -26,8 +27,6 @@ const ui: SailAreaUI = {
|
|
|
26
27
|
performanceTypeLabel: 'Prestatie Type',
|
|
27
28
|
racerLabel: 'Racer',
|
|
28
29
|
exportPdfLabel: 'GENEREER TECHNISCH RAPPORT',
|
|
29
|
-
faqTitle: 'Veelgestelde Vragen',
|
|
30
|
-
bibliographyTitle: 'Bibliografie',
|
|
31
30
|
};
|
|
32
31
|
|
|
33
32
|
const faq: SailAreaLocaleContent['faq'] = [
|
|
@@ -76,21 +75,6 @@ const howTo: SailAreaLocaleContent['howTo'] = [
|
|
|
76
75
|
},
|
|
77
76
|
];
|
|
78
77
|
|
|
79
|
-
const bibliography: SailAreaLocaleContent['bibliography'] = [
|
|
80
|
-
{
|
|
81
|
-
name: 'Society of Naval Architects and Marine Engineers - SNAME',
|
|
82
|
-
url: 'https://www.sname.org/',
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
name: 'ORC - Offshore Racing Congress',
|
|
86
|
-
url: 'https://orc.org/',
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
name: 'Elvstrom Sailmakers - Sail Manual',
|
|
90
|
-
url: 'https://www.elvstromsails.com/',
|
|
91
|
-
},
|
|
92
|
-
];
|
|
93
|
-
|
|
94
78
|
const seo: SailAreaLocaleContent['seo'] = [
|
|
95
79
|
{
|
|
96
80
|
type: 'title',
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { SailAreaUI, SailAreaLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -26,8 +27,6 @@ const ui: SailAreaUI = {
|
|
|
26
27
|
performanceTypeLabel: 'Typ osiągów',
|
|
27
28
|
racerLabel: 'Regatowy',
|
|
28
29
|
exportPdfLabel: 'GENERUJ RAPORT TECHNICZNY',
|
|
29
|
-
faqTitle: 'Często Zadawane Pytania',
|
|
30
|
-
bibliographyTitle: 'Bibliografia',
|
|
31
30
|
};
|
|
32
31
|
|
|
33
32
|
const faq: SailAreaLocaleContent['faq'] = [
|
|
@@ -76,21 +75,6 @@ const howTo: SailAreaLocaleContent['howTo'] = [
|
|
|
76
75
|
},
|
|
77
76
|
];
|
|
78
77
|
|
|
79
|
-
const bibliography: SailAreaLocaleContent['bibliography'] = [
|
|
80
|
-
{
|
|
81
|
-
name: 'Society of Naval Architects and Marine Engineers - SNAME',
|
|
82
|
-
url: 'https://www.sname.org/',
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
name: 'ORC - Offshore Racing Congress',
|
|
86
|
-
url: 'https://orc.org/',
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
name: 'Elvstrom Sailmakers - Sail Manual',
|
|
90
|
-
url: 'https://www.elvstromsails.com/',
|
|
91
|
-
},
|
|
92
|
-
];
|
|
93
|
-
|
|
94
78
|
const seo: SailAreaLocaleContent['seo'] = [
|
|
95
79
|
{
|
|
96
80
|
type: 'title',
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { SailAreaUI, SailAreaLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -26,8 +27,6 @@ const ui: SailAreaUI = {
|
|
|
26
27
|
performanceTypeLabel: 'Tipo de Performance',
|
|
27
28
|
racerLabel: 'Regata',
|
|
28
29
|
exportPdfLabel: 'GERAR RELATÓRIO TÉCNICO',
|
|
29
|
-
faqTitle: 'Perguntas Frequentes',
|
|
30
|
-
bibliographyTitle: 'Bibliografia',
|
|
31
30
|
};
|
|
32
31
|
|
|
33
32
|
const faq: SailAreaLocaleContent['faq'] = [
|
|
@@ -76,21 +75,6 @@ const howTo: SailAreaLocaleContent['howTo'] = [
|
|
|
76
75
|
},
|
|
77
76
|
];
|
|
78
77
|
|
|
79
|
-
const bibliography: SailAreaLocaleContent['bibliography'] = [
|
|
80
|
-
{
|
|
81
|
-
name: 'Society of Naval Architects and Marine Engineers - SNAME',
|
|
82
|
-
url: 'https://www.sname.org/',
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
name: 'ORC - Offshore Racing Congress',
|
|
86
|
-
url: 'https://orc.org/',
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
name: 'Elvstrom Sailmakers - Sail Manual',
|
|
90
|
-
url: 'https://www.elvstromsails.com/',
|
|
91
|
-
},
|
|
92
|
-
];
|
|
93
|
-
|
|
94
78
|
const seo: SailAreaLocaleContent['seo'] = [
|
|
95
79
|
{
|
|
96
80
|
type: 'title',
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { SailAreaUI, SailAreaLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -26,8 +27,6 @@ const ui: SailAreaUI = {
|
|
|
26
27
|
performanceTypeLabel: 'Тип характеристик',
|
|
27
28
|
racerLabel: 'Гоночный',
|
|
28
29
|
exportPdfLabel: 'СФОРМИРОВАТЬ ТЕХНИЧЕСКИЙ ОТЧЕТ',
|
|
29
|
-
faqTitle: 'Часто задаваемые вопросы',
|
|
30
|
-
bibliographyTitle: 'Библиография',
|
|
31
30
|
};
|
|
32
31
|
|
|
33
32
|
const faq: SailAreaLocaleContent['faq'] = [
|
|
@@ -76,21 +75,6 @@ const howTo: SailAreaLocaleContent['howTo'] = [
|
|
|
76
75
|
},
|
|
77
76
|
];
|
|
78
77
|
|
|
79
|
-
const bibliography: SailAreaLocaleContent['bibliography'] = [
|
|
80
|
-
{
|
|
81
|
-
name: 'Society of Naval Architects and Marine Engineers - SNAME',
|
|
82
|
-
url: 'https://www.sname.org/',
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
name: 'ORC - Offshore Racing Congress',
|
|
86
|
-
url: 'https://orc.org/',
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
name: 'Elvstrom Sailmakers - Sail Manual',
|
|
90
|
-
url: 'https://www.elvstromsails.com/',
|
|
91
|
-
},
|
|
92
|
-
];
|
|
93
|
-
|
|
94
78
|
const seo: SailAreaLocaleContent['seo'] = [
|
|
95
79
|
{
|
|
96
80
|
type: 'title',
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { SailAreaUI, SailAreaLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -26,8 +27,6 @@ const ui: SailAreaUI = {
|
|
|
26
27
|
performanceTypeLabel: 'Prestandatyp',
|
|
27
28
|
racerLabel: 'Racer',
|
|
28
29
|
exportPdfLabel: 'GENERERA TEKNISK RAPPORT',
|
|
29
|
-
faqTitle: 'Vanliga frågor',
|
|
30
|
-
bibliographyTitle: 'Bibliografi',
|
|
31
30
|
};
|
|
32
31
|
|
|
33
32
|
const faq: SailAreaLocaleContent['faq'] = [
|
|
@@ -76,21 +75,6 @@ const howTo: SailAreaLocaleContent['howTo'] = [
|
|
|
76
75
|
},
|
|
77
76
|
];
|
|
78
77
|
|
|
79
|
-
const bibliography: SailAreaLocaleContent['bibliography'] = [
|
|
80
|
-
{
|
|
81
|
-
name: 'Society of Naval Architects and Marine Engineers - SNAME',
|
|
82
|
-
url: 'https://www.sname.org/',
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
name: 'ORC - Offshore Racing Congress',
|
|
86
|
-
url: 'https://orc.org/',
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
name: 'Elvstrom Sailmakers - Sail Manual',
|
|
90
|
-
url: 'https://www.elvstromsails.com/',
|
|
91
|
-
},
|
|
92
|
-
];
|
|
93
|
-
|
|
94
78
|
const seo: SailAreaLocaleContent['seo'] = [
|
|
95
79
|
{
|
|
96
80
|
type: 'title',
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { SailAreaUI, SailAreaLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -26,8 +27,6 @@ const ui: SailAreaUI = {
|
|
|
26
27
|
performanceTypeLabel: 'Performans Tipi',
|
|
27
28
|
racerLabel: 'Yarış (Racer)',
|
|
28
29
|
exportPdfLabel: 'TEKNİK RAPOR OLUŞTUR',
|
|
29
|
-
faqTitle: 'Sıkça Sorulan Sorular',
|
|
30
|
-
bibliographyTitle: 'Kaynakça',
|
|
31
30
|
};
|
|
32
31
|
|
|
33
32
|
const faq: SailAreaLocaleContent['faq'] = [
|
|
@@ -76,21 +75,6 @@ const howTo: SailAreaLocaleContent['howTo'] = [
|
|
|
76
75
|
},
|
|
77
76
|
];
|
|
78
77
|
|
|
79
|
-
const bibliography: SailAreaLocaleContent['bibliography'] = [
|
|
80
|
-
{
|
|
81
|
-
name: 'Society of Naval Architects and Marine Engineers - SNAME',
|
|
82
|
-
url: 'https://www.sname.org/',
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
name: 'ORC - Offshore Racing Congress',
|
|
86
|
-
url: 'https://orc.org/',
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
name: 'Elvstrom Sailmakers - Sail Manual',
|
|
90
|
-
url: 'https://www.elvstromsails.com/',
|
|
91
|
-
},
|
|
92
|
-
];
|
|
93
|
-
|
|
94
78
|
const seo: SailAreaLocaleContent['seo'] = [
|
|
95
79
|
{
|
|
96
80
|
type: 'title',
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { SailAreaUI, SailAreaLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -26,8 +27,6 @@ const ui: SailAreaUI = {
|
|
|
26
27
|
performanceTypeLabel: '性能类型',
|
|
27
28
|
racerLabel: '竞赛型',
|
|
28
29
|
exportPdfLabel: '生成技术报告',
|
|
29
|
-
faqTitle: '常见问题',
|
|
30
|
-
bibliographyTitle: '参考文献统计',
|
|
31
30
|
};
|
|
32
31
|
|
|
33
32
|
const faq: SailAreaLocaleContent['faq'] = [
|
|
@@ -76,21 +75,6 @@ const howTo: SailAreaLocaleContent['howTo'] = [
|
|
|
76
75
|
},
|
|
77
76
|
];
|
|
78
77
|
|
|
79
|
-
const bibliography: SailAreaLocaleContent['bibliography'] = [
|
|
80
|
-
{
|
|
81
|
-
name: 'Society of Naval Architects and Marine Engineers - SNAME',
|
|
82
|
-
url: 'https://www.sname.org/',
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
name: 'ORC - Offshore Racing Congress',
|
|
86
|
-
url: 'https://orc.org/',
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
name: 'Elvstrom Sailmakers - Sail Manual',
|
|
90
|
-
url: 'https://www.elvstromsails.com/',
|
|
91
|
-
},
|
|
92
|
-
];
|
|
93
|
-
|
|
94
78
|
const seo: SailAreaLocaleContent['seo'] = [
|
|
95
79
|
{
|
|
96
80
|
type: 'title',
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
margin: 0 auto;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
.theme-dark .sail-area-calculator {
|
|
27
27
|
--n-bg: #0f172a;
|
|
28
28
|
--n-bg-muted: #1e293b;
|
|
29
29
|
--n-text: #f8fafc;
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
line-height: 1;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
|
|
145
|
+
.theme-dark .sail-area-calculator .sad-value-large {
|
|
146
146
|
color: var(--n-accent);
|
|
147
147
|
}
|
|
148
148
|
|