@nohemia/widgets 0.1.1 → 0.1.2
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/README.de.md +19 -19
- package/README.es.md +19 -19
- package/README.fr.md +19 -19
- package/README.it.md +19 -19
- package/README.ja.md +19 -19
- package/README.ko.md +19 -19
- package/README.md +39 -15
- package/README.pl.md +19 -19
- package/README.pt.md +19 -19
- package/README.tr.md +19 -19
- package/examples/index.html +3 -3
- package/package.json +1 -1
- package/src/nohemia-widget.js +44 -17
package/README.de.md
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
**Kostenlose, einbettbare Astrologie- und Mond-Widgets für jede Website.** Echte Ephemeriden-Daten, jede Nacht aktualisiert, ohne Konto, ohne Tracking, ohne JavaScript. Eine einzige HTML-Zeile einfügen, fertig.
|
|
6
6
|
|
|
7
|
-
Erstellt und gepflegt von [Jade Nohemia](https://nohemia.com/
|
|
8
|
-
Galerie und Live-Vorschauen: **[nohemia.com/
|
|
7
|
+
Erstellt und gepflegt von [Jade Nohemia](https://nohemia.com/de/auteur/jade/) auf **[nohemia.com](https://nohemia.com/de/)**.
|
|
8
|
+
Galerie und Live-Vorschauen: **[nohemia.com/de/widgets](https://nohemia.com/de/widgets/)**.
|
|
9
9
|
|
|
10
10
|
> Des widgets d'astrologie gratuits pour ton site. La lune du jour, le ciel du moment : un petit cadre
|
|
11
11
|
> soigné à coller en deux copier-coller, recalculé chaque nuit à partir d'une éphéméride réelle.
|
|
@@ -17,11 +17,11 @@ Galerie und Live-Vorschauen: **[nohemia.com/en/widgets](https://nohemia.com/en/w
|
|
|
17
17
|
Füge das einfach irgendwo auf deiner Seite ein. Es funktioniert auf jeder Website, die HTML akzeptiert (WordPress, Wix, Squarespace, Webflow, Ghost, Shopify, eine statische Seite ...).
|
|
18
18
|
|
|
19
19
|
```html
|
|
20
|
-
<iframe src="https://nohemia.com/
|
|
20
|
+
<iframe src="https://nohemia.com/de/widgets/mond/hell-m/"
|
|
21
21
|
width="300" height="210" loading="lazy"
|
|
22
22
|
title="Calendrier lunaire" style="border:0;border-radius:12px;max-width:100%"></iframe>
|
|
23
23
|
<p style="font:12px/1.4 system-ui,sans-serif;text-align:center;margin:6px 0 0">
|
|
24
|
-
<a href="https://nohemia.com/
|
|
24
|
+
<a href="https://nohemia.com/de/" rel="nofollow">Calendrier lunaire par Nohemia</a>
|
|
25
25
|
</p>
|
|
26
26
|
```
|
|
27
27
|
|
|
@@ -33,13 +33,13 @@ Die kleine Credit-Zeile ist das einzige Dankeschön, um das wir bitten. Sie ist
|
|
|
33
33
|
|
|
34
34
|
| Widget | `type` | Beschreibung | Größen |
|
|
35
35
|
|--------|--------|-------------|-------|
|
|
36
|
-
| Mond heute | `
|
|
37
|
-
| Himmel heute | `
|
|
36
|
+
| Mond heute | `moon` | Phase, Tierkreiszeichen und nächster Vollmond | `s` (220x140), `m` (300x210) |
|
|
37
|
+
| Himmel heute | `sky` | Sonne und Mond nach Tierkreiszeichen, aktuelle Phase | `s` (230x150), `m` (300x200) |
|
|
38
38
|
|
|
39
|
-
Jeder `type` kommt in zwei Themes (`
|
|
39
|
+
Jeder `type` kommt in zwei Themes (`light` / `dark`) und zwei Größen (`s` / `m`). Das URL-Schema lautet:
|
|
40
40
|
|
|
41
41
|
```
|
|
42
|
-
https://nohemia.com/
|
|
42
|
+
https://nohemia.com/de/widgets/{type}/{theme}-{size}/
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
Weitere Widgets sind in Arbeit: Countdown bis zum Vollmond, Tageshoroskop nach Tierkreiszeichen, laufende Rückläufigkeiten.
|
|
@@ -57,13 +57,13 @@ export function MoonWidget() {
|
|
|
57
57
|
return (
|
|
58
58
|
<>
|
|
59
59
|
<iframe
|
|
60
|
-
src="https://nohemia.com/
|
|
60
|
+
src="https://nohemia.com/de/widgets/mond/hell-m/"
|
|
61
61
|
width={300} height={210} loading="lazy"
|
|
62
62
|
title="Calendrier lunaire"
|
|
63
63
|
style={{ border: 0, borderRadius: 12, maxWidth: '100%' }}
|
|
64
64
|
/>
|
|
65
65
|
<p style={{ font: '12px/1.4 system-ui, sans-serif', textAlign: 'center', margin: '6px 0 0' }}>
|
|
66
|
-
<a href="https://nohemia.com/
|
|
66
|
+
<a href="https://nohemia.com/de/" rel="nofollow">Calendrier lunaire par Nohemia</a>
|
|
67
67
|
</p>
|
|
68
68
|
</>
|
|
69
69
|
)
|
|
@@ -73,7 +73,7 @@ export function MoonWidget() {
|
|
|
73
73
|
### Vue
|
|
74
74
|
```vue
|
|
75
75
|
<template>
|
|
76
|
-
<iframe src="https://nohemia.com/
|
|
76
|
+
<iframe src="https://nohemia.com/de/widgets/himmel/dunkel-m/"
|
|
77
77
|
width="300" height="200" loading="lazy" title="Le ciel du jour"
|
|
78
78
|
style="border:0;border-radius:12px;max-width:100%" />
|
|
79
79
|
</template>
|
|
@@ -95,24 +95,24 @@ npm i @nohemia/widgets
|
|
|
95
95
|
```html
|
|
96
96
|
<script type="module">import '@nohemia/widgets'</script>
|
|
97
97
|
|
|
98
|
-
<nohemia-widget type="
|
|
99
|
-
<nohemia-widget type="
|
|
98
|
+
<nohemia-widget type="moon" locale="de" theme="light" size="m"></nohemia-widget>
|
|
99
|
+
<nohemia-widget type="sky" locale="de" theme="dark" size="s"></nohemia-widget>
|
|
100
100
|
```
|
|
101
101
|
|
|
102
102
|
Oder lade sie direkt von einem CDN, ganz ohne Build-Schritt:
|
|
103
103
|
|
|
104
104
|
```html
|
|
105
105
|
<script type="module" src="https://cdn.jsdelivr.net/npm/@nohemia/widgets"></script>
|
|
106
|
-
<nohemia-widget type="
|
|
106
|
+
<nohemia-widget type="moon" locale="de"></nohemia-widget>
|
|
107
107
|
```
|
|
108
108
|
|
|
109
|
-
Attribute: `type` (`
|
|
109
|
+
Attribute: `type` (`moon` | `sky`), `theme` (`light` | `dark`), `size` (`s` | `m`). Die Komponente rendert lediglich das offizielle iframe, sodass Daten und Gestaltung stets mit nohemia.com synchron bleiben.
|
|
110
110
|
|
|
111
111
|
---
|
|
112
112
|
|
|
113
113
|
## Daten & Aktualität
|
|
114
114
|
|
|
115
|
-
Nichts wird von Hand eingetragen. Phasen, Tierkreiszeichen und Zeiten stammen aus einer echten astronomischen Ephemeride ([astronomy-engine](https://github.com/cosinekitty/astronomy), MIT) und werden jede Nacht neu berechnet. Die Zeiten sind in Europe/Paris angegeben, auf die Minute genau. Dieselben Daten speisen auch den vollständigen [Mondkalender auf nohemia.com](https://nohemia.com/
|
|
115
|
+
Nichts wird von Hand eingetragen. Phasen, Tierkreiszeichen und Zeiten stammen aus einer echten astronomischen Ephemeride ([astronomy-engine](https://github.com/cosinekitty/astronomy), MIT) und werden jede Nacht neu berechnet. Die Zeiten sind in Europe/Paris angegeben, auf die Minute genau. Dieselben Daten speisen auch den vollständigen [Mondkalender auf nohemia.com](https://nohemia.com/de/calendrier-pleines-lunes/).
|
|
116
116
|
|
|
117
117
|
Du kannst auch das rohe JSON auslesen, wenn du dir etwas Eigenes bauen möchtest:
|
|
118
118
|
`https://nohemia.com/widgets/lune/data.json` (heutige Phase, nächster Voll- und Neumond, die zehn kommenden Lunationen).
|
|
@@ -131,10 +131,10 @@ Du kannst auch das rohe JSON auslesen, wenn du dir etwas Eigenes bauen möchtest
|
|
|
131
131
|
|
|
132
132
|
## Links
|
|
133
133
|
|
|
134
|
-
- Website: [nohemia.com](https://nohemia.com/
|
|
135
|
-
- Autorin: [Jade Nohemia](https://nohemia.com/
|
|
134
|
+
- Website: [nohemia.com](https://nohemia.com/de/) · Widget-Galerie: [nohemia.com/de/widgets](https://nohemia.com/de/widgets/)
|
|
135
|
+
- Autorin: [Jade Nohemia](https://nohemia.com/de/auteur/jade/)
|
|
136
136
|
- Issues & Ideen: [github.com/jadenohemia/nohemia-widgets/issues](https://github.com/jadenohemia/nohemia-widgets/issues)
|
|
137
137
|
|
|
138
138
|
## Lizenz
|
|
139
139
|
|
|
140
|
-
[MIT](./LICENSE) © Jade Nohemia / Nohemia. Überall einsetzbar, auch kommerziell. Ein Backlink zu [nohemia.com](https://nohemia.com/
|
|
140
|
+
[MIT](./LICENSE) © Jade Nohemia / Nohemia. Überall einsetzbar, auch kommerziell. Ein Backlink zu [nohemia.com](https://nohemia.com/de/) freut uns, ist aber niemals Pflicht.
|
package/README.es.md
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
**Widgets gratuitos e integrables de astrología y luna para cualquier web.** Datos de efemérides reales, actualizados cada
|
|
6
6
|
noche, sin cuenta, sin rastreo y sin necesidad de JavaScript. Pega una línea de HTML y listo.
|
|
7
7
|
|
|
8
|
-
Creado y mantenido por [Jade Nohemia](https://nohemia.com/
|
|
9
|
-
Galería y vistas previas en directo: **[nohemia.com/
|
|
8
|
+
Creado y mantenido por [Jade Nohemia](https://nohemia.com/es/auteur/jade/) en **[nohemia.com](https://nohemia.com/es/)**.
|
|
9
|
+
Galería y vistas previas en directo: **[nohemia.com/es/widgets](https://nohemia.com/es/widgets/)**.
|
|
10
10
|
|
|
11
11
|
> Des widgets d'astrologie gratuits pour ton site. La lune du jour, le ciel du moment : un petit cadre
|
|
12
12
|
> soigné à coller en deux copier-coller, recalculé chaque nuit à partir d'une éphéméride réelle.
|
|
@@ -19,11 +19,11 @@ Pega esto en cualquier parte de tu página. Funciona en cualquier sitio que admi
|
|
|
19
19
|
Webflow, Ghost, Shopify, una página estática...).
|
|
20
20
|
|
|
21
21
|
```html
|
|
22
|
-
<iframe src="https://nohemia.com/
|
|
22
|
+
<iframe src="https://nohemia.com/es/widgets/luna/claro-m/"
|
|
23
23
|
width="300" height="210" loading="lazy"
|
|
24
24
|
title="Calendrier lunaire" style="border:0;border-radius:12px;max-width:100%"></iframe>
|
|
25
25
|
<p style="font:12px/1.4 system-ui,sans-serif;text-align:center;margin:6px 0 0">
|
|
26
|
-
<a href="https://nohemia.com/
|
|
26
|
+
<a href="https://nohemia.com/es/" rel="nofollow">Calendrier lunaire par Nohemia</a>
|
|
27
27
|
</p>
|
|
28
28
|
```
|
|
29
29
|
|
|
@@ -36,13 +36,13 @@ widget seguirá funcionando exactamente igual.
|
|
|
36
36
|
|
|
37
37
|
| Widget | `type` | Descripción | Tamaños |
|
|
38
38
|
|--------|--------|-------------|-------|
|
|
39
|
-
| La luna hoy | `
|
|
40
|
-
| El cielo hoy | `
|
|
39
|
+
| La luna hoy | `moon` | Fase, signo y próxima luna llena | `s` (220x140), `m` (300x210) |
|
|
40
|
+
| El cielo hoy | `sky` | Sol y Luna por signo, fase actual | `s` (230x150), `m` (300x200) |
|
|
41
41
|
|
|
42
|
-
Cada `type` viene en dos temas (`
|
|
42
|
+
Cada `type` viene en dos temas (`light` / `dark`) y dos tamaños (`s` / `m`). El patrón de la URL es:
|
|
43
43
|
|
|
44
44
|
```
|
|
45
|
-
https://nohemia.com/
|
|
45
|
+
https://nohemia.com/es/widgets/{type}/{theme}-{size}/
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
Pronto llegarán más widgets: cuenta atrás para la luna llena, horóscopo diario por signo y retrógrados en curso.
|
|
@@ -61,13 +61,13 @@ export function MoonWidget() {
|
|
|
61
61
|
return (
|
|
62
62
|
<>
|
|
63
63
|
<iframe
|
|
64
|
-
src="https://nohemia.com/
|
|
64
|
+
src="https://nohemia.com/es/widgets/luna/claro-m/"
|
|
65
65
|
width={300} height={210} loading="lazy"
|
|
66
66
|
title="Calendrier lunaire"
|
|
67
67
|
style={{ border: 0, borderRadius: 12, maxWidth: '100%' }}
|
|
68
68
|
/>
|
|
69
69
|
<p style={{ font: '12px/1.4 system-ui, sans-serif', textAlign: 'center', margin: '6px 0 0' }}>
|
|
70
|
-
<a href="https://nohemia.com/
|
|
70
|
+
<a href="https://nohemia.com/es/" rel="nofollow">Calendrier lunaire par Nohemia</a>
|
|
71
71
|
</p>
|
|
72
72
|
</>
|
|
73
73
|
)
|
|
@@ -77,7 +77,7 @@ export function MoonWidget() {
|
|
|
77
77
|
### Vue
|
|
78
78
|
```vue
|
|
79
79
|
<template>
|
|
80
|
-
<iframe src="https://nohemia.com/
|
|
80
|
+
<iframe src="https://nohemia.com/es/widgets/cielo/oscuro-m/"
|
|
81
81
|
width="300" height="200" loading="lazy" title="Le ciel du jour"
|
|
82
82
|
style="border:0;border-radius:12px;max-width:100%" />
|
|
83
83
|
</template>
|
|
@@ -99,18 +99,18 @@ npm i @nohemia/widgets
|
|
|
99
99
|
```html
|
|
100
100
|
<script type="module">import '@nohemia/widgets'</script>
|
|
101
101
|
|
|
102
|
-
<nohemia-widget type="
|
|
103
|
-
<nohemia-widget type="
|
|
102
|
+
<nohemia-widget type="moon" locale="es" theme="light" size="m"></nohemia-widget>
|
|
103
|
+
<nohemia-widget type="sky" locale="es" theme="dark" size="s"></nohemia-widget>
|
|
104
104
|
```
|
|
105
105
|
|
|
106
106
|
O cárgalo directamente desde un CDN, sin paso de compilación:
|
|
107
107
|
|
|
108
108
|
```html
|
|
109
109
|
<script type="module" src="https://cdn.jsdelivr.net/npm/@nohemia/widgets"></script>
|
|
110
|
-
<nohemia-widget type="
|
|
110
|
+
<nohemia-widget type="moon" locale="es"></nohemia-widget>
|
|
111
111
|
```
|
|
112
112
|
|
|
113
|
-
Atributos: `type` (`
|
|
113
|
+
Atributos: `type` (`moon` | `sky`), `theme` (`light` | `dark`), `size` (`s` | `m`). El componente
|
|
114
114
|
se limita a renderizar el iframe oficial, así que los datos y el estilo se mantienen sincronizados con nohemia.com.
|
|
115
115
|
|
|
116
116
|
---
|
|
@@ -120,7 +120,7 @@ se limita a renderizar el iframe oficial, así que los datos y el estilo se mant
|
|
|
120
120
|
Nada está escrito a mano. Las fases, los signos y las horas provienen de una efeméride astronómica real
|
|
121
121
|
([astronomy-engine](https://github.com/cosinekitty/astronomy), MIT), recalculada cada noche. Las horas se
|
|
122
122
|
indican en Europe/Paris, al minuto. Los mismos datos alimentan el
|
|
123
|
-
[calendario lunar completo en nohemia.com](https://nohemia.com/
|
|
123
|
+
[calendario lunar completo en nohemia.com](https://nohemia.com/es/calendrier-pleines-lunes/).
|
|
124
124
|
|
|
125
125
|
También puedes leer el JSON en bruto si quieres crear el tuyo propio:
|
|
126
126
|
`https://nohemia.com/widgets/lune/data.json` (la fase de hoy, la próxima luna llena y luna nueva, y las diez próximas lunaciones).
|
|
@@ -139,11 +139,11 @@ También puedes leer el JSON en bruto si quieres crear el tuyo propio:
|
|
|
139
139
|
|
|
140
140
|
## Enlaces
|
|
141
141
|
|
|
142
|
-
- Sitio: [nohemia.com](https://nohemia.com/
|
|
143
|
-
- Autora: [Jade Nohemia](https://nohemia.com/
|
|
142
|
+
- Sitio: [nohemia.com](https://nohemia.com/es/) · Galería de widgets: [nohemia.com/es/widgets](https://nohemia.com/es/widgets/)
|
|
143
|
+
- Autora: [Jade Nohemia](https://nohemia.com/es/auteur/jade/)
|
|
144
144
|
- Incidencias e ideas: [github.com/jadenohemia/nohemia-widgets/issues](https://github.com/jadenohemia/nohemia-widgets/issues)
|
|
145
145
|
|
|
146
146
|
## Licencia
|
|
147
147
|
|
|
148
148
|
[MIT](./LICENSE) © Jade Nohemia / Nohemia. Úsalos donde quieras, incluso con fines comerciales. Un enlace de vuelta a
|
|
149
|
-
[nohemia.com](https://nohemia.com/
|
|
149
|
+
[nohemia.com](https://nohemia.com/es/) se agradece, pero nunca es obligatorio.
|
package/README.fr.md
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
**Des widgets d'astrologie et de lune gratuits, à intégrer sur n'importe quel site.** Données d'éphéméride réelles, recalculées chaque nuit, sans compte, sans pistage, sans JavaScript. Une ligne de HTML à coller, et c'est prêt.
|
|
6
6
|
|
|
7
|
-
Conçus et entretenus par [Jade Nohemia](https://nohemia.com/
|
|
8
|
-
Galerie et aperçus en direct : **[nohemia.com/
|
|
7
|
+
Conçus et entretenus par [Jade Nohemia](https://nohemia.com/fr/auteur/jade/) sur **[nohemia.com](https://nohemia.com/fr/)**.
|
|
8
|
+
Galerie et aperçus en direct : **[nohemia.com/fr/widgets](https://nohemia.com/fr/widgets/)**.
|
|
9
9
|
|
|
10
10
|
> Des widgets d'astrologie gratuits pour ton site. La lune du jour, le ciel du moment : un petit cadre soigné à coller en deux copier-coller, recalculé chaque nuit à partir d'une éphéméride réelle.
|
|
11
11
|
|
|
@@ -16,11 +16,11 @@ Galerie et aperçus en direct : **[nohemia.com/en/widgets](https://nohemia.com/e
|
|
|
16
16
|
Collez ce code n'importe où dans votre page. Il fonctionne sur tous les sites qui acceptent du HTML (WordPress, Wix, Squarespace, Webflow, Ghost, Shopify, une page statique…).
|
|
17
17
|
|
|
18
18
|
```html
|
|
19
|
-
<iframe src="https://nohemia.com/
|
|
19
|
+
<iframe src="https://nohemia.com/fr/widgets/lune/clair-m/"
|
|
20
20
|
width="300" height="210" loading="lazy"
|
|
21
21
|
title="Calendrier lunaire" style="border:0;border-radius:12px;max-width:100%"></iframe>
|
|
22
22
|
<p style="font:12px/1.4 system-ui,sans-serif;text-align:center;margin:6px 0 0">
|
|
23
|
-
<a href="https://nohemia.com/
|
|
23
|
+
<a href="https://nohemia.com/fr/" rel="nofollow">Calendrier lunaire par Nohemia</a>
|
|
24
24
|
</p>
|
|
25
25
|
```
|
|
26
26
|
|
|
@@ -32,13 +32,13 @@ Cette petite ligne de crédit est le seul remerciement que nous demandons. Elle
|
|
|
32
32
|
|
|
33
33
|
| Widget | `type` | Description | Tailles |
|
|
34
34
|
|--------|--------|-------------|---------|
|
|
35
|
-
| La lune aujourd'hui | `
|
|
36
|
-
| Le ciel aujourd'hui | `
|
|
35
|
+
| La lune aujourd'hui | `moon` | Phase, signe et prochaine pleine lune | `s` (220x140), `m` (300x210) |
|
|
36
|
+
| Le ciel aujourd'hui | `sky` | Soleil et Lune par signe, phase actuelle | `s` (230x150), `m` (300x200) |
|
|
37
37
|
|
|
38
|
-
Chaque `type` est proposé en deux thèmes (`
|
|
38
|
+
Chaque `type` est proposé en deux thèmes (`light` / `dark`) et deux tailles (`s` / `m`). Le motif d'URL est le suivant :
|
|
39
39
|
|
|
40
40
|
```
|
|
41
|
-
https://nohemia.com/
|
|
41
|
+
https://nohemia.com/fr/widgets/{type}/{theme}-{size}/
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
D'autres widgets arrivent : compte à rebours jusqu'à la pleine lune, horoscope quotidien par signe, rétrogradations en cours.
|
|
@@ -56,13 +56,13 @@ export function MoonWidget() {
|
|
|
56
56
|
return (
|
|
57
57
|
<>
|
|
58
58
|
<iframe
|
|
59
|
-
src="https://nohemia.com/
|
|
59
|
+
src="https://nohemia.com/fr/widgets/lune/clair-m/"
|
|
60
60
|
width={300} height={210} loading="lazy"
|
|
61
61
|
title="Calendrier lunaire"
|
|
62
62
|
style={{ border: 0, borderRadius: 12, maxWidth: '100%' }}
|
|
63
63
|
/>
|
|
64
64
|
<p style={{ font: '12px/1.4 system-ui, sans-serif', textAlign: 'center', margin: '6px 0 0' }}>
|
|
65
|
-
<a href="https://nohemia.com/
|
|
65
|
+
<a href="https://nohemia.com/fr/" rel="nofollow">Calendrier lunaire par Nohemia</a>
|
|
66
66
|
</p>
|
|
67
67
|
</>
|
|
68
68
|
)
|
|
@@ -72,7 +72,7 @@ export function MoonWidget() {
|
|
|
72
72
|
### Vue
|
|
73
73
|
```vue
|
|
74
74
|
<template>
|
|
75
|
-
<iframe src="https://nohemia.com/
|
|
75
|
+
<iframe src="https://nohemia.com/fr/widgets/ciel/sombre-m/"
|
|
76
76
|
width="300" height="200" loading="lazy" title="Le ciel du jour"
|
|
77
77
|
style="border:0;border-radius:12px;max-width:100%" />
|
|
78
78
|
</template>
|
|
@@ -94,24 +94,24 @@ npm i @nohemia/widgets
|
|
|
94
94
|
```html
|
|
95
95
|
<script type="module">import '@nohemia/widgets'</script>
|
|
96
96
|
|
|
97
|
-
<nohemia-widget type="
|
|
98
|
-
<nohemia-widget type="
|
|
97
|
+
<nohemia-widget type="moon" locale="fr" theme="light" size="m"></nohemia-widget>
|
|
98
|
+
<nohemia-widget type="sky" locale="fr" theme="dark" size="s"></nohemia-widget>
|
|
99
99
|
```
|
|
100
100
|
|
|
101
101
|
Ou chargez-le directement depuis un CDN, sans étape de build :
|
|
102
102
|
|
|
103
103
|
```html
|
|
104
104
|
<script type="module" src="https://cdn.jsdelivr.net/npm/@nohemia/widgets"></script>
|
|
105
|
-
<nohemia-widget type="
|
|
105
|
+
<nohemia-widget type="moon" locale="fr"></nohemia-widget>
|
|
106
106
|
```
|
|
107
107
|
|
|
108
|
-
Attributs : `type` (`
|
|
108
|
+
Attributs : `type` (`moon` | `sky`), `theme` (`light` | `dark`), `size` (`s` | `m`). Le composant se contente d'afficher l'iframe officielle : les données et le style restent donc synchronisés avec nohemia.com.
|
|
109
109
|
|
|
110
110
|
---
|
|
111
111
|
|
|
112
112
|
## Données et fraîcheur
|
|
113
113
|
|
|
114
|
-
Rien n'est saisi à la main. Les phases, les signes et les horaires proviennent d'une véritable éphéméride astronomique ([astronomy-engine](https://github.com/cosinekitty/astronomy), MIT), recalculée chaque nuit. Les horaires sont donnés en Europe/Paris, à la minute près. Ces mêmes données alimentent l'intégralité du [calendrier lunaire sur nohemia.com](https://nohemia.com/
|
|
114
|
+
Rien n'est saisi à la main. Les phases, les signes et les horaires proviennent d'une véritable éphéméride astronomique ([astronomy-engine](https://github.com/cosinekitty/astronomy), MIT), recalculée chaque nuit. Les horaires sont donnés en Europe/Paris, à la minute près. Ces mêmes données alimentent l'intégralité du [calendrier lunaire sur nohemia.com](https://nohemia.com/fr/calendrier-pleines-lunes/).
|
|
115
115
|
|
|
116
116
|
Vous pouvez aussi lire le JSON brut si vous voulez construire le vôtre :
|
|
117
117
|
`https://nohemia.com/widgets/lune/data.json` (la phase du jour, les prochaines pleine et nouvelle lunes, et les dix prochaines lunaisons).
|
|
@@ -130,10 +130,10 @@ Vous pouvez aussi lire le JSON brut si vous voulez construire le vôtre :
|
|
|
130
130
|
|
|
131
131
|
## Liens
|
|
132
132
|
|
|
133
|
-
- Site : [nohemia.com](https://nohemia.com/
|
|
134
|
-
- Autrice : [Jade Nohemia](https://nohemia.com/
|
|
133
|
+
- Site : [nohemia.com](https://nohemia.com/fr/) · Galerie des widgets : [nohemia.com/fr/widgets](https://nohemia.com/fr/widgets/)
|
|
134
|
+
- Autrice : [Jade Nohemia](https://nohemia.com/fr/auteur/jade/)
|
|
135
135
|
- Bugs et idées : [github.com/jadenohemia/nohemia-widgets/issues](https://github.com/jadenohemia/nohemia-widgets/issues)
|
|
136
136
|
|
|
137
137
|
## Licence
|
|
138
138
|
|
|
139
|
-
[MIT](./LICENSE) © Jade Nohemia / Nohemia. Utilisez-les partout, y compris à des fins commerciales. Un lien de retour vers [nohemia.com](https://nohemia.com/
|
|
139
|
+
[MIT](./LICENSE) © Jade Nohemia / Nohemia. Utilisez-les partout, y compris à des fins commerciales. Un lien de retour vers [nohemia.com](https://nohemia.com/fr/) est apprécié, mais jamais obligatoire.
|
package/README.it.md
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
**Widget gratuiti e incorporabili di astrologia e fasi lunari per qualsiasi sito web.** Dati di effemeridi reali, aggiornati ogni notte, senza account, senza tracciamento, senza JavaScript. Incolli una riga di HTML e il gioco è fatto.
|
|
6
6
|
|
|
7
|
-
Creati e gestiti da [Jade Nohemia](https://nohemia.com/
|
|
8
|
-
Galleria e anteprime dal vivo: **[nohemia.com/
|
|
7
|
+
Creati e gestiti da [Jade Nohemia](https://nohemia.com/it/auteur/jade/) su **[nohemia.com](https://nohemia.com/it/)**.
|
|
8
|
+
Galleria e anteprime dal vivo: **[nohemia.com/it/widgets](https://nohemia.com/it/widgets/)**.
|
|
9
9
|
|
|
10
10
|
> Des widgets d'astrologie gratuits pour ton site. La lune du jour, le ciel du moment : un petit cadre
|
|
11
11
|
> soigné à coller en deux copier-coller, recalculé chaque nuit à partir d'une éphéméride réelle.
|
|
@@ -17,11 +17,11 @@ Galleria e anteprime dal vivo: **[nohemia.com/en/widgets](https://nohemia.com/en
|
|
|
17
17
|
Incolla questo codice ovunque nella tua pagina. Funziona su qualsiasi sito che accetti HTML (WordPress, Wix, Squarespace, Webflow, Ghost, Shopify, una pagina statica...).
|
|
18
18
|
|
|
19
19
|
```html
|
|
20
|
-
<iframe src="https://nohemia.com/
|
|
20
|
+
<iframe src="https://nohemia.com/it/widgets/luna/chiaro-m/"
|
|
21
21
|
width="300" height="210" loading="lazy"
|
|
22
22
|
title="Calendrier lunaire" style="border:0;border-radius:12px;max-width:100%"></iframe>
|
|
23
23
|
<p style="font:12px/1.4 system-ui,sans-serif;text-align:center;margin:6px 0 0">
|
|
24
|
-
<a href="https://nohemia.com/
|
|
24
|
+
<a href="https://nohemia.com/it/" rel="nofollow">Calendrier lunaire par Nohemia</a>
|
|
25
25
|
</p>
|
|
26
26
|
```
|
|
27
27
|
|
|
@@ -33,13 +33,13 @@ La piccola riga di credito è l'unico ringraziamento che ti chiediamo. È facolt
|
|
|
33
33
|
|
|
34
34
|
| Widget | `type` | Descrizione | Dimensioni |
|
|
35
35
|
|--------|--------|-------------|-------|
|
|
36
|
-
| Luna di oggi | `
|
|
37
|
-
| Cielo di oggi | `
|
|
36
|
+
| Luna di oggi | `moon` | Fase, segno e prossima luna piena | `s` (220x140), `m` (300x210) |
|
|
37
|
+
| Cielo di oggi | `sky` | Sole e Luna per segno, fase attuale | `s` (230x150), `m` (300x200) |
|
|
38
38
|
|
|
39
|
-
Ogni `type` è disponibile in due temi (`
|
|
39
|
+
Ogni `type` è disponibile in due temi (`light` / `dark`) e due dimensioni (`s` / `m`). Lo schema dell'URL è il seguente:
|
|
40
40
|
|
|
41
41
|
```
|
|
42
|
-
https://nohemia.com/
|
|
42
|
+
https://nohemia.com/it/widgets/{type}/{theme}-{size}/
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
Altri widget sono in arrivo: conto alla rovescia per la luna piena, oroscopo del giorno per segno, retrogradazioni in corso.
|
|
@@ -57,13 +57,13 @@ export function MoonWidget() {
|
|
|
57
57
|
return (
|
|
58
58
|
<>
|
|
59
59
|
<iframe
|
|
60
|
-
src="https://nohemia.com/
|
|
60
|
+
src="https://nohemia.com/it/widgets/luna/chiaro-m/"
|
|
61
61
|
width={300} height={210} loading="lazy"
|
|
62
62
|
title="Calendrier lunaire"
|
|
63
63
|
style={{ border: 0, borderRadius: 12, maxWidth: '100%' }}
|
|
64
64
|
/>
|
|
65
65
|
<p style={{ font: '12px/1.4 system-ui, sans-serif', textAlign: 'center', margin: '6px 0 0' }}>
|
|
66
|
-
<a href="https://nohemia.com/
|
|
66
|
+
<a href="https://nohemia.com/it/" rel="nofollow">Calendrier lunaire par Nohemia</a>
|
|
67
67
|
</p>
|
|
68
68
|
</>
|
|
69
69
|
)
|
|
@@ -73,7 +73,7 @@ export function MoonWidget() {
|
|
|
73
73
|
### Vue
|
|
74
74
|
```vue
|
|
75
75
|
<template>
|
|
76
|
-
<iframe src="https://nohemia.com/
|
|
76
|
+
<iframe src="https://nohemia.com/it/widgets/cielo/scuro-m/"
|
|
77
77
|
width="300" height="200" loading="lazy" title="Le ciel du jour"
|
|
78
78
|
style="border:0;border-radius:12px;max-width:100%" />
|
|
79
79
|
</template>
|
|
@@ -95,24 +95,24 @@ npm i @nohemia/widgets
|
|
|
95
95
|
```html
|
|
96
96
|
<script type="module">import '@nohemia/widgets'</script>
|
|
97
97
|
|
|
98
|
-
<nohemia-widget type="
|
|
99
|
-
<nohemia-widget type="
|
|
98
|
+
<nohemia-widget type="moon" locale="it" theme="light" size="m"></nohemia-widget>
|
|
99
|
+
<nohemia-widget type="sky" locale="it" theme="dark" size="s"></nohemia-widget>
|
|
100
100
|
```
|
|
101
101
|
|
|
102
102
|
Oppure caricalo direttamente da una CDN, senza alcun passaggio di build:
|
|
103
103
|
|
|
104
104
|
```html
|
|
105
105
|
<script type="module" src="https://cdn.jsdelivr.net/npm/@nohemia/widgets"></script>
|
|
106
|
-
<nohemia-widget type="
|
|
106
|
+
<nohemia-widget type="moon" locale="it"></nohemia-widget>
|
|
107
107
|
```
|
|
108
108
|
|
|
109
|
-
Attributi: `type` (`
|
|
109
|
+
Attributi: `type` (`moon` | `sky`), `theme` (`light` | `dark`), `size` (`s` | `m`). Il componente si limita a renderizzare l'iframe ufficiale, così i dati e lo stile restano sempre allineati con nohemia.com.
|
|
110
110
|
|
|
111
111
|
---
|
|
112
112
|
|
|
113
113
|
## Dati e freschezza
|
|
114
114
|
|
|
115
|
-
Niente è scritto a mano. Fasi, segni e orari provengono da un'effemeride astronomica reale ([astronomy-engine](https://github.com/cosinekitty/astronomy), MIT), ricalcolata ogni notte. Gli orari sono indicati in Europe/Paris, al minuto. Gli stessi dati alimentano l'intero [calendario lunare su nohemia.com](https://nohemia.com/
|
|
115
|
+
Niente è scritto a mano. Fasi, segni e orari provengono da un'effemeride astronomica reale ([astronomy-engine](https://github.com/cosinekitty/astronomy), MIT), ricalcolata ogni notte. Gli orari sono indicati in Europe/Paris, al minuto. Gli stessi dati alimentano l'intero [calendario lunare su nohemia.com](https://nohemia.com/it/calendrier-pleines-lunes/).
|
|
116
116
|
|
|
117
117
|
Puoi anche leggere il JSON grezzo se vuoi costruire la tua versione:
|
|
118
118
|
`https://nohemia.com/widgets/lune/data.json` (la fase di oggi, la prossima luna piena e luna nuova, le dieci lunazioni successive).
|
|
@@ -131,10 +131,10 @@ Puoi anche leggere il JSON grezzo se vuoi costruire la tua versione:
|
|
|
131
131
|
|
|
132
132
|
## Link
|
|
133
133
|
|
|
134
|
-
- Sito: [nohemia.com](https://nohemia.com/
|
|
135
|
-
- Autrice: [Jade Nohemia](https://nohemia.com/
|
|
134
|
+
- Sito: [nohemia.com](https://nohemia.com/it/) · Galleria dei widget: [nohemia.com/it/widgets](https://nohemia.com/it/widgets/)
|
|
135
|
+
- Autrice: [Jade Nohemia](https://nohemia.com/it/auteur/jade/)
|
|
136
136
|
- Segnalazioni e idee: [github.com/jadenohemia/nohemia-widgets/issues](https://github.com/jadenohemia/nohemia-widgets/issues)
|
|
137
137
|
|
|
138
138
|
## Licenza
|
|
139
139
|
|
|
140
|
-
[MIT](./LICENSE) © Jade Nohemia / Nohemia. Usali ovunque, anche a scopo commerciale. Un link di ritorno a [nohemia.com](https://nohemia.com/
|
|
140
|
+
[MIT](./LICENSE) © Jade Nohemia / Nohemia. Usali ovunque, anche a scopo commerciale. Un link di ritorno a [nohemia.com](https://nohemia.com/it/) è gradito ma mai obbligatorio.
|
package/README.ja.md
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
**どんなWebサイトにもすぐ埋め込める、無料の占星術&月のウィジェット。** 実際の天体暦データを使い、毎晩更新。アカウント不要、トラッキングなし、JavaScript不要です。HTMLを1行貼り付けるだけで完了します。
|
|
6
6
|
|
|
7
|
-
[Jade Nohemia](https://nohemia.com/
|
|
8
|
-
ギャラリーとライブプレビューはこちら:**[nohemia.com/
|
|
7
|
+
[Jade Nohemia](https://nohemia.com/ja/auteur/jade/) が **[nohemia.com](https://nohemia.com/ja/)** で開発・運用しています。
|
|
8
|
+
ギャラリーとライブプレビューはこちら:**[nohemia.com/ja/widgets](https://nohemia.com/ja/widgets/)**。
|
|
9
9
|
|
|
10
10
|
> Des widgets d'astrologie gratuits pour ton site. La lune du jour, le ciel du moment : un petit cadre
|
|
11
11
|
> soigné à coller en deux copier-coller, recalculé chaque nuit à partir d'une éphéméride réelle.
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
ページのどこにでも、これを貼り付けてください。HTMLを受け付けるサイトであればどこでも動作します(WordPress、Wix、Squarespace、Webflow、Ghost、Shopify、静的ページなど)。
|
|
18
18
|
|
|
19
19
|
```html
|
|
20
|
-
<iframe src="https://nohemia.com/
|
|
20
|
+
<iframe src="https://nohemia.com/ja/widgets/tsuki/light-m/"
|
|
21
21
|
width="300" height="210" loading="lazy"
|
|
22
22
|
title="Calendrier lunaire" style="border:0;border-radius:12px;max-width:100%"></iframe>
|
|
23
23
|
<p style="font:12px/1.4 system-ui,sans-serif;text-align:center;margin:6px 0 0">
|
|
24
|
-
<a href="https://nohemia.com/
|
|
24
|
+
<a href="https://nohemia.com/ja/" rel="nofollow">Calendrier lunaire par Nohemia</a>
|
|
25
25
|
</p>
|
|
26
26
|
```
|
|
27
27
|
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
|
|
34
34
|
| ウィジェット | `type` | 説明 | サイズ |
|
|
35
35
|
|--------|--------|-------------|-------|
|
|
36
|
-
| 今日の月 | `
|
|
37
|
-
| 今日の空 | `
|
|
36
|
+
| 今日の月 | `moon` | 月相、星座、次の満月 | `s` (220x140), `m` (300x210) |
|
|
37
|
+
| 今日の空 | `sky` | 星座ごとの太陽と月、現在の月相 | `s` (230x150), `m` (300x200) |
|
|
38
38
|
|
|
39
|
-
それぞれの `type` には2つのテーマ(`
|
|
39
|
+
それぞれの `type` には2つのテーマ(`light` / `dark`)と2つのサイズ(`s` / `m`)が用意されています。URLのパターンは次のとおりです。
|
|
40
40
|
|
|
41
41
|
```
|
|
42
|
-
https://nohemia.com/
|
|
42
|
+
https://nohemia.com/ja/widgets/{type}/{theme}-{size}/
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
さらに多くのウィジェットを準備中です。満月までのカウントダウン、星座別の日々の星占い、進行中の逆行など。
|
|
@@ -57,13 +57,13 @@ export function MoonWidget() {
|
|
|
57
57
|
return (
|
|
58
58
|
<>
|
|
59
59
|
<iframe
|
|
60
|
-
src="https://nohemia.com/
|
|
60
|
+
src="https://nohemia.com/ja/widgets/tsuki/light-m/"
|
|
61
61
|
width={300} height={210} loading="lazy"
|
|
62
62
|
title="Calendrier lunaire"
|
|
63
63
|
style={{ border: 0, borderRadius: 12, maxWidth: '100%' }}
|
|
64
64
|
/>
|
|
65
65
|
<p style={{ font: '12px/1.4 system-ui, sans-serif', textAlign: 'center', margin: '6px 0 0' }}>
|
|
66
|
-
<a href="https://nohemia.com/
|
|
66
|
+
<a href="https://nohemia.com/ja/" rel="nofollow">Calendrier lunaire par Nohemia</a>
|
|
67
67
|
</p>
|
|
68
68
|
</>
|
|
69
69
|
)
|
|
@@ -73,7 +73,7 @@ export function MoonWidget() {
|
|
|
73
73
|
### Vue
|
|
74
74
|
```vue
|
|
75
75
|
<template>
|
|
76
|
-
<iframe src="https://nohemia.com/
|
|
76
|
+
<iframe src="https://nohemia.com/ja/widgets/sora/dark-m/"
|
|
77
77
|
width="300" height="200" loading="lazy" title="Le ciel du jour"
|
|
78
78
|
style="border:0;border-radius:12px;max-width:100%" />
|
|
79
79
|
</template>
|
|
@@ -95,24 +95,24 @@ npm i @nohemia/widgets
|
|
|
95
95
|
```html
|
|
96
96
|
<script type="module">import '@nohemia/widgets'</script>
|
|
97
97
|
|
|
98
|
-
<nohemia-widget type="
|
|
99
|
-
<nohemia-widget type="
|
|
98
|
+
<nohemia-widget type="moon" locale="ja" theme="light" size="m"></nohemia-widget>
|
|
99
|
+
<nohemia-widget type="sky" locale="ja" theme="dark" size="s"></nohemia-widget>
|
|
100
100
|
```
|
|
101
101
|
|
|
102
102
|
あるいは、ビルド手順なしでCDNから直接読み込むこともできます。
|
|
103
103
|
|
|
104
104
|
```html
|
|
105
105
|
<script type="module" src="https://cdn.jsdelivr.net/npm/@nohemia/widgets"></script>
|
|
106
|
-
<nohemia-widget type="
|
|
106
|
+
<nohemia-widget type="moon" locale="ja"></nohemia-widget>
|
|
107
107
|
```
|
|
108
108
|
|
|
109
|
-
属性:`type`(`
|
|
109
|
+
属性:`type`(`moon` | `sky`)、`theme`(`light` | `dark`)、`size`(`s` | `m`)。このコンポーネントは公式のiframeを描画するだけなので、データとスタイルはnohemia.comと常に同期した状態が保たれます。
|
|
110
110
|
|
|
111
111
|
---
|
|
112
112
|
|
|
113
113
|
## データと更新頻度
|
|
114
114
|
|
|
115
|
-
手入力されたものは一切ありません。月相、星座、時刻は、実際の天文暦([astronomy-engine](https://github.com/cosinekitty/astronomy)、MIT)から取得され、毎晩再計算されます。時刻はEurope/Parisで、分単位まで示されます。同じデータが [nohemia.comの月の暦](https://nohemia.com/
|
|
115
|
+
手入力されたものは一切ありません。月相、星座、時刻は、実際の天文暦([astronomy-engine](https://github.com/cosinekitty/astronomy)、MIT)から取得され、毎晩再計算されます。時刻はEurope/Parisで、分単位まで示されます。同じデータが [nohemia.comの月の暦](https://nohemia.com/ja/calendrier-pleines-lunes/) も支えています。
|
|
116
116
|
|
|
117
117
|
自分で何かを作りたい場合は、生のJSONを読み取ることもできます。
|
|
118
118
|
`https://nohemia.com/widgets/lune/data.json`(今日の月相、次の満月と新月、これから訪れる10回の月の周期)。
|
|
@@ -131,10 +131,10 @@ npm i @nohemia/widgets
|
|
|
131
131
|
|
|
132
132
|
## リンク
|
|
133
133
|
|
|
134
|
-
- サイト:[nohemia.com](https://nohemia.com/
|
|
135
|
-
- 著者:[Jade Nohemia](https://nohemia.com/
|
|
134
|
+
- サイト:[nohemia.com](https://nohemia.com/ja/) · ウィジェットギャラリー:[nohemia.com/ja/widgets](https://nohemia.com/ja/widgets/)
|
|
135
|
+
- 著者:[Jade Nohemia](https://nohemia.com/ja/auteur/jade/)
|
|
136
136
|
- 問題報告とアイデア:[github.com/jadenohemia/nohemia-widgets/issues](https://github.com/jadenohemia/nohemia-widgets/issues)
|
|
137
137
|
|
|
138
138
|
## ライセンス
|
|
139
139
|
|
|
140
|
-
[MIT](./LICENSE) © Jade Nohemia / Nohemia。商用利用を含め、どこでも自由にお使いいただけます。[nohemia.com](https://nohemia.com/
|
|
140
|
+
[MIT](./LICENSE) © Jade Nohemia / Nohemia。商用利用を含め、どこでも自由にお使いいただけます。[nohemia.com](https://nohemia.com/ja/) へのリンクバックは歓迎しますが、必須ではありません。
|