@abraca/junis 2.84.0 → 2.85.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/dist/module.json +1 -1
- package/dist/module.mjs +35 -3
- package/dist/runtime/assets/css/jun.css +1 -1
- package/dist/runtime/components/JunBlobBackdrop.client.vue +1 -1
- package/dist/runtime/components/JunHead.vue +37 -5
- package/dist/runtime/components/JunLogo.vue +10 -45
- package/dist/runtime/components/JunPatternBackdrop.client.vue +1 -1
- package/dist/runtime/components/JunShaderBackdrop.client.vue +1 -1
- package/dist/runtime/components/renderers/JunConfigRenderer.vue +14 -14
- package/dist/runtime/components/renderers/JunEntryRenderer.vue +6 -8
- package/dist/runtime/components/renderers/JunFestivalRenderer.vue +1 -1
- package/dist/runtime/components/renderers/JunHomeRenderer.vue +3 -3
- package/dist/runtime/components/renderers/JunLiveRenderer.vue +1 -1
- package/dist/runtime/components/renderers/JunNowRenderer.vue +2 -2
- package/dist/runtime/components/renderers/JunUsesRenderer.vue +6 -8
- package/dist/runtime/composables/useJunOptions.d.ts +1 -0
- package/dist/runtime/composables/useJunTheme.js +9 -48
- package/dist/runtime/plugins/jun-sw.client.d.ts +2 -0
- package/dist/runtime/plugins/jun-sw.client.js +36 -0
- package/dist/runtime/server/plugins/jun-janitor.js +2 -1
- package/dist/runtime/server/routes/jun-icon.png.get.d.ts +2 -0
- package/dist/runtime/server/routes/jun-icon.png.get.js +25 -0
- package/dist/runtime/server/routes/jun-icon.svg.get.d.ts +2 -0
- package/dist/runtime/server/routes/jun-icon.svg.get.js +9 -0
- package/dist/runtime/server/routes/jun-splash.png.get.d.ts +2 -0
- package/dist/runtime/server/routes/jun-splash.png.get.js +37 -0
- package/dist/runtime/server/routes/jun-sw.js.get.d.ts +2 -0
- package/dist/runtime/server/routes/jun-sw.js.get.js +126 -0
- package/dist/runtime/server/routes/manifest.webmanifest.get.d.ts +24 -0
- package/dist/runtime/server/routes/manifest.webmanifest.get.js +51 -0
- package/dist/runtime/server/utils/junBrand.d.ts +4 -0
- package/dist/runtime/server/utils/junBrand.js +9 -0
- package/dist/runtime/server/utils/junIcon.d.ts +44 -0
- package/dist/runtime/server/utils/junIcon.js +374 -0
- package/dist/runtime/types.d.ts +25 -2
- package/dist/runtime/utils/junIdentity.d.ts +121 -0
- package/dist/runtime/utils/junIdentity.js +115 -0
- package/dist/runtime/utils/junMark.d.ts +254 -0
- package/dist/runtime/utils/junMark.js +169 -0
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -679,6 +679,10 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
|
|
|
679
679
|
logoMark: options.brand?.logoMark ?? "sun",
|
|
680
680
|
logoVariant: options.brand?.logoVariant ?? "mark",
|
|
681
681
|
themeColor: options.brand?.themeColor ?? "#0e0f11",
|
|
682
|
+
// The app-icon tile. Defaults to the theme colour so a site gets one
|
|
683
|
+
// consistent chrome colour across its status bar, its splash and its
|
|
684
|
+
// home-screen square without configuring three things.
|
|
685
|
+
iconBackground: options.brand?.iconBackground ?? options.brand?.themeColor ?? "#0e0f11",
|
|
682
686
|
schemaType: options.brand?.schemaType ?? "Person"
|
|
683
687
|
},
|
|
684
688
|
features: {
|
|
@@ -708,6 +712,9 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
|
|
|
708
712
|
palettes: options.palettes ?? DEFAULT_PALETTES,
|
|
709
713
|
paletteMap: options.paletteMap ?? defaultPaletteMap(),
|
|
710
714
|
apiBase: options.apiBase ?? "/api/_jun",
|
|
715
|
+
// Read by the service-worker plugin, which has no access to module
|
|
716
|
+
// options — a site that opted out must not get a worker registered on it.
|
|
717
|
+
pwa: options.pwa !== false,
|
|
711
718
|
mapboxToken: options.mapboxToken ?? "",
|
|
712
719
|
embeds: { remoteThumbnails: options.embeds?.remoteThumbnails ?? false },
|
|
713
720
|
mosaic: {
|
|
@@ -905,6 +912,23 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
|
|
|
905
912
|
if (runtime.features.sitemap) {
|
|
906
913
|
addServerHandler({ route: "/sitemap.xml", handler: resolver.resolve("./runtime/server/routes/sitemap.xml.get") });
|
|
907
914
|
}
|
|
915
|
+
if (options.pwa !== false) {
|
|
916
|
+
const iconPng = resolver.resolve("./runtime/server/routes/jun-icon.png.get");
|
|
917
|
+
addServerHandler({ route: "/jun-icon.png", handler: iconPng });
|
|
918
|
+
addServerHandler({ route: "/jun-icon.svg", handler: resolver.resolve("./runtime/server/routes/jun-icon.svg.get") });
|
|
919
|
+
addServerHandler({ route: "/jun-splash.png", handler: resolver.resolve("./runtime/server/routes/jun-splash.png.get") });
|
|
920
|
+
addServerHandler({ route: "/apple-touch-icon.png", handler: iconPng });
|
|
921
|
+
addServerHandler({ route: "/apple-touch-icon-precomposed.png", handler: iconPng });
|
|
922
|
+
addServerHandler({ route: "/favicon.ico", handler: resolver.resolve("./runtime/server/routes/jun-icon.svg.get") });
|
|
923
|
+
if (!hasNuxtModule("@vite-pwa/nuxt")) {
|
|
924
|
+
addServerHandler({
|
|
925
|
+
route: "/manifest.webmanifest",
|
|
926
|
+
handler: resolver.resolve("./runtime/server/routes/manifest.webmanifest.get")
|
|
927
|
+
});
|
|
928
|
+
addServerHandler({ route: "/jun-sw.js", handler: resolver.resolve("./runtime/server/routes/jun-sw.js.get") });
|
|
929
|
+
addPlugin(resolver.resolve("./runtime/plugins/jun-sw.client"));
|
|
930
|
+
}
|
|
931
|
+
}
|
|
908
932
|
if (runtime.features.docCache) {
|
|
909
933
|
addServerPlugin(resolver.resolve("./runtime/server/plugins/jun-doc-cache"));
|
|
910
934
|
nuxt.options.nitro.experimental = defu(nuxt.options.nitro.experimental, { tasks: true });
|
|
@@ -941,9 +965,17 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
|
|
|
941
965
|
display: "standalone",
|
|
942
966
|
background_color: runtime.brand.themeColor,
|
|
943
967
|
theme_color: runtime.brand.themeColor,
|
|
944
|
-
//
|
|
945
|
-
//
|
|
946
|
-
|
|
968
|
+
// The module's own icon routes, unless the site named its own files.
|
|
969
|
+
// These used to be omitted entirely ("pointing the manifest at files
|
|
970
|
+
// a site does not have produces a broken install prompt rather than
|
|
971
|
+
// none") — which was correct while icons meant committed PNGs. They
|
|
972
|
+
// are RENDERED from the site's mark now, so there is always something
|
|
973
|
+
// real behind these URLs.
|
|
974
|
+
icons: options.brand?.icons?.length ? options.brand.icons : [
|
|
975
|
+
{ src: "/jun-icon.png?size=192", sizes: "192x192", type: "image/png", purpose: "any" },
|
|
976
|
+
{ src: "/jun-icon.png?size=512", sizes: "512x512", type: "image/png", purpose: "any" },
|
|
977
|
+
{ src: "/jun-icon.png?size=512&maskable=1", sizes: "512x512", type: "image/png", purpose: "maskable" }
|
|
978
|
+
]
|
|
947
979
|
},
|
|
948
980
|
workbox: {
|
|
949
981
|
globPatterns: ["**/*.{js,css,html,ico,png,svg,webmanifest,woff2}"],
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
dark:from-neutral-900/65 dark:to-neutral-900/45
|
|
11
11
|
border border-white/10 dark:border-white/5
|
|
12
12
|
ring-1 ring-black/5 dark:ring-white/10
|
|
13
|
-
shadow-lg shadow-black/10}}@layer base{.jun-flow-page{padding-top:6rem}html[data-jun-nav=bottom] .jun-flow-page,html[data-jun-nav=rail-left] .jun-flow-page,html[data-jun-nav=rail-right] .jun-flow-page{padding-top:2rem}html[data-jun-nav=rail-left] .jun-flow-page{padding-left:var(--jun-nav-rail-w,0)}html[data-jun-nav=rail-right] .jun-flow-page{padding-right:var(--jun-nav-rail-w,0)}html[data-jun-nav=bottom] .jun-flow-page{padding-bottom:7rem}body,html{color-scheme:light dark;overscroll-behavior-y:none;scroll-behavior:smooth}body{-webkit-tap-highlight-color:transparent;padding-top:env(safe-area-inset-top);touch-action:manipulation}html{overflow-y:scroll;scrollbar-gutter:stable}:root[style*="--scrollbar-width"] body,body[data-scroll-locked]{margin-right:0!important;padding-right:0!important}html.jun-viewport-bound,html.jun-viewport-bound body{height:100vh;overflow:hidden}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--ui-border);border:2px solid transparent;border-radius:9999px}::-webkit-scrollbar-thumb:hover{background-color:var(--ui-border-accented)}::-webkit-scrollbar-corner{background:transparent}*{scrollbar-color:var(--ui-border) transparent;scrollbar-width:thin}.jun-scrollbar-hide::-webkit-scrollbar{display:none}.jun-scrollbar-hide{-ms-overflow-style:none;scrollbar-width:none}.ProseMirror[contenteditable=false] .meta-field-chip,.ProseMirror[contenteditable=false] [data-type=document-meta],.aeditor-breadcrumb{display:none!important}html[data-jun-player] body{padding-bottom:calc(4rem + env(safe-area-inset-bottom, 0px))}html[data-jun-player][data-jun-nav=bottom] body{padding-bottom:0}.jun-player{bottom:calc(1rem + env(safe-area-inset-bottom, 0px));left:50%;max-width:min(22rem,calc(100vw - 10rem));translate:-50% 0;width:-moz-max-content;width:max-content}html[data-jun-nav=bottom] .jun-player{bottom:auto;max-width:min(22rem,calc(100vw - 2rem));top:calc(1rem + env(safe-area-inset-top, 0px))}.jun-player-sheet{bottom:calc(1.5rem + env(safe-area-inset-bottom, 0px) + var(--jun-player-h, 0px));left:50%;translate:-50% 0;width:min(22rem,calc(100vw - 10rem))}html[data-jun-nav=bottom] .jun-player-sheet{bottom:auto;top:calc(1.5rem + env(safe-area-inset-top, 0px) + var(--jun-player-h, 0px));width:min(22rem,calc(100vw - 2rem))}}:root{--ui-primary:#000;--ui-container:70rem;--jun-nav-h:3rem;--jun-nav-offset:calc(var(--jun-nav-h) + env(safe-area-inset-top, 0px));--jun-chrome-top:0px;--jun-chrome-bottom:0px;--jun-chrome-left-top:0px;--jun-chrome-left-bottom:0px;--jun-chrome-right-top:0px;--jun-chrome-right-bottom:0px;--jun-sun-from:#24242a;--jun-sun-to:#0f0f12;--jun-sun-core:#fff;--jun-sun-glow:#18181b;--jun-ember:#f59e0b;--jun-ember-glow:#fbbf24}.dark{--ui-primary:#fff;--jun-sun-from:#fafafa;--jun-sun-to:#e4e4e7;--jun-sun-core:#101013;--jun-sun-glow:#f4f4f5}.jun-nav-docked{border-left-color:transparent;border-radius:0;border-right-color:transparent;border-top-color:transparent;height:var(--jun-nav-offset);max-width:none;padding-top:env(safe-area-inset-top,0)}.jun-panel-page{top:var(--jun-nav-offset)}.a-map-toolbar-bar,.graph-toolbar-bar{backdrop-filter:blur(8px)!important;background:linear-gradient(180deg,#fff,hsla(0,0%,100%,.4))!important;border:1px solid hsla(0,0%,100%,.1)!important;border-radius:9999px!important;bottom:calc(1.5rem + env(safe-area-inset-bottom, 0px))!important;box-shadow:0 20px 25px -5px rgba(0,0,0,.12),0 8px 10px -6px rgba(0,0,0,.1),0 0 0 1px rgba(0,0,0,.05)!important;gap:4px!important;padding:4px 10px!important}.dark .a-map-toolbar-bar,.dark .graph-toolbar-bar{background:linear-gradient(180deg,#18181b,rgba(24,24,27,.7))!important;border-color:rgba(0,0,0,.05)!important;box-shadow:0 20px 25px -5px rgba(0,0,0,.4),0 8px 10px -6px rgba(0,0,0,.3),0 0 0 1px hsla(0,0%,100%,.1)!important}.a-map-toolbar-bar .toolbar-divider,.graph-toolbar-bar .toolbar-divider{background:rgba(0,0,0,.12)!important}.dark .a-map-toolbar-bar .toolbar-divider,.dark .graph-toolbar-bar .toolbar-divider{background:hsla(0,0%,100%,.15)!important}.graph-minimap{top:6rem!important}.jun-fade-enter-active,.jun-fade-leave-active{transition:opacity .22s ease}.jun-fade-enter-from,.jun-fade-leave-to{opacity:0}html[data-jun-restore] .jun-fade-enter-active,html[data-jun-restore] .jun-fade-leave-active{transition:none}.aa-presence-blobs__blob{filter:none;-webkit-mask-image:radial-gradient(closest-side,#000 0,rgba(0,0,0,.62) 42%,rgba(0,0,0,.22) 68%,transparent 100%);mask-image:radial-gradient(closest-side,#000 0,rgba(0,0,0,.62) 42%,rgba(0,0,0,.22) 68%,transparent 100%);opacity:.3}:root:not(.dark) .aa-presence-blobs__blob{opacity:.2}:root:not(.dark) .jun-presence-blobs{mix-blend-mode:multiply}:root:not(.dark) .jun-presence-blobs__blob{opacity:.24}:root:not(.dark) .jun-presence-blobs__blob:not(.is-anchored){opacity:.15}.jun-logo{transition:transform .4s cubic-bezier(.22,1,.36,1),filter .4s ease,opacity .5s ease}.jun-logo-dot,.jun-sun-core{transform-box:fill-box;transform-origin:center;transition:transform .4s cubic-bezier(.22,1,.36,1)}.jun-logo-dot:nth-of-type(2){transition-delay:.04s}.jun-logo-dot:nth-of-type(3){transition-delay:.08s}.jun-sun-halo{transform-box:fill-box;transform-origin:center;transition:opacity .4s ease,transform .4s cubic-bezier(.22,1,.36,1)}:is(.jun-logo:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo):not(.jun-logo--sun){transform:scale(1.04)}:is(.jun-logo:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo) .jun-logo-dot{transform:scale(1.18)}:is(.jun-logo--sun:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo--sun) .jun-sun-halo{opacity:.8;transform:scale(1.14)}:is(.jun-logo--sun:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo--sun) .jun-sun-core{transform:scale(1.1)}:is(.jun-logo:active,:is(a,button,summary):active .jun-logo):not(.jun-logo--sun){transform:scale(.96)}:is(.jun-logo--sun:active,:is(a,button,summary):active .jun-logo--sun) .jun-sun-core{transform:scale(.9)}.jun-logo-bang:empty{display:none}.jun-logo-bang{display:inline-block;font-weight:700;padding-inline:.02em;transition:transform .4s cubic-bezier(.22,1,.36,1)}:is(a,button,summary,.jun-logo-lockup):hover .jun-logo-bang{transform:translateY(-.06em)}.jun-logo-lockup.is-sun .jun-logo-bang{color:var(--jun-sun-glow)}@media (prefers-reduced-motion:reduce){.jun-logo,.jun-logo-bang,.jun-logo-dot,.jun-sun-core,.jun-sun-halo{transition:none}}html.doc-dragging .ProseMirror{border-radius:8px;outline:2px dashed rgba(0,0,0,.18);outline-offset:8px;transition:outline-color .2s ease}html.dark.doc-dragging .ProseMirror,html.doc-dragging.dark .ProseMirror{outline-color:hsla(0,0%,100%,.22)}html.doc-dragging [data-doc-drop-zone]{border-radius:10px;outline:2px dashed rgba(0,0,0,.14);outline-offset:4px}html.dark.doc-dragging [data-doc-drop-zone],html.doc-dragging.dark [data-doc-drop-zone]{outline-color:hsla(0,0%,100%,.18)}html.theme-switching,html.theme-switching *{transition:background-color .45s ease,color .45s ease,border-color .45s ease,fill .45s ease,stroke .45s ease!important}@media (prefers-reduced-motion:reduce){.jun-fade-enter-active,.jun-fade-leave-active{transition:none}html.theme-switching,html.theme-switching *{transition:none!important}}html.jun-surface-soft *,html.jun-surface-soft :after,html.jun-surface-soft :before,html.jun-surface-solid *,html.jun-surface-solid :after,html.jun-surface-solid :before{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}html.jun-surface-soft .jun-blur,html.jun-surface-soft .jun-blur-gradient,html.jun-surface-soft .jun-blur-inverted,html.jun-surface-soft .jun-campfire-banner,html.jun-surface-soft .jun-campfire-panel,html.jun-surface-soft .jun-campfire-pill,html.jun-surface-soft .jun-chrome{backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important}html.jun-surface-solid .jun-blur,html.jun-surface-solid .jun-blur-gradient,html.jun-surface-solid .jun-card,html.jun-surface-solid .jun-chrome:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-50) 97%,transparent)!important;background-image:none!important}html.jun-surface-solid.dark .jun-blur,html.jun-surface-solid.dark .jun-blur-gradient,html.jun-surface-solid.dark .jun-card,html.jun-surface-solid.dark .jun-chrome:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)!important}html.jun-surface-solid .jun-bar.is-on{background-color:var(--color-neutral-900)!important;background-image:none!important}html.jun-surface-solid.dark .jun-bar.is-on{background-color:var(--color-neutral-100)!important}html.jun-surface-solid .jun-campfire-banner,html.jun-surface-solid .jun-campfire-panel,html.jun-surface-solid .jun-campfire-pill{background:color-mix(in srgb,var(--color-neutral-50) 97%,transparent)!important}html.jun-surface-solid.dark .jun-campfire-banner,html.jun-surface-solid.dark .jun-campfire-panel,html.jun-surface-solid.dark .jun-campfire-pill{background:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)!important}html.jun-surface-solid .jun-blur-inverted{background-color:rgba(250,250,252,.92)!important;background-image:none!important}html.jun-surface-solid.dark .jun-blur-inverted{background-color:rgba(14,15,17,.92)!important}.jun-palette-panel{display:flex;flex-direction:column;left:var(--jun-palette-left,50vw);max-height:var(--jun-palette-max-h,min(60vh,34rem));max-width:none;overflow:hidden;position:fixed;top:var(--jun-palette-top,5.5rem);transform-origin:var(--jun-palette-origin,top center);translate:var(--jun-palette-tx,-50%) var(--jun-palette-ty,0);width:var(--jun-palette-w,min(42rem,calc(100vw - 2rem)))}.jun-palette-panel[data-state=open]{animation:jun-palette-in .26s cubic-bezier(.22,1,.36,1) both}.jun-palette-panel[data-state=closed]{animation:jun-palette-out .13s ease-in both}@keyframes jun-palette-in{0%{opacity:0;transform:var(--jun-palette-from,translateY(-8px)) scale(.97)}to{opacity:1;transform:none}}@keyframes jun-palette-out{0%{opacity:1;transform:none}to{opacity:0;transform:var(--jun-palette-from,translateY(-8px)) scale(.98)}}.jun-palette-cursor{border-radius:.375rem;left:.5rem;pointer-events:none;position:absolute;right:.5rem;top:0;transition:transform .26s cubic-bezier(.22,1,.36,1),height .26s cubic-bezier(.22,1,.36,1),opacity .16s ease}.jun-palette-cursor.is-placing{transition:none}.jun-settings-panel{display:flex;flex-direction:column;height:min(46rem,calc(100vh - 4rem));left:50vw;max-height:none;max-width:none;overflow:hidden;position:fixed;top:50vh;transform-origin:center;translate:-50% -50%;width:min(56rem,calc(100vw - 2rem))}.jun-settings-panel[data-state=open]{animation:jun-settings-in .26s cubic-bezier(.22,1,.36,1) both}.jun-settings-panel[data-state=closed]{animation:jun-settings-out .13s ease-in both}@keyframes jun-settings-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}@keyframes jun-settings-out{0%{opacity:1;transform:none}to{opacity:0;transform:scale(.98)}}@media (max-width:767px){.jun-settings-panel{border-radius:.75rem;height:calc(100dvh - 2rem);width:calc(100vw - 1rem)}}.jun-settings-marker{transition:top .22s cubic-bezier(.22,1,.36,1),height .22s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-settings-panel[data-state=closed],.jun-settings-panel[data-state=open]{animation-duration:1ms}.jun-settings-marker{transition:none}}.jun-palette-stagger>*{animation:jun-palette-row-in .32s cubic-bezier(.22,1,.36,1) both}@keyframes jun-palette-row-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.jun-pal-move{transition:transform .28s cubic-bezier(.22,1,.36,1)}.jun-pal-enter-active{transition:opacity .2s ease,transform .2s cubic-bezier(.22,1,.36,1)}.jun-pal-leave-active{left:0;position:absolute;right:0;transition:opacity .12s ease,transform .12s ease}.jun-pal-enter-from,.jun-pal-leave-to{opacity:0;transform:translateY(-4px)}.jun-palette-snippet mark{background:transparent;color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px}@media (prefers-reduced-motion:reduce){.jun-palette-panel[data-state=closed],.jun-palette-panel[data-state=open],.jun-palette-stagger>*{animation:none}.jun-pal-enter-active,.jun-pal-leave-active,.jun-pal-move,.jun-palette-cursor{transition:none}}html[data-jun-nav=bottom] .jun-player-enter-from,html[data-jun-nav=bottom] .jun-player-leave-to{transform:translateY(-1.5rem)}@media (prefers-reduced-motion:reduce){html[data-jun-nav=bottom] .jun-player-enter-from,html[data-jun-nav=bottom] .jun-player-leave-to{transform:none}}.jun-bar{--jun-bar-stack:0px;--jun-bar-inset:0px;position:fixed;transition:top .45s cubic-bezier(.22,1,.36,1),right .45s cubic-bezier(.22,1,.36,1),bottom .45s cubic-bezier(.22,1,.36,1),left .45s cubic-bezier(.22,1,.36,1),box-shadow .35s ease;z-index:60}.jun-bar-pill{align-items:center;display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none}.jun-bar[data-jun-corner=top-left]{left:calc(var(--jun-chrome-left-top, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-left, 1rem) + env(safe-area-inset-left, 0px))}.jun-bar[data-jun-corner=bottom-left]{left:calc(var(--jun-chrome-left-bottom, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-left, 1rem) + env(safe-area-inset-left, 0px))}.jun-bar[data-jun-corner=top-right]{right:calc(var(--jun-chrome-right-top, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-right, 1rem) + env(safe-area-inset-right, 0px))}.jun-bar[data-jun-corner=bottom-right]{right:calc(var(--jun-chrome-right-bottom, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-right, 1rem) + env(safe-area-inset-right, 0px))}.jun-bar[data-jun-corner^=bottom]{bottom:calc(var(--jun-chrome-bottom, 0px) + var(--jun-bar-stack) + var(--jun-chrome-y-bottom, 1rem) + env(safe-area-inset-bottom, 0px))}.jun-bar[data-jun-corner^=top]{top:calc(var(--jun-chrome-top, 0px) + var(--jun-bar-stack) + var(--jun-chrome-y-top, 1rem) + env(safe-area-inset-top, 0px))}.jun-bar-pill,.jun-bar-trigger{border-radius:var(--jun-chrome-radius,9999px);transition:border-radius .5s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-bar-pill,.jun-bar-trigger{transition:none}}.jun-hearth-embers{height:1px;pointer-events:none;width:1px;z-index:61}.jun-ember-ink{color:var(--jun-ember)}.jun-bar.is-opaque{backdrop-filter:none;-webkit-backdrop-filter:none}.jun-bar.is-opaque:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-50) 97%,transparent);background-image:none}:root.dark .jun-bar.is-opaque:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)}.jun-bar-trigger{touch-action:none;-webkit-touch-callout:none}.jun-bar.is-pressing{box-shadow:0 12px 32px -8px rgba(0,0,0,.28)}.jun-bar.is-on{background-color:var(--color-neutral-900);background-image:none;border-color:transparent;color:var(--color-neutral-50)}:root.dark .jun-bar.is-on{background-color:var(--color-neutral-100);color:var(--color-neutral-900)}.jun-studio-bar{min-height:2.375rem;min-width:4rem}.jun-bar-knob{background-color:var(--color-neutral-900);bottom:1px;box-shadow:0 1px 3px rgba(0,0,0,.2);color:var(--color-neutral-50);left:1px;position:absolute;top:1px;transition:left .42s cubic-bezier(.22,1,.36,1),translate .42s cubic-bezier(.22,1,.36,1),background-color .3s ease,color .3s ease,box-shadow .3s ease;translate:0 0;width:2.25rem}:root.dark .jun-bar-knob{background-color:var(--color-neutral-100);color:var(--color-neutral-900)}.jun-bar.is-on .jun-bar-knob{background-color:var(--color-neutral-50);box-shadow:0 1px 4px rgba(0,0,0,.3);color:var(--color-neutral-900);left:calc(100% - 1px);translate:-100% 0}:root.dark .jun-bar.is-on .jun-bar-knob{background-color:var(--color-neutral-900);color:var(--color-neutral-100)}.jun-bar-row{padding:0;transition:padding .42s cubic-bezier(.22,1,.36,1)}.jun-bar.is-expanded .jun-bar-row{padding-left:2.5rem;padding-right:.5rem}.jun-bar.is-expanded.is-on .jun-bar-row{padding-left:.625rem;padding-right:2.625rem}.jun-bar-sep{background:currentColor;flex:none;height:1rem;margin-inline:.125rem;opacity:.18;width:1px}.jun-bar-title{border-bottom:1px solid color-mix(in srgb,currentColor 22%,transparent);color:inherit}.jun-bar-title::-moz-placeholder{color:currentColor;opacity:.45}.jun-bar-title::placeholder{color:currentColor;opacity:.45}.jun-bar-title:focus{border-bottom-color:color-mix(in srgb,currentColor 55%,transparent)}.jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-50)}.jun-bar.is-on .jun-bar-health,:root.dark .jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-900)}:root.dark .jun-bar.is-on .jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-100)}.jun-bar .jun-bar-trigger:hover,.jun-bar [data-jun-action]:hover{background-color:color-mix(in srgb,currentColor 10%,transparent)}[data-jun-action].is-hot{background-color:color-mix(in srgb,currentColor 18%,transparent);transform:scale(1.06)}[data-jun-action]{transition:background-color .15s ease,transform .15s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-bar,.jun-bar-knob,.jun-bar-row,[data-jun-action]{transition:none}[data-jun-action].is-hot{transform:none}}
|
|
13
|
+
shadow-lg shadow-black/10}}@layer base{.jun-flow-page{padding-bottom:env(safe-area-inset-bottom,0);padding-top:6rem}html[data-jun-nav=bottom] .jun-flow-page,html[data-jun-nav=rail-left] .jun-flow-page,html[data-jun-nav=rail-right] .jun-flow-page{padding-top:2rem}html[data-jun-nav=rail-left] .jun-flow-page{padding-left:var(--jun-nav-rail-w,0)}html[data-jun-nav=rail-right] .jun-flow-page{padding-right:var(--jun-nav-rail-w,0)}html[data-jun-nav=bottom] .jun-flow-page{padding-bottom:calc(7rem + env(safe-area-inset-bottom, 0px))}body,html{color-scheme:light dark;overscroll-behavior:none;scroll-behavior:smooth}body{-webkit-tap-highlight-color:transparent;padding-top:env(safe-area-inset-top);touch-action:manipulation}@media (display-mode:standalone){.jun-bar,.jun-nav,.jun-studio-bar{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}:root:not(.dark) body:before{background:var(--color-neutral-900);content:"";height:env(safe-area-inset-top,0);inset:0 0 auto;pointer-events:none;position:fixed;z-index:40}}html{overflow-y:scroll;scrollbar-gutter:stable}:root[style*="--scrollbar-width"] body,body[data-scroll-locked]{margin-right:0!important;padding-right:0!important}html.jun-viewport-bound,html.jun-viewport-bound body{height:100dvh;overflow:hidden}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--ui-border);border:2px solid transparent;border-radius:9999px}::-webkit-scrollbar-thumb:hover{background-color:var(--ui-border-accented)}::-webkit-scrollbar-corner{background:transparent}*{scrollbar-color:var(--ui-border) transparent;scrollbar-width:thin}.jun-scrollbar-hide::-webkit-scrollbar{display:none}.jun-scrollbar-hide{-ms-overflow-style:none;scrollbar-width:none}.ProseMirror[contenteditable=false] .meta-field-chip,.ProseMirror[contenteditable=false] [data-type=document-meta],.aeditor-breadcrumb{display:none!important}html[data-jun-player] body{padding-bottom:calc(4rem + env(safe-area-inset-bottom, 0px))}html[data-jun-player][data-jun-nav=bottom] body{padding-bottom:0}.jun-player{bottom:calc(1rem + env(safe-area-inset-bottom, 0px));left:50%;max-width:min(22rem,calc(100vw - 10rem));translate:-50% 0;width:-moz-max-content;width:max-content}html[data-jun-nav=bottom] .jun-player{bottom:auto;max-width:min(22rem,calc(100vw - 2rem));top:calc(1rem + env(safe-area-inset-top, 0px))}.jun-player-sheet{bottom:calc(1.5rem + env(safe-area-inset-bottom, 0px) + var(--jun-player-h, 0px));left:50%;translate:-50% 0;width:min(22rem,calc(100vw - 10rem))}html[data-jun-nav=bottom] .jun-player-sheet{bottom:auto;top:calc(1.5rem + env(safe-area-inset-top, 0px) + var(--jun-player-h, 0px));width:min(22rem,calc(100vw - 2rem))}}:root{--ui-primary:#000;--ui-container:70rem;--jun-canvas:var(--color-neutral-100);--jun-nav-h:3rem;--jun-nav-offset:calc(var(--jun-nav-h) + env(safe-area-inset-top, 0px));--jun-chrome-top:0px;--jun-chrome-bottom:0px;--jun-chrome-left-top:0px;--jun-chrome-left-bottom:0px;--jun-chrome-right-top:0px;--jun-chrome-right-bottom:0px;--jun-sun-from:#24242a;--jun-sun-to:#0f0f12;--jun-sun-core:#fff;--jun-sun-glow:#18181b;--jun-ember:#f59e0b;--jun-ember-glow:#fbbf24}.dark{--ui-primary:#fff;--jun-canvas:var(--color-neutral-950);--jun-sun-from:#fafafa;--jun-sun-to:#e4e4e7;--jun-sun-core:#101013;--jun-sun-glow:#f4f4f5}body,html{background-color:var(--jun-canvas)}.jun-nav-docked{border-left-color:transparent;border-radius:0;border-right-color:transparent;border-top-color:transparent;height:var(--jun-nav-offset);max-width:none;padding-top:env(safe-area-inset-top,0)}.jun-panel-page{top:var(--jun-nav-offset)}.a-map-toolbar-bar,.graph-toolbar-bar{backdrop-filter:blur(8px)!important;background:linear-gradient(180deg,#fff,hsla(0,0%,100%,.4))!important;border:1px solid hsla(0,0%,100%,.1)!important;border-radius:9999px!important;bottom:calc(1.5rem + env(safe-area-inset-bottom, 0px))!important;box-shadow:0 20px 25px -5px rgba(0,0,0,.12),0 8px 10px -6px rgba(0,0,0,.1),0 0 0 1px rgba(0,0,0,.05)!important;gap:4px!important;padding:4px 10px!important}.dark .a-map-toolbar-bar,.dark .graph-toolbar-bar{background:linear-gradient(180deg,#18181b,rgba(24,24,27,.7))!important;border-color:rgba(0,0,0,.05)!important;box-shadow:0 20px 25px -5px rgba(0,0,0,.4),0 8px 10px -6px rgba(0,0,0,.3),0 0 0 1px hsla(0,0%,100%,.1)!important}.a-map-toolbar-bar .toolbar-divider,.graph-toolbar-bar .toolbar-divider{background:rgba(0,0,0,.12)!important}.dark .a-map-toolbar-bar .toolbar-divider,.dark .graph-toolbar-bar .toolbar-divider{background:hsla(0,0%,100%,.15)!important}.graph-minimap{top:6rem!important}.jun-fade-enter-active,.jun-fade-leave-active{transition:opacity .22s ease}.jun-fade-enter-from,.jun-fade-leave-to{opacity:0}html[data-jun-restore] .jun-fade-enter-active,html[data-jun-restore] .jun-fade-leave-active{transition:none}.aa-presence-blobs__blob{filter:none;-webkit-mask-image:radial-gradient(closest-side,#000 0,rgba(0,0,0,.62) 42%,rgba(0,0,0,.22) 68%,transparent 100%);mask-image:radial-gradient(closest-side,#000 0,rgba(0,0,0,.62) 42%,rgba(0,0,0,.22) 68%,transparent 100%);opacity:.3}:root:not(.dark) .aa-presence-blobs__blob{opacity:.2}:root:not(.dark) .jun-presence-blobs{mix-blend-mode:multiply}:root:not(.dark) .jun-presence-blobs__blob{opacity:.24}:root:not(.dark) .jun-presence-blobs__blob:not(.is-anchored){opacity:.15}.jun-logo{transition:transform .4s cubic-bezier(.22,1,.36,1),filter .4s ease,opacity .5s ease}.jun-logo-dot,.jun-sun-core{transform-box:fill-box;transform-origin:center;transition:transform .4s cubic-bezier(.22,1,.36,1)}.jun-logo-dot:nth-of-type(2){transition-delay:.04s}.jun-logo-dot:nth-of-type(3){transition-delay:.08s}.jun-sun-halo{transform-box:fill-box;transform-origin:center;transition:opacity .4s ease,transform .4s cubic-bezier(.22,1,.36,1)}:is(.jun-logo:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo):not(.jun-logo--sun){transform:scale(1.04)}:is(.jun-logo:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo) .jun-logo-dot{transform:scale(1.18)}:is(.jun-logo--sun:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo--sun) .jun-sun-halo{opacity:.8;transform:scale(1.14)}:is(.jun-logo--sun:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo--sun) .jun-sun-core{transform:scale(1.1)}:is(.jun-logo:active,:is(a,button,summary):active .jun-logo):not(.jun-logo--sun){transform:scale(.96)}:is(.jun-logo--sun:active,:is(a,button,summary):active .jun-logo--sun) .jun-sun-core{transform:scale(.9)}.jun-logo-bang:empty{display:none}.jun-logo-bang{display:inline-block;font-weight:700;padding-inline:.02em;transition:transform .4s cubic-bezier(.22,1,.36,1)}:is(a,button,summary,.jun-logo-lockup):hover .jun-logo-bang{transform:translateY(-.06em)}.jun-logo-lockup.is-sun .jun-logo-bang{color:var(--jun-sun-glow)}@media (prefers-reduced-motion:reduce){.jun-logo,.jun-logo-bang,.jun-logo-dot,.jun-sun-core,.jun-sun-halo{transition:none}}html.doc-dragging .ProseMirror{border-radius:8px;outline:2px dashed rgba(0,0,0,.18);outline-offset:8px;transition:outline-color .2s ease}html.dark.doc-dragging .ProseMirror,html.doc-dragging.dark .ProseMirror{outline-color:hsla(0,0%,100%,.22)}html.doc-dragging [data-doc-drop-zone]{border-radius:10px;outline:2px dashed rgba(0,0,0,.14);outline-offset:4px}html.dark.doc-dragging [data-doc-drop-zone],html.doc-dragging.dark [data-doc-drop-zone]{outline-color:hsla(0,0%,100%,.18)}html.theme-switching,html.theme-switching *{transition:background-color .45s ease,color .45s ease,border-color .45s ease,fill .45s ease,stroke .45s ease!important}@media (prefers-reduced-motion:reduce){.jun-fade-enter-active,.jun-fade-leave-active{transition:none}html.theme-switching,html.theme-switching *{transition:none!important}}html.jun-surface-soft *,html.jun-surface-soft :after,html.jun-surface-soft :before,html.jun-surface-solid *,html.jun-surface-solid :after,html.jun-surface-solid :before{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}html.jun-surface-soft .jun-blur,html.jun-surface-soft .jun-blur-gradient,html.jun-surface-soft .jun-blur-inverted,html.jun-surface-soft .jun-campfire-banner,html.jun-surface-soft .jun-campfire-panel,html.jun-surface-soft .jun-campfire-pill,html.jun-surface-soft .jun-chrome{backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important}html.jun-surface-solid .jun-blur,html.jun-surface-solid .jun-blur-gradient,html.jun-surface-solid .jun-card,html.jun-surface-solid .jun-chrome:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-50) 97%,transparent)!important;background-image:none!important}html.jun-surface-solid.dark .jun-blur,html.jun-surface-solid.dark .jun-blur-gradient,html.jun-surface-solid.dark .jun-card,html.jun-surface-solid.dark .jun-chrome:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)!important}html.jun-surface-solid .jun-bar.is-on{background-color:var(--color-neutral-900)!important;background-image:none!important}html.jun-surface-solid.dark .jun-bar.is-on{background-color:var(--color-neutral-100)!important}html.jun-surface-solid .jun-campfire-banner,html.jun-surface-solid .jun-campfire-panel,html.jun-surface-solid .jun-campfire-pill{background:color-mix(in srgb,var(--color-neutral-50) 97%,transparent)!important}html.jun-surface-solid.dark .jun-campfire-banner,html.jun-surface-solid.dark .jun-campfire-panel,html.jun-surface-solid.dark .jun-campfire-pill{background:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)!important}html.jun-surface-solid .jun-blur-inverted{background-color:rgba(250,250,252,.92)!important;background-image:none!important}html.jun-surface-solid.dark .jun-blur-inverted{background-color:rgba(14,15,17,.92)!important}.jun-palette-panel{display:flex;flex-direction:column;left:var(--jun-palette-left,50vw);max-height:var(--jun-palette-max-h,min(60vh,34rem));max-width:none;overflow:hidden;position:fixed;top:var(--jun-palette-top,5.5rem);transform-origin:var(--jun-palette-origin,top center);translate:var(--jun-palette-tx,-50%) var(--jun-palette-ty,0);width:var(--jun-palette-w,min(42rem,calc(100vw - 2rem)))}.jun-palette-panel[data-state=open]{animation:jun-palette-in .26s cubic-bezier(.22,1,.36,1) both}.jun-palette-panel[data-state=closed]{animation:jun-palette-out .13s ease-in both}@keyframes jun-palette-in{0%{opacity:0;transform:var(--jun-palette-from,translateY(-8px)) scale(.97)}to{opacity:1;transform:none}}@keyframes jun-palette-out{0%{opacity:1;transform:none}to{opacity:0;transform:var(--jun-palette-from,translateY(-8px)) scale(.98)}}.jun-palette-cursor{border-radius:.375rem;left:.5rem;pointer-events:none;position:absolute;right:.5rem;top:0;transition:transform .26s cubic-bezier(.22,1,.36,1),height .26s cubic-bezier(.22,1,.36,1),opacity .16s ease}.jun-palette-cursor.is-placing{transition:none}.jun-settings-panel{display:flex;flex-direction:column;height:min(46rem,calc(100vh - 4rem));left:50vw;max-height:none;max-width:none;overflow:hidden;position:fixed;top:50vh;transform-origin:center;translate:-50% -50%;width:min(56rem,calc(100vw - 2rem))}.jun-settings-panel[data-state=open]{animation:jun-settings-in .26s cubic-bezier(.22,1,.36,1) both}.jun-settings-panel[data-state=closed]{animation:jun-settings-out .13s ease-in both}@keyframes jun-settings-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}@keyframes jun-settings-out{0%{opacity:1;transform:none}to{opacity:0;transform:scale(.98)}}@media (max-width:767px){.jun-settings-panel{border-radius:.75rem;height:calc(100dvh - 2rem);width:calc(100vw - 1rem)}}.jun-settings-marker{transition:top .22s cubic-bezier(.22,1,.36,1),height .22s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-settings-panel[data-state=closed],.jun-settings-panel[data-state=open]{animation-duration:1ms}.jun-settings-marker{transition:none}}.jun-palette-stagger>*{animation:jun-palette-row-in .32s cubic-bezier(.22,1,.36,1) both}@keyframes jun-palette-row-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.jun-pal-move{transition:transform .28s cubic-bezier(.22,1,.36,1)}.jun-pal-enter-active{transition:opacity .2s ease,transform .2s cubic-bezier(.22,1,.36,1)}.jun-pal-leave-active{left:0;position:absolute;right:0;transition:opacity .12s ease,transform .12s ease}.jun-pal-enter-from,.jun-pal-leave-to{opacity:0;transform:translateY(-4px)}.jun-palette-snippet mark{background:transparent;color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px}@media (prefers-reduced-motion:reduce){.jun-palette-panel[data-state=closed],.jun-palette-panel[data-state=open],.jun-palette-stagger>*{animation:none}.jun-pal-enter-active,.jun-pal-leave-active,.jun-pal-move,.jun-palette-cursor{transition:none}}html[data-jun-nav=bottom] .jun-player-enter-from,html[data-jun-nav=bottom] .jun-player-leave-to{transform:translateY(-1.5rem)}@media (prefers-reduced-motion:reduce){html[data-jun-nav=bottom] .jun-player-enter-from,html[data-jun-nav=bottom] .jun-player-leave-to{transform:none}}.jun-bar{--jun-bar-stack:0px;--jun-bar-inset:0px;position:fixed;transition:top .45s cubic-bezier(.22,1,.36,1),right .45s cubic-bezier(.22,1,.36,1),bottom .45s cubic-bezier(.22,1,.36,1),left .45s cubic-bezier(.22,1,.36,1),box-shadow .35s ease;z-index:60}.jun-bar-pill{align-items:center;display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none}.jun-bar[data-jun-corner=top-left]{left:calc(var(--jun-chrome-left-top, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-left, 1rem) + env(safe-area-inset-left, 0px))}.jun-bar[data-jun-corner=bottom-left]{left:calc(var(--jun-chrome-left-bottom, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-left, 1rem) + env(safe-area-inset-left, 0px))}.jun-bar[data-jun-corner=top-right]{right:calc(var(--jun-chrome-right-top, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-right, 1rem) + env(safe-area-inset-right, 0px))}.jun-bar[data-jun-corner=bottom-right]{right:calc(var(--jun-chrome-right-bottom, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-right, 1rem) + env(safe-area-inset-right, 0px))}.jun-bar[data-jun-corner^=bottom]{bottom:calc(var(--jun-chrome-bottom, 0px) + var(--jun-bar-stack) + var(--jun-chrome-y-bottom, 1rem) + env(safe-area-inset-bottom, 0px))}.jun-bar[data-jun-corner^=top]{top:calc(var(--jun-chrome-top, 0px) + var(--jun-bar-stack) + var(--jun-chrome-y-top, 1rem) + env(safe-area-inset-top, 0px))}.jun-bar-pill,.jun-bar-trigger{border-radius:var(--jun-chrome-radius,9999px);transition:border-radius .5s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-bar-pill,.jun-bar-trigger{transition:none}}.jun-hearth-embers{height:1px;pointer-events:none;width:1px;z-index:61}.jun-ember-ink{color:var(--jun-ember)}.jun-bar.is-opaque{backdrop-filter:none;-webkit-backdrop-filter:none}.jun-bar.is-opaque:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-50) 97%,transparent);background-image:none}:root.dark .jun-bar.is-opaque:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)}.jun-bar-trigger{touch-action:none;-webkit-touch-callout:none}.jun-bar.is-pressing{box-shadow:0 12px 32px -8px rgba(0,0,0,.28)}.jun-bar.is-on{background-color:var(--color-neutral-900);background-image:none;border-color:transparent;color:var(--color-neutral-50)}:root.dark .jun-bar.is-on{background-color:var(--color-neutral-100);color:var(--color-neutral-900)}.jun-studio-bar{min-height:2.375rem;min-width:4rem}.jun-bar-knob{background-color:var(--color-neutral-900);bottom:1px;box-shadow:0 1px 3px rgba(0,0,0,.2);color:var(--color-neutral-50);left:1px;position:absolute;top:1px;transition:left .42s cubic-bezier(.22,1,.36,1),translate .42s cubic-bezier(.22,1,.36,1),background-color .3s ease,color .3s ease,box-shadow .3s ease;translate:0 0;width:2.25rem}:root.dark .jun-bar-knob{background-color:var(--color-neutral-100);color:var(--color-neutral-900)}.jun-bar.is-on .jun-bar-knob{background-color:var(--color-neutral-50);box-shadow:0 1px 4px rgba(0,0,0,.3);color:var(--color-neutral-900);left:calc(100% - 1px);translate:-100% 0}:root.dark .jun-bar.is-on .jun-bar-knob{background-color:var(--color-neutral-900);color:var(--color-neutral-100)}.jun-bar-row{padding:0;transition:padding .42s cubic-bezier(.22,1,.36,1)}.jun-bar.is-expanded .jun-bar-row{padding-left:2.5rem;padding-right:.5rem}.jun-bar.is-expanded.is-on .jun-bar-row{padding-left:.625rem;padding-right:2.625rem}.jun-bar-sep{background:currentColor;flex:none;height:1rem;margin-inline:.125rem;opacity:.18;width:1px}.jun-bar-title{border-bottom:1px solid color-mix(in srgb,currentColor 22%,transparent);color:inherit}.jun-bar-title::-moz-placeholder{color:currentColor;opacity:.45}.jun-bar-title::placeholder{color:currentColor;opacity:.45}.jun-bar-title:focus{border-bottom-color:color-mix(in srgb,currentColor 55%,transparent)}.jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-50)}.jun-bar.is-on .jun-bar-health,:root.dark .jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-900)}:root.dark .jun-bar.is-on .jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-100)}.jun-bar .jun-bar-trigger:hover,.jun-bar [data-jun-action]:hover{background-color:color-mix(in srgb,currentColor 10%,transparent)}[data-jun-action].is-hot{background-color:color-mix(in srgb,currentColor 18%,transparent);transform:scale(1.06)}[data-jun-action]{transition:background-color .15s ease,transform .15s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-bar,.jun-bar-knob,.jun-bar-row,[data-jun-action]{transition:none}[data-jun-action].is-hot{transform:none}}
|
|
@@ -116,5 +116,5 @@ onBeforeUnmount(() => {
|
|
|
116
116
|
</template>
|
|
117
117
|
|
|
118
118
|
<style scoped>
|
|
119
|
-
.jun-blob-backdrop{background
|
|
119
|
+
.jun-blob-backdrop{background:var(--jun-canvas);min-height:100lvh;--jun-blob-core:18%;--jun-blob-mid:11%}:root.dark .jun-blob-backdrop{--jun-blob-core:34%;--jun-blob-mid:21%}.blob-parallax{inset:-3%;opacity:var(--jun-blob-opacity,1);position:absolute;transform:translate3d(var(--px,0),var(--py,0),0);transition:opacity .6s ease;will-change:transform}.is-quiet .blob-parallax{opacity:0}.blob-field{inset:0;position:absolute;transform-origin:50% 50%}.blob-field.is-nav{animation:nav-breath 1.2s cubic-bezier(.22,1,.36,1)}.blob{border-radius:50%;mix-blend-mode:multiply;position:absolute;transform:translateZ(0);transition:top 1.2s cubic-bezier(.22,1,.36,1),left 1.2s cubic-bezier(.22,1,.36,1),width 1.2s cubic-bezier(.22,1,.36,1),height 1.2s cubic-bezier(.22,1,.36,1);will-change:transform}:root.dark .blob{mix-blend-mode:screen}.blob--1{animation:blob-drift-a 34s ease-in-out infinite}.blob--2{animation:blob-drift-b 41s ease-in-out infinite}.blob--3{animation:blob-drift-c 47s ease-in-out infinite}.is-paused .blob,.is-paused .blob-field{animation-play-state:paused}@keyframes nav-breath{0%{transform:scale(1.03)}60%{transform:scale(.995)}to{transform:scale(1)}}@keyframes blob-drift-a{0%,to{transform:translate(0) scale(1)}33%{transform:translate(7vw,6vh) scale(1.1)}66%{transform:translate(-5vw,9vh) scale(.94)}}@keyframes blob-drift-b{0%,to{transform:translate(0) scale(1)}33%{transform:translate(-8vw,-5vh) scale(.9)}66%{transform:translate(6vw,7vh) scale(1.12)}}@keyframes blob-drift-c{0%,to{transform:translate(0) scale(1.04)}50%{transform:translate(9vw,-7vh) scale(.92)}}@media (prefers-reduced-motion:reduce){.blob,.blob-field{animation:none!important}.blob{transition:none!important}.blob-parallax{transform:none!important}}
|
|
120
120
|
</style>
|
|
@@ -3,9 +3,12 @@ import { computed } from "vue";
|
|
|
3
3
|
import { useHead, useSeoMeta } from "#app";
|
|
4
4
|
import { useJunOptions } from "../composables/useJunOptions";
|
|
5
5
|
import { junConfigOn, junConfigStr, useJunSiteConfigValues } from "../composables/useJunSiteConfigValues";
|
|
6
|
+
import { junAppleSplashLinks, junIconUrls, junIdentity } from "../utils/junIdentity";
|
|
6
7
|
const { brand, features } = useJunOptions();
|
|
7
8
|
const site = await useJunSiteConfigValues();
|
|
8
9
|
const str = (key) => junConfigStr(site.value[key]);
|
|
10
|
+
const identity = computed(() => junIdentity(brand, site.value));
|
|
11
|
+
const icons = computed(() => junIconUrls(identity.value));
|
|
9
12
|
const title = computed(() => str("seoTitle") ?? brand.name);
|
|
10
13
|
const description = computed(() => str("seoDescription") ?? brand.tagline);
|
|
11
14
|
const author = computed(() => str("authorName") ?? brand.name);
|
|
@@ -47,16 +50,45 @@ useHead(() => ({
|
|
|
47
50
|
{ key: "theme-color-light", name: "theme-color", media: "(prefers-color-scheme: light)", content: "#ffffff" },
|
|
48
51
|
{ key: "theme-color-dark", name: "theme-color", media: "(prefers-color-scheme: dark)", content: brand.themeColor },
|
|
49
52
|
// PWA app chrome.
|
|
53
|
+
//
|
|
54
|
+
// Both capability metas, and BOTH are needed: `mobile-web-app-capable` is
|
|
55
|
+
// the standard one, `apple-mobile-web-app-capable` is what iOS reads, and
|
|
56
|
+
// iOS reads it out of the SERVED HTML at add-to-home-screen time. A tag
|
|
57
|
+
// injected by JavaScript after hydration is too late — the icon then opens
|
|
58
|
+
// in the in-app Safari overlay instead of standalone.
|
|
50
59
|
{ name: "mobile-web-app-capable", content: "yes" },
|
|
51
60
|
{ name: "apple-mobile-web-app-capable", content: "yes" },
|
|
52
61
|
{ name: "apple-touch-fullscreen", content: "yes" },
|
|
62
|
+
// `black-translucent` is load-bearing, not cosmetic: it is what puts the
|
|
63
|
+
// page UNDER the status bar, which is the whole reason `viewport-fit=cover`
|
|
64
|
+
// and the `env(safe-area-inset-*)` rules in jun.css exist. Change this and
|
|
65
|
+
// every safe-area rule becomes dead weight.
|
|
53
66
|
{ name: "apple-mobile-web-app-status-bar-style", content: "black-translucent" },
|
|
54
|
-
{ name: "apple-mobile-web-app-title", content:
|
|
67
|
+
{ name: "apple-mobile-web-app-title", content: identity.value.shortName },
|
|
68
|
+
{ name: "application-name", content: identity.value.name },
|
|
69
|
+
// Windows tiles read this one and ignore the manifest.
|
|
70
|
+
{ name: "msapplication-TileColor", content: identity.value.themeColor }
|
|
71
|
+
],
|
|
72
|
+
link: [
|
|
73
|
+
// ── Identity ──────────────────────────────────────────────────────────
|
|
74
|
+
// ONE svg favicon, which answers both colour schemes from inside itself
|
|
75
|
+
// (see `junFaviconSvg`). `?v=` is the brand fingerprint — the response is
|
|
76
|
+
// immutable for a year, so this is what lets a changed accent ever show.
|
|
77
|
+
{ key: "jun-favicon", rel: "icon", type: "image/svg+xml", href: icons.value.favicon },
|
|
78
|
+
// iOS takes PNG and nothing else. Without this it uses a SCREENSHOT of the
|
|
79
|
+
// page as the home-screen icon, which is the single most obvious tell that
|
|
80
|
+
// an installed site is a website rather than an app.
|
|
81
|
+
{ key: "jun-apple-icon", rel: "apple-touch-icon", sizes: "180x180", href: icons.value.appleTouch },
|
|
82
|
+
{ key: "jun-manifest", rel: "manifest", href: `/manifest.webmanifest?v=${identity.value.version}` },
|
|
83
|
+
// iOS launch screens. Thirty-two near-identical tags, which sounds like a
|
|
84
|
+
// lot of head and gzips to almost nothing — see `JUN_IOS_SCREENS` for the
|
|
85
|
+
// measurement and for why the list has to name devices individually.
|
|
86
|
+
...junAppleSplashLinks(identity.value),
|
|
87
|
+
...feedsEnabled.value ? [
|
|
88
|
+
{ rel: "alternate", type: "application/atom+xml", title: "Atom feed", href: "/feed.xml" },
|
|
89
|
+
{ rel: "alternate", type: "application/feed+json", title: "JSON feed", href: "/feed.json" }
|
|
90
|
+
] : []
|
|
55
91
|
],
|
|
56
|
-
link: feedsEnabled.value ? [
|
|
57
|
-
{ rel: "alternate", type: "application/atom+xml", title: "Atom feed", href: "/feed.xml" },
|
|
58
|
-
{ rel: "alternate", type: "application/feed+json", title: "JSON feed", href: "/feed.json" }
|
|
59
|
-
] : [],
|
|
60
92
|
script: identityJsonLd.value ? [{ key: "jun-identity-ld", type: "application/ld+json", innerHTML: identityJsonLd.value }] : []
|
|
61
93
|
}));
|
|
62
94
|
useSeoMeta({
|
|
@@ -2,53 +2,18 @@
|
|
|
2
2
|
import { computed, useId } from "vue";
|
|
3
3
|
import { useJunOptions } from "../composables/useJunOptions";
|
|
4
4
|
import { useJunEffectiveConfig } from "../composables/useJunSiteConfig";
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
// centred in the box at every size, and the shoot leaves it at the same
|
|
9
|
-
// angle the hook exits — the two arms balance instead of one out-weighing
|
|
10
|
-
// the other, which is what made the old draw lean right.
|
|
11
|
-
sprout: {
|
|
12
|
-
paths: [
|
|
13
|
-
{ d: "M24 18v12.2c0 7.4-3.6 11.1-9.8 9", w: 3.4 },
|
|
14
|
-
{ d: "M24 25.4 32.6 18.6", w: 3.4 }
|
|
15
|
-
],
|
|
16
|
-
dots: [
|
|
17
|
-
{ cx: 24, cy: 9.6, r: 3.4 },
|
|
18
|
-
{ cx: 35.4, cy: 16.4, r: 2.8 },
|
|
19
|
-
{ cx: 11.2, cy: 38.2, r: 2.8 }
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
// The graph. Edges stop SHORT of each node and tuck under it, so the joins
|
|
23
|
-
// stay clean when the stroke is only a couple of device pixels wide.
|
|
24
|
-
node: {
|
|
25
|
-
paths: [
|
|
26
|
-
{ d: "M31.5 13.5V24.5", w: 3.2 },
|
|
27
|
-
{ d: "M29.2 28.6 18.9 35.2", w: 3.2 }
|
|
28
|
-
],
|
|
29
|
-
dots: [
|
|
30
|
-
{ cx: 31.5, cy: 10.8, r: 3.5 },
|
|
31
|
-
{ cx: 31.5, cy: 27.2, r: 3.5 },
|
|
32
|
-
{ cx: 16.6, cy: 36.6, r: 3.5 }
|
|
33
|
-
]
|
|
34
|
-
},
|
|
35
|
-
// The document, with the bang set inside it. The old three-stroke mini-tree
|
|
36
|
-
// in there turned to mush below ~20px; one stem and one dot survive it.
|
|
37
|
-
page: {
|
|
38
|
-
paths: [
|
|
39
|
-
{ d: "M13 6h14l8 8v28H13z", w: 3, join: true },
|
|
40
|
-
{ d: "M27 6v8h8", w: 3, join: true },
|
|
41
|
-
{ d: "M24 18v8.6", w: 3.2 }
|
|
42
|
-
],
|
|
43
|
-
dots: [
|
|
44
|
-
{ cx: 24, cy: 31.8, r: 2.2 }
|
|
45
|
-
]
|
|
46
|
-
}
|
|
47
|
-
};
|
|
5
|
+
import { JUN_MARKS, JUN_MARK_NAMES, JUN_SUN } from "../utils/junMark";
|
|
6
|
+
const KNOWN_MARKS = JUN_MARK_NAMES;
|
|
7
|
+
const MARKS = JUN_MARKS;
|
|
48
8
|
const SUN = {
|
|
49
9
|
body: { from: "var(--jun-sun-from)", to: "var(--jun-sun-to)" },
|
|
50
10
|
core: "var(--jun-sun-core)",
|
|
51
|
-
|
|
11
|
+
// The NUMBERS come from `JUN_SUN`, for the same reason `MARKS` does: the
|
|
12
|
+
// favicon and the app icon draw this orb too, and a glow centre that is 45
|
|
13
|
+
// here and 44 there is a mark that quietly differs between the tab and the
|
|
14
|
+
// navbar. Only the COLOURS are stated here, because only the DOM has CSS
|
|
15
|
+
// variables to state them with.
|
|
16
|
+
glow: { color: "var(--jun-sun-glow)", cx: JUN_SUN.glow.cx, cy: JUN_SUN.glow.cy, r: JUN_SUN.glow.r },
|
|
52
17
|
/**
|
|
53
18
|
* The core's soft ring — the blob's `box-shadow: 0 0 20px rgba(0,0,0,.2)`,
|
|
54
19
|
* drawn as GEOMETRY rather than as a CSS `drop-shadow`.
|
|
@@ -63,7 +28,7 @@ const SUN = {
|
|
|
63
28
|
* `r` 17 against the core's 12 is the old 10-unit blur radius, and the two
|
|
64
29
|
* inner stops reproduce its falloff — flat to the core's edge, then out.
|
|
65
30
|
*/
|
|
66
|
-
halo:
|
|
31
|
+
halo: JUN_SUN.halo
|
|
67
32
|
};
|
|
68
33
|
const props = defineProps({
|
|
69
34
|
title: { type: String, required: false, default: "Home" },
|
|
@@ -91,5 +91,5 @@ onBeforeUnmount(() => {
|
|
|
91
91
|
</template>
|
|
92
92
|
|
|
93
93
|
<style scoped>
|
|
94
|
-
.jun-pattern-backdrop{background
|
|
94
|
+
.jun-pattern-backdrop{background:var(--jun-canvas);min-height:100lvh}.pattern-parallax{inset:-3%;opacity:var(--jun-blob-opacity,1);position:absolute;transform:translate3d(var(--px,0),var(--py,0),0);transition:opacity .6s ease;will-change:transform}.is-quiet .pattern-parallax{opacity:0}.layer{inset:0;position:absolute;will-change:transform,opacity}.is-paused .layer{animation-play-state:paused}.is-dots .layer--1{animation:pattern-drift-dots 60s linear infinite;background-image:radial-gradient(circle at center,var(--jun-bd-a) 1.1px,transparent 1.2px);background-size:26px 26px;opacity:.18}.is-dots .layer--2{background:radial-gradient(ellipse 70% 60% at 50% 0,var(--jun-bd-c) 0,transparent 70%);opacity:.22}:root.dark .is-dots .layer--1{opacity:.4}:root.dark .is-dots .layer--2{opacity:.34}.is-grid .layer--1{animation:pattern-drift-grid 90s linear infinite;background-size:64px 64px;-webkit-mask-image:radial-gradient(ellipse 80% 70% at 50% 40%,#000 20%,transparent 78%);mask-image:radial-gradient(ellipse 80% 70% at 50% 40%,#000 20%,transparent 78%);opacity:.13}.is-grid .layer--1,.is-grid .layer--2{background-image:linear-gradient(to right,var(--jun-bd-a) 1px,transparent 1px),linear-gradient(to bottom,var(--jun-bd-a) 1px,transparent 1px)}.is-grid .layer--2{background-size:16px 16px;-webkit-mask-image:radial-gradient(ellipse 60% 50% at 50% 40%,#000 10%,transparent 70%);mask-image:radial-gradient(ellipse 60% 50% at 50% 40%,#000 10%,transparent 70%);opacity:.06}:root.dark .is-grid .layer--1{opacity:.32}:root.dark .is-grid .layer--2{opacity:.14}.is-aurora .layer--1{animation:pattern-aurora-a 38s ease-in-out infinite;background:linear-gradient(115deg,transparent 12%,var(--jun-bd-a) 38%,transparent 62%);mix-blend-mode:multiply;opacity:.3}.is-aurora .layer--2{animation:pattern-aurora-b 52s ease-in-out infinite;background:linear-gradient(-70deg,transparent 20%,var(--jun-bd-c) 50%,transparent 80%);mix-blend-mode:multiply;opacity:.26}:root.dark .is-aurora .layer--1,:root.dark .is-aurora .layer--2{mix-blend-mode:screen;opacity:.55}.is-mesh .layer--1{animation:pattern-mesh-a 44s ease-in-out infinite;background:radial-gradient(closest-side at 12% 18%,var(--jun-bd-a) 0,transparent 70%),radial-gradient(closest-side at 88% 12%,var(--jun-bd-c) 0,transparent 72%);background-repeat:no-repeat;background-size:70% 70%,65% 65%;mix-blend-mode:multiply;opacity:.5}.is-mesh .layer--2{animation:pattern-mesh-b 57s ease-in-out infinite;background:radial-gradient(closest-side at 20% 88%,var(--jun-bd-b) 0,transparent 72%),radial-gradient(closest-side at 82% 82%,var(--jun-bd-a) 0,transparent 68%);background-repeat:no-repeat;background-size:68% 68%,62% 62%;mix-blend-mode:multiply;opacity:.42}:root.dark .is-mesh .layer--1{mix-blend-mode:screen;opacity:.62}:root.dark .is-mesh .layer--2{mix-blend-mode:screen;opacity:.55}.is-rings .layer--1{animation:pattern-rings 26s ease-out infinite;background:repeating-radial-gradient(circle at 50% 42%,var(--jun-bd-a) 0 1px,transparent 1px 84px);-webkit-mask-image:radial-gradient(circle at 50% 42%,#000 5%,transparent 72%);mask-image:radial-gradient(circle at 50% 42%,#000 5%,transparent 72%);opacity:.16}.is-rings .layer--2{background:radial-gradient(circle at 50% 42%,var(--jun-bd-c) 0,transparent 55%);mix-blend-mode:multiply;opacity:.3}:root.dark .is-rings .layer--1{--jun-ring-o:0.34}:root.dark .is-rings .layer--2{mix-blend-mode:screen;opacity:.4}.is-waves .layer--1{animation:pattern-wave-a 30s ease-in-out infinite;background:radial-gradient(ellipse 120% 60% at 50% 118%,var(--jun-bd-a) 0,transparent 70%);mix-blend-mode:multiply;opacity:.34}.is-waves .layer--2{animation:pattern-wave-b 43s ease-in-out infinite;background:radial-gradient(ellipse 150% 55% at 30% 126%,var(--jun-bd-c) 0,transparent 68%);mix-blend-mode:multiply;opacity:.3}.is-waves .layer--3{animation:pattern-wave-c 37s ease-in-out infinite;background:radial-gradient(ellipse 100% 70% at 78% 132%,var(--jun-bd-b) 0,transparent 65%);mix-blend-mode:multiply;opacity:.24}:root.dark .is-waves .layer--1,:root.dark .is-waves .layer--2,:root.dark .is-waves .layer--3{mix-blend-mode:screen;opacity:.56}.is-noise .layer--1{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='a'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='3' type='fractalNoise'/%3E%3C/filter%3E%3Cpath d='M0 0h120v120H0z' filter='url(%23a)' opacity='.5'/%3E%3C/svg%3E");opacity:.055}.is-noise .layer--2{background:radial-gradient(ellipse 90% 70% at 50% 0,var(--jun-bd-c) 0,transparent 72%);mix-blend-mode:multiply;opacity:.28}:root.dark .is-noise .layer--1{opacity:.13}:root.dark .is-noise .layer--2{mix-blend-mode:screen;opacity:.36}@keyframes pattern-drift-dots{0%{transform:translate(0)}to{transform:translate(26px,26px)}}@keyframes pattern-drift-grid{0%{transform:translate(0)}to{transform:translate(64px)}}@keyframes pattern-aurora-a{0%,to{transform:translate(-6%,-4%) scale(1.15)}50%{transform:translate(8%,6%) scale(1.3)}}@keyframes pattern-aurora-b{0%,to{transform:translate(7%,5%) scale(1.25)}50%{transform:translate(-8%,-6%) scale(1.1)}}@keyframes pattern-mesh-a{0%,to{transform:translate(0) scale(1)}50%{transform:translate(5%,4%) scale(1.12)}}@keyframes pattern-mesh-b{0%,to{transform:translate(0) scale(1.06)}50%{transform:translate(-6%,-3%) scale(.96)}}@keyframes pattern-rings{0%{opacity:var(--jun-ring-o,.16);transform:scale(1)}to{opacity:0;transform:scale(1.9)}}@keyframes pattern-wave-a{0%,to{transform:translate(0)}50%{transform:translate(-4%,-3%)}}@keyframes pattern-wave-b{0%,to{transform:translate(0)}50%{transform:translate(5%,-2%)}}@keyframes pattern-wave-c{0%,to{transform:translate(0)}50%{transform:translate(-3%,-4%)}}@media (prefers-reduced-motion:reduce){.layer{animation:none!important}.pattern-parallax{transform:none!important}}
|
|
95
95
|
</style>
|
|
@@ -78,5 +78,5 @@ const plasmaWarp = computed(() => paletteName.value === "globe" ? 0.45 : 0.55);
|
|
|
78
78
|
</template>
|
|
79
79
|
|
|
80
80
|
<style scoped>
|
|
81
|
-
.jun-shader-backdrop{-webkit-mask-image:radial-gradient(160% 130% at 50% 50%,#000 0,#000 80%,rgba(0,0,0,.9) 100%);mask-image:radial-gradient(160% 130% at 50% 50%,#000 0,#000 80%,rgba(0,0,0,.9) 100%)}.jun-shader-backdrop :deep(.shader),.jun-shader-backdrop :deep(canvas){display:block;height:100%!important;width:100%!important}.jun-vignette{background:radial-gradient(130% 90% at 50% 50%,transparent 40%,hsla(0,0%,100%,.18) 100%);inset:0;pointer-events:none;position:absolute}:root.dark .jun-vignette{background:radial-gradient(130% 90% at 50% 50%,transparent 40%,rgba(0,0,0,.3) 100%)}
|
|
81
|
+
.jun-shader-backdrop{background:var(--jun-canvas);-webkit-mask-image:radial-gradient(160% 130% at 50% 50%,#000 0,#000 80%,rgba(0,0,0,.9) 100%);mask-image:radial-gradient(160% 130% at 50% 50%,#000 0,#000 80%,rgba(0,0,0,.9) 100%);min-height:100lvh}.jun-shader-backdrop :deep(.shader),.jun-shader-backdrop :deep(canvas){display:block;height:100%!important;width:100%!important}.jun-vignette{background:radial-gradient(130% 90% at 50% 50%,transparent 40%,hsla(0,0%,100%,.18) 100%);inset:0;pointer-events:none;position:absolute}:root.dark .jun-vignette{background:radial-gradient(130% 90% at 50% 50%,transparent 40%,rgba(0,0,0,.3) 100%)}
|
|
82
82
|
</style>
|
|
@@ -550,7 +550,7 @@ function shows(id) {
|
|
|
550
550
|
</div>
|
|
551
551
|
</header>
|
|
552
552
|
|
|
553
|
-
<div class="grid gap-4 sm:grid-cols-2">
|
|
553
|
+
<div class="grid grid-cols-1 gap-4 sm:grid-cols-2">
|
|
554
554
|
<UFormField
|
|
555
555
|
label="Site title"
|
|
556
556
|
help="Falls back to the page title when empty."
|
|
@@ -683,7 +683,7 @@ function shows(id) {
|
|
|
683
683
|
</div>
|
|
684
684
|
</UFormField>
|
|
685
685
|
|
|
686
|
-
<div class="grid gap-4 sm:grid-cols-2">
|
|
686
|
+
<div class="grid grid-cols-1 gap-4 sm:grid-cols-2">
|
|
687
687
|
<UFormField
|
|
688
688
|
label="Shape"
|
|
689
689
|
help="Ghost drops the panel — border, ring and frosting."
|
|
@@ -730,7 +730,7 @@ function shows(id) {
|
|
|
730
730
|
</UFormField>
|
|
731
731
|
</div>
|
|
732
732
|
|
|
733
|
-
<div class="grid gap-x-8 gap-y-3 pt-1 sm:grid-cols-3">
|
|
733
|
+
<div class="grid grid-cols-1 gap-x-8 gap-y-3 pt-1 sm:grid-cols-3">
|
|
734
734
|
<div class="flex items-center justify-between gap-3">
|
|
735
735
|
<div class="min-w-0">
|
|
736
736
|
<p class="text-xs font-medium">
|
|
@@ -777,7 +777,7 @@ function shows(id) {
|
|
|
777
777
|
/>
|
|
778
778
|
</div>
|
|
779
779
|
</div>
|
|
780
|
-
<div class="grid gap-x-8 gap-y-3 sm:grid-cols-3">
|
|
780
|
+
<div class="grid grid-cols-1 gap-x-8 gap-y-3 sm:grid-cols-3">
|
|
781
781
|
<div class="flex items-center justify-between gap-3">
|
|
782
782
|
<div class="min-w-0">
|
|
783
783
|
<p class="text-xs font-medium">
|
|
@@ -1187,7 +1187,7 @@ function shows(id) {
|
|
|
1187
1187
|
</div>
|
|
1188
1188
|
</UFormField>
|
|
1189
1189
|
|
|
1190
|
-
<div class="grid gap-4 sm:grid-cols-2">
|
|
1190
|
+
<div class="grid grid-cols-1 gap-4 sm:grid-cols-2">
|
|
1191
1191
|
<UFormField
|
|
1192
1192
|
label="Grayscale tint"
|
|
1193
1193
|
help="The neutral family everything grey is mixed from."
|
|
@@ -1375,7 +1375,7 @@ function shows(id) {
|
|
|
1375
1375
|
<!-- The modifiers only exist once there is something to modify. -->
|
|
1376
1376
|
<div
|
|
1377
1377
|
v-if="backgroundSettings.active"
|
|
1378
|
-
class="mt-4 grid gap-4 sm:grid-cols-[auto_1fr_auto]"
|
|
1378
|
+
class="mt-4 grid grid-cols-1 gap-4 sm:grid-cols-[auto_1fr_auto]"
|
|
1379
1379
|
>
|
|
1380
1380
|
<div>
|
|
1381
1381
|
<p class="mb-1.5 text-[11px] text-muted">
|
|
@@ -1464,7 +1464,7 @@ function shows(id) {
|
|
|
1464
1464
|
</header>
|
|
1465
1465
|
|
|
1466
1466
|
<div
|
|
1467
|
-
class="grid gap-4 transition-opacity sm:grid-cols-[2fr_1fr]"
|
|
1467
|
+
class="grid grid-cols-1 gap-4 transition-opacity sm:grid-cols-[2fr_1fr]"
|
|
1468
1468
|
:class="announceEnabled ? '' : 'opacity-50'"
|
|
1469
1469
|
>
|
|
1470
1470
|
<UFormField label="Text">
|
|
@@ -1525,7 +1525,7 @@ function shows(id) {
|
|
|
1525
1525
|
:class="campfireEnabled ? '' : 'pointer-events-none opacity-50'"
|
|
1526
1526
|
>
|
|
1527
1527
|
<!-- Name and mark -->
|
|
1528
|
-
<div class="grid gap-4 sm:grid-cols-[2fr_1fr]">
|
|
1528
|
+
<div class="grid grid-cols-1 gap-4 sm:grid-cols-[2fr_1fr]">
|
|
1529
1529
|
<UFormField
|
|
1530
1530
|
label="Name"
|
|
1531
1531
|
help="Shown in the panel header and read out by screen readers. Renaming it also drops the two strings that only make sense around a fire."
|
|
@@ -1566,7 +1566,7 @@ function shows(id) {
|
|
|
1566
1566
|
label="What it offers"
|
|
1567
1567
|
help="Each panel is a tab. Switch them all off and the pill becomes a read-only presence badge."
|
|
1568
1568
|
>
|
|
1569
|
-
<div class="grid gap-x-8 gap-y-3 sm:grid-cols-3">
|
|
1569
|
+
<div class="grid grid-cols-1 gap-x-8 gap-y-3 sm:grid-cols-3">
|
|
1570
1570
|
<div class="flex items-center justify-between gap-3">
|
|
1571
1571
|
<div class="min-w-0">
|
|
1572
1572
|
<p class="text-xs font-medium">
|
|
@@ -1625,7 +1625,7 @@ function shows(id) {
|
|
|
1625
1625
|
VANISH gives no clue that the numbers underneath survived. -->
|
|
1626
1626
|
<div
|
|
1627
1627
|
v-show="campfireChat"
|
|
1628
|
-
class="grid gap-4 sm:grid-cols-2"
|
|
1628
|
+
class="grid grid-cols-1 gap-4 sm:grid-cols-2"
|
|
1629
1629
|
>
|
|
1630
1630
|
<UFormField
|
|
1631
1631
|
label="Messages kept on screen"
|
|
@@ -1651,7 +1651,7 @@ function shows(id) {
|
|
|
1651
1651
|
<!-- Roster detail -->
|
|
1652
1652
|
<div
|
|
1653
1653
|
v-show="campfireRoster"
|
|
1654
|
-
class="grid gap-x-8 gap-y-3 sm:grid-cols-3"
|
|
1654
|
+
class="grid grid-cols-1 gap-x-8 gap-y-3 sm:grid-cols-3"
|
|
1655
1655
|
>
|
|
1656
1656
|
<div class="flex items-center justify-between gap-3">
|
|
1657
1657
|
<div class="min-w-0">
|
|
@@ -1829,7 +1829,7 @@ function shows(id) {
|
|
|
1829
1829
|
</div>
|
|
1830
1830
|
</UFormField>
|
|
1831
1831
|
|
|
1832
|
-
<div class="grid gap-4 sm:grid-cols-2">
|
|
1832
|
+
<div class="grid grid-cols-1 gap-4 sm:grid-cols-2">
|
|
1833
1833
|
<UFormField
|
|
1834
1834
|
label="Panel size"
|
|
1835
1835
|
help="Every size clamps to the viewport on a phone."
|
|
@@ -1996,7 +1996,7 @@ function shows(id) {
|
|
|
1996
1996
|
</div>
|
|
1997
1997
|
</header>
|
|
1998
1998
|
|
|
1999
|
-
<div class="grid gap-x-8 gap-y-3 sm:grid-cols-3">
|
|
1999
|
+
<div class="grid grid-cols-1 gap-x-8 gap-y-3 sm:grid-cols-3">
|
|
2000
2000
|
<div class="flex items-center justify-between gap-3">
|
|
2001
2001
|
<div class="min-w-0">
|
|
2002
2002
|
<p class="text-xs font-medium">
|
|
@@ -2044,7 +2044,7 @@ function shows(id) {
|
|
|
2044
2044
|
</div>
|
|
2045
2045
|
</div>
|
|
2046
2046
|
|
|
2047
|
-
<div class="grid gap-4 sm:grid-cols-2">
|
|
2047
|
+
<div class="grid grid-cols-1 gap-4 sm:grid-cols-2">
|
|
2048
2048
|
<UFormField
|
|
2049
2049
|
label="Author name"
|
|
2050
2050
|
help="Feeds and structured data."
|
|
@@ -65,11 +65,6 @@ function onExcerptFocus() {
|
|
|
65
65
|
sel?.removeAllRanges();
|
|
66
66
|
sel?.addRange(range);
|
|
67
67
|
}
|
|
68
|
-
function onTagsPatch(p) {
|
|
69
|
-
const raw = p.tags;
|
|
70
|
-
const tags = typeof raw === "string" ? raw.split(",").map((t) => t.trim()).filter(Boolean) : void 0;
|
|
71
|
-
patchMeta({ tags: tags?.length ? tags : void 0 });
|
|
72
|
-
}
|
|
73
68
|
const isDraft = computed(() => !!meta.value.draft);
|
|
74
69
|
function publish() {
|
|
75
70
|
patchMeta({
|
|
@@ -202,13 +197,16 @@ function removeCover() {
|
|
|
202
197
|
meta-key="date"
|
|
203
198
|
@patch="patchMeta"
|
|
204
199
|
/>
|
|
200
|
+
<!-- The platform's tag editor, not a comma-separated text field. It
|
|
201
|
+
reads a legacy comma STRING as well as the canonical array, so
|
|
202
|
+
entries written before this switch keep their tags. -->
|
|
205
203
|
<AMetaChip
|
|
206
|
-
field-type="
|
|
207
|
-
label="Tags
|
|
204
|
+
field-type="tags"
|
|
205
|
+
label="Tags"
|
|
208
206
|
icon="i-lucide-tags"
|
|
209
207
|
:meta="metaRecord"
|
|
210
208
|
meta-key="tags"
|
|
211
|
-
@patch="
|
|
209
|
+
@patch="patchMeta"
|
|
212
210
|
/>
|
|
213
211
|
|
|
214
212
|
<div class="flex-1" />
|
|
@@ -202,7 +202,7 @@ function onPageDrop(e) {
|
|
|
202
202
|
function addStage() {
|
|
203
203
|
const existing = declaredStages.value;
|
|
204
204
|
const name = `Stage ${existing.length + 1}`;
|
|
205
|
-
tree.updateMeta(props.docId, { stages: [...existing, name]
|
|
205
|
+
tree.updateMeta(props.docId, { stages: [...existing, name] });
|
|
206
206
|
}
|
|
207
207
|
const artDropId = ref(null);
|
|
208
208
|
function onRowDragOver(entry, e) {
|
|
@@ -257,7 +257,7 @@ const studioOpen = ref(false);
|
|
|
257
257
|
</div>
|
|
258
258
|
</div>
|
|
259
259
|
|
|
260
|
-
<div :class="layout === 'split' ? 'grid gap-12 lg:grid-cols-[minmax(0,19rem)_minmax(0,1fr)]' : ''">
|
|
260
|
+
<div :class="layout === 'split' ? 'grid grid-cols-1 gap-12 lg:grid-cols-[minmax(0,19rem)_minmax(0,1fr)]' : ''">
|
|
261
261
|
<!-- ── Hero ───────────────────────────────────────────────────────── -->
|
|
262
262
|
<header
|
|
263
263
|
v-if="showHero"
|
|
@@ -332,7 +332,7 @@ const studioOpen = ref(false);
|
|
|
332
332
|
class="text-xs text-muted transition-colors hover:text-default"
|
|
333
333
|
>All →</NuxtLink>
|
|
334
334
|
</div>
|
|
335
|
-
<ul :class="layout === 'magazine' ? 'grid gap-3 sm:grid-cols-2' : 'flex flex-col gap-3'">
|
|
335
|
+
<ul :class="layout === 'magazine' ? 'grid grid-cols-1 gap-3 sm:grid-cols-2' : 'flex flex-col gap-3'">
|
|
336
336
|
<li
|
|
337
337
|
v-for="entry in latest"
|
|
338
338
|
:key="entry.id"
|
|
@@ -510,7 +510,7 @@ const studioOpen = ref(false);
|
|
|
510
510
|
</h2>
|
|
511
511
|
<div class="h-px flex-1 bg-black/10 dark:bg-white/10" />
|
|
512
512
|
</div>
|
|
513
|
-
<div class="grid gap-3 sm:grid-cols-2">
|
|
513
|
+
<div class="grid grid-cols-1 gap-3 sm:grid-cols-2">
|
|
514
514
|
<JunItemMenu
|
|
515
515
|
v-for="page in topLevel"
|
|
516
516
|
:key="page.id"
|
|
@@ -610,7 +610,7 @@ function onFeedDrop(e) {
|
|
|
610
610
|
@click.stop
|
|
611
611
|
>
|
|
612
612
|
<div
|
|
613
|
-
class="grid gap-1 overflow-hidden rounded-lg"
|
|
613
|
+
class="grid grid-cols-1 gap-1 overflow-hidden rounded-lg"
|
|
614
614
|
:class="mediaOf(entry).length === 1 ? 'grid-cols-1' : 'grid-cols-2'"
|
|
615
615
|
>
|
|
616
616
|
<template
|
|
@@ -288,7 +288,7 @@ function commitText(field, e) {
|
|
|
288
288
|
>
|
|
289
289
|
<div
|
|
290
290
|
v-if="uploads.length"
|
|
291
|
-
class="grid gap-1.5 overflow-hidden rounded-xl"
|
|
291
|
+
class="grid grid-cols-1 gap-1.5 overflow-hidden rounded-xl"
|
|
292
292
|
:class="uploads.length === 1 ? 'grid-cols-1' : 'grid-cols-2'"
|
|
293
293
|
>
|
|
294
294
|
<div
|
|
@@ -323,7 +323,7 @@ function commitText(field, e) {
|
|
|
323
323
|
|
|
324
324
|
<div
|
|
325
325
|
v-else-if="legacyImages.length"
|
|
326
|
-
class="grid gap-1.5 overflow-hidden rounded-xl"
|
|
326
|
+
class="grid grid-cols-1 gap-1.5 overflow-hidden rounded-xl"
|
|
327
327
|
:class="legacyImages.length === 1 ? 'grid-cols-1' : 'grid-cols-2'"
|
|
328
328
|
>
|
|
329
329
|
<NuxtImg
|
|
@@ -43,11 +43,6 @@ const categories = computed(() => {
|
|
|
43
43
|
const c = pageMeta.value.categories;
|
|
44
44
|
return Array.isArray(c) && c.length ? c.filter((x) => typeof x === "string" && x.trim()) : [...JUN_USES_DEFAULT_CATEGORIES];
|
|
45
45
|
});
|
|
46
|
-
function onCategoriesPatch(p) {
|
|
47
|
-
const raw = p.categories;
|
|
48
|
-
const list = typeof raw === "string" ? raw.split(",").map((t) => t.trim()).filter(Boolean) : void 0;
|
|
49
|
-
tree.updateMeta(props.docId, { categories: list?.length ? list : void 0 });
|
|
50
|
-
}
|
|
51
46
|
const items = computed(
|
|
52
47
|
() => (tree.childrenOf(null) ?? []).filter((e) => !!e.label)
|
|
53
48
|
);
|
|
@@ -118,13 +113,16 @@ function addItem(category) {
|
|
|
118
113
|
v-if="editing"
|
|
119
114
|
class="mb-6 flex flex-wrap items-center gap-1.5"
|
|
120
115
|
>
|
|
116
|
+
<!-- The platform's tag editor. Categories are a list, and a list edits
|
|
117
|
+
as a list — the comma-separated text field this replaced could not
|
|
118
|
+
tell a category containing a comma from two categories. -->
|
|
121
119
|
<AMetaChip
|
|
122
|
-
field-type="
|
|
123
|
-
label="Categories
|
|
120
|
+
field-type="tags"
|
|
121
|
+
label="Categories"
|
|
124
122
|
icon="i-lucide-layout-list"
|
|
125
123
|
:meta="pageMeta"
|
|
126
124
|
meta-key="categories"
|
|
127
|
-
@patch="
|
|
125
|
+
@patch="(p) => tree.updateMeta(props.docId, p)"
|
|
128
126
|
/>
|
|
129
127
|
</div>
|
|
130
128
|
|
|
@@ -10,6 +10,7 @@ export declare function useJunBrand(): import("vue").ComputedRef<{
|
|
|
10
10
|
logoMark: import("../types.js").JunLogoMark;
|
|
11
11
|
logoVariant: import("../types.js").JunLogoVariant;
|
|
12
12
|
themeColor: string;
|
|
13
|
+
iconBackground: string;
|
|
13
14
|
schemaType: import("../types.js").JunBrand["schemaType"];
|
|
14
15
|
}>;
|
|
15
16
|
/** Site-wide feature flags. */
|