@jjlmoya/utils-creative 1.26.0 → 1.28.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 +2 -2
- package/src/category/i18n/de.ts +2 -2
- package/src/category/i18n/en.ts +2 -2
- package/src/category/i18n/es.ts +2 -2
- package/src/category/i18n/fr.ts +2 -2
- package/src/category/i18n/id.ts +2 -2
- package/src/category/i18n/it.ts +2 -2
- package/src/category/i18n/ja.ts +2 -2
- package/src/category/i18n/ko.ts +2 -2
- package/src/category/i18n/nl.ts +2 -2
- package/src/category/i18n/pl.ts +2 -2
- package/src/category/i18n/pt.ts +2 -2
- package/src/category/i18n/ru.ts +2 -2
- package/src/category/i18n/sv.ts +2 -2
- package/src/category/i18n/tr.ts +2 -2
- package/src/category/i18n/zh.ts +2 -2
- package/src/category/seo.astro +1 -1
- package/src/components/PreviewNavSidebar.astro +1 -1
- package/src/components/PreviewToolbar.astro +1 -1
- package/src/env.d.ts +1 -1
- package/src/pages/index.astro +1 -1
- package/src/tests/bibliography_wellformed_export.test.ts +46 -0
- package/src/tests/category_seo_quality.test.ts +74 -0
- package/src/tests/faq_count.test.ts +1 -1
- package/src/tests/mocks/astro_mock.js +1 -1
- package/src/tests/no_h1_in_components.test.ts +1 -1
- package/src/tests/seo_parity.test.ts +2 -2
- package/src/tests/seo_translation_completeness.test.ts +75 -0
- package/src/tests/seo_wellformed_export.test.ts +65 -0
- package/src/tests/tool_validation.test.ts +17 -17
- package/src/tool/bead-pattern-generator/bibliography.astro +8 -8
- package/src/tool/bead-pattern-generator/i18n/de.ts +111 -111
- package/src/tool/bead-pattern-generator/i18n/en.ts +111 -111
- package/src/tool/bead-pattern-generator/i18n/es.ts +104 -104
- package/src/tool/bead-pattern-generator/i18n/fr.ts +111 -111
- package/src/tool/bead-pattern-generator/i18n/id.ts +111 -111
- package/src/tool/bead-pattern-generator/i18n/it.ts +111 -111
- package/src/tool/bead-pattern-generator/i18n/ja.ts +111 -111
- package/src/tool/bead-pattern-generator/i18n/ko.ts +111 -111
- package/src/tool/bead-pattern-generator/i18n/nl.ts +111 -111
- package/src/tool/bead-pattern-generator/i18n/pl.ts +111 -111
- package/src/tool/bead-pattern-generator/i18n/pt.ts +111 -111
- package/src/tool/bead-pattern-generator/i18n/ru.ts +111 -111
- package/src/tool/bead-pattern-generator/i18n/sv.ts +111 -111
- package/src/tool/bead-pattern-generator/i18n/tr.ts +111 -111
- package/src/tool/bead-pattern-generator/i18n/zh.ts +111 -111
- package/src/tool/bead-pattern-generator/seo.astro +19 -19
- package/src/tool/dice-roller/bibliography.astro +8 -8
- package/src/tool/dice-roller/i18n/de.ts +134 -134
- package/src/tool/dice-roller/i18n/en.ts +134 -134
- package/src/tool/dice-roller/i18n/es.ts +125 -125
- package/src/tool/dice-roller/i18n/fr.ts +134 -134
- package/src/tool/dice-roller/i18n/id.ts +134 -134
- package/src/tool/dice-roller/i18n/it.ts +134 -134
- package/src/tool/dice-roller/i18n/ja.ts +134 -134
- package/src/tool/dice-roller/i18n/ko.ts +134 -134
- package/src/tool/dice-roller/i18n/nl.ts +134 -134
- package/src/tool/dice-roller/i18n/pl.ts +134 -134
- package/src/tool/dice-roller/i18n/pt.ts +134 -134
- package/src/tool/dice-roller/i18n/ru.ts +134 -134
- package/src/tool/dice-roller/i18n/sv.ts +134 -134
- package/src/tool/dice-roller/i18n/tr.ts +134 -134
- package/src/tool/dice-roller/i18n/zh.ts +134 -134
- package/src/tool/dice-roller/seo.astro +15 -15
- package/src/tool/excuse-generator/bibliography.astro +8 -8
- package/src/tool/excuse-generator/i18n/de.ts +120 -120
- package/src/tool/excuse-generator/i18n/en.ts +120 -120
- package/src/tool/excuse-generator/i18n/es.ts +118 -118
- package/src/tool/excuse-generator/i18n/fr.ts +120 -120
- package/src/tool/excuse-generator/i18n/id.ts +120 -120
- package/src/tool/excuse-generator/i18n/it.ts +120 -120
- package/src/tool/excuse-generator/i18n/ja.ts +120 -120
- package/src/tool/excuse-generator/i18n/ko.ts +120 -120
- package/src/tool/excuse-generator/i18n/nl.ts +120 -120
- package/src/tool/excuse-generator/i18n/pl.ts +120 -120
- package/src/tool/excuse-generator/i18n/pt.ts +120 -120
- package/src/tool/excuse-generator/i18n/ru.ts +120 -120
- package/src/tool/excuse-generator/i18n/sv.ts +120 -120
- package/src/tool/excuse-generator/i18n/tr.ts +120 -120
- package/src/tool/excuse-generator/i18n/zh.ts +120 -120
- package/src/tool/excuse-generator/seo.astro +15 -15
- package/src/tool/fortune-cookie/bibliography.astro +8 -8
- package/src/tool/fortune-cookie/i18n/de.ts +124 -124
- package/src/tool/fortune-cookie/i18n/en.ts +124 -124
- package/src/tool/fortune-cookie/i18n/es.ts +125 -125
- package/src/tool/fortune-cookie/i18n/fr.ts +124 -124
- package/src/tool/fortune-cookie/i18n/id.ts +124 -124
- package/src/tool/fortune-cookie/i18n/it.ts +124 -124
- package/src/tool/fortune-cookie/i18n/ja.ts +124 -124
- package/src/tool/fortune-cookie/i18n/ko.ts +124 -124
- package/src/tool/fortune-cookie/i18n/nl.ts +124 -124
- package/src/tool/fortune-cookie/i18n/pl.ts +124 -124
- package/src/tool/fortune-cookie/i18n/pt.ts +124 -124
- package/src/tool/fortune-cookie/i18n/ru.ts +124 -124
- package/src/tool/fortune-cookie/i18n/sv.ts +124 -124
- package/src/tool/fortune-cookie/i18n/tr.ts +124 -124
- package/src/tool/fortune-cookie/i18n/zh.ts +124 -124
- package/src/tool/fortune-cookie/seo.astro +15 -15
- package/src/tool/synesthesia-painter/bibliography.astro +8 -8
- package/src/tool/synesthesia-painter/i18n/de.ts +118 -118
- package/src/tool/synesthesia-painter/i18n/en.ts +118 -118
- package/src/tool/synesthesia-painter/i18n/es.ts +110 -110
- package/src/tool/synesthesia-painter/i18n/fr.ts +118 -118
- package/src/tool/synesthesia-painter/i18n/id.ts +118 -118
- package/src/tool/synesthesia-painter/i18n/it.ts +118 -118
- package/src/tool/synesthesia-painter/i18n/ja.ts +118 -118
- package/src/tool/synesthesia-painter/i18n/ko.ts +118 -118
- package/src/tool/synesthesia-painter/i18n/nl.ts +118 -118
- package/src/tool/synesthesia-painter/i18n/pl.ts +118 -118
- package/src/tool/synesthesia-painter/i18n/pt.ts +118 -118
- package/src/tool/synesthesia-painter/i18n/ru.ts +118 -118
- package/src/tool/synesthesia-painter/i18n/sv.ts +118 -118
- package/src/tool/synesthesia-painter/i18n/tr.ts +118 -118
- package/src/tool/synesthesia-painter/i18n/zh.ts +118 -118
- package/src/tool/synesthesia-painter/seo.astro +15 -15
- package/src/tool/zalgo-generator/bibliography.astro +8 -8
- package/src/tool/zalgo-generator/i18n/de.ts +109 -109
- package/src/tool/zalgo-generator/i18n/en.ts +109 -109
- package/src/tool/zalgo-generator/i18n/es.ts +109 -109
- package/src/tool/zalgo-generator/i18n/fr.ts +109 -109
- package/src/tool/zalgo-generator/i18n/id.ts +109 -109
- package/src/tool/zalgo-generator/i18n/it.ts +109 -109
- package/src/tool/zalgo-generator/i18n/ja.ts +109 -109
- package/src/tool/zalgo-generator/i18n/ko.ts +109 -109
- package/src/tool/zalgo-generator/i18n/nl.ts +109 -109
- package/src/tool/zalgo-generator/i18n/pl.ts +109 -109
- package/src/tool/zalgo-generator/i18n/pt.ts +109 -109
- package/src/tool/zalgo-generator/i18n/ru.ts +109 -109
- package/src/tool/zalgo-generator/i18n/sv.ts +109 -109
- package/src/tool/zalgo-generator/i18n/tr.ts +109 -109
- package/src/tool/zalgo-generator/i18n/zh.ts +109 -109
- package/src/tool/zalgo-generator/seo.astro +15 -15
- package/src/types.ts +1 -1
|
@@ -1,124 +1,124 @@
|
|
|
1
|
-
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
|
-
import type { FortuneCookieLocaleContent } from '../index';
|
|
3
|
-
import { bibliography } from '../bibliography';
|
|
4
|
-
|
|
5
|
-
const slug = 'biscotto-della-fortuna-online';
|
|
6
|
-
const title = 'Biscotto della Fortuna';
|
|
7
|
-
const description = 'Controlla il tuo destino quotidiano e scopri i tuoi numeri fortunati. Una previsione al giorno, svelata con un clic.';
|
|
8
|
-
|
|
9
|
-
const faq: FortuneCookieLocaleContent['faq'] = [
|
|
10
|
-
{
|
|
11
|
-
question: 'Posso aprire più di un biscotto al giorno?',
|
|
12
|
-
answer: 'Il destino parla solo una volta al giorno. Salviamo la tua fortuna sul dispositivo in modo che ti guidi per tutta la giornata.'
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
question: 'Le previsioni sono generate casualmente?',
|
|
16
|
-
answer: 'Sì - ogni giorno viene selezionata una previsione casuale che viene salvata localmente. Ognuna delle 25 previsioni ha la stessa probabilità di essere scelta, garantendo varietà nel tempo.'
|
|
17
|
-
}
|
|
18
|
-
];
|
|
19
|
-
|
|
20
|
-
const howTo: FortuneCookieLocaleContent['howTo'] = [
|
|
21
|
-
{ name: 'Rompi il biscotto', text: 'Clicca ripetutamente sul biscotto per aprirlo.' },
|
|
22
|
-
{ name: 'Leggi la tua fortuna', text: 'Scopri il messaggio nascosto all\'interno e i tuoi numeri fortunati per il giorno.' }
|
|
23
|
-
];
|
|
24
|
-
|
|
25
|
-
const faqSchema: WithContext<FAQPage> = {
|
|
26
|
-
'@context': 'https://schema.org',
|
|
27
|
-
'@type': 'FAQPage',
|
|
28
|
-
mainEntity: faq.map((item) => ({
|
|
29
|
-
'@type': 'Question',
|
|
30
|
-
name: item.question,
|
|
31
|
-
acceptedAnswer: { '@type': 'Answer', text: item.answer },
|
|
32
|
-
})),
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
const howToSchema: WithContext<HowTo> = {
|
|
36
|
-
'@context': 'https://schema.org',
|
|
37
|
-
'@type': 'HowTo',
|
|
38
|
-
name: title,
|
|
39
|
-
description,
|
|
40
|
-
step: howTo.map((step) => ({
|
|
41
|
-
'@type': 'HowToStep',
|
|
42
|
-
name: step.name,
|
|
43
|
-
text: step.text,
|
|
44
|
-
})),
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
const appSchema: WithContext<SoftwareApplication> = {
|
|
48
|
-
'@context': 'https://schema.org',
|
|
49
|
-
'@type': 'SoftwareApplication',
|
|
50
|
-
name: title,
|
|
51
|
-
description,
|
|
52
|
-
applicationCategory: 'UtilitiesApplication',
|
|
53
|
-
operatingSystem: 'Web',
|
|
54
|
-
offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
|
|
55
|
-
inLanguage: 'it',
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
export const content: FortuneCookieLocaleContent = {
|
|
59
|
-
slug,
|
|
60
|
-
title,
|
|
61
|
-
description,
|
|
62
|
-
faqTitle: 'Domande Frequenti',
|
|
63
|
-
ui: {
|
|
64
|
-
title: 'Biscotto della Fortuna Online',
|
|
65
|
-
description: 'Il tuo oracolo digitale quotidiano.',
|
|
66
|
-
instruction: 'Premi il biscotto per svelare il tuo destino',
|
|
67
|
-
dailyStatus: 'Il tuo destino è stato svelato per oggi.',
|
|
68
|
-
shareBtn: 'Condividi Saggezza',
|
|
69
|
-
shareTitle: 'Il Mio Biscotto della Fortuna',
|
|
70
|
-
shareText: 'Il destino ha parlato: "$TEXT"\nI miei numeri: $NUMS\n\nScopri la tua fortuna qui:',
|
|
71
|
-
copied: 'Copiato!',
|
|
72
|
-
fortunes: JSON.stringify([
|
|
73
|
-
"La fortuna che cerchi è in un altro biscotto.",
|
|
74
|
-
"Non contare i giorni, rendi i giorni importanti.",
|
|
75
|
-
"Un viaggio di mille miglia comincia con un solo passo.",
|
|
76
|
-
"L'errore è il preambolo della scoperta.",
|
|
77
|
-
"La tua capacità di imparare è la tua risorsa più grande.",
|
|
78
|
-
"Sorridi, l'universo ti sta guardando.",
|
|
79
|
-
"La pazienza è un albero con radici amare ma frutti molto dolci.",
|
|
80
|
-
"Non aver paura di crescere lentamente, temi solo di restare fermo.",
|
|
81
|
-
"Oggi è il domani di cui ti preoccupavi ieri.",
|
|
82
|
-
"La felicità non è qualcosa di pronto. Viene dalle tue stesse azioni.",
|
|
83
|
-
"Se non puoi cambiare la direzione del vento, regola le tue vele.",
|
|
84
|
-
"Ciò che pianti ora, raccoglierai dopo.",
|
|
85
|
-
"La creatività è l'intelligenza che si diverte.",
|
|
86
|
-
"Non cercare errori, cerca soluzioni.",
|
|
87
|
-
"Il tuo atteggiamento, non la tua attitudine, determinerà la tua altezza.",
|
|
88
|
-
"Il successo è la somma di piccoli sforzi ripetuti giorno dopo giorno.",
|
|
89
|
-
"Credi di poterlo fare e sarai a metà strada.",
|
|
90
|
-
"L'unico modo per fare un ottimo lavoro è amare quello che fai.",
|
|
91
|
-
"La vita è per il 10% ciò che ti accade e per il 90% come reagisci.",
|
|
92
|
-
"Sii il cambiamento che vuoi vedere nel mondo.",
|
|
93
|
-
"Il modo migliore per predire il futuro è inventarlo.",
|
|
94
|
-
"La semplicità è la massima sofisticatezza.",
|
|
95
|
-
"Sei il padrone del tuo destino e il capitano della tua anima.",
|
|
96
|
-
"Presto riceverai notizie che cambieranno la tua prospettiva.",
|
|
97
|
-
"Un viaggio inaspettato ti porterà grandi gioie."
|
|
98
|
-
]),
|
|
99
|
-
faqTitle: 'FAQ',
|
|
100
|
-
},
|
|
101
|
-
seo: [
|
|
102
|
-
{ type: 'title', text: 'Il Mistero del Biscotto della Fortuna', level: 2 },
|
|
103
|
-
{ type: 'paragraph', html: 'Ti sei mai chiesto da dove provengano questi curiosi biscotti? Sebbene li associamo al cibo cinese, la loro origine è un affascinante viaggio tra il Giappone e gli Stati Uniti. Il biscotto della fortuna così come lo conosciamo oggi è stato probabilmente inventato nella California dell\'inizio del XX secolo, non in Cina, dove sono praticamente sconosciuti.' },
|
|
104
|
-
{ type: 'tip', title: 'Come funziona il nostro Oracolo', html: 'Ogni giorno puoi aprire un biscotto. Il sistema salva il tuo destino così lo ricorderai per 24 ore. La fortuna è memorizzata localmente nel tuo browser: completamente privata, nessun server coinvolto. Torna domani per una nuova previsione!' },
|
|
105
|
-
{ type: 'title', text: 'La Filosofia degli Oracoli', level: 3 },
|
|
106
|
-
{ type: 'paragraph', html: 'Gli esseri umani hanno sempre cercato guida in tempi incerti. Dall\'Oracolo di Delfi all\'I Ching, i sistemi di divinazione svolgono una funzione psicologica costante: ci danno il permesso di <strong>fermarci e riflettere</strong>. Un biscotto della fortuna non predice il futuro: ti spinge a pensarci.' },
|
|
107
|
-
{ type: 'list', items: [
|
|
108
|
-
'<strong>Antica Cina:</strong> L\'I Ching (Libro dei Mutamenti, ~1000 a.C.) usava esagrammi per guidare le decisioni e interpretare il destino.',
|
|
109
|
-
'<strong>Grecia Classica:</strong> L\'Oracolo di Delfi attirava sovrani e cittadini con pronunciamenti criptici interpretati come guida divina.',
|
|
110
|
-
'<strong>Giappone Moderno:</strong> I foglietti della fortuna Omikuji nei santuari shintoisti, legati ai rami degli alberi, mescolano il fato con il rito.',
|
|
111
|
-
'<strong>Stati Uniti XX secolo:</strong> I biscotti della fortuna sono emersi nelle comunità nippo-americane prima di diventare sinonimo della cucina sino-americana.',
|
|
112
|
-
]},
|
|
113
|
-
{ type: 'stats', items: [
|
|
114
|
-
{ value: '3 miliardi+', label: 'Biscotti fatti ogni anno', icon: 'mdi:cookie' },
|
|
115
|
-
{ value: '~1000 a.C.', label: 'Origine dell\'I Ching', icon: 'mdi:book-open-variant' },
|
|
116
|
-
{ value: '25', label: 'Fortune in questo oracolo', icon: 'mdi:star-shooting' },
|
|
117
|
-
{ value: '1/giorno', label: 'Un destino al giorno', icon: 'mdi:calendar-today' },
|
|
118
|
-
], columns: 4 },
|
|
119
|
-
],
|
|
120
|
-
faq,
|
|
121
|
-
bibliography,
|
|
122
|
-
howTo,
|
|
123
|
-
schemas: [faqSchema as any, howToSchema as any, appSchema],
|
|
124
|
-
};
|
|
1
|
+
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import type { FortuneCookieLocaleContent } from '../index';
|
|
3
|
+
import { bibliography } from '../bibliography';
|
|
4
|
+
|
|
5
|
+
const slug = 'biscotto-della-fortuna-online';
|
|
6
|
+
const title = 'Biscotto della Fortuna';
|
|
7
|
+
const description = 'Controlla il tuo destino quotidiano e scopri i tuoi numeri fortunati. Una previsione al giorno, svelata con un clic.';
|
|
8
|
+
|
|
9
|
+
const faq: FortuneCookieLocaleContent['faq'] = [
|
|
10
|
+
{
|
|
11
|
+
question: 'Posso aprire più di un biscotto al giorno?',
|
|
12
|
+
answer: 'Il destino parla solo una volta al giorno. Salviamo la tua fortuna sul dispositivo in modo che ti guidi per tutta la giornata.'
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
question: 'Le previsioni sono generate casualmente?',
|
|
16
|
+
answer: 'Sì - ogni giorno viene selezionata una previsione casuale che viene salvata localmente. Ognuna delle 25 previsioni ha la stessa probabilità di essere scelta, garantendo varietà nel tempo.'
|
|
17
|
+
}
|
|
18
|
+
];
|
|
19
|
+
|
|
20
|
+
const howTo: FortuneCookieLocaleContent['howTo'] = [
|
|
21
|
+
{ name: 'Rompi il biscotto', text: 'Clicca ripetutamente sul biscotto per aprirlo.' },
|
|
22
|
+
{ name: 'Leggi la tua fortuna', text: 'Scopri il messaggio nascosto all\'interno e i tuoi numeri fortunati per il giorno.' }
|
|
23
|
+
];
|
|
24
|
+
|
|
25
|
+
const faqSchema: WithContext<FAQPage> = {
|
|
26
|
+
'@context': 'https://schema.org',
|
|
27
|
+
'@type': 'FAQPage',
|
|
28
|
+
mainEntity: faq.map((item) => ({
|
|
29
|
+
'@type': 'Question',
|
|
30
|
+
name: item.question,
|
|
31
|
+
acceptedAnswer: { '@type': 'Answer', text: item.answer },
|
|
32
|
+
})),
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
const howToSchema: WithContext<HowTo> = {
|
|
36
|
+
'@context': 'https://schema.org',
|
|
37
|
+
'@type': 'HowTo',
|
|
38
|
+
name: title,
|
|
39
|
+
description,
|
|
40
|
+
step: howTo.map((step) => ({
|
|
41
|
+
'@type': 'HowToStep',
|
|
42
|
+
name: step.name,
|
|
43
|
+
text: step.text,
|
|
44
|
+
})),
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
const appSchema: WithContext<SoftwareApplication> = {
|
|
48
|
+
'@context': 'https://schema.org',
|
|
49
|
+
'@type': 'SoftwareApplication',
|
|
50
|
+
name: title,
|
|
51
|
+
description,
|
|
52
|
+
applicationCategory: 'UtilitiesApplication',
|
|
53
|
+
operatingSystem: 'Web',
|
|
54
|
+
offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
|
|
55
|
+
inLanguage: 'it',
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export const content: FortuneCookieLocaleContent = {
|
|
59
|
+
slug,
|
|
60
|
+
title,
|
|
61
|
+
description,
|
|
62
|
+
faqTitle: 'Domande Frequenti',
|
|
63
|
+
ui: {
|
|
64
|
+
title: 'Biscotto della Fortuna Online',
|
|
65
|
+
description: 'Il tuo oracolo digitale quotidiano.',
|
|
66
|
+
instruction: 'Premi il biscotto per svelare il tuo destino',
|
|
67
|
+
dailyStatus: 'Il tuo destino è stato svelato per oggi.',
|
|
68
|
+
shareBtn: 'Condividi Saggezza',
|
|
69
|
+
shareTitle: 'Il Mio Biscotto della Fortuna',
|
|
70
|
+
shareText: 'Il destino ha parlato: "$TEXT"\nI miei numeri: $NUMS\n\nScopri la tua fortuna qui:',
|
|
71
|
+
copied: 'Copiato!',
|
|
72
|
+
fortunes: JSON.stringify([
|
|
73
|
+
"La fortuna che cerchi è in un altro biscotto.",
|
|
74
|
+
"Non contare i giorni, rendi i giorni importanti.",
|
|
75
|
+
"Un viaggio di mille miglia comincia con un solo passo.",
|
|
76
|
+
"L'errore è il preambolo della scoperta.",
|
|
77
|
+
"La tua capacità di imparare è la tua risorsa più grande.",
|
|
78
|
+
"Sorridi, l'universo ti sta guardando.",
|
|
79
|
+
"La pazienza è un albero con radici amare ma frutti molto dolci.",
|
|
80
|
+
"Non aver paura di crescere lentamente, temi solo di restare fermo.",
|
|
81
|
+
"Oggi è il domani di cui ti preoccupavi ieri.",
|
|
82
|
+
"La felicità non è qualcosa di pronto. Viene dalle tue stesse azioni.",
|
|
83
|
+
"Se non puoi cambiare la direzione del vento, regola le tue vele.",
|
|
84
|
+
"Ciò che pianti ora, raccoglierai dopo.",
|
|
85
|
+
"La creatività è l'intelligenza che si diverte.",
|
|
86
|
+
"Non cercare errori, cerca soluzioni.",
|
|
87
|
+
"Il tuo atteggiamento, non la tua attitudine, determinerà la tua altezza.",
|
|
88
|
+
"Il successo è la somma di piccoli sforzi ripetuti giorno dopo giorno.",
|
|
89
|
+
"Credi di poterlo fare e sarai a metà strada.",
|
|
90
|
+
"L'unico modo per fare un ottimo lavoro è amare quello che fai.",
|
|
91
|
+
"La vita è per il 10% ciò che ti accade e per il 90% come reagisci.",
|
|
92
|
+
"Sii il cambiamento che vuoi vedere nel mondo.",
|
|
93
|
+
"Il modo migliore per predire il futuro è inventarlo.",
|
|
94
|
+
"La semplicità è la massima sofisticatezza.",
|
|
95
|
+
"Sei il padrone del tuo destino e il capitano della tua anima.",
|
|
96
|
+
"Presto riceverai notizie che cambieranno la tua prospettiva.",
|
|
97
|
+
"Un viaggio inaspettato ti porterà grandi gioie."
|
|
98
|
+
]),
|
|
99
|
+
faqTitle: 'FAQ',
|
|
100
|
+
},
|
|
101
|
+
seo: [
|
|
102
|
+
{ type: 'title', text: 'Il Mistero del Biscotto della Fortuna', level: 2 },
|
|
103
|
+
{ type: 'paragraph', html: 'Ti sei mai chiesto da dove provengano questi curiosi biscotti? Sebbene li associamo al cibo cinese, la loro origine è un affascinante viaggio tra il Giappone e gli Stati Uniti. Il biscotto della fortuna così come lo conosciamo oggi è stato probabilmente inventato nella California dell\'inizio del XX secolo, non in Cina, dove sono praticamente sconosciuti.' },
|
|
104
|
+
{ type: 'tip', title: 'Come funziona il nostro Oracolo', html: 'Ogni giorno puoi aprire un biscotto. Il sistema salva il tuo destino così lo ricorderai per 24 ore. La fortuna è memorizzata localmente nel tuo browser: completamente privata, nessun server coinvolto. Torna domani per una nuova previsione!' },
|
|
105
|
+
{ type: 'title', text: 'La Filosofia degli Oracoli', level: 3 },
|
|
106
|
+
{ type: 'paragraph', html: 'Gli esseri umani hanno sempre cercato guida in tempi incerti. Dall\'Oracolo di Delfi all\'I Ching, i sistemi di divinazione svolgono una funzione psicologica costante: ci danno il permesso di <strong>fermarci e riflettere</strong>. Un biscotto della fortuna non predice il futuro: ti spinge a pensarci.' },
|
|
107
|
+
{ type: 'list', items: [
|
|
108
|
+
'<strong>Antica Cina:</strong> L\'I Ching (Libro dei Mutamenti, ~1000 a.C.) usava esagrammi per guidare le decisioni e interpretare il destino.',
|
|
109
|
+
'<strong>Grecia Classica:</strong> L\'Oracolo di Delfi attirava sovrani e cittadini con pronunciamenti criptici interpretati come guida divina.',
|
|
110
|
+
'<strong>Giappone Moderno:</strong> I foglietti della fortuna Omikuji nei santuari shintoisti, legati ai rami degli alberi, mescolano il fato con il rito.',
|
|
111
|
+
'<strong>Stati Uniti XX secolo:</strong> I biscotti della fortuna sono emersi nelle comunità nippo-americane prima di diventare sinonimo della cucina sino-americana.',
|
|
112
|
+
]},
|
|
113
|
+
{ type: 'stats', items: [
|
|
114
|
+
{ value: '3 miliardi+', label: 'Biscotti fatti ogni anno', icon: 'mdi:cookie' },
|
|
115
|
+
{ value: '~1000 a.C.', label: 'Origine dell\'I Ching', icon: 'mdi:book-open-variant' },
|
|
116
|
+
{ value: '25', label: 'Fortune in questo oracolo', icon: 'mdi:star-shooting' },
|
|
117
|
+
{ value: '1/giorno', label: 'Un destino al giorno', icon: 'mdi:calendar-today' },
|
|
118
|
+
], columns: 4 },
|
|
119
|
+
],
|
|
120
|
+
faq,
|
|
121
|
+
bibliography,
|
|
122
|
+
howTo,
|
|
123
|
+
schemas: [faqSchema as any, howToSchema as any, appSchema],
|
|
124
|
+
};
|
|
@@ -1,124 +1,124 @@
|
|
|
1
|
-
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
|
-
import type { FortuneCookieLocaleContent } from '../index';
|
|
3
|
-
import { bibliography } from '../bibliography';
|
|
4
|
-
|
|
5
|
-
const slug = 'fortune-cookie';
|
|
6
|
-
const title = 'フォーチュンクッキー';
|
|
7
|
-
const description = '一日の運勢を確認し、ラッキーナンバーを見つけましょう。一日に一回、クリックで運勢を占うことができます。';
|
|
8
|
-
|
|
9
|
-
const faq: FortuneCookieLocaleContent['faq'] = [
|
|
10
|
-
{
|
|
11
|
-
question: '一日に複数のクッキーを開くことはできますか?',
|
|
12
|
-
answer: '運命が語るのは一日に一度だけです。占いの結果はデバイスに保存され、その日一日あなたを導きます。'
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
question: '占いの内容はランダムに生成されますか?',
|
|
16
|
-
answer: 'はい。毎日ランダムに一つのメッセージが選ばれ、ローカルに保存されます。25種類のメッセージはすべて等しい確率で選ばれるため、毎日変化を楽しむことができます。'
|
|
17
|
-
}
|
|
18
|
-
];
|
|
19
|
-
|
|
20
|
-
const howTo: FortuneCookieLocaleContent['howTo'] = [
|
|
21
|
-
{ name: 'クッキーを割る', text: 'クッキーを繰り返しクリックして割ります。' },
|
|
22
|
-
{ name: 'メッセージを読む', text: '中に隠されたメッセージと、その日のラッキーナンバーを確認します。' }
|
|
23
|
-
];
|
|
24
|
-
|
|
25
|
-
const faqSchema: WithContext<FAQPage> = {
|
|
26
|
-
'@context': 'https://schema.org',
|
|
27
|
-
'@type': 'FAQPage',
|
|
28
|
-
mainEntity: faq.map((item) => ({
|
|
29
|
-
'@type': 'Question',
|
|
30
|
-
name: item.question,
|
|
31
|
-
acceptedAnswer: { '@type': 'Answer', text: item.answer },
|
|
32
|
-
})),
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
const howToSchema: WithContext<HowTo> = {
|
|
36
|
-
'@context': 'https://schema.org',
|
|
37
|
-
'@type': 'HowTo',
|
|
38
|
-
name: title,
|
|
39
|
-
description,
|
|
40
|
-
step: howTo.map((step) => ({
|
|
41
|
-
'@type': 'HowToStep',
|
|
42
|
-
name: step.name,
|
|
43
|
-
text: step.text,
|
|
44
|
-
})),
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
const appSchema: WithContext<SoftwareApplication> = {
|
|
48
|
-
'@context': 'https://schema.org',
|
|
49
|
-
'@type': 'SoftwareApplication',
|
|
50
|
-
name: title,
|
|
51
|
-
description,
|
|
52
|
-
applicationCategory: 'UtilitiesApplication',
|
|
53
|
-
operatingSystem: 'Web',
|
|
54
|
-
offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
|
|
55
|
-
inLanguage: 'ja',
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
export const content: FortuneCookieLocaleContent = {
|
|
59
|
-
slug,
|
|
60
|
-
title,
|
|
61
|
-
description,
|
|
62
|
-
faqTitle: 'よくある質問',
|
|
63
|
-
ui: {
|
|
64
|
-
title: 'オンライン・フォーチュンクッキー',
|
|
65
|
-
description: 'あなたの毎日のデジタル神託。',
|
|
66
|
-
instruction: 'クッキーを叩いて運命を開きましょう',
|
|
67
|
-
dailyStatus: '本日の運勢はすでに公開されています。',
|
|
68
|
-
shareBtn: '知恵を共有する',
|
|
69
|
-
shareTitle: '私のフォーチュンクッキー',
|
|
70
|
-
shareText: '神託が語りました:"$TEXT"\n私のラッキーナンバー:$NUMS\n\nここからあなたの運勢を占う:',
|
|
71
|
-
copied: 'コピーしました!',
|
|
72
|
-
fortunes: JSON.stringify([
|
|
73
|
-
"あなたが探している幸福は、別のクッキーの中にあります。",
|
|
74
|
-
"日を数えるのではなく、日々を数え上げるものにしなさい。",
|
|
75
|
-
"千里の道も一歩から始まります。",
|
|
76
|
-
"失敗は発見の序文です。",
|
|
77
|
-
"学ぶ能力こそがあなたの最大の財産です。",
|
|
78
|
-
"微笑んでください。宇宙があなたを見守っています。",
|
|
79
|
-
"忍耐は根は苦いが、その実はとても甘い木です。",
|
|
80
|
-
"ゆっくり成長することを恐れず、ただ立ち止まっていることだけを恐れなさい。",
|
|
81
|
-
"今日は、昨日あなたが心配していた明日です。",
|
|
82
|
-
"幸福はあらかじめ作られたものではありません。それはあなた自身の行動から生まれます。",
|
|
83
|
-
"風向きを変えられないなら、帆を調整しなさい。",
|
|
84
|
-
"今植えたものが、のちに収穫するものとなります。",
|
|
85
|
-
"創造性とは、知性が楽しんでいる状態です。",
|
|
86
|
-
"間違いを探すのではなく、解決策を探しなさい。",
|
|
87
|
-
"あなたの態度(Attitude)こそが、あなたの高度(Altitude)を決めます。資質(Aptitude)ではありません。",
|
|
88
|
-
"成功とは、毎日繰り返される小さな努力の積み重ねです。",
|
|
89
|
-
"できると信じれば、道は半分開けたも同然です。",
|
|
90
|
-
"素晴らしい仕事をする唯一の方法は、自分の仕事を愛することです。",
|
|
91
|
-
"人生の10%はあなたに起こることで、90%はそれに対するあなたの反応です。",
|
|
92
|
-
"あなたが世界で見たいと思う変化そのものになりなさい。",
|
|
93
|
-
"未来を予測する最良の方法は、それを創り出すことです。",
|
|
94
|
-
"シンプルさは究極の洗練です。",
|
|
95
|
-
"あなたは自らの運命の主人であり、自らの魂の指揮官です。",
|
|
96
|
-
"近いうちに、あなたの視点を変えるようなニュースを受け取るでしょう。",
|
|
97
|
-
"予期せぬ旅があなたに大きな喜びをもたらすでしょう。"
|
|
98
|
-
]),
|
|
99
|
-
faqTitle: 'FAQ',
|
|
100
|
-
},
|
|
101
|
-
seo: [
|
|
102
|
-
{ type: 'title', text: 'フォーチュンクッキーの謎', level: 2 },
|
|
103
|
-
{ type: 'paragraph', html: 'この不思議なクッキーがどこから来たのか、考えたことはありますか?中華料理のイメージが強いですが、その起源は日本とアメリカをまたぐ興味深い旅の歴史です。今日私たちが知っているフォーチュンクッキーは、20世紀初頭のカリフォルニアで発明された可能性が高く、中国本土ではほとんど知られていません。' },
|
|
104
|
-
{ type: 'tip', title: '神託の仕組み', html: '毎日一回、クッキーを開くことができます。システムが運勢を24時間保存します。占いの結果はブラウザのローカルにのみ保存され、完全にプライベートです。サーバーとの通信もありません。明日また新しい予言を見に来てください!' },
|
|
105
|
-
{ type: 'title', text: '神託の哲学', level: 3 },
|
|
106
|
-
{ type: 'paragraph', html: '人類は古来より、不確実な時代に導きを求めてきました。デルポイの神託から易経にいたるまで、占いのシステムには一貫した心理的機能があります。それは、私たちに<strong>「立ち止まり、内省する」</strong>許可を与えることです。フォーチュンクッキーは未来を当てるものではなく、未来について考えるきっかけをくれるものです。' },
|
|
107
|
-
{ type: 'list', items: [
|
|
108
|
-
'<strong>古代中国:</strong> 易経(紀元前1000年頃)は、六十四卦を用いて決断を導き、運命を解釈しました。',
|
|
109
|
-
'<strong>古典ギリシャ:</strong> デルポイの神託は、神の導きとされる難解な宣告を求め、統治者や市民を惹きつけました。',
|
|
110
|
-
'<strong>現代日本:</strong> 神社にある「おみくじ」は、木の枝に結びつけられ、運命と儀式を融合させています。',
|
|
111
|
-
'<strong>20世紀アメリカ:</strong> フォーチュンクッキーは日系アメリカ人コミュニティで生まれ、のちに中華系アメリカ料理の代名詞となりました。'
|
|
112
|
-
]},
|
|
113
|
-
{ type: 'stats', items: [
|
|
114
|
-
{ value: '30億個以上', label: '年間で製造されるクッキーの数', icon: 'mdi:cookie' },
|
|
115
|
-
{ value: '紀元前1000年頃', label: '易経の起源', icon: 'mdi:book-open-variant' },
|
|
116
|
-
{ value: '25', label: '収録されているメッセージ数', icon: 'mdi:star-shooting' },
|
|
117
|
-
{ value: '1回/日', label: '一日に占える回数', icon: 'mdi:calendar-today' }
|
|
118
|
-
], columns: 4 }
|
|
119
|
-
],
|
|
120
|
-
faq,
|
|
121
|
-
bibliography,
|
|
122
|
-
howTo,
|
|
123
|
-
schemas: [faqSchema as any, howToSchema as any, appSchema],
|
|
124
|
-
};
|
|
1
|
+
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import type { FortuneCookieLocaleContent } from '../index';
|
|
3
|
+
import { bibliography } from '../bibliography';
|
|
4
|
+
|
|
5
|
+
const slug = 'fortune-cookie';
|
|
6
|
+
const title = 'フォーチュンクッキー';
|
|
7
|
+
const description = '一日の運勢を確認し、ラッキーナンバーを見つけましょう。一日に一回、クリックで運勢を占うことができます。';
|
|
8
|
+
|
|
9
|
+
const faq: FortuneCookieLocaleContent['faq'] = [
|
|
10
|
+
{
|
|
11
|
+
question: '一日に複数のクッキーを開くことはできますか?',
|
|
12
|
+
answer: '運命が語るのは一日に一度だけです。占いの結果はデバイスに保存され、その日一日あなたを導きます。'
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
question: '占いの内容はランダムに生成されますか?',
|
|
16
|
+
answer: 'はい。毎日ランダムに一つのメッセージが選ばれ、ローカルに保存されます。25種類のメッセージはすべて等しい確率で選ばれるため、毎日変化を楽しむことができます。'
|
|
17
|
+
}
|
|
18
|
+
];
|
|
19
|
+
|
|
20
|
+
const howTo: FortuneCookieLocaleContent['howTo'] = [
|
|
21
|
+
{ name: 'クッキーを割る', text: 'クッキーを繰り返しクリックして割ります。' },
|
|
22
|
+
{ name: 'メッセージを読む', text: '中に隠されたメッセージと、その日のラッキーナンバーを確認します。' }
|
|
23
|
+
];
|
|
24
|
+
|
|
25
|
+
const faqSchema: WithContext<FAQPage> = {
|
|
26
|
+
'@context': 'https://schema.org',
|
|
27
|
+
'@type': 'FAQPage',
|
|
28
|
+
mainEntity: faq.map((item) => ({
|
|
29
|
+
'@type': 'Question',
|
|
30
|
+
name: item.question,
|
|
31
|
+
acceptedAnswer: { '@type': 'Answer', text: item.answer },
|
|
32
|
+
})),
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
const howToSchema: WithContext<HowTo> = {
|
|
36
|
+
'@context': 'https://schema.org',
|
|
37
|
+
'@type': 'HowTo',
|
|
38
|
+
name: title,
|
|
39
|
+
description,
|
|
40
|
+
step: howTo.map((step) => ({
|
|
41
|
+
'@type': 'HowToStep',
|
|
42
|
+
name: step.name,
|
|
43
|
+
text: step.text,
|
|
44
|
+
})),
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
const appSchema: WithContext<SoftwareApplication> = {
|
|
48
|
+
'@context': 'https://schema.org',
|
|
49
|
+
'@type': 'SoftwareApplication',
|
|
50
|
+
name: title,
|
|
51
|
+
description,
|
|
52
|
+
applicationCategory: 'UtilitiesApplication',
|
|
53
|
+
operatingSystem: 'Web',
|
|
54
|
+
offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
|
|
55
|
+
inLanguage: 'ja',
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export const content: FortuneCookieLocaleContent = {
|
|
59
|
+
slug,
|
|
60
|
+
title,
|
|
61
|
+
description,
|
|
62
|
+
faqTitle: 'よくある質問',
|
|
63
|
+
ui: {
|
|
64
|
+
title: 'オンライン・フォーチュンクッキー',
|
|
65
|
+
description: 'あなたの毎日のデジタル神託。',
|
|
66
|
+
instruction: 'クッキーを叩いて運命を開きましょう',
|
|
67
|
+
dailyStatus: '本日の運勢はすでに公開されています。',
|
|
68
|
+
shareBtn: '知恵を共有する',
|
|
69
|
+
shareTitle: '私のフォーチュンクッキー',
|
|
70
|
+
shareText: '神託が語りました:"$TEXT"\n私のラッキーナンバー:$NUMS\n\nここからあなたの運勢を占う:',
|
|
71
|
+
copied: 'コピーしました!',
|
|
72
|
+
fortunes: JSON.stringify([
|
|
73
|
+
"あなたが探している幸福は、別のクッキーの中にあります。",
|
|
74
|
+
"日を数えるのではなく、日々を数え上げるものにしなさい。",
|
|
75
|
+
"千里の道も一歩から始まります。",
|
|
76
|
+
"失敗は発見の序文です。",
|
|
77
|
+
"学ぶ能力こそがあなたの最大の財産です。",
|
|
78
|
+
"微笑んでください。宇宙があなたを見守っています。",
|
|
79
|
+
"忍耐は根は苦いが、その実はとても甘い木です。",
|
|
80
|
+
"ゆっくり成長することを恐れず、ただ立ち止まっていることだけを恐れなさい。",
|
|
81
|
+
"今日は、昨日あなたが心配していた明日です。",
|
|
82
|
+
"幸福はあらかじめ作られたものではありません。それはあなた自身の行動から生まれます。",
|
|
83
|
+
"風向きを変えられないなら、帆を調整しなさい。",
|
|
84
|
+
"今植えたものが、のちに収穫するものとなります。",
|
|
85
|
+
"創造性とは、知性が楽しんでいる状態です。",
|
|
86
|
+
"間違いを探すのではなく、解決策を探しなさい。",
|
|
87
|
+
"あなたの態度(Attitude)こそが、あなたの高度(Altitude)を決めます。資質(Aptitude)ではありません。",
|
|
88
|
+
"成功とは、毎日繰り返される小さな努力の積み重ねです。",
|
|
89
|
+
"できると信じれば、道は半分開けたも同然です。",
|
|
90
|
+
"素晴らしい仕事をする唯一の方法は、自分の仕事を愛することです。",
|
|
91
|
+
"人生の10%はあなたに起こることで、90%はそれに対するあなたの反応です。",
|
|
92
|
+
"あなたが世界で見たいと思う変化そのものになりなさい。",
|
|
93
|
+
"未来を予測する最良の方法は、それを創り出すことです。",
|
|
94
|
+
"シンプルさは究極の洗練です。",
|
|
95
|
+
"あなたは自らの運命の主人であり、自らの魂の指揮官です。",
|
|
96
|
+
"近いうちに、あなたの視点を変えるようなニュースを受け取るでしょう。",
|
|
97
|
+
"予期せぬ旅があなたに大きな喜びをもたらすでしょう。"
|
|
98
|
+
]),
|
|
99
|
+
faqTitle: 'FAQ',
|
|
100
|
+
},
|
|
101
|
+
seo: [
|
|
102
|
+
{ type: 'title', text: 'フォーチュンクッキーの謎', level: 2 },
|
|
103
|
+
{ type: 'paragraph', html: 'この不思議なクッキーがどこから来たのか、考えたことはありますか?中華料理のイメージが強いですが、その起源は日本とアメリカをまたぐ興味深い旅の歴史です。今日私たちが知っているフォーチュンクッキーは、20世紀初頭のカリフォルニアで発明された可能性が高く、中国本土ではほとんど知られていません。' },
|
|
104
|
+
{ type: 'tip', title: '神託の仕組み', html: '毎日一回、クッキーを開くことができます。システムが運勢を24時間保存します。占いの結果はブラウザのローカルにのみ保存され、完全にプライベートです。サーバーとの通信もありません。明日また新しい予言を見に来てください!' },
|
|
105
|
+
{ type: 'title', text: '神託の哲学', level: 3 },
|
|
106
|
+
{ type: 'paragraph', html: '人類は古来より、不確実な時代に導きを求めてきました。デルポイの神託から易経にいたるまで、占いのシステムには一貫した心理的機能があります。それは、私たちに<strong>「立ち止まり、内省する」</strong>許可を与えることです。フォーチュンクッキーは未来を当てるものではなく、未来について考えるきっかけをくれるものです。' },
|
|
107
|
+
{ type: 'list', items: [
|
|
108
|
+
'<strong>古代中国:</strong> 易経(紀元前1000年頃)は、六十四卦を用いて決断を導き、運命を解釈しました。',
|
|
109
|
+
'<strong>古典ギリシャ:</strong> デルポイの神託は、神の導きとされる難解な宣告を求め、統治者や市民を惹きつけました。',
|
|
110
|
+
'<strong>現代日本:</strong> 神社にある「おみくじ」は、木の枝に結びつけられ、運命と儀式を融合させています。',
|
|
111
|
+
'<strong>20世紀アメリカ:</strong> フォーチュンクッキーは日系アメリカ人コミュニティで生まれ、のちに中華系アメリカ料理の代名詞となりました。'
|
|
112
|
+
]},
|
|
113
|
+
{ type: 'stats', items: [
|
|
114
|
+
{ value: '30億個以上', label: '年間で製造されるクッキーの数', icon: 'mdi:cookie' },
|
|
115
|
+
{ value: '紀元前1000年頃', label: '易経の起源', icon: 'mdi:book-open-variant' },
|
|
116
|
+
{ value: '25', label: '収録されているメッセージ数', icon: 'mdi:star-shooting' },
|
|
117
|
+
{ value: '1回/日', label: '一日に占える回数', icon: 'mdi:calendar-today' }
|
|
118
|
+
], columns: 4 }
|
|
119
|
+
],
|
|
120
|
+
faq,
|
|
121
|
+
bibliography,
|
|
122
|
+
howTo,
|
|
123
|
+
schemas: [faqSchema as any, howToSchema as any, appSchema],
|
|
124
|
+
};
|