docs: update portal for WRNexusJS 0.2.66
This commit is contained in:
@@ -10,12 +10,28 @@ page PublicFootercomponent {
|
||||
<header class="topbar">
|
||||
<a class="brand" href="/"><span>W</span> WRNexusJS</a>
|
||||
<nav aria-label="Primary"><a href="/getting-started">Get started</a><a href="/packages">Packages</a><a href="/components">Components</a><a href="/language">Language</a><a href="/architecture">Architecture</a></nav>
|
||||
<div class="topbar-actions"><a class="preview-pill" href="/access">Private preview · v0.2.65</a><button data-wire-theme-toggle class="theme-button" aria-label="Toggle color theme" title="Toggle color theme">◐</button></div>
|
||||
<div class="topbar-actions"><a class="preview-pill" href="/access">Private preview · v0.2.66</a><button data-wire-theme-toggle class="theme-button" aria-label="Toggle color theme" title="Toggle color theme">◐</button></div>
|
||||
</header>
|
||||
<div class="mobile-doc-nav"><details><summary>Browse documentation</summary><nav><a href="/getting-started">Get started</a><a href="/packages">Packages</a><a href="/components">Components</a><a href="/language">Language</a><a href="/architecture">Architecture</a><a href="/tutorial">Tutorial</a><a href="/guides/project-structure">Guides</a><a href="/examples">Examples</a><a href="/search">Search</a></nav></details></div>
|
||||
<main class="portal-main docs-layout component-detail-page"><article id="main" class="documentation prose standalone"><nav class="breadcrumbs" aria-label="Breadcrumb"><a href="/">Home</a><span>/</span><a href="/components">Components</a><span>/</span><span aria-current="page">PublicFooter</span></nav><section class="doc-intro"><span class="eyebrow">core component</span><h1>PublicFooter</h1><p>Reusable public footer component.</p><div class="doc-meta"><span>@wrnexus/ui 0.2.65</span><span>1 props</span><span>0 slots</span><span>1 events</span></div></section><section id="usage"><h2>Usage</h2><p>Components are auto-discovered. Use the component directly in any <code>.wrn</code> view:</p><pre data-language="wrn"><code><PublicFooter /></code></pre><p>Legacy mount name: <code>data-component="PublicFooter"</code>.</p></section><section id="props"><h2>Props and attributes</h2><div class="table-wrap"><table><thead><tr><th>Prop</th><th>Type</th><th>Requirement</th><th>Default</th></tr></thead><tbody><tr><td><code>class</code></td><td><code>string</code></td><td>Optional</td><td><code>""</code></td></tr></tbody></table></div></section><section id="slots"><h2>Slots</h2><p>This component does not declare a slot.</p></section><section id="events"><h2>Events</h2><ul><li><code>submit</code></li></ul></section><section id="source"><h2>Source contract</h2><p>Installed source: <code>components/PublicFooter.wrn</code></p><pre data-language="wrn"><code>component PublicFooter {
|
||||
<main class="portal-main docs-layout component-detail-page"><article id="main" class="documentation prose standalone"><nav class="breadcrumbs" aria-label="Breadcrumb"><a href="/">Home</a><span>/</span><a href="/components">Components</a><span>/</span><span aria-current="page">PublicFooter</span></nav><section class="doc-intro"><span class="eyebrow">core component</span><h1>PublicFooter</h1><p>Reusable public footer component.</p><div class="doc-meta"><span>@wrnexus/ui 0.2.66</span><span>1 props</span><span>0 slots</span><span>1 events</span></div></section><section id="usage"><h2>Usage</h2><p>Components are auto-discovered. Use the component directly in any <code>.wrn</code> view:</p><pre data-language="wrn"><code><PublicFooter /></code></pre><p>Legacy mount name: <code>data-component="PublicFooter"</code>.</p></section><section id="props"><h2>Props and attributes</h2><div class="table-wrap"><table><thead><tr><th>Prop</th><th>Type</th><th>Requirement</th><th>Default</th></tr></thead><tbody><tr><td><code>class</code></td><td><code>string</code></td><td>Optional</td><td><code>""</code></td></tr></tbody></table></div></section><section id="slots"><h2>Slots</h2><p>This component does not declare a slot.</p></section><section id="events"><h2>Events</h2><ul><li><code>submit</code></li></ul></section><section id="source"><h2>Source contract</h2><p>Installed source: <code>components/PublicFooter.wrn</code></p><pre data-language="wrn"><code>component PublicFooter {
|
||||
props {
|
||||
class: string = ""
|
||||
homeHref: string = "/"
|
||||
brandName: string = "WRNexusJS"
|
||||
brandTagline: string = "Identity Cloud"
|
||||
brandAriaLabel: string = "WRNexusJS home"
|
||||
newsletterEyebrow: string = "WRNexusJS updates"
|
||||
newsletterTitle: string = "Identity insights delivered to your inbox"
|
||||
newsletterDescription: string = "Get product updates, security guidance, implementation strategies, and practical identity architecture resources."
|
||||
newsletterAction: string = "/api/newsletter/subscribe"
|
||||
newsletterButtonLabel: string = "Subscribe"
|
||||
newsletterPlaceholder: string = "Enter your work email"
|
||||
newsletterSuccessMessage: string = "Thanks. Please check your inbox to confirm your subscription."
|
||||
copyrightText: string = "© 2026 WRNexusJS. All rights reserved."
|
||||
attributionText: string = "Built by WorkRoot Workspace."
|
||||
showNewsletter: boolean = true
|
||||
showSocialLinks: boolean = true
|
||||
showThemeToggle: boolean = true
|
||||
}
|
||||
state email = ""
|
||||
state newsletterSubmitted = false
|
||||
@@ -36,7 +52,7 @@ page PublicFootercomponent {
|
||||
</div>
|
||||
<div class="relative w-full px-5 py-12 sm:px-8 lg:px-10 lg:py-16 xl:px-12">
|
||||
<!-- Newsletter and CTA -->
|
||||
<section
|
||||
<section data-show="showNewsletter"
|
||||
aria-labelledby="footer-newsletter-title"
|
||||
class="relative overflow-hidden rounded-3xl border border-indigo-200 bg-linear-to-br from-indigo-50 via-white to-violet-50 p-6 shadow-xl shadow-indigo-950/5 dark:border-indigo-500/20 dark:from-indigo-500/10 dark:via-slate-900 dark:to-violet-500/10 sm:p-8 lg:p-10"
|
||||
>
|
||||
@@ -52,23 +68,22 @@ page PublicFootercomponent {
|
||||
<span class="icon-[lucide--mail-plus] h-3.5 w-3.5" aria-hidden="true" >
|
||||
</span>
|
||||
|
||||
WRNexusJS updates
|
||||
{newsletterEyebrow}
|
||||
</span>
|
||||
<h2
|
||||
id="footer-newsletter-title"
|
||||
class="mt-5 max-w-2xl text-2xl font-bold tracking-tight text-slate-950 dark:text-white sm:text-3xl"
|
||||
>
|
||||
Identity insights delivered to your inbox
|
||||
{newsletterTitle}
|
||||
</h2>
|
||||
<p class="mt-3 max-w-2xl text-sm leading-6 text-slate-600 dark:text-slate-400 sm:text-base">
|
||||
Get product updates, security guidance, implementation
|
||||
strategies, and practical identity architecture resources.
|
||||
{newsletterDescription}
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<form
|
||||
method="post"
|
||||
action="/api/newsletter/subscribe"
|
||||
action="{newsletterAction}"
|
||||
@submit="newsletterSubmitted = true"
|
||||
class="rounded-2xl border border-slate-200 bg-white/80 p-2 shadow-lg shadow-slate-950/5 backdrop-blur-sm dark:border-white/10 dark:bg-white/5"
|
||||
>
|
||||
@@ -89,7 +104,7 @@ page PublicFootercomponent {
|
||||
autocomplete="email"
|
||||
required
|
||||
bind:value="email"
|
||||
placeholder="Enter your work email"
|
||||
placeholder="{newsletterPlaceholder}"
|
||||
class="h-12 w-full rounded-xl border border-transparent bg-transparent pl-11 pr-4 text-sm text-slate-950 outline-none transition placeholder:text-slate-400 focus:border-indigo-300 focus:bg-white focus:ring-4 focus:ring-indigo-500/10 dark:text-white dark:focus:border-indigo-500/30 dark:focus:bg-slate-900"
|
||||
/>
|
||||
</div>
|
||||
@@ -97,7 +112,7 @@ page PublicFootercomponent {
|
||||
type="submit"
|
||||
class="group inline-flex h-12 shrink-0 items-center justify-center gap-2 rounded-xl bg-indigo-600 px-5 text-sm font-bold text-white shadow-lg shadow-indigo-600/20 transition hover:-translate-y-0.5 hover:bg-indigo-500 hover:shadow-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-indigo-500 focus-visible:ring-offset-2 dark:focus-visible:ring-offset-slate-900"
|
||||
>
|
||||
Subscribe
|
||||
{newsletterButtonLabel}
|
||||
|
||||
<span class="icon-[lucide--arrow-right] h-4 w-4 transition-transform group-hover:translate-x-1" aria-hidden="true" >
|
||||
</span>
|
||||
@@ -124,7 +139,7 @@ page PublicFootercomponent {
|
||||
<span class="icon-[lucide--circle-check] h-4 w-4 shrink-0" aria-hidden="true" >
|
||||
</span>
|
||||
|
||||
Thanks. Please check your inbox to confirm your subscription.
|
||||
{newsletterSuccessMessage}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -134,8 +149,8 @@ page PublicFootercomponent {
|
||||
<!-- Brand -->
|
||||
<div>
|
||||
<a
|
||||
href="/"
|
||||
aria-label="WRNexusJS home"
|
||||
href="{homeHref}"
|
||||
aria-label="{brandAriaLabel}"
|
||||
class="group inline-flex items-center gap-3 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-indigo-500"
|
||||
>
|
||||
<span
|
||||
@@ -146,12 +161,12 @@ page PublicFootercomponent {
|
||||
</span>
|
||||
<span>
|
||||
<span class="block text-lg font-bold tracking-tight text-slate-950 dark:text-white">
|
||||
WRNexusJS
|
||||
{brandName}
|
||||
</span>
|
||||
<span
|
||||
class="block text-[10px] font-semibold uppercase tracking-[0.2em] text-slate-500 dark:text-slate-400"
|
||||
>
|
||||
Identity Cloud
|
||||
{brandTagline}
|
||||
</span>
|
||||
</span>
|
||||
</a>
|
||||
@@ -175,7 +190,7 @@ page PublicFootercomponent {
|
||||
</a>
|
||||
</div>
|
||||
<!-- Social links -->
|
||||
<div class="mt-6 flex items-center gap-2">
|
||||
<div data-show="showSocialLinks" class="mt-6 flex items-center gap-2">
|
||||
<a
|
||||
href="https://github.com/wrnexus"
|
||||
target="_blank"
|
||||
@@ -223,6 +238,7 @@ page PublicFootercomponent {
|
||||
aria-label="Footer navigation"
|
||||
class="grid grid-cols-2 gap-x-6 gap-y-10 sm:grid-cols-3 xl:grid-cols-5"
|
||||
>
|
||||
<slot name="navigation">
|
||||
<!-- Product -->
|
||||
<div>
|
||||
<h3 class="text-sm font-bold text-slate-950 dark:text-white">
|
||||
@@ -503,6 +519,7 @@ page PublicFootercomponent {
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</slot>
|
||||
</nav>
|
||||
</div>
|
||||
<!-- Bottom bar -->
|
||||
@@ -513,12 +530,12 @@ page PublicFootercomponent {
|
||||
class="flex flex-col gap-2 text-xs text-slate-500 dark:text-slate-400 sm:flex-row sm:items-center sm:gap-4"
|
||||
>
|
||||
<p>
|
||||
© 2026 WRNexusJS. All rights reserved.
|
||||
{copyrightText}
|
||||
</p>
|
||||
<span class="hidden h-1 w-1 rounded-full bg-slate-300 dark:bg-slate-700 sm:block">
|
||||
</span>
|
||||
<p>
|
||||
Built by WorkRoot Workspace.
|
||||
{attributionText}
|
||||
</p>
|
||||
</div>
|
||||
<div class="flex flex-wrap items-center gap-x-5 gap-y-3">
|
||||
@@ -546,7 +563,7 @@ page PublicFootercomponent {
|
||||
>
|
||||
Legal
|
||||
</a>
|
||||
<button
|
||||
<button data-show="showThemeToggle"
|
||||
type="button"
|
||||
data-open-cookie-preferences
|
||||
class="footer-bottom-link"
|
||||
@@ -572,7 +589,7 @@ page PublicFootercomponent {
|
||||
}
|
||||
}
|
||||
</code></pre></section></article><aside class="on-this-page"><h2>On this page</h2><nav><a href="#usage">Usage</a><a href="#props">Props and attributes</a><a href="#slots">Slots</a><a href="#events">Events</a><a href="#source">Source contract</a></nav></aside></main>
|
||||
<footer><div class="footer-brand"><span class="footer-mark" aria-hidden="true">W</span><p><strong>WRNexusJS 0.2.65</strong><span>Complete API documentation generated from installed package declarations.</span></p></div><nav aria-label="Footer"><a href="/packages">All packages</a><a href="/getting-started">Get started</a><a href="/security">Security</a><a href="/support">Support</a><a href="/llms.txt">AI guide</a></nav><p class="footer-meta">Private Developer Preview · Bun-native</p></footer>
|
||||
<footer><div class="footer-brand"><span class="footer-mark" aria-hidden="true">W</span><p><strong>WRNexusJS 0.2.66</strong><span>Complete API documentation generated from installed package declarations.</span></p></div><nav aria-label="Footer"><a href="/packages">All packages</a><a href="/getting-started">Get started</a><a href="/security">Security</a><a href="/support">Support</a><a href="/llms.txt">AI guide</a></nav><p class="footer-meta">Private Developer Preview · Bun-native</p></footer>
|
||||
<BackToTop />
|
||||
</div>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user