@nohemia/widgets 0.1.0 → 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.ko.md CHANGED
@@ -4,8 +4,8 @@
4
4
 
5
5
  **모든 웹사이트에 임베드할 수 있는 무료 점성술 및 달 위젯.** 실제 천문력 데이터를 매일 밤 갱신하며, 계정도, 추적도, JavaScript도 필요 없습니다. HTML 한 줄만 붙여 넣으면 끝입니다.
6
6
 
7
- [Jade Nohemia](https://nohemia.com/fr/auteur/jade/)가 **[nohemia.com](https://nohemia.com/fr/)**에서 제작하고 관리합니다.
8
- 갤러리와 실시간 미리보기: **[nohemia.com/fr/widgets](https://nohemia.com/fr/widgets/)**.
7
+ [Jade Nohemia](https://nohemia.com/ko/auteur/jade/)가 **[nohemia.com](https://nohemia.com/ko/)**에서 제작하고 관리합니다.
8
+ 갤러리와 실시간 미리보기: **[nohemia.com/ko/widgets](https://nohemia.com/ko/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/fr/widgets/lune/clair-m/"
20
+ <iframe src="https://nohemia.com/ko/widgets/dal/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/fr/lune/" rel="nofollow">Calendrier lunaire par Nohemia</a>
24
+ <a href="https://nohemia.com/ko/" rel="nofollow">Calendrier lunaire par Nohemia</a>
25
25
  </p>
26
26
  ```
27
27
 
@@ -33,13 +33,13 @@
33
33
 
34
34
  | Widget | `type` | 설명 | 크기 |
35
35
  |--------|--------|------|------|
36
- | 오늘의 달 | `lune` | 위상, 별자리, 다음 보름달 | `s` (220x140), `m` (300x210) |
37
- | 오늘의 하늘 | `ciel` | 별자리별 태양과 달, 현재 위상 | `s` (230x150), `m` (300x200) |
36
+ | 오늘의 달 | `moon` | 위상, 별자리, 다음 보름달 | `s` (220x140), `m` (300x210) |
37
+ | 오늘의 하늘 | `sky` | 별자리별 태양과 달, 현재 위상 | `s` (230x150), `m` (300x200) |
38
38
 
39
- 각 `type`은 두 가지 테마(`clair` / `sombre`)와 두 가지 크기(`s` / `m`)로 제공됩니다. URL 형식은 다음과 같습니다.
39
+ 각 `type`은 두 가지 테마(`light` / `dark`)와 두 가지 크기(`s` / `m`)로 제공됩니다. URL 형식은 다음과 같습니다.
40
40
 
41
41
  ```
42
- https://nohemia.com/fr/widgets/{type}/{theme}-{size}/
42
+ https://nohemia.com/ko/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/fr/widgets/lune/clair-m/"
60
+ src="https://nohemia.com/ko/widgets/dal/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/fr/lune/" rel="nofollow">Calendrier lunaire par Nohemia</a>
66
+ <a href="https://nohemia.com/ko/" 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/fr/widgets/ciel/sombre-m/"
76
+ <iframe src="https://nohemia.com/ko/widgets/haneul/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="lune" theme="clair" size="m"></nohemia-widget>
99
- <nohemia-widget type="ciel" theme="sombre" size="s"></nohemia-widget>
98
+ <nohemia-widget type="moon" locale="ko" theme="light" size="m"></nohemia-widget>
99
+ <nohemia-widget type="sky" locale="ko" 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="lune"></nohemia-widget>
106
+ <nohemia-widget type="moon" locale="ko"></nohemia-widget>
107
107
  ```
108
108
 
109
- 속성: `type` (`lune` | `ciel`), `theme` (`clair` | `sombre`), `size` (`s` | `m`). 이 컴포넌트는 공식 iframe을 그대로 렌더링하므로, 데이터와 스타일이 nohemia.com과 항상 일치합니다.
109
+ 속성: `type` (`moon` | `sky`), `theme` (`light` | `dark`), `size` (`s` | `m`). 이 컴포넌트는 공식 iframe을 그대로 렌더링하므로, 데이터와 스타일이 nohemia.com과 항상 일치합니다.
110
110
 
111
111
  ---
112
112
 
113
113
  ## Data & freshness
114
114
 
115
- 손으로 입력하는 값은 하나도 없습니다. 위상, 별자리, 시각은 실제 천문력([astronomy-engine](https://github.com/cosinekitty/astronomy), MIT)에서 가져오며, 매일 밤 다시 계산됩니다. 시각은 Europe/Paris 기준으로 분 단위까지 제공됩니다. 동일한 데이터가 [nohemia.com의 음력 달력](https://nohemia.com/fr/lune/calendrier-pleines-lunes/) 전체를 구동합니다.
115
+ 손으로 입력하는 값은 하나도 없습니다. 위상, 별자리, 시각은 실제 천문력([astronomy-engine](https://github.com/cosinekitty/astronomy), MIT)에서 가져오며, 매일 밤 다시 계산됩니다. 시각은 Europe/Paris 기준으로 분 단위까지 제공됩니다. 동일한 데이터가 [nohemia.com의 음력 달력](https://nohemia.com/ko/calendrier-pleines-lunes/) 전체를 구동합니다.
116
116
 
117
117
  직접 무언가를 만들고 싶다면 원본 JSON도 읽을 수 있습니다.
118
118
  `https://nohemia.com/widgets/lune/data.json` (오늘의 위상, 다음 보름달과 그믐달, 다가오는 열 번의 삭망월).
@@ -131,10 +131,10 @@ npm i @nohemia/widgets
131
131
 
132
132
  ## Links
133
133
 
134
- - 사이트: [nohemia.com](https://nohemia.com/fr/) · 위젯 갤러리: [nohemia.com/fr/widgets](https://nohemia.com/fr/widgets/)
135
- - 제작자: [Jade Nohemia](https://nohemia.com/fr/auteur/jade/)
134
+ - 사이트: [nohemia.com](https://nohemia.com/ko/) · 위젯 갤러리: [nohemia.com/ko/widgets](https://nohemia.com/ko/widgets/)
135
+ - 제작자: [Jade Nohemia](https://nohemia.com/ko/auteur/jade/)
136
136
  - 문의 및 아이디어: [github.com/jadenohemia/nohemia-widgets/issues](https://github.com/jadenohemia/nohemia-widgets/issues)
137
137
 
138
138
  ## License
139
139
 
140
- [MIT](./LICENSE) © Jade Nohemia / Nohemia. 상업적 용도를 포함해 어디서나 자유롭게 사용하세요. [nohemia.com](https://nohemia.com/fr/)으로의 링크는 환영하지만 절대 필수는 아닙니다.
140
+ [MIT](./LICENSE) © Jade Nohemia / Nohemia. 상업적 용도를 포함해 어디서나 자유롭게 사용하세요. [nohemia.com](https://nohemia.com/ko/)으로의 링크는 환영하지만 절대 필수는 아닙니다.
package/README.md CHANGED
@@ -5,8 +5,8 @@
5
5
  **Free, embeddable astrology & moon widgets for any website.** Real ephemeris data, refreshed every
6
6
  night, no account, no tracking, no JavaScript required. Drop one line of HTML and you are done.
7
7
 
8
- Built and maintained by [Jade Nohemia](https://nohemia.com/fr/auteur/jade/) at **[nohemia.com](https://nohemia.com/fr/)**.
9
- Gallery and live previews: **[nohemia.com/fr/widgets](https://nohemia.com/fr/widgets/)**.
8
+ Built and maintained by [Jade Nohemia](https://nohemia.com/en/auteur/jade/) at **[nohemia.com](https://nohemia.com/en/)**.
9
+ Gallery and live previews: **[nohemia.com/en/widgets](https://nohemia.com/en/widgets/)**.
10
10
 
11
11
  ---
12
12
 
@@ -16,11 +16,11 @@ Paste this anywhere in your page. It works on any site that accepts HTML (WordPr
16
16
  Webflow, Ghost, Shopify, a static page...).
17
17
 
18
18
  ```html
19
- <iframe src="https://nohemia.com/fr/widgets/lune/clair-m/"
19
+ <iframe src="https://nohemia.com/en/widgets/moon/light-m/"
20
20
  width="300" height="210" loading="lazy"
21
- title="Calendrier lunaire" style="border:0;border-radius:12px;max-width:100%"></iframe>
21
+ title="Lunar calendar" 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/fr/lune/" rel="nofollow">Calendrier lunaire par Nohemia</a>
23
+ <a href="https://nohemia.com/en/" rel="nofollow">Lunar calendar by Nohemia</a>
24
24
  </p>
25
25
  ```
26
26
 
@@ -33,17 +33,39 @@ widget still works exactly the same.
33
33
 
34
34
  | Widget | `type` | Description | Sizes |
35
35
  |--------|--------|-------------|-------|
36
- | Moon today | `lune` | Phase, sign and next full moon | `s` (220x140), `m` (300x210) |
37
- | Sky today | `ciel` | Sun and Moon by sign, current phase | `s` (230x150), `m` (300x200) |
36
+ | Moon today | `moon` | Phase, sign and next full moon | `s` (220x140), `m` (300x210) |
37
+ | Sky today | `sky` | Sun and Moon by sign, current phase | `s` (230x150), `m` (300x200) |
38
38
 
39
- Each `type` ships in two themes (`clair` / `sombre`) and two sizes (`s` / `m`). The URL pattern is:
39
+ Each `type` ships in two themes (`light` / `dark`) and two sizes (`s` / `m`). The URL pattern is:
40
40
 
41
41
  ```
42
- https://nohemia.com/fr/widgets/{type}/{theme}-{size}/
42
+ https://nohemia.com/en/widgets/{type}/{theme}-{size}/
43
43
  ```
44
44
 
45
45
  More widgets are on the way: full-moon countdown, daily horoscope by sign, retrogrades in progress.
46
46
 
47
+ ### Languages
48
+
49
+ English is the default. The same widgets exist in 10 languages, each at a **localized URL** — the
50
+ slug is the word people actually search (a German searches *Mond*, not *moon*). Pass `locale` to the
51
+ web component, or build the URL directly. You always use the canonical English keys (`moon`, `sky`,
52
+ `light`, `dark`); the slug and theme word in the URL are localized for you.
53
+
54
+ | Locale | `moon` → | `sky` → | `light` → | `dark` → |
55
+ |--------|----------|---------|-----------|----------|
56
+ | `en` | moon | sky | light | dark |
57
+ | `fr` | lune | ciel | clair | sombre |
58
+ | `pt` | lua | ceu | claro | escuro |
59
+ | `es` | luna | cielo | claro | oscuro |
60
+ | `it` | luna | cielo | chiaro | scuro |
61
+ | `de` | mond | himmel | hell | dunkel |
62
+ | `pl` | ksiezyc | niebo | jasny | ciemny |
63
+ | `ko` | dal | haneul | light | dark |
64
+ | `ja` | tsuki | sora | light | dark |
65
+ | `tr` | ay | gokyuzu | acik | koyu |
66
+
67
+ For example: `https://nohemia.com/de/widgets/mond/hell-m/`, or `<nohemia-widget type="moon" locale="de">`.
68
+
47
69
  ---
48
70
 
49
71
  ## Framework examples
@@ -58,13 +80,13 @@ export function MoonWidget() {
58
80
  return (
59
81
  <>
60
82
  <iframe
61
- src="https://nohemia.com/fr/widgets/lune/clair-m/"
83
+ src="https://nohemia.com/en/widgets/moon/light-m/"
62
84
  width={300} height={210} loading="lazy"
63
- title="Calendrier lunaire"
85
+ title="Lunar calendar"
64
86
  style={{ border: 0, borderRadius: 12, maxWidth: '100%' }}
65
87
  />
66
88
  <p style={{ font: '12px/1.4 system-ui, sans-serif', textAlign: 'center', margin: '6px 0 0' }}>
67
- <a href="https://nohemia.com/fr/lune/" rel="nofollow">Calendrier lunaire par Nohemia</a>
89
+ <a href="https://nohemia.com/en/" rel="nofollow">Lunar calendar by Nohemia</a>
68
90
  </p>
69
91
  </>
70
92
  )
@@ -74,8 +96,8 @@ export function MoonWidget() {
74
96
  ### Vue
75
97
  ```vue
76
98
  <template>
77
- <iframe src="https://nohemia.com/fr/widgets/ciel/sombre-m/"
78
- width="300" height="200" loading="lazy" title="Le ciel du jour"
99
+ <iframe src="https://nohemia.com/en/widgets/sky/dark-m/"
100
+ width="300" height="200" loading="lazy" title="Today's sky"
79
101
  style="border:0;border-radius:12px;max-width:100%" />
80
102
  </template>
81
103
  ```
@@ -96,19 +118,21 @@ npm i @nohemia/widgets
96
118
  ```html
97
119
  <script type="module">import '@nohemia/widgets'</script>
98
120
 
99
- <nohemia-widget type="lune" theme="clair" size="m"></nohemia-widget>
100
- <nohemia-widget type="ciel" theme="sombre" size="s"></nohemia-widget>
121
+ <nohemia-widget type="moon" theme="light" size="m"></nohemia-widget>
122
+ <nohemia-widget type="sky" theme="dark" size="s"></nohemia-widget>
101
123
  ```
102
124
 
103
125
  Or load it straight from a CDN, no build step:
104
126
 
105
127
  ```html
106
128
  <script type="module" src="https://cdn.jsdelivr.net/npm/@nohemia/widgets"></script>
107
- <nohemia-widget type="lune"></nohemia-widget>
129
+ <nohemia-widget type="moon"></nohemia-widget>
108
130
  ```
109
131
 
110
- Attributes: `type` (`lune` | `ciel`), `theme` (`clair` | `sombre`), `size` (`s` | `m`). The component
111
- just renders the official iframe, so the data and styling stay in sync with nohemia.com.
132
+ Attributes: `type` (`moon` | `sky`), `locale` (`en` by default see the Languages table), `theme`
133
+ (`light` | `dark`), `size` (`s` | `m`). You pass the canonical English keys; the component maps them
134
+ to the localized URL. It just renders the official iframe, so the data and styling stay in sync with
135
+ nohemia.com.
112
136
 
113
137
  ---
114
138
 
@@ -117,7 +141,7 @@ just renders the official iframe, so the data and styling stay in sync with nohe
117
141
  Nothing is typed by hand. Phases, signs and times come from a real astronomical ephemeris
118
142
  ([astronomy-engine](https://github.com/cosinekitty/astronomy), MIT), recomputed every night. Times are
119
143
  given in Europe/Paris, to the minute. The same data powers the full
120
- [lunar calendar on nohemia.com](https://nohemia.com/fr/lune/calendrier-pleines-lunes/).
144
+ [lunar calendar on nohemia.com](https://nohemia.com/en/calendrier-pleines-lunes/).
121
145
 
122
146
  You can also read the raw JSON if you want to build your own:
123
147
  `https://nohemia.com/widgets/lune/data.json` (today's phase, next full and new moon, the ten upcoming lunations).
@@ -136,11 +160,11 @@ You can also read the raw JSON if you want to build your own:
136
160
 
137
161
  ## Links
138
162
 
139
- - Site: [nohemia.com](https://nohemia.com/fr/) · Widgets gallery: [nohemia.com/fr/widgets](https://nohemia.com/fr/widgets/)
140
- - Author: [Jade Nohemia](https://nohemia.com/fr/auteur/jade/)
163
+ - Site: [nohemia.com](https://nohemia.com/en/) · Widgets gallery: [nohemia.com/en/widgets](https://nohemia.com/en/widgets/)
164
+ - Author: [Jade Nohemia](https://nohemia.com/en/auteur/jade/)
141
165
  - Issues & ideas: [github.com/jadenohemia/nohemia-widgets/issues](https://github.com/jadenohemia/nohemia-widgets/issues)
142
166
 
143
167
  ## License
144
168
 
145
169
  [MIT](./LICENSE) © Jade Nohemia / Nohemia. Use them anywhere, including commercially. A link back to
146
- [nohemia.com](https://nohemia.com/fr/) is appreciated but never required.
170
+ [nohemia.com](https://nohemia.com/en/) is appreciated but never required.
package/README.pl.md CHANGED
@@ -4,8 +4,8 @@
4
4
 
5
5
  **Darmowe, gotowe do osadzenia widżety astrologiczne i księżycowe na każdą stronę.** Prawdziwe dane efemeryd, odświeżane co noc, bez konta, bez śledzenia, bez potrzeby JavaScriptu. Wklejasz jedną linijkę HTML i gotowe.
6
6
 
7
- Tworzone i utrzymywane przez [Jade Nohemia](https://nohemia.com/fr/auteur/jade/) w **[nohemia.com](https://nohemia.com/fr/)**.
8
- Galeria i podglądy na żywo: **[nohemia.com/fr/widgets](https://nohemia.com/fr/widgets/)**.
7
+ Tworzone i utrzymywane przez [Jade Nohemia](https://nohemia.com/pl/auteur/jade/) w **[nohemia.com](https://nohemia.com/pl/)**.
8
+ Galeria i podglądy na żywo: **[nohemia.com/pl/widgets](https://nohemia.com/pl/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 @@ Galeria i podglądy na żywo: **[nohemia.com/fr/widgets](https://nohemia.com/fr/
17
17
  Wklej to w dowolnym miejscu na stronie. Działa na każdej witrynie obsługującej HTML (WordPress, Wix, Squarespace, Webflow, Ghost, Shopify, strona statyczna...).
18
18
 
19
19
  ```html
20
- <iframe src="https://nohemia.com/fr/widgets/lune/clair-m/"
20
+ <iframe src="https://nohemia.com/pl/widgets/ksiezyc/jasny-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/fr/lune/" rel="nofollow">Calendrier lunaire par Nohemia</a>
24
+ <a href="https://nohemia.com/pl/" rel="nofollow">Calendrier lunaire par Nohemia</a>
25
25
  </p>
26
26
  ```
27
27
 
@@ -33,13 +33,13 @@ Ta drobna linijka z podziękowaniem to jedyne, o co prosimy. Jest opcjonalna: mo
33
33
 
34
34
  | Widżet | `type` | Opis | Rozmiary |
35
35
  |--------|--------|------|----------|
36
- | Księżyc dziś | `lune` | Faza, znak i najbliższa pełnia | `s` (220x140), `m` (300x210) |
37
- | Niebo dziś | `ciel` | Słońce i Księżyc według znaku, aktualna faza | `s` (230x150), `m` (300x200) |
36
+ | Księżyc dziś | `moon` | Faza, znak i najbliższa pełnia | `s` (220x140), `m` (300x210) |
37
+ | Niebo dziś | `sky` | Słońce i Księżyc według znaku, aktualna faza | `s` (230x150), `m` (300x200) |
38
38
 
39
- Każdy `type` dostępny jest w dwóch motywach (`clair` / `sombre`) i dwóch rozmiarach (`s` / `m`). Wzorzec adresu URL to:
39
+ Każdy `type` dostępny jest w dwóch motywach (`light` / `dark`) i dwóch rozmiarach (`s` / `m`). Wzorzec adresu URL to:
40
40
 
41
41
  ```
42
- https://nohemia.com/fr/widgets/{type}/{theme}-{size}/
42
+ https://nohemia.com/pl/widgets/{type}/{theme}-{size}/
43
43
  ```
44
44
 
45
45
  Kolejne widżety są w drodze: odliczanie do pełni, dzienny horoskop według znaku, trwające retrogradacje.
@@ -57,13 +57,13 @@ export function MoonWidget() {
57
57
  return (
58
58
  <>
59
59
  <iframe
60
- src="https://nohemia.com/fr/widgets/lune/clair-m/"
60
+ src="https://nohemia.com/pl/widgets/ksiezyc/jasny-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/fr/lune/" rel="nofollow">Calendrier lunaire par Nohemia</a>
66
+ <a href="https://nohemia.com/pl/" 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/fr/widgets/ciel/sombre-m/"
76
+ <iframe src="https://nohemia.com/pl/widgets/niebo/ciemny-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="lune" theme="clair" size="m"></nohemia-widget>
99
- <nohemia-widget type="ciel" theme="sombre" size="s"></nohemia-widget>
98
+ <nohemia-widget type="moon" locale="pl" theme="light" size="m"></nohemia-widget>
99
+ <nohemia-widget type="sky" locale="pl" theme="dark" size="s"></nohemia-widget>
100
100
  ```
101
101
 
102
102
  Albo wczytaj go prosto z CDN, bez etapu budowania:
103
103
 
104
104
  ```html
105
105
  <script type="module" src="https://cdn.jsdelivr.net/npm/@nohemia/widgets"></script>
106
- <nohemia-widget type="lune"></nohemia-widget>
106
+ <nohemia-widget type="moon" locale="pl"></nohemia-widget>
107
107
  ```
108
108
 
109
- Atrybuty: `type` (`lune` | `ciel`), `theme` (`clair` | `sombre`), `size` (`s` | `m`). Komponent po prostu renderuje oficjalny iframe, więc dane i stylizacja pozostają zsynchronizowane z nohemia.com.
109
+ Atrybuty: `type` (`moon` | `sky`), `theme` (`light` | `dark`), `size` (`s` | `m`). Komponent po prostu renderuje oficjalny iframe, więc dane i stylizacja pozostają zsynchronizowane z nohemia.com.
110
110
 
111
111
  ---
112
112
 
113
113
  ## Dane i świeżość
114
114
 
115
- Nic nie jest wpisywane ręcznie. Fazy, znaki i godziny pochodzą z prawdziwej efemerydy astronomicznej ([astronomy-engine](https://github.com/cosinekitty/astronomy), MIT), przeliczanej co noc. Godziny podawane są w strefie Europe/Paris, co do minuty. Te same dane zasilają pełny [kalendarz księżycowy na nohemia.com](https://nohemia.com/fr/lune/calendrier-pleines-lunes/).
115
+ Nic nie jest wpisywane ręcznie. Fazy, znaki i godziny pochodzą z prawdziwej efemerydy astronomicznej ([astronomy-engine](https://github.com/cosinekitty/astronomy), MIT), przeliczanej co noc. Godziny podawane są w strefie Europe/Paris, co do minuty. Te same dane zasilają pełny [kalendarz księżycowy na nohemia.com](https://nohemia.com/pl/calendrier-pleines-lunes/).
116
116
 
117
117
  Możesz też odczytać surowy JSON, jeśli chcesz zbudować coś własnego:
118
118
  `https://nohemia.com/widgets/lune/data.json` (dzisiejsza faza, najbliższa pełnia i nów, dziesięć nadchodzących lunacji).
@@ -131,10 +131,10 @@ Możesz też odczytać surowy JSON, jeśli chcesz zbudować coś własnego:
131
131
 
132
132
  ## Linki
133
133
 
134
- - Strona: [nohemia.com](https://nohemia.com/fr/) · Galeria widżetów: [nohemia.com/fr/widgets](https://nohemia.com/fr/widgets/)
135
- - Autorka: [Jade Nohemia](https://nohemia.com/fr/auteur/jade/)
134
+ - Strona: [nohemia.com](https://nohemia.com/pl/) · Galeria widżetów: [nohemia.com/pl/widgets](https://nohemia.com/pl/widgets/)
135
+ - Autorka: [Jade Nohemia](https://nohemia.com/pl/auteur/jade/)
136
136
  - Zgłoszenia i pomysły: [github.com/jadenohemia/nohemia-widgets/issues](https://github.com/jadenohemia/nohemia-widgets/issues)
137
137
 
138
138
  ## Licencja
139
139
 
140
- [MIT](./LICENSE) © Jade Nohemia / Nohemia. Używaj ich gdziekolwiek, także komercyjnie. Link zwrotny do [nohemia.com](https://nohemia.com/fr/) jest mile widziany, ale nigdy nie jest wymagany.
140
+ [MIT](./LICENSE) © Jade Nohemia / Nohemia. Używaj ich gdziekolwiek, także komercyjnie. Link zwrotny do [nohemia.com](https://nohemia.com/pl/) jest mile widziany, ale nigdy nie jest wymagany.
package/README.pt.md CHANGED
@@ -5,8 +5,8 @@
5
5
  **Widgets gratuitos e incorporáveis de astrologia e lua para qualquer site.** Dados de efeméride reais, atualizados toda
6
6
  noite, sem conta, sem rastreamento, sem necessidade de JavaScript. É só colar uma linha de HTML e pronto.
7
7
 
8
- Criado e mantido por [Jade Nohemia](https://nohemia.com/fr/auteur/jade/) em **[nohemia.com](https://nohemia.com/fr/)**.
9
- Galeria e prévias ao vivo: **[nohemia.com/fr/widgets](https://nohemia.com/fr/widgets/)**.
8
+ Criado e mantido por [Jade Nohemia](https://nohemia.com/pt/auteur/jade/) em **[nohemia.com](https://nohemia.com/pt/)**.
9
+ Galeria e prévias ao vivo: **[nohemia.com/pt/widgets](https://nohemia.com/pt/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 @@ Cole isto em qualquer lugar da sua página. Funciona em qualquer site que aceite
19
19
  Webflow, Ghost, Shopify, uma página estática...).
20
20
 
21
21
  ```html
22
- <iframe src="https://nohemia.com/fr/widgets/lune/clair-m/"
22
+ <iframe src="https://nohemia.com/pt/widgets/lua/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/fr/lune/" rel="nofollow">Calendrier lunaire par Nohemia</a>
26
+ <a href="https://nohemia.com/pt/" rel="nofollow">Calendrier lunaire par Nohemia</a>
27
27
  </p>
28
28
  ```
29
29
 
@@ -36,13 +36,13 @@ widget continua funcionando exatamente igual.
36
36
 
37
37
  | Widget | `type` | Descrição | Tamanhos |
38
38
  |--------|--------|-------------|-------|
39
- | Lua hoje | `lune` | Fase, signo e próxima lua cheia | `s` (220x140), `m` (300x210) |
40
- | Céu hoje | `ciel` | Sol e Lua por signo, fase atual | `s` (230x150), `m` (300x200) |
39
+ | Lua hoje | `moon` | Fase, signo e próxima lua cheia | `s` (220x140), `m` (300x210) |
40
+ | Céu hoje | `sky` | Sol e Lua por signo, fase atual | `s` (230x150), `m` (300x200) |
41
41
 
42
- Cada `type` vem em dois temas (`clair` / `sombre`) e dois tamanhos (`s` / `m`). O padrão da URL é:
42
+ Cada `type` vem em dois temas (`light` / `dark`) e dois tamanhos (`s` / `m`). O padrão da URL é:
43
43
 
44
44
  ```
45
- https://nohemia.com/fr/widgets/{type}/{theme}-{size}/
45
+ https://nohemia.com/pt/widgets/{type}/{theme}-{size}/
46
46
  ```
47
47
 
48
48
  Mais widgets estão a caminho: contagem regressiva para a lua cheia, horóscopo diário por signo, retrógrados em curso.
@@ -61,13 +61,13 @@ export function MoonWidget() {
61
61
  return (
62
62
  <>
63
63
  <iframe
64
- src="https://nohemia.com/fr/widgets/lune/clair-m/"
64
+ src="https://nohemia.com/pt/widgets/lua/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/fr/lune/" rel="nofollow">Calendrier lunaire par Nohemia</a>
70
+ <a href="https://nohemia.com/pt/" 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/fr/widgets/ciel/sombre-m/"
80
+ <iframe src="https://nohemia.com/pt/widgets/ceu/escuro-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="lune" theme="clair" size="m"></nohemia-widget>
103
- <nohemia-widget type="ciel" theme="sombre" size="s"></nohemia-widget>
102
+ <nohemia-widget type="moon" locale="pt" theme="light" size="m"></nohemia-widget>
103
+ <nohemia-widget type="sky" locale="pt" theme="dark" size="s"></nohemia-widget>
104
104
  ```
105
105
 
106
106
  Ou carregue direto de um CDN, sem nenhuma etapa de build:
107
107
 
108
108
  ```html
109
109
  <script type="module" src="https://cdn.jsdelivr.net/npm/@nohemia/widgets"></script>
110
- <nohemia-widget type="lune"></nohemia-widget>
110
+ <nohemia-widget type="moon" locale="pt"></nohemia-widget>
111
111
  ```
112
112
 
113
- Atributos: `type` (`lune` | `ciel`), `theme` (`clair` | `sombre`), `size` (`s` | `m`). O componente
113
+ Atributos: `type` (`moon` | `sky`), `theme` (`light` | `dark`), `size` (`s` | `m`). O componente
114
114
  apenas renderiza o iframe oficial, então os dados e o estilo permanecem sincronizados com o nohemia.com.
115
115
 
116
116
  ---
@@ -120,7 +120,7 @@ apenas renderiza o iframe oficial, então os dados e o estilo permanecem sincron
120
120
  Nada é digitado à mão. Fases, signos e horários vêm de uma efeméride astronômica real
121
121
  ([astronomy-engine](https://github.com/cosinekitty/astronomy), MIT), recalculada toda noite. Os horários são
122
122
  dados em Europe/Paris, com precisão de minuto. Os mesmos dados alimentam o
123
- [calendário lunar completo no nohemia.com](https://nohemia.com/fr/lune/calendrier-pleines-lunes/).
123
+ [calendário lunar completo no nohemia.com](https://nohemia.com/pt/calendrier-pleines-lunes/).
124
124
 
125
125
  Você também pode ler o JSON bruto se quiser construir o seu próprio:
126
126
  `https://nohemia.com/widgets/lune/data.json` (fase de hoje, próxima lua cheia e nova, as dez próximas lunações).
@@ -139,11 +139,11 @@ Você também pode ler o JSON bruto se quiser construir o seu próprio:
139
139
 
140
140
  ## Links
141
141
 
142
- - Site: [nohemia.com](https://nohemia.com/fr/) · Galeria de widgets: [nohemia.com/fr/widgets](https://nohemia.com/fr/widgets/)
143
- - Autora: [Jade Nohemia](https://nohemia.com/fr/auteur/jade/)
142
+ - Site: [nohemia.com](https://nohemia.com/pt/) · Galeria de widgets: [nohemia.com/pt/widgets](https://nohemia.com/pt/widgets/)
143
+ - Autora: [Jade Nohemia](https://nohemia.com/pt/auteur/jade/)
144
144
  - Problemas e ideias: [github.com/jadenohemia/nohemia-widgets/issues](https://github.com/jadenohemia/nohemia-widgets/issues)
145
145
 
146
146
  ## Licença
147
147
 
148
148
  [MIT](./LICENSE) © Jade Nohemia / Nohemia. Use-os em qualquer lugar, inclusive comercialmente. Um link de volta para
149
- [nohemia.com](https://nohemia.com/fr/) é apreciado, mas nunca obrigatório.
149
+ [nohemia.com](https://nohemia.com/pt/) é apreciado, mas nunca obrigatório.
package/README.tr.md CHANGED
@@ -4,8 +4,8 @@
4
4
 
5
5
  **Her web sitesine eklenebilen ücretsiz astroloji ve ay widget'ları.** Gerçek efemeris verisi, her gece yenilenir, hesap yok, takip yok, JavaScript gerektirmez. Tek satır HTML yapıştırın, işte bu kadar.
6
6
 
7
- [Jade Nohemia](https://nohemia.com/fr/auteur/jade/) tarafından **[nohemia.com](https://nohemia.com/fr/)** üzerinde geliştirilir ve bakımı yapılır.
8
- Galeri ve canlı önizlemeler: **[nohemia.com/fr/widgets](https://nohemia.com/fr/widgets/)**.
7
+ [Jade Nohemia](https://nohemia.com/tr/auteur/jade/) tarafından **[nohemia.com](https://nohemia.com/tr/)** üzerinde geliştirilir ve bakımı yapılır.
8
+ Galeri ve canlı önizlemeler: **[nohemia.com/tr/widgets](https://nohemia.com/tr/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.
@@ -18,11 +18,11 @@ Bunu sayfanızda herhangi bir yere yapıştırın. HTML kabul eden her sitede ç
18
18
  Webflow, Ghost, Shopify, statik bir sayfa...).
19
19
 
20
20
  ```html
21
- <iframe src="https://nohemia.com/fr/widgets/lune/clair-m/"
21
+ <iframe src="https://nohemia.com/tr/widgets/ay/acik-m/"
22
22
  width="300" height="210" loading="lazy"
23
23
  title="Calendrier lunaire" style="border:0;border-radius:12px;max-width:100%"></iframe>
24
24
  <p style="font:12px/1.4 system-ui,sans-serif;text-align:center;margin:6px 0 0">
25
- <a href="https://nohemia.com/fr/lune/" rel="nofollow">Calendrier lunaire par Nohemia</a>
25
+ <a href="https://nohemia.com/tr/" rel="nofollow">Calendrier lunaire par Nohemia</a>
26
26
  </p>
27
27
  ```
28
28
 
@@ -35,13 +35,13 @@ widget yine tıpatıp aynı şekilde çalışır.
35
35
 
36
36
  | Widget | `type` | Açıklama | Boyutlar |
37
37
  |--------|--------|----------|----------|
38
- | Bugünün ayı | `lune` | Evre, burç ve bir sonraki dolunay | `s` (220x140), `m` (300x210) |
39
- | Bugünün gökyüzü | `ciel` | Burca göre Güneş ve Ay, güncel evre | `s` (230x150), `m` (300x200) |
38
+ | Bugünün ayı | `moon` | Evre, burç ve bir sonraki dolunay | `s` (220x140), `m` (300x210) |
39
+ | Bugünün gökyüzü | `sky` | Burca göre Güneş ve Ay, güncel evre | `s` (230x150), `m` (300x200) |
40
40
 
41
- Her `type`, iki temayla (`clair` / `sombre`) ve iki boyutla (`s` / `m`) gelir. URL kalıbı şudur:
41
+ Her `type`, iki temayla (`light` / `dark`) ve iki boyutla (`s` / `m`) gelir. URL kalıbı şudur:
42
42
 
43
43
  ```
44
- https://nohemia.com/fr/widgets/{type}/{theme}-{size}/
44
+ https://nohemia.com/tr/widgets/{type}/{theme}-{size}/
45
45
  ```
46
46
 
47
47
  Daha fazla widget yolda: dolunaya geri sayım, burca göre günlük burç yorumu, süregelen retrolar.
@@ -60,13 +60,13 @@ export function MoonWidget() {
60
60
  return (
61
61
  <>
62
62
  <iframe
63
- src="https://nohemia.com/fr/widgets/lune/clair-m/"
63
+ src="https://nohemia.com/tr/widgets/ay/acik-m/"
64
64
  width={300} height={210} loading="lazy"
65
65
  title="Calendrier lunaire"
66
66
  style={{ border: 0, borderRadius: 12, maxWidth: '100%' }}
67
67
  />
68
68
  <p style={{ font: '12px/1.4 system-ui, sans-serif', textAlign: 'center', margin: '6px 0 0' }}>
69
- <a href="https://nohemia.com/fr/lune/" rel="nofollow">Calendrier lunaire par Nohemia</a>
69
+ <a href="https://nohemia.com/tr/" rel="nofollow">Calendrier lunaire par Nohemia</a>
70
70
  </p>
71
71
  </>
72
72
  )
@@ -76,7 +76,7 @@ export function MoonWidget() {
76
76
  ### Vue
77
77
  ```vue
78
78
  <template>
79
- <iframe src="https://nohemia.com/fr/widgets/ciel/sombre-m/"
79
+ <iframe src="https://nohemia.com/tr/widgets/gokyuzu/koyu-m/"
80
80
  width="300" height="200" loading="lazy" title="Le ciel du jour"
81
81
  style="border:0;border-radius:12px;max-width:100%" />
82
82
  </template>
@@ -98,18 +98,18 @@ npm i @nohemia/widgets
98
98
  ```html
99
99
  <script type="module">import '@nohemia/widgets'</script>
100
100
 
101
- <nohemia-widget type="lune" theme="clair" size="m"></nohemia-widget>
102
- <nohemia-widget type="ciel" theme="sombre" size="s"></nohemia-widget>
101
+ <nohemia-widget type="moon" locale="tr" theme="light" size="m"></nohemia-widget>
102
+ <nohemia-widget type="sky" locale="tr" theme="dark" size="s"></nohemia-widget>
103
103
  ```
104
104
 
105
105
  Ya da doğrudan bir CDN üzerinden yükleyin, derleme adımı yok:
106
106
 
107
107
  ```html
108
108
  <script type="module" src="https://cdn.jsdelivr.net/npm/@nohemia/widgets"></script>
109
- <nohemia-widget type="lune"></nohemia-widget>
109
+ <nohemia-widget type="moon" locale="tr"></nohemia-widget>
110
110
  ```
111
111
 
112
- Öznitelikler: `type` (`lune` | `ciel`), `theme` (`clair` | `sombre`), `size` (`s` | `m`). Bileşen
112
+ Öznitelikler: `type` (`moon` | `sky`), `theme` (`light` | `dark`), `size` (`s` | `m`). Bileşen
113
113
  yalnızca resmi iframe'i işler, dolayısıyla veri ve görünüm nohemia.com ile eşzamanlı kalır.
114
114
 
115
115
  ---
@@ -119,7 +119,7 @@ yalnızca resmi iframe'i işler, dolayısıyla veri ve görünüm nohemia.com il
119
119
  Hiçbir şey elle girilmez. Evreler, burçlar ve saatler gerçek bir astronomik efemeristen gelir
120
120
  ([astronomy-engine](https://github.com/cosinekitty/astronomy), MIT) ve her gece yeniden hesaplanır. Saatler
121
121
  Europe/Paris saat dilimine göre, dakikası dakikasına verilir. Aynı veri, nohemia.com'daki tam
122
- [ay takvimini](https://nohemia.com/fr/lune/calendrier-pleines-lunes/) de besler.
122
+ [ay takvimini](https://nohemia.com/tr/calendrier-pleines-lunes/) de besler.
123
123
 
124
124
  Kendi widget'ınızı oluşturmak isterseniz ham JSON'u da okuyabilirsiniz:
125
125
  `https://nohemia.com/widgets/lune/data.json` (bugünkü evre, sonraki dolunay ve yeniay, yaklaşan on lunasyon).
@@ -138,10 +138,10 @@ Kendi widget'ınızı oluşturmak isterseniz ham JSON'u da okuyabilirsiniz:
138
138
 
139
139
  ## Bağlantılar
140
140
 
141
- - Site: [nohemia.com](https://nohemia.com/fr/) · Widget galerisi: [nohemia.com/fr/widgets](https://nohemia.com/fr/widgets/)
142
- - Yazar: [Jade Nohemia](https://nohemia.com/fr/auteur/jade/)
141
+ - Site: [nohemia.com](https://nohemia.com/tr/) · Widget galerisi: [nohemia.com/tr/widgets](https://nohemia.com/tr/widgets/)
142
+ - Yazar: [Jade Nohemia](https://nohemia.com/tr/auteur/jade/)
143
143
  - Sorunlar ve fikirler: [github.com/jadenohemia/nohemia-widgets/issues](https://github.com/jadenohemia/nohemia-widgets/issues)
144
144
 
145
145
  ## Lisans
146
146
 
147
- [MIT](./LICENSE) © Jade Nohemia / Nohemia. İster ticari olsun, her yerde kullanın. [nohemia.com](https://nohemia.com/fr/) adresine geri bağlantı verirseniz seviniriz ama bu asla zorunlu değildir.
147
+ [MIT](./LICENSE) © Jade Nohemia / Nohemia. İster ticari olsun, her yerde kullanın. [nohemia.com](https://nohemia.com/tr/) adresine geri bağlantı verirseniz seviniriz ama bu asla zorunlu değildir.