@hanology/cham-browser 0.4.67 → 0.4.68

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanology/cham-browser",
3
- "version": "0.4.67",
3
+ "version": "0.4.68",
4
4
  "description": "CHAM — browser-compatible parser, serializer, and site generator for Classical Han Annotated Markdown",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -57,7 +57,8 @@ function onKey(event: KeyboardEvent) {
57
57
  <component :is="Component" />
58
58
  <template #fallback>
59
59
  <div class="route-loading">
60
- <div class="route-loading-seal">文</div>
60
+ <img v-if="logoUrl" :src="logoUrl" alt="" class="route-loading-logo" />
61
+ <div v-else class="route-loading-seal">文</div>
61
62
  </div>
62
63
  </template>
63
64
  </Suspense>
@@ -177,6 +178,11 @@ function onKey(event: KeyboardEvent) {
177
178
  justify-content: center;
178
179
  min-height: 100vh;
179
180
  }
181
+ .route-loading-logo {
182
+ width: 56px; height: auto;
183
+ object-fit: contain;
184
+ animation: pulse 1.2s ease-in-out infinite;
185
+ }
180
186
  .route-loading-seal {
181
187
  width: 56px; height: 56px;
182
188
  border: 2px solid var(--vermillion);