class="ws-mobile-toggle" title="Toggle sidebar" type="button">
- ">
+ ">
+ class="ws-mobile-toggle" title="Toggle sidebar" type="button">
+ ">
- = context.call["title"].to_string() ?>
+ = context.props["title"].to_string() ?>
>
}
@@ -50,12 +50,12 @@ COMPONENT:MOBILE_BAR(Request& context)
COMPONENT:PANEL_HEADER(Request& context)
{
<>
-
- render_code_example("templating", "A page with request data", "Drop from C++ into markup, escape output by default, and keep request handling next to the HTML it controls.", snippet_minimal, "See the live demos for forms, headers, sessions, JSON, markdown, and more."); ?>
- render_code_example("forms", "POST + session flash", "Old-school dynamic websites still matter. UCE keeps form handling and page rendering in one file when that is the simplest thing.", snippet_forms, "Request data lives on context.get, context.post, context.cookies, and context.session."); ?>
- render_code_example("components", "Reusable UI without a second framework", "Components are ordinary .uce files. Pass props through context.call and decide when to render or return markup.", snippet_components, "Named handlers and component_render() are also available for direct output flows."); ?>
- render_code_example("content", "Markdown when you want it", "UCE also ships a markdown module, so content-heavy pages do not need an external rendering stack.", snippet_markdown, "The runtime supports markdown_to_ast() and markdown_to_html() for content pipelines and component hooks."); ?>
- render_code_example("realtime", "WebSockets with broker-owned state", "A .ws.uce page can render HTML and also accept live socket messages. Connection-local state lives on context.connection.", snippet_websocket, "The published demo includes a full chat example with reconnect logic and per-connection metadata."); ?>
- render_code_example("deploy", "nginx wiring", "Use FastCGI for ordinary requests and only send actual websocket upgrades to the runtime's built-in HTTP listener.", snippet_nginx, "Match .ws.uce before the generic .uce location so normal page loads and upgrades split correctly.", "nginx"); ?>
+ render_code_example(context, "templating", "A page with request data", "Drop from C++ into markup, escape output by default, and keep request handling next to the HTML it controls.", snippet_minimal, "See the live demos for forms, headers, sessions, JSON, markdown, and more."); ?>
+ render_code_example(context, "forms", "POST + session flash", "Old-school dynamic websites still matter. UCE keeps form handling and page rendering in one file when that is the simplest thing.", snippet_forms, "Request data lives on context.get, context.post, context.cookies, and context.session."); ?>
+ render_code_example(context, "components", "Reusable UI without a second framework", "Components are ordinary .uce files. Pass props through context.props and decide when to render or return markup.", snippet_components, "Named handlers and component_render() are also available for direct output flows."); ?>
+ render_code_example(context, "content", "Markdown when you want it", "UCE also ships a markdown module, so content-heavy pages do not need an external rendering stack.", snippet_markdown, "The runtime supports markdown_to_ast() and markdown_to_html() for content pipelines and component hooks."); ?>
+ render_code_example(context, "realtime", "WebSockets with broker-owned state", "A .ws.uce page can render HTML and also accept live socket messages. Connection-local state lives on context.connection.", snippet_websocket, "The published demo includes a full chat example with reconnect logic and per-connection metadata."); ?>
+ render_code_example(context, "deploy", "nginx wiring", "Use FastCGI for ordinary requests and only send actual websocket upgrades to the runtime's built-in HTTP listener.", snippet_nginx, "Match .ws.uce before the generic .uce location so normal page loads and upgrades split correctly.", "nginx"); ?>
diff --git a/site/info/style.css b/site/info/style.css
index 486434d..da04ca3 100644
--- a/site/info/style.css
+++ b/site/info/style.css
@@ -1,3 +1,8 @@
+/* UCE /info/ — modernized editorial theme
+ * Keeps the navy + gold palette and b612 / Input Sans Condensed fonts.
+ * Flat surfaces, hairline rules, numbered sections, typography-forward.
+ */
+
@font-face {
font-family: 'default_sans';
src: url('themes/common/fonts/b612/b612-regular.ttf') format('truetype');
@@ -39,30 +44,31 @@
}
:root {
- --bg: #113399;
- --bg-deep: #0c2370;
- --bg-grad: linear-gradient(160deg, #1d44b5 0%, #113399 42%, #0b225f 100%);
- --surface: rgba(255, 255, 255, 0.065);
- --surface-strong: rgba(255, 255, 255, 0.1);
- --surface-hover: rgba(255, 255, 255, 0.13);
- --surface-inset: rgba(7, 17, 52, 0.8);
- --border: rgba(255, 255, 255, 0.08);
- --border-strong: rgba(255, 255, 255, 0.16);
- --text: #e7edf8;
- --text-dim: rgba(215, 226, 245, 0.72);
- --text-muted: rgba(215, 226, 245, 0.48);
- --accent: #f0c430;
- --accent-soft: rgba(240, 196, 48, 0.12);
- --accent-hover: #ffe07c;
- --shadow-sm: 0 10px 28px rgba(0, 0, 0, 0.18);
- --shadow-md: 0 22px 48px rgba(0, 0, 0, 0.24);
- --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.34);
- --radius: 16px;
- --radius-lg: 26px;
- --font-sans: 'default_sans', sans-serif;
- --font-mono: 'default_mono', monospace;
- --font-display: 'display_condensed', 'default_sans', sans-serif;
- --ease: cubic-bezier(0.22, 1, 0.36, 1);
+ --navy: #0a1f52;
+ --navy-deep: #06143a;
+ --navy-mid: #113399;
+ --navy-surface: #0d2472;
+ --navy-surface2: #112b82;
+ --navy-edge: #1a3fa8;
+ --ink: #eef2fb;
+ --ink-dim: rgba(228, 236, 250, 0.72);
+ --ink-muted: rgba(228, 236, 250, 0.46);
+ --rule: rgba(255, 255, 255, 0.10);
+ --rule-soft: rgba(255, 255, 255, 0.05);
+ --rule-strong: rgba(255, 255, 255, 0.18);
+ --gold: #f0c430;
+ --gold-hot: #ffe07c;
+ --gold-soft: rgba(240, 196, 48, 0.14);
+ --gold-edge: rgba(240, 196, 48, 0.32);
+ --radius-xs: 3px;
+ --radius-sm: 6px;
+ --radius: 10px;
+ --font-sans: 'default_sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
+ --font-mono: 'default_mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
+ --font-display: 'display_condensed', 'default_sans', sans-serif;
+ --ease: cubic-bezier(0.22, 1, 0.36, 1);
+ --content: 1120px;
+ --gutter: clamp(20px, 4vw, 48px);
}
*, *::before, *::after {
@@ -82,18 +88,20 @@ html {
scroll-behavior: smooth;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
+ overflow-x: hidden;
}
body {
- margin: 0;
min-height: 100vh;
- background:
- radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 32%),
- radial-gradient(circle at 85% 12%, rgba(240, 196, 48, 0.13), transparent 22%),
- var(--bg-grad);
- color: var(--text);
+ background: #113399;
+ background-image:
+ radial-gradient(1100px 520px at 82% -8%, rgba(240, 196, 48, 0.10), transparent 60%),
+ radial-gradient(900px 620px at -5% 12%, rgba(120, 170, 255, 0.10), transparent 58%),
+ linear-gradient(168deg, #1a3daa 0%, #113399 40%, #0d2880 100%);
+ background-attachment: fixed;
+ color: var(--ink);
font-family: var(--font-sans);
- font-size: 1rem;
+ font-size: 0.98rem;
line-height: 1.65;
}
@@ -101,416 +109,569 @@ body::before {
content: '';
position: fixed;
inset: 0;
- background-image:
- linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
- linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
- background-size: 24px 24px;
- opacity: 0.18;
pointer-events: none;
- mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 88%);
+ background-image:
+ linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
+ linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
+ background-size: 56px 56px;
+ mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 80%);
+ -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 80%);
+ z-index: 0;
}
a {
- color: var(--accent);
+ color: var(--gold);
text-decoration: none;
- transition: color 160ms var(--ease), transform 160ms var(--ease), border-color 160ms var(--ease), background 160ms var(--ease);
+ transition: color 140ms var(--ease), border-color 140ms var(--ease), background 140ms var(--ease);
}
-a:hover {
- color: var(--accent-hover);
-}
+a:hover { color: var(--gold-hot); }
-code,
-pre,
+code, pre,
.brand,
.eyebrow,
+.code-lang,
+.topbar nav a,
+.topbar-link,
.link-meta,
.signal-card strong,
-.deploy-card li,
-.topbar nav a {
+summary {
font-family: var(--font-mono);
}
.page-shell {
- width: min(1180px, calc(100% - 32px));
+ width: min(var(--content), calc(100% - 32px));
margin: 0 auto;
- padding: 20px 0 56px;
+ padding: 0 0 96px;
position: relative;
z-index: 1;
}
+/* ---------- Topbar ---------- */
+
.topbar {
position: sticky;
- top: 14px;
+ top: 0;
z-index: 10;
display: flex;
align-items: center;
- gap: 16px;
- padding: 14px 18px;
- margin-bottom: 24px;
- background: rgba(8, 20, 66, 0.7);
- backdrop-filter: blur(16px);
- -webkit-backdrop-filter: blur(16px);
- border: 1px solid var(--border);
- border-radius: 999px;
- box-shadow: var(--shadow-sm);
+ gap: 18px;
+ padding: 18px 0 14px;
+ margin-bottom: 72px;
+ background: transparent;
+ border-bottom: 1px solid var(--rule);
+}
+
+.topbar::before {
+ content: '';
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 50%;
+ width: 100vw;
+ transform: translateX(-50%);
+ background: linear-gradient(180deg, rgba(13, 40, 128, 0.92), rgba(13, 40, 128, 0.68));
+ backdrop-filter: saturate(140%) blur(10px);
+ -webkit-backdrop-filter: saturate(140%) blur(10px);
+ border-bottom: 1px solid var(--rule);
+ z-index: -1;
+ pointer-events: none;
}
.brand {
- font-size: 1.05rem;
+ display: inline-flex;
+ align-items: center;
+ gap: 10px;
+ font-family: var(--font-mono);
+ font-size: 0.86rem;
font-weight: 700;
- letter-spacing: 0.08em;
+ letter-spacing: 0.22em;
text-transform: uppercase;
- color: var(--text);
- padding-right: 8px;
+ color: var(--ink);
+}
+
+.brand::before {
+ content: '';
+ width: 10px;
+ height: 10px;
+ background: var(--gold);
+ transform: rotate(45deg);
}
.topbar nav {
display: flex;
flex-wrap: wrap;
- gap: 6px;
+ gap: 2px;
+ margin-left: 8px;
}
-.topbar nav a,
-.topbar-link {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- padding: 8px 12px;
- border-radius: 999px;
- border: 1px solid transparent;
- color: var(--text-dim);
- font-size: 0.88rem;
+.topbar nav a {
+ padding: 6px 10px;
+ color: var(--ink-dim);
+ font-size: 0.82rem;
+ letter-spacing: 0.04em;
+ border-bottom: 1px solid transparent;
}
-.topbar nav a:hover,
-.topbar-link:hover {
- border-color: var(--border-strong);
- background: rgba(255, 255, 255, 0.06);
- color: var(--text);
- transform: translateY(-1px);
+.topbar nav a:hover {
+ color: var(--ink);
+ border-bottom-color: var(--gold);
}
.topbar-link {
margin-left: auto;
- background: var(--accent-soft);
- color: var(--accent);
- border-color: rgba(240, 196, 48, 0.24);
+ display: inline-flex;
+ align-items: center;
+ gap: 8px;
+ padding: 7px 12px 7px 14px;
+ font-family: var(--font-mono);
+ font-size: 0.82rem;
+ font-weight: 700;
+ letter-spacing: 0.06em;
+ color: var(--gold);
+ background: var(--gold-soft);
+ border: 1px solid var(--gold-edge);
+ border-radius: var(--radius-sm);
}
-main {
- display: grid;
- gap: 22px;
+.topbar-link::after {
+ content: '→';
+ color: var(--gold);
+ transition: transform 160ms var(--ease);
}
-.hero-panel,
-.section,
-.page-footer {
- position: relative;
- overflow: hidden;
- background: var(--surface);
- backdrop-filter: blur(18px);
- -webkit-backdrop-filter: blur(18px);
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- box-shadow: var(--shadow-sm);
- padding: 28px;
+.topbar-link:hover {
+ color: var(--gold-hot);
+ background: rgba(240, 196, 48, 0.22);
}
-.hero-panel::after,
-.section::after {
- content: '';
- position: absolute;
- inset: auto -10% -40% auto;
- width: 280px;
- height: 280px;
- border-radius: 50%;
- background: radial-gradient(circle, rgba(240, 196, 48, 0.12), transparent 70%);
- pointer-events: none;
+.topbar-link:hover::after { transform: translateX(3px); color: var(--gold-hot); }
+
+/* ---------- Typography ---------- */
+
+h1, h2, h3 {
+ color: var(--ink);
}
-.hero-panel {
- display: grid;
- grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
- gap: 24px;
- align-items: start;
- padding: 34px;
- box-shadow: var(--shadow-lg);
+h1 {
+ font-family: var(--font-display);
+ font-size: clamp(2.6rem, 6.4vw, 5.4rem);
+ line-height: 0.98;
+ letter-spacing: -0.025em;
+ text-transform: uppercase;
+ margin-bottom: 26px;
+ max-width: 18ch;
+ text-wrap: balance;
}
-.hero-copy,
-.hero-aside,
-.section-heading,
-.feature-grid,
-.code-grid,
-.link-grid,
-.deploy-grid,
-.manifesto-grid,
-.signal-grid {
- position: relative;
- z-index: 1;
+h2 {
+ font-family: var(--font-display);
+ font-size: clamp(1.75rem, 3vw, 2.5rem);
+ line-height: 1.02;
+ letter-spacing: -0.01em;
+ text-transform: uppercase;
+ margin-bottom: 14px;
+ max-width: 24ch;
+ text-wrap: balance;
}
+h3 {
+ font-family: var(--font-sans);
+ font-size: 1.04rem;
+ font-weight: 700;
+ letter-spacing: -0.005em;
+ line-height: 1.25;
+ margin-bottom: 10px;
+}
+
+p, li, summary {
+ color: var(--ink-dim);
+}
+
+p + p { margin-top: 12px; }
+
+ul { list-style: none; padding-left: 0; }
+
+li + li { margin-top: 8px; }
+
.eyebrow {
display: inline-flex;
align-items: center;
gap: 8px;
- padding: 6px 10px;
- margin-bottom: 14px;
+ padding: 3px 9px 3px 9px;
border-radius: 999px;
- background: rgba(255, 255, 255, 0.08);
- color: var(--accent);
- font-size: 0.74rem;
+ background: var(--gold-soft);
+ color: var(--gold);
+ border: 1px solid var(--gold-edge);
+ font-family: var(--font-mono);
+ font-size: 0.68rem;
font-weight: 700;
- letter-spacing: 0.08em;
- text-transform: uppercase;
-}
-
-h1,
-h2,
-h3 {
- line-height: 1.08;
- letter-spacing: -0.03em;
-}
-
-h1,
-h2 {
- font-family: var(--font-display);
+ letter-spacing: 0.16em;
text-transform: uppercase;
margin-bottom: 16px;
}
-h1 {
- font-size: clamp(3rem, 8vw, 6rem);
- max-width: 10ch;
- text-wrap: balance;
+.eyebrow::before {
+ content: '';
+ width: 5px;
+ height: 5px;
+ background: var(--gold);
+ border-radius: 50%;
}
-h2 {
- font-size: clamp(1.9rem, 3.2vw, 3rem);
- max-width: 14ch;
+/* ---------- Main flow + numbered sections ---------- */
+
+main {
+ display: flex;
+ flex-direction: column;
+ gap: 88px;
+ counter-reset: section;
}
-h3 {
+.section {
+ position: relative;
+ counter-increment: section;
+}
+
+.section > .section-heading::before {
+ content: '§ ' counter(section, decimal-leading-zero);
+ display: block;
font-family: var(--font-mono);
- font-size: 1.08rem;
- margin-bottom: 10px;
+ font-size: 0.74rem;
+ font-weight: 700;
+ letter-spacing: 0.26em;
+ color: var(--gold);
+ margin-bottom: 18px;
+ text-transform: uppercase;
}
-p,
-li,
-summary,
-.code-note,
-.manual-card span,
-.signal-card span,
-.link-card span {
- color: var(--text-dim);
-}
-
-p + p {
- margin-top: 12px;
-}
-
-ul {
- padding-left: 18px;
-}
-
-li + li {
- margin-top: 8px;
-}
-
-.hero-lead,
+.section-heading { margin-bottom: 32px; max-width: 72ch; }
+.section-heading .eyebrow { display: none; }
.section-heading p {
- max-width: 70ch;
- font-size: 1.05rem;
+ color: var(--ink-dim);
+ font-size: 1.02rem;
+ max-width: 66ch;
+ margin-top: 10px;
+}
+
+/* ---------- Hero ---------- */
+
+.hero-panel {
+ display: grid;
+ grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
+ gap: 60px;
+ align-items: start;
+ padding: 0;
+ margin-bottom: 16px;
+ counter-increment: none;
+}
+
+.hero-copy .eyebrow { margin-bottom: 20px; }
+
+.hero-copy h1 {
+ background: linear-gradient(180deg, #f6f9ff 0%, #cfdcf6 100%);
+ -webkit-background-clip: text;
+ background-clip: text;
+ color: transparent;
+}
+
+.hero-lead {
+ font-size: 1.1rem;
+ color: var(--ink-dim);
+ max-width: 56ch;
+ margin-bottom: 26px;
}
.hero-actions {
display: flex;
flex-wrap: wrap;
- gap: 12px;
- margin: 26px 0 28px;
+ gap: 10px;
+ margin: 6px 0 36px;
}
.button {
display: inline-flex;
align-items: center;
- justify-content: center;
- padding: 12px 18px;
- border-radius: 999px;
- border: 1px solid var(--border-strong);
+ gap: 8px;
+ padding: 11px 18px;
+ border-radius: var(--radius-sm);
font-family: var(--font-mono);
- font-size: 0.9rem;
+ font-size: 0.88rem;
font-weight: 700;
- letter-spacing: 0.03em;
- text-decoration: none;
- box-shadow: var(--shadow-sm);
+ letter-spacing: 0.02em;
+ border: 1px solid transparent;
+ transition: transform 160ms var(--ease), background 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}
-.button:hover {
- text-decoration: none;
- transform: translateY(-2px);
- box-shadow: var(--shadow-md);
-}
+.button:hover { transform: translateY(-1px); text-decoration: none; }
.button-primary {
- background: var(--accent);
- color: #1a2247;
- border-color: rgba(255, 224, 124, 0.42);
-}
-
-.button-primary:hover {
- color: #1a2247;
- background: var(--accent-hover);
+ background: var(--gold);
+ color: #1a1a1a;
+ border-color: var(--gold);
+ box-shadow: 0 8px 22px rgba(240, 196, 48, 0.22);
}
+.button-primary:hover { background: var(--gold-hot); color: #111; border-color: var(--gold-hot); }
+.button-primary::after { content: '→'; }
.button-secondary {
- background: rgba(255, 255, 255, 0.06);
- color: var(--text);
+ background: transparent;
+ color: var(--ink);
+ border-color: var(--rule-strong);
+}
+.button-secondary:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.28); }
+
+/* Hero aside — editorial sidebar with hairline */
+.hero-aside {
+ display: flex;
+ flex-direction: column;
+ gap: 28px;
+ padding: 4px 0 0 28px;
+ border-left: 1px solid var(--rule);
+ align-self: stretch;
}
-.signal-grid,
-.feature-grid,
-.manifesto-grid,
-.link-grid,
-.deploy-grid {
- display: grid;
- gap: 14px;
+.manual-card {
+ padding: 0;
+ background: transparent;
+ border: 0;
}
+.manual-card .eyebrow {
+ margin-bottom: 10px;
+}
+
+.manual-card h2 {
+ font-family: var(--font-sans);
+ text-transform: none;
+ font-size: 1.15rem;
+ letter-spacing: -0.01em;
+ line-height: 1.25;
+ margin-bottom: 14px;
+ max-width: none;
+}
+
+.manual-card ul {
+ display: flex;
+ flex-direction: column;
+ gap: 10px;
+}
+
+.manual-card li {
+ color: var(--ink-dim);
+ font-size: 0.93rem;
+ line-height: 1.5;
+ padding-left: 18px;
+ position: relative;
+}
+
+.manual-card li::before {
+ content: '';
+ position: absolute;
+ left: 0;
+ top: 0.68em;
+ width: 8px;
+ height: 1px;
+ background: var(--gold);
+}
+
+.manual-card.compact { padding-top: 18px; border-top: 1px solid var(--rule); }
+.manual-card.compact p { font-size: 0.9rem; }
+.manual-card.compact p + p { margin-top: 6px; }
+
+/* Hero signals row */
.signal-grid {
+ display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
- margin-top: 8px;
+ gap: 0;
+ margin-top: 36px;
+ border-top: 1px solid var(--rule);
+ border-bottom: 1px solid var(--rule);
}
-.feature-grid,
-.link-grid {
- grid-template-columns: repeat(2, minmax(0, 1fr));
- margin-top: 22px;
+.signal-card {
+ padding: 18px 22px 18px 0;
+ background: transparent;
+ border-right: 1px solid var(--rule);
}
+.signal-card:last-child { border-right: 0; }
+.signal-card + .signal-card { padding-left: 22px; }
+
+.signal-card strong {
+ display: block;
+ color: var(--ink);
+ font-size: 0.74rem;
+ font-weight: 700;
+ letter-spacing: 0.14em;
+ text-transform: uppercase;
+ margin-bottom: 6px;
+}
+
+.signal-card span {
+ color: var(--ink-dim);
+ font-size: 0.93rem;
+}
+
+/* ---------- Feature grid (Why) ---------- */
+
+.feature-grid {
+ display: grid;
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+ gap: 0;
+ border-top: 1px solid var(--rule);
+}
+
+.feature-card {
+ padding: 26px 28px 26px 0;
+ background: transparent;
+ border: 0;
+ border-bottom: 1px solid var(--rule);
+ border-right: 1px solid var(--rule);
+ position: relative;
+}
+
+.feature-card:nth-child(2n) { padding-right: 0; padding-left: 28px; border-right: 0; }
+.feature-card:nth-last-child(-n+2):not(:nth-last-child(n+3)) { border-bottom: 0; }
+
+.feature-card .eyebrow {
+ background: transparent;
+ border: 0;
+ padding: 0;
+ color: var(--ink-muted);
+ font-size: 0.66rem;
+ letter-spacing: 0.2em;
+ margin-bottom: 10px;
+}
+.feature-card .eyebrow::before { display: none; }
+
+.feature-card h3 {
+ font-size: 1.08rem;
+ margin-bottom: 8px;
+}
+
+.feature-card p { font-size: 0.95rem; }
+
+/* ---------- Manifesto ---------- */
+
.manifesto-grid {
- grid-template-columns: repeat(3, minmax(0, 1fr));
- margin-top: 10px;
-}
-
-.deploy-grid {
- grid-template-columns: repeat(2, minmax(0, 1fr));
- margin-top: 14px;
-}
-
-.signal-card,
-.feature-card,
-.manual-card,
-.manifesto-card,
-.deploy-card,
-.link-card,
-.code-card {
- background: rgba(6, 16, 54, 0.52);
- border: 1px solid var(--border);
- border-radius: var(--radius);
- box-shadow: var(--shadow-sm);
- transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
-}
-
-.signal-card,
-.feature-card,
-.manual-card,
-.manifesto-card,
-.deploy-card {
- padding: 18px;
-}
-
-.signal-card strong,
-.link-card strong {
- font-size: 0.9rem;
- color: var(--text);
- display: block;
- margin-bottom: 8px;
-}
-
-.feature-card:hover,
-.link-card:hover,
-.code-card:hover,
-.manual-card:hover,
-.manifesto-card:hover,
-.deploy-card:hover,
-.signal-card:hover {
- transform: translateY(-2px);
- border-color: var(--border-strong);
- background: rgba(10, 24, 75, 0.72);
- box-shadow: var(--shadow-md);
-}
-
-.hero-aside {
display: grid;
- gap: 14px;
-}
-
-.manual-card.compact p + p {
+ grid-template-columns: repeat(3, minmax(0, 1fr));
+ gap: 20px;
margin-top: 10px;
}
-.section-heading {
- margin-bottom: 8px;
+.manifesto-card {
+ position: relative;
+ padding: 28px 24px 26px;
+ background: rgba(255, 255, 255, 0.05);
+ border: 1px solid var(--rule);
+ border-radius: var(--radius);
}
+.manifesto-card::before {
+ position: absolute;
+ top: 16px;
+ right: 18px;
+ font-family: var(--font-mono);
+ font-size: 1.6rem;
+ font-weight: 700;
+ color: var(--ink-muted);
+ line-height: 1;
+}
+.manifesto-card:nth-child(1)::before { content: '+'; color: #7ce7d5; }
+.manifesto-card:nth-child(2)::before { content: '−'; color: #ff8ea1; }
+.manifesto-card:nth-child(3)::before { content: '='; color: var(--gold); }
+
+.manifesto-card h3 {
+ font-size: 1.06rem;
+ color: var(--ink);
+ margin-bottom: 10px;
+ padding-right: 28px;
+}
+
+.manifesto-card p { font-size: 0.95rem; }
+
.manifesto-card.emphasis {
- background: linear-gradient(180deg, rgba(240, 196, 48, 0.14), rgba(255, 255, 255, 0.06));
- border-color: rgba(240, 196, 48, 0.2);
+ background: linear-gradient(180deg, rgba(240, 196, 48, 0.14), rgba(240, 196, 48, 0.04));
+ border-color: var(--gold-edge);
}
+/* ---------- Examples: code cards ---------- */
+
.code-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
- gap: 16px;
- margin-top: 20px;
+ gap: 20px;
}
.code-card {
- padding: 20px;
+ display: flex;
+ flex-direction: column;
+ background: rgba(255, 255, 255, 0.04);
+ border: 1px solid var(--rule);
+ border-radius: var(--radius);
overflow: hidden;
+ transition: border-color 160ms var(--ease), transform 160ms var(--ease);
}
-.code-card p {
- min-height: 4.6em;
- margin-bottom: 14px;
+.code-card:hover {
+ border-color: var(--gold-edge);
+ transform: translateY(-1px);
+}
+
+.code-card .eyebrow { margin: 22px 22px 12px; }
+.code-card h3 { padding: 0 22px; margin-bottom: 6px; }
+.code-card > p {
+ padding: 0 22px 16px;
+ font-size: 0.94rem;
+ color: var(--ink-dim);
}
.code-toolbar {
display: flex;
- justify-content: flex-end;
- margin-bottom: 8px;
+ align-items: center;
+ justify-content: space-between;
+ padding: 8px 14px;
+ background: rgba(5, 18, 60, 0.85);
+ border-top: 1px solid var(--rule);
+ border-bottom: 1px solid var(--rule);
+}
+
+.code-toolbar::before {
+ content: '';
+ display: inline-flex;
+ width: 46px;
+ height: 10px;
+ background:
+ radial-gradient(circle at 5px 5px, #ff6b6b 4px, transparent 4.3px),
+ radial-gradient(circle at 21px 5px, #f0c430 4px, transparent 4.3px),
+ radial-gradient(circle at 37px 5px, #7ce7d5 4px, transparent 4.3px);
+ opacity: 0.82;
}
.code-lang {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- padding: 4px 8px;
- border-radius: 999px;
- background: rgba(255, 255, 255, 0.08);
- border: 1px solid rgba(255, 255, 255, 0.12);
- font-family: var(--font-mono);
- font-size: 0.68rem;
+ font-size: 0.7rem;
font-weight: 700;
- letter-spacing: 0.08em;
+ letter-spacing: 0.16em;
text-transform: uppercase;
- color: var(--accent);
+ color: var(--ink-muted);
+ padding: 3px 9px;
+ border: 1px solid var(--rule);
+ border-radius: 999px;
+ background: rgba(255, 255, 255, 0.03);
}
.syntax-block {
+ margin: 0;
+ padding: 18px 20px;
+ background: rgba(0, 0, 0, 0.32);
+ border: 0;
+ border-radius: 0;
overflow-x: auto;
- padding: 18px;
- border-radius: 14px;
- border: 1px solid rgba(255, 255, 255, 0.08);
- background:
- linear-gradient(180deg, rgba(3, 9, 31, 0.97), rgba(8, 16, 48, 0.98)),
- radial-gradient(circle at top right, rgba(240, 196, 48, 0.08), transparent 34%);
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
- font-size: 0.88rem;
- line-height: 1.6;
- color: #f3f6fc;
+ font-size: 0.84rem;
+ line-height: 1.55;
+ color: #eef2fb;
}
.syntax-code {
@@ -518,226 +679,252 @@ li + li {
white-space: pre;
min-width: max-content;
font-family: var(--font-mono);
- color: #f3f6fc;
+ color: inherit;
tab-size: 2;
-moz-tab-size: 2;
font-variant-ligatures: none;
}
-.tok-comment {
- color: #7f8db7;
- font-style: italic;
-}
-
-.tok-keyword,
-.tok-delimiter {
- color: #ff8ea1;
- font-weight: 700;
-}
-
-.tok-type {
- color: #8bd9ff;
-}
-
-.tok-builtin {
- color: #7ce7d5;
- font-weight: 700;
-}
-
-.tok-call {
- color: #f7d774;
-}
-
-.tok-variable {
- color: #b8a7ff;
-}
-
-.tok-field {
- color: #b6c9ff;
-}
-
-.tok-string {
- color: #8ce6b4;
-}
-
-.tok-number {
- color: #ffbf7a;
-}
-
-.tok-operator,
-.tok-punct {
- color: #d8e1ff;
-}
-
-.tok-ident {
- color: #dfe7fb;
-}
-
-.tok-markup-tag {
- color: #7ee3ff;
- font-weight: 700;
-}
-
-.tok-markup-attr {
- color: #ffd27c;
-}
-
-.tok-markup-text {
- color: #c9d5f4;
-}
-
.code-note {
- margin-top: 12px;
- font-size: 0.92rem;
+ padding: 12px 20px;
+ margin: 0;
+ font-size: 0.86rem;
+ color: var(--ink-muted);
+ border-top: 1px solid var(--rule);
+ background: rgba(255, 255, 255, 0.02);
+}
+
+/* Syntax tokens — tuned for the deep-navy code panel */
+.tok-comment { color: #7a8bb8; font-style: italic; }
+.tok-keyword,
+.tok-delimiter { color: #ff8ea1; font-weight: 700; }
+.tok-type { color: #8bd9ff; }
+.tok-builtin { color: #7ce7d5; font-weight: 700; }
+.tok-call { color: #f7d774; }
+.tok-variable { color: #b8a7ff; }
+.tok-field { color: #b6c9ff; }
+.tok-string { color: #8ce6b4; }
+.tok-number { color: #ffbf7a; }
+.tok-operator,
+.tok-punct { color: #d8e1ff; }
+.tok-ident { color: #dfe7fb; }
+.tok-markup-tag { color: #7ee3ff; font-weight: 700; }
+.tok-markup-attr { color: #ffd27c; }
+.tok-markup-text { color: #c9d5f4; }
+
+/* ---------- Deploy ---------- */
+
+.deploy-grid {
+ display: grid;
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+ gap: 0;
+ border-top: 1px solid var(--rule);
+ border-bottom: 1px solid var(--rule);
+}
+
+.deploy-card {
+ padding: 28px 28px 28px 0;
+ background: transparent;
+ border: 0;
+ border-right: 1px solid var(--rule);
+}
+.deploy-card:last-child { padding-right: 0; padding-left: 28px; border-right: 0; }
+
+.deploy-card h3 {
+ font-size: 1.06rem;
+ margin-bottom: 14px;
+}
+
+.deploy-card li {
+ color: var(--ink-dim);
+ font-size: 0.94rem;
+ padding-left: 22px;
+ position: relative;
+ line-height: 1.5;
+}
+
+.deploy-card li::before {
+ content: '›';
+ position: absolute;
+ left: 2px;
+ top: -1px;
+ color: var(--gold);
+ font-weight: 700;
+}
+
+.deploy-card code,
+.deploy-card li { word-break: break-word; }
+
+/* ---------- Link cards (Explore) ---------- */
+
+.link-grid {
+ display: grid;
+ grid-template-columns: repeat(3, minmax(0, 1fr));
+ gap: 14px;
}
.link-card {
display: block;
- padding: 20px;
- text-decoration: none;
+ padding: 20px 22px;
+ background: rgba(255, 255, 255, 0.04);
+ border: 1px solid var(--rule);
+ border-radius: var(--radius);
+ color: var(--ink);
+ position: relative;
+ transition: border-color 160ms var(--ease), background 160ms var(--ease), transform 160ms var(--ease);
+}
+
+.link-card::after {
+ content: '→';
+ position: absolute;
+ top: 18px;
+ right: 20px;
+ color: var(--ink-muted);
+ font-family: var(--font-mono);
+ transition: transform 160ms var(--ease), color 160ms var(--ease);
}
.link-card:hover {
- text-decoration: none;
+ border-color: var(--gold-edge);
+ background: rgba(255, 255, 255, 0.08);
+ transform: translateY(-1px);
}
-.link-meta {
- font-size: 0.76rem;
- letter-spacing: 0.08em;
+.link-card:hover::after { color: var(--gold); transform: translateX(3px); }
+
+.link-card .link-meta {
+ display: block;
+ font-size: 0.68rem;
+ letter-spacing: 0.18em;
text-transform: uppercase;
- color: var(--accent);
+ color: var(--ink-muted);
margin-bottom: 10px;
}
-.deployment ul,
-.manual-card ul,
-.deploy-card ul {
- list-style: none;
- padding-left: 0;
+.link-card:hover .link-meta { color: var(--gold); }
+
+.link-card strong {
+ display: block;
+ color: var(--ink);
+ font-size: 1rem;
+ margin-bottom: 6px;
}
-.deployment li,
-.manual-card li,
-.deploy-card li {
- position: relative;
- padding-left: 18px;
+.link-card span {
+ color: var(--ink-dim);
+ font-size: 0.9rem;
+ line-height: 1.5;
}
-.deployment li::before,
-.manual-card li::before,
-.deploy-card li::before {
- content: '+';
- position: absolute;
- left: 0;
- color: var(--accent);
-}
+/* ---------- FAQ ---------- */
-details {
- padding: 18px 20px;
- border: 1px solid var(--border);
+.faq details {
+ padding: 18px 22px;
+ background: rgba(255, 255, 255, 0.04);
+ border: 1px solid var(--rule);
border-radius: var(--radius);
- background: rgba(6, 16, 54, 0.48);
}
-details + details {
- margin-top: 12px;
-}
+.faq details + details { margin-top: 10px; }
-summary {
+.faq summary {
cursor: pointer;
list-style: none;
font-family: var(--font-mono);
- font-size: 0.96rem;
- color: var(--text);
+ font-size: 0.94rem;
+ color: var(--ink);
+ position: relative;
+ padding-right: 28px;
}
-summary::-webkit-details-marker {
- display: none;
+.faq summary::-webkit-details-marker { display: none; }
+
+.faq summary::after {
+ content: '+';
+ position: absolute;
+ right: 0;
+ top: -1px;
+ color: var(--gold);
+ font-size: 1.1rem;
+ font-weight: 700;
+ line-height: 1;
+ transition: transform 160ms var(--ease);
}
-details p {
- margin-top: 12px;
-}
+.faq details[open] summary::after { transform: rotate(45deg); }
+
+.faq details p { margin-top: 12px; color: var(--ink-dim); font-size: 0.96rem; }
+
+/* ---------- Footer ---------- */
.page-footer {
+ margin-top: 24px;
+ padding: 26px 0 0;
+ border-top: 1px solid var(--rule);
display: flex;
+ flex-wrap: wrap;
justify-content: space-between;
- gap: 18px;
align-items: center;
- margin-top: 4px;
- padding-top: 20px;
- padding-bottom: 20px;
- background: rgba(7, 18, 56, 0.64);
- border-radius: 20px;
+ gap: 16px;
}
.page-footer p {
- max-width: 55ch;
- font-size: 0.94rem;
+ max-width: 60ch;
+ font-size: 0.92rem;
+ color: var(--ink-muted);
}
+.page-footer p:last-child {
+ font-family: var(--font-mono);
+ display: inline-flex;
+ gap: 4px;
+ align-items: center;
+}
+
+.page-footer a {
+ color: var(--ink);
+ border-bottom: 1px solid transparent;
+}
+.page-footer a:hover { color: var(--gold); border-bottom-color: var(--gold); }
+
.page-footer span {
- opacity: 0.42;
- padding: 0 8px;
+ color: var(--ink-muted);
+ padding: 0 6px;
}
+/* ---------- Responsive ---------- */
+
@media (max-width: 1024px) {
- .hero-panel,
- .signal-grid,
- .feature-grid,
- .manifesto-grid,
- .code-grid,
- .link-grid,
- .deploy-grid,
- .page-footer {
- grid-template-columns: 1fr;
- }
-
- .hero-panel {
- padding: 28px;
- }
-
- .page-footer {
- display: grid;
- }
+ .hero-panel { grid-template-columns: 1fr; gap: 40px; }
+ .hero-aside { border-left: 0; padding-left: 0; padding-top: 24px; border-top: 1px solid var(--rule); }
+ .manifesto-grid { grid-template-columns: 1fr; }
+ .code-grid { grid-template-columns: 1fr; }
+ .link-grid { grid-template-columns: repeat(2, 1fr); }
+ .deploy-grid { grid-template-columns: 1fr; border-bottom: 0; }
+ .deploy-card { border-right: 0; border-bottom: 1px solid var(--rule); padding: 22px 0; }
+ .deploy-card:last-child { padding-left: 0; border-bottom: 0; }
+ .feature-grid { grid-template-columns: 1fr; }
+ .feature-card { padding: 22px 0 !important; border-right: 0 !important; }
}
-@media (max-width: 760px) {
- .page-shell {
- width: min(100% - 20px, 1180px);
- padding-top: 10px;
- }
+@media (max-width: 720px) {
+ .topbar { flex-wrap: wrap; gap: 10px; padding-top: 14px; }
+ .topbar-link { margin-left: 0; }
+ .signal-grid { grid-template-columns: 1fr; }
+ .signal-card { border-right: 0; border-bottom: 1px solid var(--rule); padding: 16px 0 !important; }
+ .signal-card:last-child { border-bottom: 0; }
+ .link-grid { grid-template-columns: 1fr; }
+ .button { width: 100%; justify-content: center; }
+ main { gap: 64px; }
+ .section > .section-heading::before { margin-bottom: 12px; }
+}
- .topbar {
- border-radius: 24px;
- padding: 14px;
- flex-wrap: wrap;
- }
+/* ---------- Utility ---------- */
- .topbar-link {
- margin-left: 0;
- }
+::selection { background: var(--gold); color: #111; }
- .hero-panel,
- .section,
- .page-footer {
- padding: 22px;
- }
-
- h1 {
- font-size: 2.8rem;
- }
-
- h2 {
- font-size: 2rem;
- }
-
- .button {
- width: 100%;
- }
-
- pre {
- padding: 16px;
- font-size: 0.82rem;
- }
-}
\ No newline at end of file
+:focus-visible {
+ outline: 2px solid var(--gold);
+ outline-offset: 2px;
+ border-radius: var(--radius-xs);
+}
diff --git a/site/info/themes/common/page.json.uce b/site/info/themes/common/page.json.uce
index 975a1a8..fcca43e 100644
--- a/site/info/themes/common/page.json.uce
+++ b/site/info/themes/common/page.json.uce
@@ -5,10 +5,8 @@ COMPONENT(Request& context)
starter_boot(context);
context.header["Content-Type"] = "application/json";
context.header["Cache-Control"] = "no-cache, no-store, must-revalidate";
- if(context.call["json"].get_type_name() == "array")
- print(json_encode(context.call["json"]));
- else if(context.var["starter"]["json"].get_type_name() == "array")
- print(json_encode(context.var["starter"]["json"]));
+ if(context.props["json"].get_type_name() == "array")
+ print(json_encode(context.props["json"]));
else
print(starter_page_main_html(context));
}
diff --git a/site/info/themes/dark/css/style.css b/site/info/themes/dark/css/style.css
deleted file mode 100755
index 0b45533..0000000
--- a/site/info/themes/dark/css/style.css
+++ /dev/null
@@ -1,516 +0,0 @@
-:root {
- /* Dark theme color palette */
- --bg-color: #0f172a;
- --bg-secondary: #1e293b;
- --bg-gradient: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
- --surface: #1e293b;
- --surface-elevated: #334155;
- --surface-hover: #475569;
- --primary: #60a5fa;
- --primary-dark: #3b82f6;
- --primary-light: #93c5fd;
- --secondary: #a78bfa;
- --accent: #22d3ee;
- --text-primary: #f1f5f9;
- --text-secondary: #cbd5e1;
- --text-muted: #94a3b8;
- --border: #334155;
- --border-hover: #475569;
- --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
- --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
- --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
- --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
- --radius: 8px;
- --radius-md: 8px;
- --radius-lg: 12px;
- --radius-xl: 16px;
- --radius-sm: 4px;
-
- /* Dark theme specific variables */
- --glass-bg: rgba(30, 41, 59, 0.8);
- --glass-border: rgba(148, 163, 184, 0.1);
- --overlay: rgba(0, 0, 0, 0.6);
- --success: #10b981;
- --success-bg: rgba(16, 185, 129, 0.1);
- --success-border: rgba(16, 185, 129, 0.3);
- --success-text: #10b981;
- --warning: #f59e0b;
- --warning-bg: rgba(245, 158, 11, 0.1);
- --warning-border: rgba(245, 158, 11, 0.3);
- --warning-text: #f59e0b;
- --error: #ef4444;
- --error-bg: rgba(239, 68, 68, 0.1);
- --error-border: rgba(239, 68, 68, 0.3);
- --error-text: #ef4444;
- --info: #3b82f6;
- --info-bg: rgba(59, 130, 246, 0.1);
- --info-border: rgba(59, 130, 246, 0.3);
- --info-text: #3b82f6;
-}
-
-* {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
-}
-
-html {
- font-size: 16px;
- scroll-behavior: smooth;
-}
-
-body {
- font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
- font-size: 1rem;
- font-weight: 400;
- line-height: 1.6;
- color: var(--text-primary);
- background: var(--bg-color);
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
-}
-
-/* Links */
-a {
- color: var(--primary);
- text-decoration: none;
- transition: all 0.2s ease;
-}
-
-a:hover {
- color: var(--primary-light);
- text-decoration: underline;
-}
-
-/* Modern Navigation */
-nav {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- z-index: 1000;
- background: var(--glass-bg);
- backdrop-filter: blur(20px);
- -webkit-backdrop-filter: blur(20px);
- border-bottom: 1px solid var(--border);
- padding: 0 1rem;
- display: flex;
- align-items: center;
- box-shadow: var(--shadow-sm);
- transition: all 0.3s ease;
-}
-
-nav > a,
-.nav-menu a {
- display: inline-flex;
- align-items: center;
- padding: 0.625rem 1rem;
- color: var(--text-primary);
- text-decoration: none;
- font-weight: 500;
- transition: all 0.2s ease;
- position: relative;
- border-radius: var(--radius);
- margin: 0.35rem 0.15rem;
-}
-
-nav > a:first-child,
-.nav-menu > a:first-child {
- font-weight: 700;
- color: var(--primary);
- padding-left: 1.25rem;
- padding-right: 1.25rem;
-}
-
-nav > a:hover,
-.nav-menu a:hover {
- background: var(--surface-hover);
- color: var(--primary);
- text-decoration: none;
-}
-
-nav > a::after,
-.nav-menu a::after {
- content: '';
- position: absolute;
- bottom: 0;
- left: 50%;
- width: 0;
- height: 2px;
- background: var(--primary);
- transition: all 0.3s ease;
- transform: translateX(-50%);
-}
-
-nav > a:hover::after,
-.nav-menu a:hover::after {
- width: 60%;
-}
-
-/* Account area inside the nav */
-.nav-menu {
- display: flex;
- align-items: center;
- gap: 0.25rem;
-}
-
-.nav-account {
- margin-left: auto;
- display: flex;
- align-items: center;
- gap: 0.5rem;
-}
-
-nav.nav-scrolled {
- background: rgba(30, 41, 59, 0.95) !important;
- backdrop-filter: blur(20px) !important;
- -webkit-backdrop-filter: blur(20px) !important;
- box-shadow: var(--shadow-md) !important;
-}
-
-#content {
- margin-top: 5rem;
- min-height: calc(100vh - 10rem);
- padding: 2rem 1rem;
- max-width: 1200px;
- margin-left: auto;
- margin-right: auto;
-}
-
-/* Typography */
-h1, h2, h3, h4, h5, h6 {
- font-weight: 700;
- line-height: 1.2;
- margin-bottom: 1rem;
- color: var(--text-primary);
-}
-
-h1 {
- font-size: 2rem;
- position: relative;
- padding-bottom: 0.75rem;
- margin-bottom: 1.25rem;
-}
-
-h1::before {
- content: '';
- position: absolute;
- bottom: 0;
- left: 0;
- width: 60px;
- height: 3px;
- background: var(--bg-gradient);
- border-radius: 3px;
-}
-
-h2 {
- font-size: 2rem;
-}
-
-h3 {
- font-size: 1.5rem;
-}
-
-/* Modern Cards/Blocks */
-#content > div:not(.ws-app), .block, .card {
- background: var(--surface);
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- padding: 1.75rem;
- margin-bottom: 1.5rem;
- box-shadow: var(--shadow-sm);
- transition: border-color 0.25s ease, box-shadow 0.25s ease;
-}
-
-#content > div:not(.ws-app):hover, .block:hover, .card:hover {
- box-shadow: var(--shadow-md);
- border-color: var(--border-hover);
-}
-
-/* Modern Forms */
-form {
- max-width: 600px;
- margin: 0 auto;
-}
-
-form > div {
- display: flex;
- flex-direction: column;
- margin-bottom: 1.5rem;
- gap: 0.5rem;
-}
-
-form > div > label {
- font-weight: 500;
- color: var(--text-secondary);
- font-size: 0.875rem;
- text-transform: uppercase;
- letter-spacing: 0.05em;
- transition: all 0.2s ease;
-}
-
-form > div > input, form > div > textarea, form > div > select {
- padding: 0.75rem 1rem;
- border: 2px solid var(--border);
- border-radius: var(--radius);
- background: var(--bg-secondary);
- color: var(--text-primary);
- font-size: 1rem;
- transition: all 0.2s ease;
-}
-
-form > div > input:focus, form > div > textarea:focus, form > div > select:focus {
- outline: none;
- border-color: var(--primary);
- box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
- background: var(--surface);
-}
-
-/* Enhanced form validation states */
-form > div > input.valid, form > div > textarea.valid {
- border-color: var(--success);
- box-shadow: 0 0 0 3px var(--success-bg);
-}
-
-form > div > input.invalid, form > div > textarea.invalid {
- border-color: var(--error);
- box-shadow: 0 0 0 3px var(--error-bg);
-}
-
-/* Floating label effect */
-form > div.focused > label {
- transform: translateY(-0.5rem) scale(0.85);
- color: var(--primary);
-}
-
-/* Modern Buttons */
-button, .btn, form > div > input[type=submit], input[type="submit"] {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- padding: 0.75rem 1.5rem;
- background: var(--primary);
- color: var(--bg-color);
- border: none;
- border-radius: var(--radius);
- font-weight: 500;
- font-size: 1rem;
- cursor: pointer;
- transition: all 0.2s ease;
- text-decoration: none;
- position: relative;
- overflow: hidden;
-}
-
-button:hover, .btn:hover, form > div > input[type=submit]:hover, input[type="submit"]:hover {
- background: var(--primary-dark);
- transform: translateY(-1px);
- box-shadow: var(--shadow-lg);
-}
-
-button:active, .btn:active {
- transform: translateY(0);
-}
-
-input[type="range"] {
- width: 100%;
- height: 6px;
- background: var(--bg-color);
- outline: none;
- border-radius: 3px;
- -webkit-appearance: none;
- appearance: none;
-}
-
-input[type="range"]::-webkit-slider-thumb {
- -webkit-appearance: none;
- appearance: none;
- width: 20px;
- height: 20px;
- background: var(--primary);
- cursor: pointer;
- border-radius: 50%;
- box-shadow: var(--shadow-sm);
-}
-
-input[type="range"]::-moz-range-thumb {
- width: 20px;
- height: 20px;
- background: var(--primary);
- cursor: pointer;
- border-radius: 50%;
- border: none;
- box-shadow: var(--shadow-sm);
-}
-
-/* Button variants */
-.btn-secondary {
- background: var(--secondary);
-}
-
-.btn-secondary:hover {
- background: #8b5cf6;
-}
-
-.btn-outline {
- background: transparent;
- color: var(--primary);
- border: 2px solid var(--primary);
-}
-
-.btn-outline:hover {
- background: var(--primary);
- color: var(--bg-color);
-}
-
-.btn-large {
- padding: 1rem 2rem;
- font-size: 1.125rem;
-}
-
-/* Utility Classes */
-.banner {
- padding: 1rem 1.5rem;
- background: var(--surface);
- border: 1px solid var(--border);
- border-radius: var(--radius);
- margin-bottom: 1rem;
-}
-
-.banner.success {
- background: var(--success-bg);
- border-color: var(--success-border);
- color: var(--success);
-}
-
-.banner.warning {
- background: var(--warning-bg);
- border-color: var(--warning-border);
- color: var(--warning);
-}
-
-.banner.error {
- background: var(--error-bg);
- border-color: var(--error-border);
- color: var(--error);
-}
-
-.error {
- color: var(--error);
-}
-
-/* Footer */
-footer {
- text-align: center;
- color: var(--text-muted);
- padding: 2rem 1rem;
- margin-top: 4rem;
- border-top: 1px solid var(--border);
- background: var(--surface);
-}
-
-/* Mobile Responsive Design */
-@media (max-width: 768px) {
- nav {
- padding: 0 0.5rem;
- overflow-x: auto;
- white-space: nowrap;
- scrollbar-width: none;
- -ms-overflow-style: none;
- }
-
- nav::-webkit-scrollbar {
- display: none;
- }
-
- nav > a {
- padding: 0.75rem 1rem;
- margin: 0.25rem 0.125rem;
- font-size: 0.875rem;
- display: inline-flex;
- flex-shrink: 0;
- }
-
- #content {
- margin-top: 4rem;
- padding: 1rem 0.5rem;
- }
-
- h1 {
- font-size: 1.875rem;
- padding: 1.5rem;
- }
-
- #content > div, .block, .card {
- padding: 1.5rem;
- margin-bottom: 1rem;
- }
-
- form > div {
- margin-bottom: 1rem;
- }
-
- button, .btn {
- padding: 0.875rem 1.25rem;
- font-size: 0.9rem;
- }
-}
-
-@media (max-width: 480px) {
- nav > a {
- padding: 0.5rem 0.75rem;
- font-size: 0.8rem;
- }
-
- #content {
- padding: 1rem 0.25rem;
- }
-
- h1 {
- font-size: 1.5rem;
- padding: 1rem;
- }
-
- #content > div, .block, .card {
- padding: 1rem;
- border-radius: var(--radius);
- }
-}
-
-/* Smooth scrolling and improved animations */
-* {
- scroll-behavior: smooth;
-}
-
-/* Loading animation for better perceived performance */
-@keyframes pulse {
- 0%, 100% { opacity: 1; }
- 50% { opacity: 0.5; }
-}
-
-.loading {
- animation: pulse 2s ease-in-out infinite;
-}
-
-/* Focus states for accessibility */
-button:focus, .btn:focus, input:focus, textarea:focus, select:focus {
- outline: 2px solid var(--primary);
- outline-offset: 2px;
-}
-
-/* Print styles */
-@media print {
- nav, footer, .cta-section {
- display: none;
- }
-
- #content {
- margin-top: 0;
- }
-
- * {
- background: white !important;
- color: black !important;
- box-shadow: none !important;
- }
-}
diff --git a/site/info/themes/dark/icon.png b/site/info/themes/dark/icon.png
deleted file mode 100755
index 8a42581..0000000
Binary files a/site/info/themes/dark/icon.png and /dev/null differ
diff --git a/site/info/themes/dark/page.html.uce b/site/info/themes/dark/page.html.uce
deleted file mode 100644
index 8645bb0..0000000
--- a/site/info/themes/dark/page.html.uce
+++ /dev/null
@@ -1,31 +0,0 @@
-#load "../../lib/app.uce"
-
-COMPONENT(Request& context)
-{
- starter_boot(context);
- bool embed_mode = starter_page_embed_mode(context);
- String main_html = starter_page_main_html(context);
-
- DTree nav_props;
- nav_props["account_wrapper_class"] = "nav-account nav-menu";
-
- DTree footer_props;
- footer_props["embed_mode"].set_bool(embed_mode);
-
- <>
-
- ">
-
-
-
- >
-
-
- >
-
-
-
-
-
- >
-}
diff --git a/site/info/themes/light/css/style.css b/site/info/themes/light/css/style.css
deleted file mode 100755
index b872b44..0000000
--- a/site/info/themes/light/css/style.css
+++ /dev/null
@@ -1,540 +0,0 @@
-:root {
- /* Light theme color palette */
- --bg-color: #f8fafc;
- --bg-secondary: #ffffff;
- --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- --surface: #ffffff;
- --surface-elevated: #ffffff;
- --surface-hover: #f1f5f9;
- --primary: #3b82f6;
- --primary-dark: #1d4ed8;
- --primary-light: #93c5fd;
- --secondary: #8b5cf6;
- --accent: #06b6d4;
- --text-primary: #1e293b;
- --text-secondary: #64748b;
- --text-muted: #94a3b8;
- --border: #e2e8f0;
- --border-hover: #cbd5e1;
- --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
- --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
- --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
- --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
- --radius: 8px;
- --radius-md: 8px;
- --radius-lg: 12px;
- --radius-xl: 16px;
- --radius-sm: 4px;
-
- /* Light theme specific variables */
- --glass-bg: rgba(255, 255, 255, 0.95);
- --glass-border: rgba(0, 0, 0, 0.1);
- --overlay: rgba(0, 0, 0, 0.3);
- --success: #10b981;
- --success-bg: #dcfce7;
- --success-border: #16a34a;
- --success-text: #065f46;
- --warning: #f59e0b;
- --warning-bg: #fef3c7;
- --warning-border: #d97706;
- --warning-text: #92400e;
- --error: #ef4444;
- --error-bg: #fee2e2;
- --error-border: #dc2626;
- --error-text: #991b1b;
- --info: #3b82f6;
- --info-bg: #dbeafe;
- --info-border: #2563eb;
- --info-text: #1e40af;
-}
-
-* {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
-}
-
-html {
- font-size: 16px;
- scroll-behavior: smooth;
-}
-
-body {
- font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
- font-size: 1rem;
- font-weight: 400;
- line-height: 1.6;
- color: var(--text-primary);
- background: var(--bg-color);
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
-}
-/* Links */
-a {
- color: var(--primary);
- text-decoration: none;
- transition: all 0.2s ease;
-}
-
-a:hover {
- color: var(--primary-dark);
- text-decoration: underline;
-}
-
-/* Modern Navigation */
-nav {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- z-index: 1000;
- background: var(--glass-bg);
- backdrop-filter: blur(20px);
- -webkit-backdrop-filter: blur(20px);
- border-bottom: 1px solid var(--border);
- padding: 0 1rem;
- display: flex;
- align-items: center;
- box-shadow: var(--shadow-sm);
- transition: all 0.3s ease;
-}
-
-nav > a,
-.nav-menu a {
- display: inline-flex;
- align-items: center;
- padding: 0.625rem 1rem;
- color: var(--text-primary);
- text-decoration: none;
- font-weight: 500;
- transition: all 0.2s ease;
- position: relative;
- border-radius: var(--radius);
- margin: 0.35rem 0.15rem;
-}
-
-nav > a:first-child,
-.nav-menu > a:first-child {
- font-weight: 700;
- color: var(--primary);
- padding-left: 1.25rem;
- padding-right: 1.25rem;
-}
-
-nav > a:hover,
-.nav-menu a:hover {
- background: var(--surface-hover);
- color: var(--primary);
- text-decoration: none;
-}
-
-nav > a::after,
-.nav-menu a::after {
- content: '';
- position: absolute;
- bottom: 0;
- left: 50%;
- width: 0;
- height: 2px;
- background: var(--primary);
- transition: all 0.3s ease;
- transform: translateX(-50%);
-}
-
-nav > a:hover::after,
-.nav-menu a:hover::after {
- width: 60%;
-}
-
-/* Account area inside the nav */
-.nav-menu {
- display: flex;
- align-items: center;
- gap: 0.25rem;
-}
-
-.nav-account {
- margin-left: auto;
- display: flex;
- align-items: center;
- gap: 0.5rem;
-}
-
-.nav-account .account-name {
- color: var(--text-secondary);
- font-weight: 500;
- margin-right: 0.5rem;
- font-size: 0.95rem;
-}
-
-.nav-account a {
- display: inline-flex;
- align-items: center;
- padding: 0.5rem 0.75rem;
- border-radius: var(--radius);
- color: var(--text-primary);
- text-decoration: none;
-}
-
-.nav-account a:hover {
- background: var(--surface-hover);
- color: var(--primary-dark);
-}
-
-/* Navigation scroll state */
-nav.nav-scrolled {
- background: rgba(255, 255, 255, 0.98) !important;
- backdrop-filter: blur(20px) !important;
- -webkit-backdrop-filter: blur(20px) !important;
- box-shadow: var(--shadow-md) !important;
-}
-
-/* Main Content Area */
-#content {
- margin-top: 5rem;
- min-height: calc(100vh - 10rem);
- padding: 2rem 1rem;
- max-width: 1200px;
- margin-left: auto;
- margin-right: auto;
-}
-
-/* Typography */
-h1, h2, h3, h4, h5, h6 {
- font-weight: 700;
- line-height: 1.2;
- margin-bottom: 1rem;
- color: var(--text-primary);
-}
-
-h1 {
- font-size: 2.5rem;
- background: var(--surface);
- padding: 1.75rem 2rem;
- border-radius: var(--radius-lg);
- box-shadow: var(--shadow-sm);
- border: 1px solid var(--border);
- position: relative;
- overflow: hidden;
-}
-
-h1::before {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- height: 3px;
- background: var(--bg-gradient);
-}
-
-h2 {
- font-size: 2rem;
-}
-
-h3 {
- font-size: 1.5rem;
-}
-
-/* Modern Cards/Blocks */
-#content > div:not(.ws-app), .block, .card {
- background: var(--surface);
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- padding: 1.75rem;
- margin-bottom: 1.5rem;
- box-shadow: var(--shadow-sm);
- transition: border-color 0.25s ease, box-shadow 0.25s ease;
-}
-
-#content > div:not(.ws-app):hover, .block:hover, .card:hover {
- box-shadow: var(--shadow-md);
- border-color: var(--border-hover);
-}
-
-/* Modern Forms */
-form {
- max-width: 600px;
- margin: 0 auto;
-}
-
-form > div {
- display: flex;
- flex-direction: column;
- margin-bottom: 1.5rem;
- gap: 0.5rem;
-}
-
-form > div > label {
- font-weight: 500;
- color: var(--text-secondary);
- font-size: 0.875rem;
- text-transform: uppercase;
- letter-spacing: 0.05em;
- transition: all 0.2s ease;
-}
-
-form > div > input, form > div > textarea, form > div > select {
- padding: 0.75rem 1rem;
- border: 2px solid var(--border);
- border-radius: var(--radius);
- background: var(--surface);
- color: var(--text-primary);
- font-size: 1rem;
- transition: all 0.2s ease;
-}
-
-form > div > input:focus, form > div > textarea:focus, form > div > select:focus {
- outline: none;
- border-color: var(--primary);
- box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
-}
-
-/* Enhanced form validation states */
-form > div > input.valid, form > div > textarea.valid {
- border-color: var(--success);
- box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
-}
-
-form > div > input.invalid, form > div > textarea.invalid {
- border-color: var(--error);
- box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
-}
-
-/* Floating label effect */
-form > div.focused > label {
- transform: translateY(-0.5rem) scale(0.85);
- color: var(--primary);
-}
-
-/* Modern Buttons */
-button, .btn, form > div > input[type=submit], input[type="submit"] {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- padding: 0.75rem 1.5rem;
- background: var(--primary);
- color: white;
- border: none;
- border-radius: var(--radius);
- font-weight: 500;
- font-size: 1rem;
- cursor: pointer;
- transition: all 0.2s ease;
- text-decoration: none;
- position: relative;
- overflow: hidden;
-}
-
-button:hover, .btn:hover, form > div > input[type=submit]:hover, input[type="submit"]:hover {
- background: var(--primary-dark);
- transform: translateY(-1px);
- box-shadow: var(--shadow-lg);
-}
-
-button:active, .btn:active {
- transform: translateY(0);
-}
-
-/* Button variants */
-.btn-secondary {
- background: var(--secondary);
-}
-
-.btn-secondary:hover {
- background: #7c3aed;
-}
-
-.btn-outline {
- background: transparent;
- color: var(--primary);
- border: 2px solid var(--primary);
-}
-
-.btn-outline:hover {
- background: var(--primary);
- color: white;
-}
-
-.btn-large {
- padding: 1rem 2rem;
- font-size: 1.125rem;
-}
-
-input[type="range"] {
- width: 100%;
- height: 6px;
- background: var(--bg-color);
- outline: none;
- border-radius: 3px;
- -webkit-appearance: none;
- appearance: none;
-}
-
-input[type="range"]::-webkit-slider-thumb {
- -webkit-appearance: none;
- appearance: none;
- width: 20px;
- height: 20px;
- background: var(--primary);
- cursor: pointer;
- border-radius: 50%;
- box-shadow: var(--shadow-sm);
-}
-
-input[type="range"]::-moz-range-thumb {
- width: 20px;
- height: 20px;
- background: var(--primary);
- cursor: pointer;
- border-radius: 50%;
- border: none;
- box-shadow: var(--shadow-sm);
-}
-
-/* Utility Classes */
-.banner {
- padding: 1rem 1.5rem;
- background: var(--surface);
- border: 1px solid var(--border);
- border-radius: var(--radius);
- margin-bottom: 1rem;
-}
-
-.banner.success {
- background: var(--success-bg);
- border-color: var(--success-border);
- color: var(--success);
-}
-
-.banner.warning {
- background: var(--warning-bg);
- border-color: var(--warning-border);
- color: var(--warning);
-}
-
-.banner.error {
- background: var(--error-bg);
- border-color: var(--error-border);
- color: var(--error);
-}
-
-.error {
- color: var(--error);
-}
-
-/* Footer */
-footer {
- text-align: center;
- color: var(--text-muted);
- padding: 2rem 1rem;
- margin-top: 4rem;
- border-top: 1px solid var(--border);
- background: var(--surface);
-}
-
-/* Mobile Responsive Design */
-@media (max-width: 768px) {
- nav {
- padding: 0 0.5rem;
- overflow-x: auto;
- white-space: nowrap;
- scrollbar-width: none;
- -ms-overflow-style: none;
- }
-
- nav::-webkit-scrollbar {
- display: none;
- }
-
- nav > a {
- padding: 0.75rem 1rem;
- margin: 0.25rem 0.125rem;
- font-size: 0.875rem;
- display: inline-flex;
- flex-shrink: 0;
- }
-
- #content {
- margin-top: 4rem;
- padding: 1rem 0.5rem;
- }
-
- h1 {
- font-size: 1.875rem;
- padding: 1.5rem;
- }
-
- #content > div, .block, .card {
- padding: 1.5rem;
- margin-bottom: 1rem;
- }
-
- form > div {
- margin-bottom: 1rem;
- }
-
- button, .btn {
- padding: 0.875rem 1.25rem;
- font-size: 0.9rem;
- }
-}
-
-@media (max-width: 480px) {
- nav > a {
- padding: 0.5rem 0.75rem;
- font-size: 0.8rem;
- }
-
- #content {
- padding: 1rem 0.25rem;
- }
-
- h1 {
- font-size: 1.5rem;
- padding: 1rem;
- }
-
- #content > div, .block, .card {
- padding: 1rem;
- border-radius: var(--radius);
- }
-}
-
-/* Smooth scrolling and improved animations */
-* {
- scroll-behavior: smooth;
-}
-
-/* Loading animation for better perceived performance */
-@keyframes pulse {
- 0%, 100% { opacity: 1; }
- 50% { opacity: 0.5; }
-}
-
-.loading {
- animation: pulse 2s ease-in-out infinite;
-}
-
-/* Focus states for accessibility */
-button:focus, .btn:focus, input:focus, textarea:focus, select:focus {
- outline: 2px solid var(--primary);
- outline-offset: 2px;
-}
-
-/* Print styles */
-@media print {
- nav, footer, .cta-section {
- display: none;
- }
-
- #content {
- margin-top: 0;
- }
-
- * {
- background: white !important;
- color: black !important;
- box-shadow: none !important;
- }
-}
diff --git a/site/info/themes/light/icon.png b/site/info/themes/light/icon.png
deleted file mode 100755
index 8a42581..0000000
Binary files a/site/info/themes/light/icon.png and /dev/null differ
diff --git a/site/info/themes/light/img/favicon.png b/site/info/themes/light/img/favicon.png
deleted file mode 100755
index 6653d41..0000000
Binary files a/site/info/themes/light/img/favicon.png and /dev/null differ
diff --git a/site/info/themes/light/page.html.uce b/site/info/themes/light/page.html.uce
deleted file mode 100644
index 495d3e0..0000000
--- a/site/info/themes/light/page.html.uce
+++ /dev/null
@@ -1,28 +0,0 @@
-#load "../../lib/app.uce"
-
-COMPONENT(Request& context)
-{
- starter_boot(context);
- bool embed_mode = starter_page_embed_mode(context);
- String main_html = starter_page_main_html(context);
-
- DTree footer_props;
- footer_props["embed_mode"].set_bool(embed_mode);
-
- <>
-
- ">
-
-
-
- >
-
-
- >
-
-
-
-
-
- >
-}
diff --git a/site/info/themes/localfirst/css/style.css b/site/info/themes/localfirst/css/style.css
deleted file mode 100644
index 088ce45..0000000
--- a/site/info/themes/localfirst/css/style.css
+++ /dev/null
@@ -1,382 +0,0 @@
-@font-face {
- font-family: 'B612';
- src: url('../../common/fonts/b612/b612-regular.ttf') format('truetype');
- font-style: normal;
- font-weight: 400;
- font-display: swap;
-}
-@font-face {
- font-family: 'B612';
- src: url('../../common/fonts/b612/b612-bold.ttf') format('truetype');
- font-style: normal;
- font-weight: 700;
- font-display: swap;
-}
-@font-face {
- font-family: 'B612 Mono';
- src: url('../../common/fonts/b612/b612-mono-regular.ttf') format('truetype');
- font-style: normal;
- font-weight: 400;
- font-display: swap;
-}
-@font-face {
- font-family: 'B612 Mono';
- src: url('../../common/fonts/b612/b612-mono-bold.ttf') format('truetype');
- font-style: normal;
- font-weight: 700;
- font-display: swap;
-}
-
-@keyframes pulse-glow {
- 0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent), 0 0 16px rgba(255,107,26,0.28); }
- 50% { opacity: 0.6; box-shadow: 0 0 4px var(--accent), 0 0 8px rgba(255,107,26,0.16); }
-}
-
-:root {
- --brand-cyan: #00b7f9;
- --brand-cyan-soft: #58d2ff;
- --brand-cyan-bright: #b6eeff;
- --brand-cyan-deep: #0088bb;
- --brand-orange: #ff6b1a;
- --brand-orange-soft: #ff9f6a;
- --brand-orange-bright: #ffd0b3;
- --bg-color: #020913;
- --bg-secondary: #07131f;
- --surface: rgba(7, 19, 31, 0.9);
- --surface-elevated: rgba(10, 28, 43, 0.96);
- --surface-hover: rgba(0, 183, 249, 0.08);
- --card: rgba(7, 19, 31, 0.84);
- --text-primary: var(--brand-cyan-soft);
- --text-secondary: rgba(139, 222, 255, 0.82);
- --text-muted: rgba(101, 161, 188, 0.78);
- --primary: var(--brand-cyan);
- --primary-light: rgba(0, 183, 249, 0.18);
- --primary-dark: var(--brand-cyan-deep);
- --secondary: var(--brand-cyan-soft);
- --accent: var(--brand-orange);
- --success: #34d399;
- --success-bg: rgba(52, 211, 153, 0.1);
- --success-border: rgba(52, 211, 153, 0.3);
- --success-text: #7ef0bb;
- --warning: var(--brand-orange);
- --warning-bg: rgba(255, 107, 26, 0.12);
- --warning-border: rgba(255, 107, 26, 0.32);
- --warning-text: #ffc29f;
- --error: #fb7185;
- --error-bg: rgba(251, 113, 133, 0.12);
- --error-border: rgba(251, 113, 133, 0.3);
- --error-text: #fecdd3;
- --info: var(--brand-cyan);
- --info-bg: rgba(0, 183, 249, 0.1);
- --info-border: rgba(0, 183, 249, 0.28);
- --info-text: var(--brand-cyan-bright);
- --border: rgba(67, 149, 182, 0.22);
- --border-hover: rgba(98, 205, 246, 0.36);
- --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.18);
- --shadow-md: 0 14px 32px rgba(0, 0, 0, 0.24);
- --shadow-lg: 0 18px 38px rgba(0, 0, 0, 0.28);
- --shadow-xl: 0 22px 48px rgba(0, 0, 0, 0.34);
- --radius: 10px;
- --radius-sm: 6px;
- --radius-md: 10px;
- --radius-lg: 16px;
- --radius-xl: 20px;
- --font-sans: 'B612', 'Segoe UI', sans-serif;
- --font-mono: 'B612 Mono', ui-monospace, monospace;
-}
-
-* { box-sizing: border-box; margin: 0; }
-html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
-body {
- font-family: var(--font-sans);
- font-size: 14px;
- background: var(--bg-color);
- color: var(--text-primary);
- min-height: 100vh;
-}
-body::before {
- content: '';
- position: fixed;
- inset: 0;
- background:
- radial-gradient(ellipse 80% 60% at 10% 0%, rgba(0,183,249,0.12) 0%, transparent 60%),
- radial-gradient(ellipse 60% 50% at 90% 100%, rgba(255,107,26,0.08) 0%, transparent 60%);
- pointer-events: none;
- z-index: 0;
-}
-a { color: var(--accent); text-decoration: none; }
-a:hover { text-decoration: underline; }
-
-body.admin-page { overflow: hidden; height: 100vh; }
-.admin-shell { display: flex; height: 100vh; overflow: hidden; position: relative; z-index: 1; }
-.admin-nav {
- width: 210px;
- flex-shrink: 0;
- background:
- linear-gradient(180deg, rgba(5, 16, 26, 0.98), rgba(2, 10, 18, 0.98)),
- linear-gradient(180deg, rgba(0, 174, 240, 0.06), rgba(255, 107, 26, 0.04));
- border-right: 1px solid var(--border);
- display: flex;
- flex-direction: column;
- overflow-y: auto;
- padding: 0 0 16px;
-}
-.admin-nav-header {
- border-bottom: 1px solid var(--border);
- margin-bottom: 10px;
- display: flex;
- align-items: center;
- gap: 9px;
- padding: 10px 10px 12px;
-}
-.admin-nav-title { display: block; width: 100%; }
-.admin-nav-logo-img { display: block; width: 100%; height: auto; }
-.admin-nav-item {
- display: block;
- padding: 9px 16px 9px 14px;
- text-decoration: none;
- color: var(--text-secondary);
- font-size: 12px;
- text-transform: uppercase;
- letter-spacing: 1px;
- font-weight: 600;
- transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
- border-left: 3px solid transparent;
-}
-.admin-nav-item:hover {
- color: var(--brand-cyan-bright);
- background: linear-gradient(90deg, rgba(0, 174, 240, 0.12), rgba(255, 107, 26, 0.03));
- text-decoration: none;
-}
-.admin-nav-item.active {
- color: var(--accent);
- border-left-color: var(--accent);
- background: linear-gradient(90deg, rgba(255, 107, 26, 0.16), rgba(255, 107, 26, 0.04));
- box-shadow: inset 0 0 0 1px rgba(255, 107, 26, 0.08);
-}
-
-.admin-main {
- flex: 1;
- min-width: 0;
- position: relative;
- display: flex;
- flex-direction: column;
-}
-
-.admin-toolbar {
- position: fixed;
- top: 16px;
- right: 20px;
- z-index: 40;
- display: flex;
- justify-content: flex-end;
- pointer-events: none;
-}
-
-.admin-account-card {
- pointer-events: auto;
- display: inline-flex;
- align-items: center;
- gap: 10px;
- padding: 8px 12px;
- border-radius: 999px;
- border: 1px solid var(--border);
- background: rgba(7, 19, 31, 0.78);
- box-shadow: var(--shadow-sm);
- backdrop-filter: blur(8px);
- -webkit-backdrop-filter: blur(8px);
-}
-.admin-account-name {
- color: var(--brand-cyan-bright);
- font-size: 12px;
- font-weight: 700;
- text-transform: uppercase;
- letter-spacing: 0.08em;
-}
-.admin-account-links {
- display: inline-flex;
- gap: 10px;
- align-items: center;
-}
-.admin-account-links a {
- color: var(--accent);
- font-size: 12px;
- text-transform: uppercase;
- letter-spacing: 0.08em;
- font-weight: 700;
-}
-
-.admin-content {
- flex: 1;
- overflow-y: auto;
- padding: 16px 20px 28px;
- position: relative;
- min-width: 0;
-}
-
-h1 {
- font-size: 18px;
- font-weight: 600;
- letter-spacing: 1.4px;
- text-transform: uppercase;
- color: var(--brand-cyan-bright);
- display: flex;
- align-items: center;
- gap: 10px;
- margin: 0 0 14px;
-}
-h1::before {
- content: '';
- display: inline-block;
- width: 8px;
- height: 8px;
- background: var(--accent);
- border-radius: 2px;
- box-shadow: 0 0 8px var(--accent), 0 0 16px rgba(255,107,26,0.24);
- animation: pulse-glow 2.5s ease-in-out infinite;
-}
-h2, h3, h4, h5, h6 {
- color: var(--brand-cyan-bright);
- margin: 0 0 10px;
- text-transform: uppercase;
- letter-spacing: 0.08em;
-}
-p { margin: 0 0 12px; color: var(--text-secondary); }
-
-.card,
-.block,
-.dashboard-panel,
-#content > div:not(.ws-app):not(.demo-section) {
- background: var(--card);
- backdrop-filter: blur(16px);
- -webkit-backdrop-filter: blur(16px);
- border: 1px solid var(--border);
- border-radius: var(--radius);
- padding: 14px;
- position: relative;
- transition: border-color 0.25s ease, box-shadow 0.25s ease;
- margin-bottom: 14px;
-}
-.card::before,
-.block::before,
-.dashboard-panel::before,
-#content > div:not(.ws-app):not(.demo-section)::before {
- content: '';
- position: absolute;
- top: 0;
- left: 12px;
- right: 12px;
- height: 1px;
- background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
- opacity: 0.55;
-}
-.card:hover,
-.block:hover,
-.dashboard-panel:hover,
-#content > div:not(.ws-app):not(.demo-section):hover {
- border-color: var(--border-hover);
- box-shadow: var(--shadow-md);
-}
-
-form { max-width: 760px; }
-form > div { display: grid; gap: 6px; margin-bottom: 12px; }
-label {
- color: var(--text-muted);
- font-size: 12px;
- text-transform: uppercase;
- letter-spacing: 0.08em;
- font-weight: 700;
-}
-input, select, textarea {
- width: 100%;
- border: 1px solid var(--border);
- border-radius: var(--radius);
- background: rgba(3, 7, 18, 0.55);
- color: var(--brand-cyan-bright);
- padding: 10px 12px;
- font: inherit;
-}
-textarea { min-height: 120px; }
-input:focus, select:focus, textarea:focus {
- outline: none;
- border-color: var(--border-hover);
- box-shadow: 0 0 0 3px rgba(0, 183, 249, 0.12);
-}
-button, .btn, input[type="submit"] {
- border: 1px solid var(--border);
- background: rgba(255, 107, 26, 0.12);
- color: var(--brand-orange-bright);
- border-radius: var(--radius);
- padding: 10px 14px;
- font: inherit;
- font-weight: 700;
- text-transform: uppercase;
- letter-spacing: 0.08em;
- cursor: pointer;
- transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
-}
-button:hover, .btn:hover, input[type="submit"]:hover {
- background: rgba(255, 107, 26, 0.18);
- border-color: rgba(255, 107, 26, 0.42);
- text-decoration: none;
-}
-button:active, .btn:active { transform: translateY(1px); }
-
-.banner {
- border-radius: var(--radius);
- padding: 10px 12px;
- border: 1px solid var(--border);
- background: rgba(0, 183, 249, 0.08);
- color: var(--text-secondary);
- margin-bottom: 12px;
-}
-.banner.success { background: var(--success-bg); border-color: var(--success-border); color: var(--success-text); }
-.banner.warning { background: var(--warning-bg); border-color: var(--warning-border); color: var(--warning-text); }
-.banner.error, .error { background: var(--error-bg); border-color: var(--error-border); color: var(--error-text); }
-
-table {
- width: 100%;
- border-collapse: collapse;
- background: rgba(3, 7, 18, 0.42);
- border: 1px solid var(--border);
- border-radius: var(--radius);
- overflow: hidden;
-}
-th, td {
- padding: 10px 12px;
- border-bottom: 1px solid var(--border);
- text-align: left;
- vertical-align: top;
-}
-th {
- font-size: 12px;
- letter-spacing: 0.08em;
- text-transform: uppercase;
- color: var(--text-muted);
- background: rgba(0, 183, 249, 0.08);
-}
-tr:last-child td { border-bottom: none; }
-
-code, pre { font-family: var(--font-mono); }
-pre {
- padding: 12px;
- background: rgba(3, 7, 18, 0.55);
- border: 1px solid var(--border);
- border-radius: var(--radius);
- overflow: auto;
-}
-
-@media (max-width: 980px) {
- .admin-shell { flex-direction: column; height: auto; min-height: 100vh; }
- .admin-nav {
- width: 100%;
- flex-direction: row;
- overflow-x: auto;
- padding-bottom: 0;
- }
- .admin-nav-header { min-width: 180px; margin-bottom: 0; border-bottom: 0; border-right: 1px solid var(--border); }
- .admin-nav-item { white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; }
- .admin-nav-item.active { border-bottom-color: var(--accent); border-left-color: transparent; }
- .admin-toolbar { position: static; justify-content: flex-start; margin: 16px 20px 0; }
- .admin-content { padding-top: 12px; }
-}
\ No newline at end of file
diff --git a/site/info/themes/localfirst/icon.png b/site/info/themes/localfirst/icon.png
deleted file mode 100644
index 22994d8..0000000
Binary files a/site/info/themes/localfirst/icon.png and /dev/null differ
diff --git a/site/info/themes/localfirst/img/local_first_logo.png b/site/info/themes/localfirst/img/local_first_logo.png
deleted file mode 100644
index 22994d8..0000000
Binary files a/site/info/themes/localfirst/img/local_first_logo.png and /dev/null differ
diff --git a/site/info/themes/localfirst/page.html.uce b/site/info/themes/localfirst/page.html.uce
deleted file mode 100644
index 5a7771c..0000000
--- a/site/info/themes/localfirst/page.html.uce
+++ /dev/null
@@ -1,54 +0,0 @@
-#load "../../lib/app.uce"
-
-COMPONENT(Request& context)
-{
- starter_boot(context);
- bool embed_mode = starter_page_embed_mode(context);
- String main_html = starter_page_main_html(context);
- String current_path = context.var["starter"]["route"]["l_path"].to_string();
-
- DTree global_props;
- global_props["cookie_consent"].set_bool(false);
-
- DTree account_props;
- account_props["wrapper_class"] = "admin-account-card";
- account_props["links_wrapper_class"] = "admin-account-links";
- account_props["name_class"] = "admin-account-name";
-
- <>
-
- ">
-
-
-
- ">
-
-
-
-
- >
-}
diff --git a/site/info/themes/portal-dark/css/style.css b/site/info/themes/portal-dark/css/style.css
deleted file mode 100644
index 90001c3..0000000
--- a/site/info/themes/portal-dark/css/style.css
+++ /dev/null
@@ -1,313 +0,0 @@
-:root {
- --bg-color: #0f172a;
- --bg-secondary: #1e293b;
- --surface: #1e293b;
- --surface-elevated: #334155;
- --surface-hover: #475569;
- --primary: #60a5fa;
- --primary-dark: #3b82f6;
- --primary-light: #93c5fd;
- --secondary: #a78bfa;
- --accent: #22d3ee;
- --text-primary: #f1f5f9;
- --text-secondary: #cbd5e1;
- --text-muted: #94a3b8;
- --border: #334155;
- --border-hover: #475569;
- --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
- --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
- --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
- --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
- --radius: 8px;
- --radius-md: 8px;
- --radius-lg: 12px;
- --radius-xl: 16px;
- --radius-sm: 4px;
- --glass-bg: rgba(30, 41, 59, 0.8);
- --success: #10b981;
- --success-bg: rgba(16, 185, 129, 0.1);
- --success-border: rgba(16, 185, 129, 0.3);
- --success-text: #10b981;
- --warning: #f59e0b;
- --warning-bg: rgba(245, 158, 11, 0.1);
- --warning-border: rgba(245, 158, 11, 0.3);
- --warning-text: #f59e0b;
- --error: #ef4444;
- --error-bg: rgba(239, 68, 68, 0.1);
- --error-border: rgba(239, 68, 68, 0.3);
- --error-text: #ef4444;
- --info: #3b82f6;
- --info-bg: rgba(59, 130, 246, 0.1);
- --info-border: rgba(59, 130, 246, 0.3);
- --info-text: #3b82f6;
- --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
- --font-mono: 'SFMono-Regular', Consolas, monospace;
-}
-
-* { margin: 0; padding: 0; box-sizing: border-box; }
-html { font-size: 16px; scroll-behavior: smooth; }
-body {
- font-family: var(--font-sans);
- font-size: 1rem;
- line-height: 1.6;
- color: var(--text-primary);
- background: var(--bg-color);
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
-}
-a { color: var(--primary); text-decoration: none; transition: all 0.2s ease; }
-a:hover { color: var(--primary-light); text-decoration: underline; }
-
-::selection {
- background: rgba(96, 165, 250, 0.3);
- color: var(--text-primary);
-}
-
-body::before {
- content: '';
- position: fixed;
- inset: 0;
- background:
- radial-gradient(ellipse 80% 50% at 20% -10%, rgba(96, 165, 250, 0.05) 0%, transparent 60%),
- radial-gradient(ellipse 60% 40% at 85% 110%, rgba(34, 211, 238, 0.04) 0%, transparent 50%);
- pointer-events: none;
- z-index: 0;
-}
-
-nav {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- z-index: 1000;
- background: var(--glass-bg);
- backdrop-filter: blur(20px);
- -webkit-backdrop-filter: blur(20px);
- border-bottom: 1px solid var(--border);
- padding: 0 1rem;
- display: flex;
- align-items: center;
- box-shadow: var(--shadow-sm);
- transition: all 0.3s ease;
-}
-nav::after {
- content: '';
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- height: 1px;
- background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
- opacity: 0.3;
-}
-
-.nav-menu { display: flex; align-items: center; gap: 0.25rem; }
-.nav-menu a,
-.nav-account a {
- display: inline-flex;
- align-items: center;
- padding: 0.5rem 0.75rem;
- border-radius: var(--radius);
- color: var(--text-primary);
- text-decoration: none;
-}
-.nav-menu > a:first-child {
- font-weight: 700;
- color: var(--primary);
- padding: 1rem 1.5rem;
- margin: 0.5rem 0.25rem;
-}
-.nav-menu a:hover,
-.nav-account a:hover {
- background: var(--surface-hover);
- color: var(--primary);
-}
-.nav-account {
- margin-left: auto;
- display: flex;
- align-items: center;
- gap: 0.5rem;
-}
-.nav-account .account-name {
- color: var(--text-secondary);
- font-weight: 500;
- font-size: 0.95rem;
- margin-right: 0.5rem;
-}
-.nav-account .nav-avatar,
-.profile-avatar {
- border-radius: 999px;
- object-fit: cover;
- border: 1px solid var(--border);
-}
-.nav-account .nav-avatar { width: 30px; height: 30px; }
-.profile-avatar { width: 96px; height: 96px; }
-
-#content {
- margin-top: 5rem;
- min-height: calc(100vh - 10rem);
- padding: 2rem 1rem;
- max-width: 1200px;
- margin-left: auto;
- margin-right: auto;
-}
-
-h1, h2, h3, h4, h5, h6 {
- font-weight: 700;
- line-height: 1.2;
- margin-bottom: 1rem;
- color: var(--text-primary);
-}
-h1 {
- font-size: 2rem;
- position: relative;
- padding-bottom: 0.75rem;
- margin-bottom: 1.25rem;
-}
-h1::after {
- content: '';
- position: absolute;
- bottom: 0;
- left: 0;
- width: 60px;
- height: 3px;
- background: linear-gradient(90deg, var(--primary), var(--accent));
- border-radius: 3px;
-}
-h2 { font-size: 2rem; }
-h3 { font-size: 1.5rem; }
-
-#content > div:not(.ws-app), .block, .card, .dashboard-panel {
- background: var(--surface);
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- padding: 1.75rem;
- margin-bottom: 1.5rem;
- box-shadow: var(--shadow-sm);
- transition: border-color 0.25s ease, box-shadow 0.25s ease;
-}
-
-#content > div:not(.ws-app):hover, .block:hover, .card:hover, .dashboard-panel:hover {
- box-shadow: var(--shadow-md);
- border-color: var(--border-hover);
-}
-
-form { max-width: 600px; margin: 0 auto; }
-form > div { display: flex; flex-direction: column; margin-bottom: 1.5rem; gap: 0.5rem; }
-label { font-weight: 500; color: var(--text-secondary); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; }
-input, select, textarea {
- width: 100%;
- padding: 0.75rem 1rem;
- border: 2px solid var(--border);
- border-radius: var(--radius);
- background: var(--bg-secondary);
- color: var(--text-primary);
- font-size: 1rem;
- font-family: inherit;
-}
-textarea { min-height: 120px; }
-input:focus, select:focus, textarea:focus {
- outline: none;
- border-color: var(--primary);
- box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
- background: var(--surface);
-}
-button, .btn, input[type="submit"] {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- padding: 0.75rem 1.5rem;
- background: var(--primary);
- color: var(--bg-color);
- border: none;
- border-radius: var(--radius);
- font-weight: 600;
- font-size: 1rem;
- cursor: pointer;
- transition: all 0.2s ease;
-}
-button:hover, .btn:hover, input[type="submit"]:hover {
- background: var(--primary-dark);
- transform: translateY(-1px);
- box-shadow: var(--shadow-lg);
- text-decoration: none;
-}
-
-.banner {
- border-radius: var(--radius);
- padding: 0.8rem 1rem;
- border: 1px solid var(--border);
- margin-bottom: 1rem;
- background: rgba(255,255,255,0.03);
-}
-.banner.success { background: var(--success-bg); border-color: var(--success-border); color: var(--success-text); }
-.banner.warning { background: var(--warning-bg); border-color: var(--warning-border); color: var(--warning-text); }
-.banner.error, .error { background: var(--error-bg); border-color: var(--error-border); color: var(--error-text); }
-
-table {
- width: 100%;
- border-collapse: collapse;
- border: 1px solid var(--border);
- background: rgba(255,255,255,0.02);
- border-radius: var(--radius);
- overflow: hidden;
-}
-th, td { padding: 0.8rem 0.9rem; border-bottom: 1px solid var(--border); text-align: left; }
-th { background: var(--surface-elevated); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
-tr:last-child td { border-bottom: none; }
-tr:hover td { background: rgba(255,255,255,0.02); }
-code, pre { font-family: var(--font-mono); }
-pre {
- padding: 1rem;
- background: rgba(15, 23, 42, 0.55);
- border: 1px solid var(--border);
- border-radius: var(--radius);
- overflow: auto;
-}
-
-footer {
- border-top: 1px solid var(--border);
- padding: 1.25rem 1rem;
- color: var(--text-muted);
- font-size: 0.875rem;
- background: rgba(15, 23, 42, 0.6);
- backdrop-filter: blur(12px);
- -webkit-backdrop-filter: blur(12px);
-}
-
-input[type="range"] {
- width: 100%;
- height: 6px;
- background: var(--bg-secondary);
- outline: none;
- border: none;
- border-radius: 999px;
- -webkit-appearance: none;
- appearance: none;
-}
-input[type="range"]::-webkit-slider-thumb {
- -webkit-appearance: none;
- width: 18px;
- height: 18px;
- background: var(--primary);
- cursor: pointer;
- border-radius: 50%;
- box-shadow: 0 0 6px rgba(96, 165, 250, 0.3);
-}
-input[type="range"]::-moz-range-thumb {
- width: 18px;
- height: 18px;
- background: var(--primary);
- cursor: pointer;
- border-radius: 50%;
- border: none;
- box-shadow: 0 0 6px rgba(96, 165, 250, 0.3);
-}
-
-@media (max-width: 860px) {
- nav { flex-wrap: wrap; padding-bottom: 0.6rem; }
- .nav-account { width: 100%; margin-left: 0; justify-content: flex-start; }
- #content { margin-top: 7.5rem; padding: 1rem 0.75rem; }
- #content > div:not(.ws-app), .block, .card, .dashboard-panel { padding: 1.25rem; margin-bottom: 1rem; }
- h1 { font-size: 2rem; padding: 1.25rem; }
-}
\ No newline at end of file
diff --git a/site/info/themes/portal-dark/icon.png b/site/info/themes/portal-dark/icon.png
deleted file mode 100644
index 8a42581..0000000
Binary files a/site/info/themes/portal-dark/icon.png and /dev/null differ
diff --git a/site/info/themes/portal-dark/page.html.uce b/site/info/themes/portal-dark/page.html.uce
deleted file mode 100644
index 3f353a7..0000000
--- a/site/info/themes/portal-dark/page.html.uce
+++ /dev/null
@@ -1,31 +0,0 @@
-#load "../../lib/app.uce"
-
-COMPONENT(Request& context)
-{
- starter_boot(context);
- bool embed_mode = starter_page_embed_mode(context);
- String main_html = starter_page_main_html(context);
-
- DTree nav_props;
- nav_props["account_wrapper_class"] = "nav-account nav-menu";
-
- DTree footer_props;
- footer_props["embed_mode"].set_bool(embed_mode);
-
- <>
-
- ">
-
-
-
- ">
-
-
- >
-
-
-
-
-
- >
-}
diff --git a/site/info/themes/portal-light/css/style.css b/site/info/themes/portal-light/css/style.css
deleted file mode 100644
index 141b15f..0000000
--- a/site/info/themes/portal-light/css/style.css
+++ /dev/null
@@ -1,392 +0,0 @@
-@font-face {
- font-family: "B612";
- src: url("../../common/fonts/b612/b612-regular.ttf") format("truetype");
- font-style: normal;
- font-weight: 400;
- font-display: swap;
-}
-@font-face {
- font-family: "B612";
- src: url("../../common/fonts/b612/b612-italic.ttf") format("truetype");
- font-style: italic;
- font-weight: 400;
- font-display: swap;
-}
-@font-face {
- font-family: "B612";
- src: url("../../common/fonts/b612/b612-bold.ttf") format("truetype");
- font-style: normal;
- font-weight: 700;
- font-display: swap;
-}
-@font-face {
- font-family: "B612 Mono";
- src: url("../../common/fonts/b612/b612-mono-regular.ttf") format("truetype");
- font-style: normal;
- font-weight: 400;
- font-display: swap;
-}
-@font-face {
- font-family: "B612 Mono";
- src: url("../../common/fonts/b612/b612-mono-bold.ttf") format("truetype");
- font-style: normal;
- font-weight: 700;
- font-display: swap;
-}
-
-:root {
- --kg-blue: #0f68ad;
- --kg-blue-dark: #0b4f85;
- --kg-blue-light: #2d86ca;
- --kg-bg: #e9e9ea;
- --kg-surface: #ffffff;
- --kg-border: rgba(0, 0, 0, 0.2);
- --kg-text: #121417;
- --kg-muted: #6c737b;
- --kg-orange: #f08a00;
- --kg-success: #149b2e;
- --kg-danger: #e11818;
- --topbar-height: 56px;
- --bg-color: var(--kg-bg);
- --bg-secondary: #ffffff;
- --surface: var(--kg-surface);
- --surface-elevated: #ffffff;
- --surface-hover: #e8eef3;
- --primary: var(--kg-blue);
- --primary-dark: var(--kg-blue-dark);
- --primary-light: var(--kg-blue-light);
- --secondary: #596572;
- --accent: var(--kg-orange);
- --text-primary: var(--kg-text);
- --text-secondary: #4b5560;
- --text-muted: var(--kg-muted);
- --border: var(--kg-border);
- --border-hover: rgba(15, 104, 173, 0.3);
- --success: var(--kg-success);
- --success-bg: #e7f5ea;
- --success-border: #86c88f;
- --success-text: #0f6e22;
- --warning: #c97a14;
- --warning-bg: #fff4e4;
- --warning-border: #f0c07b;
- --warning-text: #92550a;
- --error: var(--kg-danger);
- --error-bg: #ffe7e7;
- --error-border: #ea9999;
- --error-text: #b80f0f;
- --info: var(--primary);
- --info-bg: #e8f2ff;
- --info-border: #b9d4f3;
- --info-text: #0b4f85;
- --shadow-sm: 0 1px 2px rgba(18, 20, 23, 0.06);
- --shadow-md: 0 8px 22px rgba(18, 20, 23, 0.06);
- --shadow-lg: 0 16px 34px rgba(18, 20, 23, 0.1);
- --shadow-xl: 0 20px 40px rgba(18, 20, 23, 0.14);
- --radius: 8px;
- --radius-sm: 6px;
- --radius-md: 8px;
- --radius-lg: 12px;
- --radius-xl: 16px;
- --font-sans: "B612", "Segoe UI", sans-serif;
- --font-mono: "B612 Mono", "SFMono-Regular", Consolas, monospace;
-}
-
-* { box-sizing: border-box; margin: 0; padding: 0; }
-html, body { min-height: 100%; }
-body {
- font-family: var(--font-sans);
- font-size: 14px;
- line-height: 1.4;
- color: var(--text-primary);
- background: var(--bg-color);
-}
-a { color: var(--primary-dark); text-decoration: none; }
-a:hover { text-decoration: underline; }
-
-nav {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- height: var(--topbar-height);
- display: flex;
- align-items: stretch;
- background: var(--primary);
- border-bottom: 1px solid var(--primary-dark);
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
- z-index: 60;
-}
-
-.nav-menu {
- display: flex;
- align-items: stretch;
- overflow-x: auto;
- white-space: nowrap;
- flex: 1;
-}
-
-.nav-menu > a {
- display: inline-flex;
- align-items: center;
- padding: 0 0.9rem;
- color: #fff;
- border-right: 1px solid rgba(255, 255, 255, 0.16);
- font-size: 14px;
- font-weight: 700;
- text-decoration: none;
- background: transparent;
-}
-
-.nav-menu > a:first-child {
- font-size: 18px;
- min-width: 250px;
- background: rgba(0, 0, 0, 0.08);
-}
-
-.nav-menu > a:hover,
-.nav-menu > a:focus {
- background: var(--primary-dark);
- text-decoration: none;
-}
-
-.nav-account {
- display: flex;
- align-items: center;
- gap: 0.45rem;
- padding: 0 0.7rem;
- border-left: 1px solid rgba(255, 255, 255, 0.2);
- background: rgba(0, 0, 0, 0.12);
- flex-shrink: 0;
-}
-
-.nav-account .account-name {
- color: #d8f8df;
- font-size: 14px;
- font-weight: 700;
-}
-
-.nav-account .nav-avatar,
-.profile-avatar {
- border-radius: 999px;
- object-fit: cover;
- border: 1px solid rgba(255, 255, 255, 0.4);
-}
-
-.nav-account .nav-avatar {
- width: 30px;
- height: 30px;
-}
-
-.profile-avatar {
- width: 96px;
- height: 96px;
- border-color: var(--border);
-}
-
-.nav-account a {
- color: #fff;
- font-size: 14px;
- font-weight: 700;
- padding: 0.22rem 0.5rem;
- border-radius: 3px;
-}
-
-.nav-account a:hover {
- background: rgba(255, 255, 255, 0.16);
- text-decoration: none;
-}
-
-#content {
- margin-top: var(--topbar-height);
- padding: 1rem;
- min-height: calc(100vh - var(--topbar-height));
-}
-
-#content > div:not(.ws-app),
-.block,
-.card,
-.dashboard-panel {
- background: var(--surface);
- border: 1px solid var(--border);
- border-radius: var(--radius);
- box-shadow: var(--shadow-sm);
- padding: 1.25rem;
- margin-bottom: 1rem;
- transition: box-shadow 0.2s ease, border-color 0.2s ease;
-}
-
-#content > div:not(.ws-app):hover,
-.block:hover,
-.card:hover,
-.dashboard-panel:hover {
- box-shadow: var(--shadow-md);
- border-color: rgba(15, 104, 173, 0.2);
-}
-
-h1, h2, h3, h4, h5, h6 {
- font-weight: 700;
- color: #252b31;
- margin-bottom: 0.7rem;
-}
-h1 { font-size: 22px; padding-bottom: 0.5rem; border-bottom: 2px solid #d2d3d7; position: relative; }
-h1::after {
- content: '';
- position: absolute;
- bottom: -2px;
- left: 0;
- width: 50px;
- height: 2px;
- background: var(--primary);
- border-radius: 2px;
-}
-h2 { font-size: 18px; }
-h3 { font-size: 16px; }
-h4, h5, h6 { font-size: 14px; }
-
-p { margin: 0.4rem 0 0.85rem; }
-
-form { max-width: 780px; }
-form > div { margin-bottom: 0.8rem; }
-label {
- display: block;
- font-weight: 700;
- font-size: 14px;
- color: #3f464f;
- margin-bottom: 0.3rem;
-}
-input, select, textarea {
- width: 100%;
- min-height: 36px;
- padding: 0 0.7rem;
- border: 1px solid #a8aaaf;
- border-radius: 4px;
- background: #fff;
- color: var(--text-primary);
- font-size: 14px;
- font-family: inherit;
-}
-textarea { min-height: 100px; padding: 0.5rem 0.7rem; }
-input:focus, select:focus, textarea:focus {
- outline: none;
- border-color: var(--primary-light);
- box-shadow: 0 0 0 1px var(--primary-light);
-}
-button, .btn, input[type="submit"] {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- min-height: 34px;
- padding: 0 0.9rem;
- border: 1px solid #7f8084;
- border-radius: 4px;
- background: #f7f7f7;
- color: #1a1e23;
- font-size: 14px;
- font-weight: 700;
- cursor: pointer;
- font-family: inherit;
-}
-button:hover, .btn:hover, input[type="submit"]:hover { background: #ececef; text-decoration: none; }
-button:active, .btn:active { transform: translateY(1px); }
-
-.banner {
- border-radius: 4px;
- padding: 0.65rem 0.8rem;
- border: 1px solid #b4b5ba;
- margin-bottom: 0.8rem;
- background: #fafafa;
-}
-.banner.success { background: var(--success-bg); border-color: var(--success-border); color: var(--success-text); }
-.banner.warning { background: var(--warning-bg); border-color: var(--warning-border); color: var(--warning-text); }
-.banner.error, .error { background: var(--error-bg); border-color: var(--error-border); color: var(--error-text); }
-
-table {
- width: 100%;
- border-collapse: collapse;
- background: var(--bg-secondary);
- border: 1px solid var(--border);
- border-radius: var(--radius);
- overflow: hidden;
-}
-th, td {
- padding: 0.7rem 0.8rem;
- border-bottom: 1px solid var(--border);
- text-align: left;
- vertical-align: top;
-}
-th { background: #e7e7e8; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
-tr:last-child td { border-bottom: none; }
-tr:hover td { background: rgba(0, 0, 0, 0.02); }
-
-code, pre { font-family: var(--font-mono); }
-pre {
- padding: 0.9rem;
- background: #fff;
- border: 1px solid var(--border);
- border-radius: var(--radius);
- overflow: auto;
-}
-
-footer {
- border-top: 1px solid var(--border);
- background: #ffffff;
- color: var(--text-muted);
- padding: 1rem 1rem 1.5rem;
- font-size: 13px;
-}
-.footer-inner { max-width: 1200px; margin: 0 auto; }
-
-input[type="range"] {
- height: 6px;
- padding: 0;
- min-height: auto;
- border: none;
- background: #d4d5d9;
- border-radius: 999px;
- -webkit-appearance: none;
- appearance: none;
-}
-input[type="range"]::-webkit-slider-thumb {
- -webkit-appearance: none;
- width: 18px;
- height: 18px;
- background: var(--primary);
- border-radius: 50%;
- cursor: pointer;
- box-shadow: 0 1px 3px rgba(0,0,0,0.2);
-}
-input[type="range"]::-moz-range-thumb {
- width: 18px;
- height: 18px;
- background: var(--primary);
- border-radius: 50%;
- cursor: pointer;
- border: none;
- box-shadow: 0 1px 3px rgba(0,0,0,0.2);
-}
-
-::selection {
- background: rgba(15, 104, 173, 0.2);
- color: var(--text-primary);
-}
-
-@media (max-width: 860px) {
- nav {
- height: auto;
- flex-direction: column;
- }
- .nav-menu {
- flex-wrap: wrap;
- }
- .nav-menu > a:first-child {
- min-width: 0;
- }
- .nav-account {
- justify-content: flex-start;
- padding: 0.6rem 0.7rem;
- }
- #content {
- margin-top: 104px;
- padding: 0.75rem;
- }
-}
\ No newline at end of file
diff --git a/site/info/themes/portal-light/icon.png b/site/info/themes/portal-light/icon.png
deleted file mode 100644
index 8a42581..0000000
Binary files a/site/info/themes/portal-light/icon.png and /dev/null differ
diff --git a/site/info/themes/portal-light/page.html.uce b/site/info/themes/portal-light/page.html.uce
deleted file mode 100644
index d125df0..0000000
--- a/site/info/themes/portal-light/page.html.uce
+++ /dev/null
@@ -1,29 +0,0 @@
-#load "../../lib/app.uce"
-
-COMPONENT(Request& context)
-{
- starter_boot(context);
- bool embed_mode = starter_page_embed_mode(context);
- String main_html = starter_page_main_html(context);
-
- DTree footer_props;
- footer_props["embed_mode"].set_bool(embed_mode);
- footer_props["inner_class"] = "footer-inner";
-
- <>
-
- ">
-
-
-
- ">
-
-
- >
-
-
-
-
-
- >
-}
diff --git a/site/info/themes/retro-gaming/css/style.css b/site/info/themes/retro-gaming/css/style.css
deleted file mode 100644
index f187fa6..0000000
--- a/site/info/themes/retro-gaming/css/style.css
+++ /dev/null
@@ -1,523 +0,0 @@
-/* ────────────────────────────────────────────────────────
- RETRO GAMING THEME
- CRT scanlines · pixel font · neon glow · 8-bit palette
- ──────────────────────────────────────────────────────── */
-
-@font-face {
- font-family: 'Press Start 2P';
- src: url('../../common/fonts/press-start-2p/press-start-2p-regular.ttf') format('truetype');
- font-style: normal;
- font-weight: 400;
- font-display: swap;
-}
-
-/* ── tokens ─────────────────────────────────────────── */
-:root {
- /* background */
- --bg-color: #0a0a1a;
- --bg-secondary: #10102a;
- --surface: #12122e;
- --surface-elevated: #1a1a3e;
- --surface-hover: #22224e;
-
- /* neon palette */
- --primary: #00ff88;
- --primary-dark: #00cc6a;
- --primary-light: #66ffbb;
- --secondary: #ff00ff;
- --accent: #ffff00;
- --text-primary: #e0e0ff;
- --text-secondary: #a0a0cc;
- --text-muted: #6868a0;
-
- /* borders, shadows */
- --border: #2a2a5a;
- --border-hover: #3a3a7a;
- --shadow-sm: 0 2px 0 #000;
- --shadow-md: 0 4px 0 #000, 0 0 12px rgba(0, 255, 136, 0.08);
- --shadow-lg: 0 6px 0 #000, 0 0 24px rgba(0, 255, 136, 0.12);
- --shadow-xl: 0 8px 0 #000, 0 0 40px rgba(0, 255, 136, 0.16);
-
- /* semantic */
- --success: #00ff88;
- --success-bg: rgba(0, 255, 136, 0.1);
- --success-border: rgba(0, 255, 136, 0.3);
- --success-text: #00ff88;
- --warning: #ffff00;
- --warning-bg: rgba(255, 255, 0, 0.1);
- --warning-border: rgba(255, 255, 0, 0.3);
- --warning-text: #ffff00;
- --error: #ff3366;
- --error-bg: rgba(255, 51, 102, 0.1);
- --error-border: rgba(255, 51, 102, 0.3);
- --error-text: #ff3366;
- --info: #00ccff;
- --info-bg: rgba(0, 204, 255, 0.1);
- --info-border: rgba(0, 204, 255, 0.3);
- --info-text: #00ccff;
-
- /* geometry */
- --radius: 0px;
- --radius-sm: 0px;
- --radius-md: 0px;
- --radius-lg: 2px;
- --radius-xl: 4px;
-
- /* typography */
- --font-sans: 'Press Start 2P', monospace;
- --font-mono: 'Press Start 2P', monospace;
-}
-
-/* ── reset ──────────────────────────────────────────── */
-* { margin: 0; padding: 0; box-sizing: border-box; }
-html { font-size: 16px; scroll-behavior: smooth; image-rendering: pixelated; }
-
-body {
- font-family: var(--font-sans);
- font-size: 10px;
- line-height: 2;
- color: var(--text-primary);
- background: var(--bg-color);
- -webkit-font-smoothing: none;
- -moz-osx-font-smoothing: unset;
-}
-
-/* ── CRT scanline overlay ───────────────────────────── */
-body::before {
- content: '';
- position: fixed;
- inset: 0;
- background: repeating-linear-gradient(
- 0deg,
- transparent,
- transparent 2px,
- rgba(0, 0, 0, 0.15) 2px,
- rgba(0, 0, 0, 0.15) 4px
- );
- pointer-events: none;
- z-index: 9000;
-}
-
-/* subtle vignette */
-body::after {
- content: '';
- position: fixed;
- inset: 0;
- background: radial-gradient(ellipse at center, transparent 60%, rgba(0, 0, 0, 0.5) 100%);
- pointer-events: none;
- z-index: 8999;
-}
-
-::selection {
- background: var(--primary);
- color: var(--bg-color);
-}
-
-/* ── links ──────────────────────────────────────────── */
-a {
- color: var(--primary);
- text-decoration: none;
- transition: color 0.1s step-end;
-}
-a:hover {
- color: var(--accent);
- text-decoration: none;
- text-shadow: 0 0 6px var(--accent);
-}
-
-/* ── navigation ─────────────────────────────────────── */
-nav {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- z-index: 1000;
- background: var(--bg-secondary);
- border-bottom: 3px solid var(--primary);
- padding: 0 0.5rem;
- display: flex;
- align-items: center;
- box-shadow: 0 3px 0 #000, 0 6px 20px rgba(0, 255, 136, 0.15);
-}
-
-.nav-menu {
- display: flex;
- align-items: center;
- gap: 0;
- flex: 1;
- min-width: 0;
- overflow-x: auto;
- scrollbar-width: none;
-}
-.nav-menu::-webkit-scrollbar { display: none; }
-
-.nav-menu a,
-.nav-account a {
- display: inline-flex;
- align-items: center;
- padding: 0.75rem 0.8rem;
- color: var(--text-secondary);
- text-decoration: none;
- font-size: 8px;
- letter-spacing: 0.5px;
- text-transform: uppercase;
- border-right: 1px solid var(--border);
- transition: background 0.1s step-end, color 0.1s step-end;
-}
-
-.nav-menu > a:first-child {
- color: var(--primary);
- text-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
- font-size: 10px;
- padding: 0.75rem 1rem;
- border-right: 2px solid var(--primary);
-}
-
-.nav-menu a:hover,
-.nav-account a:hover {
- background: var(--surface-hover);
- color: var(--accent);
- text-shadow: 0 0 6px var(--accent);
- text-decoration: none;
-}
-
-.nav-account {
- margin-left: auto;
- display: flex;
- align-items: center;
- gap: 0;
- flex: 0 0 auto;
- overflow: visible;
-}
-.nav-account a {
- border-right: none;
- border-left: 1px solid var(--border);
-}
-
-.nav-account .account-name {
- color: var(--primary);
- font-size: 8px;
- padding: 0 0.5rem;
-}
-
-.nav-account .nav-avatar,
-.profile-avatar {
- border-radius: 0;
- border: 2px solid var(--primary);
- image-rendering: pixelated;
-}
-.nav-account .nav-avatar { width: 24px; height: 24px; }
-.profile-avatar { width: 64px; height: 64px; }
-
-/* ── main content ───────────────────────────────────── */
-#content {
- margin-top: 3.5rem;
- min-height: calc(100vh - 7rem);
- padding: 1.5rem 1rem;
- max-width: 1100px;
- margin-left: auto;
- margin-right: auto;
- position: relative;
- z-index: 1;
-}
-
-/* ── typography ─────────────────────────────────────── */
-h1, h2, h3, h4, h5, h6 {
- font-weight: 400;
- line-height: 2;
- margin-bottom: 0.75rem;
- color: var(--primary);
- text-shadow: 0 0 10px rgba(0, 255, 136, 0.35);
- text-transform: uppercase;
-}
-
-h1 {
- font-size: 16px;
- padding: 0.75rem 0;
- border-bottom: 3px double var(--primary);
- margin-bottom: 1.25rem;
- position: relative;
-}
-h1::before {
- content: '►';
- margin-right: 0.5rem;
- animation: blink-cursor 1s step-end infinite;
-}
-h2 { font-size: 12px; color: var(--info-text); text-shadow: 0 0 8px rgba(0, 204, 255, 0.3); }
-h3 { font-size: 10px; color: var(--secondary); text-shadow: 0 0 8px rgba(255, 0, 255, 0.3); }
-h4, h5, h6 { font-size: 10px; }
-
-p { margin: 0 0 0.75rem; }
-
-@keyframes blink-cursor {
- 0%, 100% { opacity: 1; }
- 50% { opacity: 0; }
-}
-
-/* ── cards / blocks ─────────────────────────────────── */
-#content > div:not(.ws-app):not(.demo-section),
-.block,
-.card,
-.dashboard-panel {
- background: var(--surface);
- border: 2px solid var(--border);
- padding: 1rem;
- margin-bottom: 1.25rem;
- box-shadow: var(--shadow-md);
- position: relative;
- transition: border-color 0.1s step-end;
-}
-
-#content > div:not(.ws-app):not(.demo-section)::before,
-.block::before,
-.card::before,
-.dashboard-panel::before {
- content: '';
- position: absolute;
- top: 0; left: 0; right: 0;
- height: 2px;
- background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
-}
-
-#content > div:not(.ws-app):not(.demo-section):hover,
-.block:hover,
-.card:hover,
-.dashboard-panel:hover {
- border-color: var(--border-hover);
- box-shadow: var(--shadow-lg);
-}
-
-/* ── forms ──────────────────────────────────────────── */
-form { max-width: 640px; }
-form > div { display: grid; gap: 0.35rem; margin-bottom: 1rem; }
-
-label {
- color: var(--accent);
- font-size: 8px;
- text-transform: uppercase;
- letter-spacing: 1px;
-}
-
-input, select, textarea {
- width: 100%;
- padding: 0.6rem 0.7rem;
- border: 2px solid var(--border);
- background: var(--bg-color);
- color: var(--primary);
- font-family: var(--font-mono);
- font-size: 10px;
- caret-color: var(--primary);
-}
-textarea { min-height: 100px; }
-
-input:focus, select:focus, textarea:focus {
- outline: none;
- border-color: var(--primary);
- box-shadow: 0 0 0 1px var(--primary), 0 0 12px rgba(0, 255, 136, 0.2);
-}
-
-input::placeholder, textarea::placeholder {
- color: var(--text-muted);
- opacity: 1;
-}
-
-/* ── buttons ────────────────────────────────────────── */
-button, .btn, input[type="submit"] {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- padding: 0.6rem 1.2rem;
- border: 2px solid var(--primary);
- background: transparent;
- color: var(--primary);
- font-family: var(--font-sans);
- font-size: 9px;
- text-transform: uppercase;
- letter-spacing: 0.5px;
- cursor: pointer;
- transition: all 0.1s step-end;
- box-shadow: 3px 3px 0 var(--bg-color), 4px 4px 0 var(--primary);
-}
-
-button:hover, .btn:hover, input[type="submit"]:hover {
- background: var(--primary);
- color: var(--bg-color);
- text-shadow: none;
- box-shadow: 1px 1px 0 var(--bg-color), 2px 2px 0 var(--primary);
- transform: translate(2px, 2px);
- text-decoration: none;
-}
-
-button:active, .btn:active, input[type="submit"]:active {
- box-shadow: none;
- transform: translate(4px, 4px);
-}
-
-.btn-secondary {
- border-color: var(--secondary);
- color: var(--secondary);
- box-shadow: 3px 3px 0 var(--bg-color), 4px 4px 0 var(--secondary);
-}
-.btn-secondary:hover {
- background: var(--secondary);
- color: var(--bg-color);
- box-shadow: 1px 1px 0 var(--bg-color), 2px 2px 0 var(--secondary);
-}
-
-.btn-outline {
- border-color: var(--accent);
- color: var(--accent);
- box-shadow: 3px 3px 0 var(--bg-color), 4px 4px 0 var(--accent);
-}
-.btn-outline:hover {
- background: var(--accent);
- color: var(--bg-color);
- box-shadow: 1px 1px 0 var(--bg-color), 2px 2px 0 var(--accent);
-}
-
-/* ── range slider ───────────────────────────────────── */
-input[type="range"] {
- height: 8px;
- padding: 0;
- border: 2px solid var(--border);
- background: var(--bg-color);
- -webkit-appearance: none;
- appearance: none;
-}
-input[type="range"]::-webkit-slider-thumb {
- -webkit-appearance: none;
- width: 14px;
- height: 14px;
- background: var(--primary);
- border: 2px solid var(--bg-color);
- cursor: pointer;
- box-shadow: 0 0 6px rgba(0, 255, 136, 0.4);
-}
-input[type="range"]::-moz-range-thumb {
- width: 14px;
- height: 14px;
- background: var(--primary);
- border: 2px solid var(--bg-color);
- border-radius: 0;
- cursor: pointer;
- box-shadow: 0 0 6px rgba(0, 255, 136, 0.4);
-}
-
-/* ── banners ────────────────────────────────────────── */
-.banner {
- padding: 0.6rem 0.8rem;
- border: 2px solid var(--border);
- margin-bottom: 0.75rem;
- background: var(--surface);
-}
-.banner.success { background: var(--success-bg); border-color: var(--success-border); color: var(--success-text); }
-.banner.warning { background: var(--warning-bg); border-color: var(--warning-border); color: var(--warning-text); }
-.banner.error, .error { background: var(--error-bg); border-color: var(--error-border); color: var(--error-text); }
-
-/* ── tables ─────────────────────────────────────────── */
-table {
- width: 100%;
- border-collapse: collapse;
- background: var(--surface);
- border: 2px solid var(--border);
-}
-th, td {
- padding: 0.5rem 0.65rem;
- border-bottom: 1px solid var(--border);
- text-align: left;
- font-size: 9px;
-}
-th {
- background: var(--surface-elevated);
- color: var(--accent);
- text-transform: uppercase;
- letter-spacing: 0.5px;
- border-bottom: 2px solid var(--accent);
-}
-tr:last-child td { border-bottom: none; }
-tr:hover td { background: rgba(0, 255, 136, 0.04); }
-
-/* ── code ───────────────────────────────────────────── */
-code, pre { font-family: var(--font-mono); }
-pre {
- padding: 0.75rem;
- background: var(--bg-color);
- border: 2px solid var(--border);
- overflow: auto;
- color: var(--primary);
-}
-
-/* ── footer ─────────────────────────────────────────── */
-footer {
- border-top: 3px solid var(--primary);
- padding: 1rem;
- color: var(--text-muted);
- font-size: 8px;
- background: var(--bg-secondary);
- box-shadow: 0 -3px 0 #000;
- position: relative;
- z-index: 1;
-}
-footer::before {
- content: '// ';
- color: var(--text-muted);
-}
-
-/* ── pixel decoration classes (for page template) ──── */
-.retro-stars {
- position: fixed;
- inset: 0;
- z-index: 0;
- pointer-events: none;
- background:
- radial-gradient(1px 1px at 10% 15%, var(--primary), transparent),
- radial-gradient(1px 1px at 30% 45%, var(--accent), transparent),
- radial-gradient(1px 1px at 55% 20%, var(--secondary), transparent),
- radial-gradient(1px 1px at 70% 65%, var(--info-text), transparent),
- radial-gradient(1px 1px at 85% 30%, var(--primary), transparent),
- radial-gradient(1px 1px at 15% 75%, var(--accent), transparent),
- radial-gradient(1px 1px at 45% 85%, var(--secondary), transparent),
- radial-gradient(1px 1px at 90% 80%, var(--primary), transparent),
- radial-gradient(1px 1px at 25% 55%, var(--info-text), transparent),
- radial-gradient(1px 1px at 60% 50%, var(--accent), transparent),
- radial-gradient(1px 1px at 5% 40%, var(--error-text), transparent),
- radial-gradient(1px 1px at 75% 10%, var(--accent), transparent),
- radial-gradient(1px 1px at 40% 30%, var(--primary), transparent),
- radial-gradient(1px 1px at 95% 55%, var(--secondary), transparent),
- radial-gradient(1px 1px at 50% 70%, var(--primary), transparent),
- radial-gradient(1px 1px at 20% 90%, var(--info-text), transparent);
- animation: twinkle 4s ease-in-out infinite alternate;
-}
-@keyframes twinkle {
- 0% { opacity: 0.4; }
- 100% { opacity: 0.8; }
-}
-
-/* ── responsive ─────────────────────────────────────── */
-@media (max-width: 860px) {
- nav { flex-wrap: wrap; }
- .nav-menu { overflow-x: auto; white-space: nowrap; }
- .nav-account {
- width: 100%;
- margin-left: 0;
- border-top: 1px solid var(--border);
- justify-content: flex-start;
- }
- #content { margin-top: 5rem; padding: 1rem 0.75rem; }
- h1 { font-size: 12px; }
- h2 { font-size: 10px; }
-}
-
-/* ── focus accessibility ────────────────────────────── */
-button:focus, .btn:focus, input:focus, textarea:focus, select:focus {
- outline: 2px solid var(--primary);
- outline-offset: 2px;
-}
-
-/* ── print ──────────────────────────────────────────── */
-@media print {
- nav, footer, .retro-stars { display: none; }
- body::before, body::after { display: none; }
- #content { margin-top: 0; }
- * { background: white !important; color: black !important; box-shadow: none !important; text-shadow: none !important; }
-}
diff --git a/site/info/themes/retro-gaming/icon.png b/site/info/themes/retro-gaming/icon.png
deleted file mode 100644
index 12dfe2c..0000000
Binary files a/site/info/themes/retro-gaming/icon.png and /dev/null differ
diff --git a/site/info/themes/retro-gaming/page.html.uce b/site/info/themes/retro-gaming/page.html.uce
deleted file mode 100644
index c0a53da..0000000
--- a/site/info/themes/retro-gaming/page.html.uce
+++ /dev/null
@@ -1,32 +0,0 @@
-#load "../../lib/app.uce"
-
-COMPONENT(Request& context)
-{
- starter_boot(context);
- bool embed_mode = starter_page_embed_mode(context);
- String main_html = starter_page_main_html(context);
-
- DTree nav_props;
- nav_props["account_wrapper_class"] = "nav-account nav-menu";
-
- DTree footer_props;
- footer_props["embed_mode"].set_bool(embed_mode);
-
- <>
-
- ">
-
-
-
- >
-
-
-
- >
-
-
-
-
-
- >
-}
diff --git a/site/info/uce-starter/README.md b/site/info/uce-starter/README.md
deleted file mode 100644
index 991a46a..0000000
--- a/site/info/uce-starter/README.md
+++ /dev/null
@@ -1,29 +0,0 @@
-# UCE Starter
-
-`site/examples/uce-starter/` is a UCE-native port of the PHP `web-app-starter/`.
-
-It keeps the PHP starter around as reference while mirroring the same broad structure:
-
-- `index.uce` as the front controller
-- `views/` for routed page content
-- `components/` for reusable UI building blocks
-- `themes/`, `js/`, and `img/` for theme templates and static assets
-
-This port intentionally leans on UCE's component layer rather than treating components as a compatibility shim. The page shell, nav/footer chrome, theme switcher, dashboard blocks, workspace primitives, and marketing sections are all rendered through `component()`.
-
-Theme rendering is split the same way as the PHP starter:
-
-- `themes/common/page.blank.uce`
-- `themes/common/page.json.uce`
-- `themes//page.html.uce`
-
-Those page templates are the authoritative shell layer, and in the UCE port they are proper `COMPONENT(...)` units rather than standalone page entrypoints. `index.uce` resolves the routed view, captures the `main` fragment, then hands off once into `themes/common/page.*.uce` or `themes//page.html.uce`, matching the PHP starter's page-layer flow without an extra shell implementation.
-
-The example uses query-string routing in the same style as the PHP starter:
-
-- `index.uce`
-- `index.uce?page1`
-- `index.uce?themes&theme=portal-dark`
-- `index.uce?workspace/projects`
-
-The demo account pages use a small file-backed user store under `/tmp/uce-starter-data/` with session-based login state.
diff --git a/site/info/uce-starter/components/auth/oauth-client.uce b/site/info/uce-starter/components/auth/oauth-client.uce
deleted file mode 100644
index 7439a78..0000000
--- a/site/info/uce-starter/components/auth/oauth-client.uce
+++ /dev/null
@@ -1,100 +0,0 @@
-#load "../../lib/app.uce"
-
-COMPONENT(Request& context)
-{
- String title = first(context.call["title"].to_string(), "Sign in with OAuth");
- String subtitle = first(context.call["subtitle"].to_string(), "Choose your preferred authentication method");
- String callback_url = first(context.call["callback_url"].to_string(), starter_link("auth/callback", context));
-
- DTree services = context.call["services"];
- if(services.get_type_name() != "array" || services["google"]["name"].to_string() == "")
- {
- services["google"]["name"] = "Google";
- services["google"]["color"] = "#4285f4";
- services["google"]["icon"] = "fab fa-google";
- services["google"]["scope"] = "openid email profile";
- services["google"]["auth_url"] = "https://accounts.google.com/o/oauth2/v2/auth";
-
- services["github"]["name"] = "GitHub";
- services["github"]["color"] = "#333333";
- services["github"]["icon"] = "fab fa-github";
- services["github"]["scope"] = "user:email";
- services["github"]["auth_url"] = "https://github.com/login/oauth/authorize";
-
- services["discord"]["name"] = "Discord";
- services["discord"]["color"] = "#5865f2";
- services["discord"]["icon"] = "fab fa-discord";
- services["discord"]["scope"] = "identify email";
- services["discord"]["auth_url"] = "https://discord.com/api/oauth2/authorize";
-
- services["twitch"]["name"] = "Twitch";
- services["twitch"]["color"] = "#9146ff";
- services["twitch"]["icon"] = "fab fa-twitch";
- services["twitch"]["scope"] = "user:read:email";
- services["twitch"]["auth_url"] = "https://id.twitch.tv/oauth2/authorize";
- }
-
- <>
-
- >
-}
diff --git a/site/info/uce-starter/components/basic/cookie-consent.uce b/site/info/uce-starter/components/basic/cookie-consent.uce
deleted file mode 100644
index 05bfa76..0000000
--- a/site/info/uce-starter/components/basic/cookie-consent.uce
+++ /dev/null
@@ -1,114 +0,0 @@
-#load "../../lib/app.uce"
-
-COMPONENT(Request& context)
-{
- starter_boot(context);
-
- <>
-
-
-
-
-
- We use cookies to enhance your browsing experience, serve personalized content, and analyze our traffic.
- Learn more
-
-
-
- Reject All
- Accept All
-
-
-
-
- >
-}
diff --git a/site/info/uce-starter/components/data/widgets.uce b/site/info/uce-starter/components/data/widgets.uce
deleted file mode 100644
index fa25082..0000000
--- a/site/info/uce-starter/components/data/widgets.uce
+++ /dev/null
@@ -1,308 +0,0 @@
-#load "../../lib/app.uce"
-
-String data_format_bytes(String raw, bool disk = false)
-{
- if(trim(raw) == "")
- return("--");
- StringList units;
- units.push_back("B");
- units.push_back("KB");
- units.push_back("MB");
- units.push_back("GB");
- units.push_back("TB");
- units.push_back("PB");
- f64 value = atof(raw.c_str());
- u32 unit_index = 0;
- while((value >= 1024.0 || value <= -1024.0) && unit_index < units.size() - 1)
- {
- value /= 1024.0;
- unit_index += 1;
- }
- u32 decimals = disk ? (unit_index >= 4 ? 2 : (unit_index >= 1 ? 1 : 0)) : (unit_index == 0 ? 0 : 1);
- char buf[64];
- snprintf(buf, sizeof(buf), ("%." + std::to_string(decimals) + "f").c_str(), value);
- return(String(buf) + " " + units[unit_index]);
-}
-
-DTree data_format_value(DTree value, DTree row, DTree column)
-{
- DTree result;
- String format = column["format"].to_string();
- String raw = value.to_string();
- String sort_value = raw;
- String display_value = raw;
- if(format == "number")
- {
- display_value = raw;
- }
- else if(format == "bytes")
- {
- display_value = data_format_bytes(raw, false);
- }
- else if(format == "disk-bytes")
- {
- display_value = data_format_bytes(raw, true);
- }
- else if(format == "percent")
- {
- display_value = raw + "%";
- }
- else if(format == "duration-ms")
- {
- f64 number = atof(raw.c_str());
- if(number >= 1000.0)
- {
- char buf[64];
- snprintf(buf, sizeof(buf), number >= 10000.0 ? "%.0f s" : "%.1f s", number / 1000.0);
- display_value = buf;
- }
- else
- {
- char buf[64];
- snprintf(buf, sizeof(buf), number >= 100.0 ? "%.0f ms" : "%.1f ms", number);
- display_value = buf;
- }
- }
- else if(format == "bool")
- {
- bool on = raw == "1" || to_lower(raw) == "true" || to_lower(raw) == "yes";
- display_value = on ? "Yes" : "No";
- sort_value = on ? "1" : "0";
- }
- result["display"] = display_value;
- result["sort"] = sort_value;
- return(result);
-}
-
-COMPONENT:SUMMARY_METRICS(Request& context)
-{
- String title = context.call["title"].to_string();
- String subtitle = context.call["subtitle"].to_string();
-
- <>
-
- if(title != "" || subtitle != "") { ?>
-
- } ?>
-
- context.call["items"].each([&](DTree item, String key) {
- String tone = first(item["tone"].to_string(), "info");
- String href = item["href"].to_string();
- String tag = href != "" ? "a" : "div";
- ?><= tag ?> class="dashboard-stat-card tone-= tone ?>"= href != "" ? " href=\"" + html_escape(href) + "\"" : "" ?>>
-
= first(item["label"].to_string(), "Metric") ?>
-
= first(item["value"].to_string(), "--") ?>
- if(item["meta"].to_string() != "") { ?>
= item["meta"].to_string() ?>
} ?>
- = tag ?>>
- }); ?>
-
-
- >
-}
-
-COMPONENT:TIMESERIES_CHART(Request& context)
-{
- starter_register_js("js/u-format.js", context);
- starter_register_js("js/u-timeseries-chart.js", context);
-
- String chart_id = first(context.call["id"].to_string(), "ts-chart-" + std::to_string((u64)time()));
- String canvas_id = chart_id + "-canvas";
- String title = context.call["title"].to_string();
- String subtitle = context.call["subtitle"].to_string();
- s32 height = std::max(180, (s32)int_val(first(context.call["height"].to_string(), "320")));
- String x_axis_label = first(context.call["x_axis_label"].to_string(), "Time");
- String y_axis_left_label = first(context.call["y_axis_left_label"].to_string(), "Value");
- String y_axis_right_label = context.call["y_axis_right_label"].to_string();
- String y_axis_left_format = first(context.call["y_axis_left_format"].to_string(), "number");
- String y_axis_right_format = first(context.call["y_axis_right_format"].to_string(), "number");
-
- <>
-
- if(title != "" || subtitle != "") { ?>
-
- } ?>
-
-
-
- >
-}
-
-COMPONENT:SORTABLE_TABLE(Request& context)
-{
- starter_register_js("js/u-format.js", context);
- starter_register_js("js/u-sortable-table.js", context);
-
- String table_id = first(context.call["id"].to_string(), "sortable-table-" + std::to_string((u64)time()));
- String title = context.call["title"].to_string();
- String subtitle = context.call["subtitle"].to_string();
- String empty_label = first(context.call["empty_label"].to_string(), "No data available");
-
- DTree init_options;
- init_options["storageKey"] = first(context.call["storage_key"].to_string(), "starter.sort." + table_id);
- if(context.call["sort"]["column"].to_string() != "")
- {
- init_options["initialSort"]["column"] = context.call["sort"]["column"];
- init_options["initialSort"]["direction"] = first(context.call["sort"]["direction"].to_string(), "asc");
- }
-
- <>
-
- if(title != "" || subtitle != "") { ?>
-
- } ?>
-
-
-
-
- context.call["columns"].each([&](DTree column, String key) {
- String align = first(column["align"].to_string(), "left");
- bool sortable = column["sortable"].to_string() == "" || column["sortable"].to_string() == "1";
- ?>>= first(column["label"].to_string(), column["key"].to_string(), "Column") ?>
- }); ?>
-
-
-
- if(context.call["rows"].get_type_name() != "array" || context.call["rows"]["0"].get_type_name() != "array") { ?>
- " class="muted">= empty_label ?>
- } ?>
- context.call["rows"].each([&](DTree row, String key) {
- if(row.get_type_name() != "array")
- return;
- ?>
- context.call["columns"].each([&](DTree column, String ckey) {
- String col_key = column["key"].to_string();
- DTree formatted = data_format_value(row[col_key], row, column);
- ?>" data-sort-value="= formatted["sort"].to_string() ?>">= formatted["display"].to_string() ?>
- });
- ?>
- }); ?>
-
-
-
-
-
- >
-}
-
-COMPONENT:DATA_TABLE(Request& context)
-{
- String table_id = first(context.call["id"].to_string(), "data-grid-" + std::to_string((u64)time()));
- starter_register_js("js/ag-grid/ag-grid-community.min.js", context);
- starter_register_css("js/ag-grid/ag-grid.css", context);
- starter_register_css("js/ag-grid/ag-theme-alpine.css", context);
-
- DTree columns = context.call["columns"];
- if(columns.get_type_name() != "array")
- columns.set_array();
- bool has_explicit_columns = columns.is_list() &&
- columns._map.size() > 0 &&
- columns._map.find("0") != columns._map.end() &&
- columns["0"]["field"].to_string() != "";
- if(!has_explicit_columns && context.call["items"]["0"].get_type_name() == "array")
- {
- context.call["items"]["0"].each([&](DTree value, String key) {
- DTree col;
- col["field"] = key;
- col["headerName"] = key;
- col["sortable"].set_bool(true);
- col["filter"].set_bool(true);
- col["resizable"].set_bool(true);
- columns.push(col);
- });
- }
- if(!columns.is_list())
- {
- DTree normalized_columns;
- normalized_columns.set_array();
- columns.each([&](DTree column, String key) {
- if(column.get_type_name() == "array")
- normalized_columns.push(column);
- });
- columns = normalized_columns;
- }
-
- DTree row_data = context.call["items"];
- if(row_data.get_type_name() != "array")
- row_data.set_array();
- if(!row_data.is_list())
- {
- DTree normalized_rows;
- normalized_rows.set_array();
- row_data.each([&](DTree row, String key) {
- if(row.get_type_name() == "array")
- normalized_rows.push(row);
- });
- row_data = normalized_rows;
- }
-
- DTree grid_options;
- grid_options["pagination"].set_bool(true);
- grid_options["paginationPageSize"] = first(context.call["options"]["paginationPageSize"].to_string(), "20");
- grid_options["paginationPageSizeSelector"].set_bool(false);
- grid_options["suppressMenuHide"].set_bool(true);
- grid_options["animateRows"].set_bool(true);
- grid_options["columnDefs"] = columns;
- grid_options["rowData"] = row_data;
-
- <>
-
-
-
; width: 100%; border: 1px solid var(--border); border-radius: 0 0 0.5rem 0.5rem; overflow: hidden;">
-
-
- >
-}
diff --git a/site/info/uce-starter/components/example/marketing_blocks.uce b/site/info/uce-starter/components/example/marketing_blocks.uce
deleted file mode 100644
index 5027036..0000000
--- a/site/info/uce-starter/components/example/marketing_blocks.uce
+++ /dev/null
@@ -1,604 +0,0 @@
-#load "../../lib/app.uce"
-
-void marketing_default_features(DTree& features)
-{
- if(features.get_type_name() == "array" && features["0"]["title"].to_string() != "")
- return;
- DTree item;
-
- item["icon"] = "⚡";
- item["title"] = "Lightning Fast";
- item["description"] = "Optimized for speed and performance with modern web technologies.";
- features.push(item);
- item.clear();
-
- item["icon"] = "🎨";
- item["title"] = "Beautiful Design";
- item["description"] = "Carefully crafted components with attention to detail and user experience.";
- features.push(item);
- item.clear();
-
- item["icon"] = "📱";
- item["title"] = "Mobile First";
- item["description"] = "Fully responsive design that works perfectly on all devices.";
- features.push(item);
- item.clear();
-
- item["icon"] = "🔧";
- item["title"] = "Easy to Use";
- item["description"] = "Simple and intuitive component system for rapid development.";
- features.push(item);
- item.clear();
-
- item["icon"] = "🛡️";
- item["title"] = "Secure";
- item["description"] = "Built with security best practices and server-side rendering first.";
- features.push(item);
- item.clear();
-
- item["icon"] = "🚀";
- item["title"] = "Scalable";
- item["description"] = "Architecture designed to grow with your application needs.";
- features.push(item);
-}
-
-COMPONENT:HERO_SECTION(Request& context)
-{
- String title = first(context.call["title"].to_string(), "Welcome to the Present");
- String subtitle = first(context.call["subtitle"].to_string(), "Experience no-quite-modern web development with our cutting-edge framework");
- String cta_text = first(context.call["cta_text"].to_string(), "Get Started");
- String cta_link = first(context.call["cta_link"].to_string(), "#");
-
- <>
-
-
-
= title ?>
-
= subtitle ?>
-
-
-
-
-
-
- >
-}
-
-COMPONENT:FEATURES_GRID(Request& context)
-{
- DTree features = context.call["features"];
- marketing_default_features(features);
-
- <>
-
-
-
- features.each([&](DTree feature, String key) {
- ?>
-
-
= feature["title"].to_string() ?>
-
= feature["description"].to_string() ?>
-
-
- }); ?>
-
-
-
- >
-}
-
-COMPONENT:STATS_SECTION(Request& context)
-{
- DTree stats = context.call["stats"];
- if(stats.get_type_name() != "array" || stats["0"]["label"].to_string() == "")
- {
- DTree item;
- item["number"] = "99.9%"; item["label"] = "Uptime"; stats.push(item); item.clear();
- item["number"] = "500ms"; item["label"] = "Average Response"; stats.push(item); item.clear();
- item["number"] = "50K+"; item["label"] = "Active Users"; stats.push(item); item.clear();
- item["number"] = "24/7"; item["label"] = "Support"; stats.push(item);
- }
-
- <>
-
-
-
-
- stats.each([&](DTree stat, String key) {
- ?>
-
= stat["number"].to_string() ?>
-
= stat["label"].to_string() ?>
-
-
- }); ?>
-
-
-
-
- >
-}
-
-COMPONENT:BRANDS_SHOWCASE(Request& context)
-{
- DTree logos = context.call["logos"];
- if(logos.get_type_name() != "array" || logos["0"]["name"].to_string() == "")
- {
- DTree item;
- for(s32 i = 1; i <= 6; i++)
- {
- item["name"] = "Brand " + std::to_string(i);
- item["url"] = "img/cat0" + std::to_string(i) + ".jpg";
- logos.push(item);
- item.clear();
- }
- }
- String title = first(context.call["title"].to_string(), "Trusted by Leading Companies");
-
- <>
-
-
-
= title ?>
-
- logos.each([&](DTree logo, String key) {
- ?>
-
" alt="= logo["name"].to_string() ?>" />
-
- }); ?>
-
-
-
-
- >
-}
-
-COMPONENT:TESTIMONIALS(Request& context)
-{
- DTree testimonials = context.call["testimonials"];
- if(testimonials.get_type_name() != "array" || testimonials["0"]["name"].to_string() == "")
- {
- DTree item;
- item["name"] = "Sarah Johnson"; item["role"] = "Senior Developer at TechCorp"; item["avatar"] = "img/cat01.jpg"; item["content"] = "This framework has revolutionized our development process."; item["rating"] = "5"; testimonials.push(item); item.clear();
- item["name"] = "Michael Chen"; item["role"] = "CTO at StartupX"; item["avatar"] = "img/cat02.jpg"; item["content"] = "We switched from our legacy system and saw immediate improvements."; item["rating"] = "5"; testimonials.push(item); item.clear();
- item["name"] = "Emily Rodriguez"; item["role"] = "Full Stack Developer"; item["avatar"] = "img/cat03.jpg"; item["content"] = "The documentation is excellent and the learning curve is gentle."; item["rating"] = "5"; testimonials.push(item);
- }
-
- <>
-
-
-
-
- testimonials.each([&](DTree testimonial, String key) {
- ?>
-
-
"
-
= testimonial["content"].to_string() ?>
-
for(s32 i = 0; i < int_val(first(testimonial["rating"].to_string(), "5")); i++) { ?>★ } ?>
-
-
-
" alt="= testimonial["name"].to_string() ?>" class="avatar">
-
-
= testimonial["name"].to_string() ?>
-
= testimonial["role"].to_string() ?>
-
-
-
- }); ?>
-
-
-
-
- >
-}
-
-COMPONENT:PRICING_TABLE(Request& context)
-{
- DTree plans = context.call["plans"];
- if(plans.get_type_name() != "array" || plans["0"]["name"].to_string() == "")
- {
- DTree plan;
- DTree feature;
-
- plan["name"] = "Starter"; plan["price"] = "Free"; plan["period"] = ""; plan["description"] = "Perfect for small projects and learning"; plan["cta"] = "Start Free"; feature = "Up to 3 projects"; plan["features"].push(feature); feature = "Community support"; plan["features"].push(feature); feature = "Basic components"; plan["features"].push(feature); plans.push(plan); plan.clear();
- plan["name"] = "Pro"; plan["price"] = "$24"; plan["period"] = "/mo"; plan["description"] = "For serious products and teams"; plan["cta"] = "Choose Pro"; plan["popular"].set_bool(true); feature = "Unlimited projects"; plan["features"].push(feature); feature = "Priority support"; plan["features"].push(feature); feature = "Advanced components"; plan["features"].push(feature); plans.push(plan); plan.clear();
- plan["name"] = "Enterprise"; plan["price"] = "$99"; plan["period"] = "/mo"; plan["description"] = "For larger teams and custom deployments"; plan["cta"] = "Contact Sales"; feature = "Custom integrations"; plan["features"].push(feature); feature = "Dedicated support"; plan["features"].push(feature); feature = "Architecture help"; plan["features"].push(feature); plans.push(plan);
- }
-
- <>
-
-
-
-
- plans.each([&](DTree plan, String key) {
- bool popular = plan["popular"].to_string() != "";
- ?>
">
- if(popular) { ?>
Most Popular
} ?>
-
-
- plan["features"].each([&](DTree feature, String feature_key) { ?>= feature.to_string() ?> }); ?>
-
-
-
- }); ?>
-
-
-
-
-
- >
-}
-
-COMPONENT:CTA_SECTION(Request& context)
-{
- String title = first(context.call["title"].to_string(), "Ready to Get Started?");
- String subtitle = first(context.call["subtitle"].to_string(), "Join thousands of developers building amazing applications with our framework.");
- String cta_text = first(context.call["cta_text"].to_string(), "Start Building Now");
- String cta_link = first(context.call["cta_link"].to_string(), "#");
- String secondary_text = first(context.call["secondary_text"].to_string(), "View Documentation");
- String secondary_link = first(context.call["secondary_link"].to_string(), "#");
-
- <>
-
-
-
-
= title ?>
-
= subtitle ?>
-
-
-
-
-
-
- >
-}
diff --git a/site/info/uce-starter/components/example/theme-switcher.uce b/site/info/uce-starter/components/example/theme-switcher.uce
deleted file mode 100644
index 28f7de7..0000000
--- a/site/info/uce-starter/components/example/theme-switcher.uce
+++ /dev/null
@@ -1,153 +0,0 @@
-#load "../../lib/app.uce"
-
-COMPONENT(Request& context)
-{
- starter_boot(context);
- String current_theme = context.cfg.get_by_path("theme/key").to_string();
- String current_label = first(context.cfg.get_by_path("theme/label").to_string(), current_theme);
- String route_path = context.var["starter"]["route"]["l_path"].to_string();
-
- <>
-
-
-
-
- = current_label ?>
-
-
-
-
-
- >
-}
diff --git a/site/info/uce-starter/components/gauges/arcgauge.uce b/site/info/uce-starter/components/gauges/arcgauge.uce
deleted file mode 100644
index a9b406a..0000000
--- a/site/info/uce-starter/components/gauges/arcgauge.uce
+++ /dev/null
@@ -1,91 +0,0 @@
-#load "helpers.uce"
-
-COMPONENT(Request& context)
-{
- starter_register_js("components/gauges/common.js", context);
- starter_register_css("themes/common/css/gauges.css", context);
-
- String gauge_id = first(context.call["id"].to_string(), "arcgauge-" + std::to_string((u64)time()));
- String title = context.call["title"].to_string();
- String subtitle = context.call["subtitle"].to_string();
- String style = context.call["style"].to_string();
- DTree scale = context.call["scale"];
-
- <>
-
- if(title != "") { ?>
-
- } ?>
-
- context.call["items"].each([&](DTree item, String item_id_raw) {
- DTree merged = scale;
- item.each([&](DTree value, String key) { merged[key] = value; });
- String item_id = gauge_attr_id(item_id_raw);
- f64 value = float_val(first(merged["value"].to_string(), "0"));
- f64 max_value = float_val(first(merged["max"].to_string(), "100"));
- s32 precision = (s32)int_val(first(merged["precision"].to_string(), "1"));
- f64 pct = max_value > 0.0 ? gauge_clamp_value((value / max_value) * 100.0, 0.0, 100.0) : 0.0;
- f64 arc_length = round((pct / 100.0) * 157.08 * 10.0) / 10.0;
- String resolved_color = "";
- if(merged["color"].get_type_name() == "array")
- resolved_color = gauge_range_color(merged["color"], value);
- else
- resolved_color = merged["color"].to_string();
- if(resolved_color == "")
- {
- if(pct >= 85.0)
- resolved_color = "var(--error, #ef4444)";
- else if(pct >= 60.0)
- resolved_color = "var(--warning, #f59e0b)";
- else
- resolved_color = "var(--success, #10b981)";
- }
- String display_value = gauge_format_number(value, precision) + merged["unit"].to_string();
- String watermark_prefix = merged["watermark_prefix"].to_string();
- ?>
- = first(merged["label"].to_string(), item_id_raw) ?>
-
-
-
- if(watermark_prefix != "") { ?>
-
-
- } ?>
- = display_value ?>
- = first(merged["caption"].to_string(), "") ?>
-
- = first(merged["meta"].to_string(), "--") ?>
-
- }); ?>
-
-
- if(context.call["listen"].to_string() != "") { ?>
-
- } ?>
- >
-}
diff --git a/site/info/uce-starter/components/gauges/common.css b/site/info/uce-starter/components/gauges/common.css
deleted file mode 100755
index e45daa7..0000000
--- a/site/info/uce-starter/components/gauges/common.css
+++ /dev/null
@@ -1,95 +0,0 @@
- .horizontal .progressbar-item {
- display: flex;
- min-width: 100%;
- padding: 5px;
- }
-
- .progressbar-container.vertical {
- display: flex;
- }
-
- .vertical .progressbar-item {
- display: flex;
- flex-direction: column;
- justify-content: flex-end;
- padding: 5px;
- text-align: center;
- }
-
- .progressbar-label {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- font-weight: bold;
- }
-
- .horizontal .progressbar-label, .horizontal .progressbar-value {
- flex: 0 0 auto;
- margin-right: 10px;
- }
-
- .horizontal .progressbar-label {
- min-width: 50px;
- }
-
- .vertical .progressbar-label {
- text-align: center;
- }
-
- .horizontal .progressbar-value {
- min-width: 50px;
- text-align: right;
- }
-
- .progressbar-background {
- flex: 1;
- background: var(--bg-color);
- padding: 4px;
- display: flex;
- }
-
- .vertical .progressbar-background {
- flex-direction: column;
- justify-content: flex-end;
- }
-
- .progressbar-bar {
- transition: all 0.3s ease;
- }
-
- .progressbar-marker {
- position: absolute;
- z-index: 10;
- opacity: 0.5;
- background: var(--text-color, #333);
- }
-
- .progressbar-marker:hover {
- opacity: 1;
- }
-
- .horizontal .progressbar-marker {
- border-width: 0 2px 0 2px;
- height: 100%;
- top: 0;
- min-width: 4px;
- }
-
- .vertical .progressbar-marker {
- border-width: 2px 0 2px 0;
- width: 100%;
- left: 0;
- min-height: 4px;
- }
-
- .progressbar-background {
- position: relative;
- }
-
- .needlegauge-svg .needle {
- transition: all 0.3s ease;
- }
-
- .needlegauge-item {
- display: inline-block;
- }
\ No newline at end of file
diff --git a/site/info/uce-starter/components/gauges/common.js b/site/info/uce-starter/components/gauges/common.js
deleted file mode 100755
index 76ab786..0000000
--- a/site/info/uce-starter/components/gauges/common.js
+++ /dev/null
@@ -1,121 +0,0 @@
-// common code for gauges components
-
-window.GaugeComponents = window.GaugeComponents || {};
-
-Object.assign(window.GaugeComponents, { // as a namespace
-
- // utility functions
- clampValue: function(value, min, max) {
- return Math.min(max, Math.max(min, value));
- },
-
- pickEntryFromRange: function(ranges, value) {
- if (!Array.isArray(ranges)) return null;
- for (const entry of ranges) {
- if (value >= entry.from && value <= entry.to) return entry;
- }
- return null;
- },
-
- /**
- * Creates an SVG element with namespace
- */
- createSVGElement: function(tagName, attributes = {}) {
- const element = document.createElementNS('http://www.w3.org/2000/svg', tagName);
- Object.entries(attributes).forEach(([key, value]) => {
- element.setAttribute(key, value);
- });
- return element;
- },
-
- /**
- * Gets CSS custom property value from computed styles
- */
- getCSSVar: function(varName) {
- return getComputedStyle(document.documentElement).getPropertyValue(varName).trim();
- },
-
- resolveColor: function(colorSpec, value, pct) {
- if (Array.isArray(colorSpec)) {
- const match = this.pickEntryFromRange(colorSpec, value);
- if (match && match.color) return match.color;
- }
- if (typeof colorSpec === 'string' && colorSpec !== '') return colorSpec;
- if (pct < 60) return this.getCSSVar('--success') || '#10b981';
- if (pct < 85) return this.getCSSVar('--warning') || '#f59e0b';
- return this.getCSSVar('--error') || '#ef4444';
- },
-
- formatValue: function(value, precision, suffix) {
- const numericValue = Number(value);
- const normalizedPrecision = Number.isFinite(precision) ? precision : 1;
- if (!Number.isFinite(numericValue)) return '--';
- return numericValue.toFixed(normalizedPrecision) + (suffix || '');
- },
-
- gaugeArcPoint: function(pct, radius = 50) {
- const angle = Math.PI - (pct / 100) * Math.PI;
- return {
- x: 60 + radius * Math.cos(angle),
- y: 60 - radius * Math.sin(angle),
- };
- },
-
- updateWatermark: function(prefix, pct) {
- const now = Date.now();
- this._watermarks = this._watermarks || {};
- let watermark = this._watermarks[prefix];
- const resetWindow = 10 * 60 * 1000;
- if (!watermark || (now - watermark.resetTs) > resetWindow) {
- watermark = { lo: pct, hi: pct, resetTs: now };
- this._watermarks[prefix] = watermark;
- } else {
- if (pct < watermark.lo) watermark.lo = pct;
- if (pct > watermark.hi) watermark.hi = pct;
- }
- return watermark;
- },
-
- renderWatermarkTick: function(lineId, pct) {
- const line = document.getElementById(lineId);
- if (!line) return;
- if (pct == null) {
- line.setAttribute('opacity', '0');
- return;
- }
- const outer = this.gaugeArcPoint(pct, 53);
- const inner = this.gaugeArcPoint(pct, 43);
- line.setAttribute('x1', outer.x.toFixed(1));
- line.setAttribute('y1', outer.y.toFixed(1));
- line.setAttribute('x2', inner.x.toFixed(1));
- line.setAttribute('y2', inner.y.toFixed(1));
- line.setAttribute('opacity', '0.7');
- },
-
- updateArcGauge: function(options) {
- const value = Number(options.value);
- const max = Number(options.max || 100);
- const normalizedValue = Number.isFinite(value) ? value : 0;
- const pct = this.clampValue(max === 0 ? 0 : (normalizedValue / max) * 100, 0, 100);
- const arcLength = (pct / 100) * 157.08;
- const arc = document.getElementById(options.arcId);
- const text = document.getElementById(options.textId);
- const meta = options.metaId ? document.getElementById(options.metaId) : null;
- if (arc) {
- arc.setAttribute('stroke-dasharray', arcLength.toFixed(1) + ' 157.08');
- arc.setAttribute('stroke', this.resolveColor(options.color, normalizedValue, pct));
- }
- if (text) {
- text.textContent = this.formatValue(normalizedValue, options.precision, options.suffix);
- }
- if (meta && options.meta != null) {
- meta.textContent = options.meta;
- }
- if (options.watermarkPrefix) {
- const watermark = this.updateWatermark(options.watermarkPrefix, pct);
- this.renderWatermarkTick(options.watermarkPrefix + 'WmLo', watermark.lo);
- this.renderWatermarkTick(options.watermarkPrefix + 'WmHi', watermark.hi);
- }
- }
-
-});
\ No newline at end of file
diff --git a/site/info/uce-starter/components/gauges/helpers.uce b/site/info/uce-starter/components/gauges/helpers.uce
deleted file mode 100644
index 5fb6421..0000000
--- a/site/info/uce-starter/components/gauges/helpers.uce
+++ /dev/null
@@ -1,71 +0,0 @@
-#load "../../lib/app.uce"
-#include
-
-f64 gauge_clamp_value(f64 value, f64 min_value, f64 max_value)
-{
- return(std::max(min_value, std::min(max_value, value)));
-}
-
-f64 gauge_pi()
-{
- return(3.14159265358979323846);
-}
-
-String gauge_string_attr(String value)
-{
- return(html_escape(value));
-}
-
-String gauge_attr_id(String value)
-{
- return(ascii_safe_name(value));
-}
-
-String gauge_range_color(DTree ranges, f64 value)
-{
- String matched = "";
- ranges.each([&](DTree range, String key) {
- f64 from_value = float_val(first(range["from"].to_string(), "-999999999"));
- f64 to_value = float_val(first(range["to"].to_string(), "999999999"));
- if(value >= from_value && value <= to_value && matched == "")
- matched = range["color"].to_string();
- });
- return(matched);
-}
-
-String gauge_arc_path(f64 cx, f64 cy, f64 radius, f64 start_angle, f64 end_angle)
-{
- f64 start_x = cx + cos(start_angle) * radius;
- f64 start_y = cy + sin(start_angle) * radius;
- f64 end_x = cx + cos(end_angle) * radius;
- f64 end_y = cy + sin(end_angle) * radius;
- s32 large_arc = fabs(end_angle - start_angle) > gauge_pi() ? 1 : 0;
- s32 sweep = end_angle >= start_angle ? 1 : 0;
- return(
- "M " + std::to_string(start_x) + " " + std::to_string(start_y) +
- " A " + std::to_string(radius) + " " + std::to_string(radius) +
- " 0 " + std::to_string(large_arc) + " " + std::to_string(sweep) +
- " " + std::to_string(end_x) + " " + std::to_string(end_y)
- );
-}
-
-String gauge_circle_segment_svg(f64 cx, f64 cy, f64 radius, f64 start_angle, f64 end_angle, String stroke, f64 stroke_width, String fill, String style)
-{
- String path_d = gauge_arc_path(cx, cy, radius, start_angle, end_angle);
- return(
- " "
- );
-}
-
-String gauge_format_number(f64 value, s32 precision)
-{
- char buf[64];
- snprintf(buf, sizeof(buf), ("%." + std::to_string(std::max(0, precision)) + "f").c_str(), value);
- return(String(buf));
-}
diff --git a/site/info/uce-starter/components/gauges/needlegauge.uce b/site/info/uce-starter/components/gauges/needlegauge.uce
deleted file mode 100644
index 25ed3f1..0000000
--- a/site/info/uce-starter/components/gauges/needlegauge.uce
+++ /dev/null
@@ -1,144 +0,0 @@
-#load "helpers.uce"
-
-COMPONENT(Request& context)
-{
- starter_register_js("components/gauges/common.js", context);
- starter_register_css("themes/common/css/gauges.css", context);
-
- String gauge_id = first(context.call["id"].to_string(), "needlegauge-" + std::to_string((u64)time()));
- String style = context.call["style"].to_string();
- String title = context.call["title"].to_string();
- String subtitle = context.call["subtitle"].to_string();
- f64 size = float_val(first(context.call["size"].to_string(), "200"));
- DTree scale = context.call["scale"];
- f64 scale_angle_start = float_val(first(scale["angle_start"].to_string(), std::to_string(-gauge_pi())));
- f64 scale_angle_end = float_val(first(scale["angle_end"].to_string(), "0"));
- f64 img_height = float_val(first(context.call["img_height"].to_string(), std::to_string(size * std::max(cos(scale_angle_start), cos(scale_angle_end)))));
-
- <>
-
- if(title != "") { ?>
-
- } ?>
-
- context.call["items"].each([&](DTree item, String item_id_raw) {
- DTree merged = scale;
- item.each([&](DTree value, String key) { merged[key] = value; });
- String item_id = gauge_attr_id(item_id_raw);
- String label = first(merged["label"].to_string(), item_id_raw);
- String tooltip = merged["tooltip"].to_string();
- String unit = merged["unit"].to_string();
- f64 min_value = float_val(first(merged["min"].to_string(), "0"));
- f64 max_value = float_val(first(merged["max"].to_string(), "100"));
- f64 value = float_val(first(merged["value"].to_string(), "0"));
- f64 vrange = max_value - min_value;
- if(vrange == 0)
- vrange = 1;
- f64 angle_start = float_val(first(merged["angle_start"].to_string(), std::to_string(-gauge_pi())));
- f64 angle_end = float_val(first(merged["angle_end"].to_string(), "0"));
- f64 pct_value = gauge_clamp_value((value - min_value) / vrange, 0.0, 1.0);
- f64 needle_angle = -gauge_pi() + angle_start + (pct_value * (angle_end - angle_start));
- String needle_color = first(merged["color"].to_string(), "#888888");
- if(merged["color"].get_type_name() == "array")
- needle_color = first(gauge_range_color(merged["color"], value), "#888888");
- String tick_color = first(merged["tick-color"].to_string(), "#888888");
- f64 tick_interval = float_val(first(merged["ticks-every"].to_string(), std::to_string(vrange / 20.0)));
- if(tick_interval == 0)
- tick_interval = std::max(1.0, vrange / 20.0);
- f64 label_interval = float_val(first(merged["value-labels-every"].to_string(), std::to_string(vrange / 4.0)));
- if(label_interval == 0)
- label_interval = std::max(1.0, vrange / 4.0);
- String ticks_html = "";
- for(f64 v = min_value; v <= max_value + 0.0001; v += tick_interval)
- {
- f64 angle = angle_start + ((v - min_value) / vrange) * (angle_end - angle_start);
- f64 x1 = size / 2.0 + cos(angle) * size * 0.38;
- f64 y1 = size / 2.0 + sin(angle) * size * 0.38;
- f64 x2 = size / 2.0 + cos(angle) * size * 0.41;
- f64 y2 = size / 2.0 + sin(angle) * size * 0.41;
- ticks_html += "
";
- }
- for(f64 v = min_value; v <= max_value + 0.0001; v += label_interval)
- {
- f64 angle = angle_start + ((v - min_value) / vrange) * (angle_end - angle_start);
- f64 x1 = size / 2.0 + cos(angle) * size * 0.35;
- f64 y1 = size / 2.0 + sin(angle) * size * 0.35;
- f64 x2 = size / 2.0 + cos(angle) * size * 0.41;
- f64 y2 = size / 2.0 + sin(angle) * size * 0.41;
- ticks_html += "";
- f64 lx = size / 2.0 + cos(angle) * size * 0.45;
- f64 ly = size / 2.0 + sin(angle) * size * 0.45;
- String label_value = std::to_string((s64)round(v));
- ticks_html += "" +
- html_escape(label_value) + " ";
- }
- String segments_html = "";
- if(merged["color"].get_type_name() == "array")
- {
- merged["color"].each([&](DTree range, String key) {
- f64 range_from = std::max(float_val(first(range["from"].to_string(), std::to_string(min_value))), min_value);
- f64 range_to = std::min(float_val(first(range["to"].to_string(), std::to_string(max_value))), max_value);
- f64 angle_from = angle_start + ((range_from - min_value) / vrange) * (angle_end - angle_start);
- f64 angle_to = angle_start + ((range_to - min_value) / vrange) * (angle_end - angle_start);
- segments_html += gauge_circle_segment_svg(size / 2.0, size / 2.0, size * 0.4, angle_from, angle_to, first(range["color"].to_string(), "rgba(120,120,120,0.5)"), 8.0, "rgba(0,0,0,0)", "opacity:0.25");
- });
- }
- else
- {
- segments_html = gauge_circle_segment_svg(size / 2.0, size / 2.0, size * 0.4, angle_start, angle_end, tick_color, 8.0, "rgba(0,0,0,0)", "opacity:0.25");
- }
- ?>
- = label ?>
-
-
-
-
-
-
-
-
-
-
= merged["value"].to_string() + unit ?>
- if(tooltip != "") { ?>
= tooltip ?>
} ?>
-
-
- }); ?>
-
-
- if(context.call["listen"].to_string() != "") { ?>
-
- } ?>
- >
-}
diff --git a/site/info/uce-starter/components/gauges/progressbar.uce b/site/info/uce-starter/components/gauges/progressbar.uce
deleted file mode 100644
index 1410243..0000000
--- a/site/info/uce-starter/components/gauges/progressbar.uce
+++ /dev/null
@@ -1,168 +0,0 @@
-#load "helpers.uce"
-
-COMPONENT(Request& context)
-{
- starter_register_js("components/gauges/common.js", context);
- starter_register_css("themes/common/css/gauges.css", context);
-
- String gauge_id = first(context.call["id"].to_string(), "progressbar-" + std::to_string((u64)time()));
- String style = context.call["style"].to_string();
- String item_style = context.call["item-style"].to_string();
- String label_style = context.call["label-style"].to_string();
- String value_style = context.call["value-style"].to_string();
- String bar_style = context.call["bar-style"].to_string();
- String title = context.call["title"].to_string();
- String subtitle = context.call["subtitle"].to_string();
- String layout = first(context.call["layout"].to_string(), "horizontal");
- String bar_color_default = context.call["bar-color"].to_string();
- DTree scale = context.call["scale"];
- DTree markers = context.call["markers"];
-
- StringList default_palette;
- default_palette.push_back("var(--success, #10b981)");
- default_palette.push_back("var(--primary, #60a5fa)");
- default_palette.push_back("var(--accent, #22d3ee)");
- default_palette.push_back("var(--warning, #f59e0b)");
- u32 auto_color_counter = 0;
-
- <>
-
- if(title != "") { ?>
-
- } ?>
- if(layout == "horizontal") { ?>
-
- context.call["items"].each([&](DTree bar, String bar_id) {
- DTree merged = scale;
- bar.each([&](DTree item, String key) { merged[key] = item; });
- String item_id = gauge_attr_id(bar_id);
- String merged_item_style = item_style;
- if(merged["style"].to_string() != "")
- merged_item_style += (merged_item_style != "" ? ";" : "") + merged["style"].to_string();
- String tooltip = merged["tooltip"].to_string();
- String before_html = merged["before"].to_string();
- String after_html = merged["after"].to_string();
- String unit = merged["unit"].to_string();
- String label = first(merged["label"].to_string(), bar_id);
- f64 min_value = float_val(first(merged["min"].to_string(), "0"));
- f64 max_value = float_val(first(merged["max"].to_string(), "100"));
- f64 value = float_val(first(merged["value"].to_string(), "0"));
- f64 vrange = max_value - min_value;
- if(vrange == 0)
- vrange = 1;
- f64 pct_value = gauge_clamp_value(((value - min_value) / vrange) * 100.0, 0.0, 100.0);
- String resolved_color = merged["color"].to_string();
- if(merged["color"].get_type_name() == "array")
- resolved_color = gauge_range_color(merged["color"], value);
- if(resolved_color == "")
- resolved_color = first(bar_color_default, default_palette[auto_color_counter++ % default_palette.size()]);
- String opacity = first(merged["opacity"].to_string(), "0.75");
- ?>
-
-
-
= label ?>
-
= merged["value"].to_string() + unit ?>
-
-
-
- markers.each([&](DTree marker, String marker_id) {
- f64 marker_value = float_val(first(marker["value"].to_string(), "0"));
- f64 marker_pct = gauge_clamp_value(((marker_value - min_value) / vrange) * 100.0, 0.0, 100.0);
- String marker_color = first(marker["color"].to_string(), "var(--primary-light)");
- ?>
"
- style="left: = std::to_string(marker_pct) ?>%; background: = marker_color ?>;">
- }); ?>
-
- if(tooltip != "") { ?>= tooltip ?>
} ?>
-
-
- }); ?>
-
- } else { ?>
- px;">
- context.call["items"].each([&](DTree bar, String bar_id) {
- DTree merged = scale;
- bar.each([&](DTree item, String key) { merged[key] = item; });
- String item_id = gauge_attr_id(bar_id);
- String merged_item_style = item_style;
- if(merged["style"].to_string() != "")
- merged_item_style += (merged_item_style != "" ? ";" : "") + merged["style"].to_string();
- String tooltip = merged["tooltip"].to_string();
- String before_html = merged["before"].to_string();
- String after_html = merged["after"].to_string();
- String unit = merged["unit"].to_string();
- String label = first(merged["label"].to_string(), bar_id);
- f64 min_value = float_val(first(merged["min"].to_string(), "0"));
- f64 max_value = float_val(first(merged["max"].to_string(), "100"));
- f64 value = float_val(first(merged["value"].to_string(), "0"));
- f64 vrange = max_value - min_value;
- if(vrange == 0)
- vrange = 1;
- f64 pct_value = gauge_clamp_value(((value - min_value) / vrange) * 100.0, 0.0, 100.0);
- String resolved_color = merged["color"].to_string();
- if(merged["color"].get_type_name() == "array")
- resolved_color = gauge_range_color(merged["color"], value);
- if(resolved_color == "")
- resolved_color = first(bar_color_default, default_palette[auto_color_counter++ % default_palette.size()]);
- String opacity = first(merged["opacity"].to_string(), "0.75");
- ?>
-
- = label ?>
-
-
- markers.each([&](DTree marker, String marker_id) {
- f64 marker_value = float_val(first(marker["value"].to_string(), "0"));
- f64 marker_pct = gauge_clamp_value(((marker_value - min_value) / vrange) * 100.0, 0.0, 100.0);
- String marker_color = first(marker["color"].to_string(), "var(--primary-light)");
- ?>
"
- style="bottom: = std::to_string(marker_pct) ?>%; background: = marker_color ?>;">
- }); ?>
-
- = merged["value"].to_string() + unit ?>
- if(tooltip != "") { ?>= tooltip ?>
} ?>
-
-
- }); ?>
-
- } ?>
-
- if(context.call["listen"].to_string() != "") { ?>
-
- } ?>
- >
-}
diff --git a/site/info/uce-starter/components/theme/account_links.uce b/site/info/uce-starter/components/theme/account_links.uce
deleted file mode 100644
index 96018c2..0000000
--- a/site/info/uce-starter/components/theme/account_links.uce
+++ /dev/null
@@ -1,32 +0,0 @@
-#load "../../lib/app.uce"
-
-COMPONENT(Request& context)
-{
- starter_boot(context);
- StarterUser users(context);
- DTree user = users.current();
- bool signed_in = user["email"].to_string() != "";
- String theme_key = context.cfg.get_by_path("theme/key").to_string();
- String wrapper_class = first(context.call["wrapper_class"].to_string(), theme_key == "localfirst" ? "admin-account-card" : "nav-account nav-menu");
- String links_class = first(context.call["links_wrapper_class"].to_string(), theme_key == "localfirst" ? "admin-account-links" : "");
- String name_class = first(context.call["name_class"].to_string(), theme_key == "localfirst" ? "admin-account-name" : "account-name");
-
- <>
-
- if(signed_in) { ?>
-
= first(user["username"].to_string(), user["email"].to_string(), "Account") ?>
- if(links_class != "") { ?>
} ?>
- } else { ?>
- if(links_class != "") { ?>
} ?>
-
">Login
- if(context.cfg.get_by_path("users/enable_signup").to_string() != "") { ?>
-
">Register
- } ?>
- if(links_class != "") { ?>
} ?>
- } ?>
-
- >
-}
diff --git a/site/info/uce-starter/components/theme/footer.uce b/site/info/uce-starter/components/theme/footer.uce
deleted file mode 100644
index 1a81513..0000000
--- a/site/info/uce-starter/components/theme/footer.uce
+++ /dev/null
@@ -1,22 +0,0 @@
-#load "../../lib/app.uce"
-
-COMPONENT(Request& context)
-{
- starter_boot(context);
- bool embed_mode = starter_page_embed_mode(context);
- if(embed_mode)
- return;
-
- String text = first(context.cfg.get_by_path("theme/footer_text").to_string(), context.cfg.get_by_path("site/name").to_string());
- String inner_class = first(context.call["inner_class"].to_string(), context.cfg.get_by_path("theme/key").to_string() == "portal-light" ? "footer-inner" : "");
-
- <>
-
- if(inner_class != "") { ?>
-
- } else { ?>
-
- } ?>
-
- >
-}
diff --git a/site/info/uce-starter/components/theme/global_controls.uce b/site/info/uce-starter/components/theme/global_controls.uce
deleted file mode 100644
index 9af2162..0000000
--- a/site/info/uce-starter/components/theme/global_controls.uce
+++ /dev/null
@@ -1,18 +0,0 @@
-#load "../../lib/app.uce"
-
-COMPONENT(Request& context)
-{
- starter_boot(context);
- if(starter_page_embed_mode(context))
- return;
-
- String cookie_value = context.call["cookie_consent"].to_string();
- bool cookie_consent = !(cookie_value == "0" || cookie_value == "false" || cookie_value == "FALSE" || cookie_value == "no" || cookie_value == "NO");
-
- <>
-
- if(cookie_consent) { ?>
-
- } ?>
- >
-}
diff --git a/site/info/uce-starter/components/theme/head.uce b/site/info/uce-starter/components/theme/head.uce
deleted file mode 100644
index 77ddaa7..0000000
--- a/site/info/uce-starter/components/theme/head.uce
+++ /dev/null
@@ -1,22 +0,0 @@
-#load "../../lib/app.uce"
-
-COMPONENT(Request& context)
-{
- starter_boot(context);
- String title = first(context.var["starter"]["page_title"].to_string(), context.cfg.get_by_path("site/default_page_title").to_string());
- String description = first(context.cfg.get_by_path("theme/meta_description").to_string(), "UCE starter example");
- String theme_color = first(context.cfg.get_by_path("theme/theme_color").to_string(), "#0f172a");
- String icon = starter_asset_url(context.cfg.get_by_path("theme/path").to_string() + "icon.png", context);
-
- <>
-
- = title + " | " + context.cfg.get_by_path("site/name").to_string() ?>
-
-
-
-
-
- starter_render_registered_css(context); ?>
- starter_render_registered_js(context); ?>
- >
-}
diff --git a/site/info/uce-starter/components/theme/page_shell.uce b/site/info/uce-starter/components/theme/page_shell.uce
deleted file mode 100644
index 890f2c2..0000000
--- a/site/info/uce-starter/components/theme/page_shell.uce
+++ /dev/null
@@ -1,20 +0,0 @@
-#load "../../lib/app.uce"
-
-COMPONENT(Request& context)
-{
- starter_boot(context);
- if(context.call["main_html"].to_string() != "")
- context.var["starter"]["fragments"]["main"] = context.call["main_html"];
- if(context.call["json"].get_type_name() == "array")
- context.var["starter"]["json"] = context.call["json"];
- if(context.call["page_type"].to_string() != "")
- context.var["starter"]["page_type"] = context.call["page_type"];
- if(context.call["embed_mode"].to_string() != "")
- context.var["starter"]["embed_mode"] = context.call["embed_mode"];
- starter_render_page(context);
-}
-
-COMPONENT:HEAD(Request& context)
-{
- print(component("head", context.call, context));
-}
diff --git a/site/info/uce-starter/components/theme/standard_nav.uce b/site/info/uce-starter/components/theme/standard_nav.uce
deleted file mode 100644
index 587548a..0000000
--- a/site/info/uce-starter/components/theme/standard_nav.uce
+++ /dev/null
@@ -1,31 +0,0 @@
-#load "../../lib/app.uce"
-
-COMPONENT(Request& context)
-{
- starter_boot(context);
- String nav_class = context.call["nav_class"].to_string();
- if(nav_class == "" && (context.cfg.get_by_path("theme/key").to_string() == "portal-dark" || context.cfg.get_by_path("theme/key").to_string() == "dark" || context.cfg.get_by_path("theme/key").to_string() == "retro-gaming"))
- nav_class = "nav-shell";
-
- DTree account_props;
- if(context.call["account_wrapper_class"].to_string() != "")
- account_props["wrapper_class"] = context.call["account_wrapper_class"];
- if(context.call["links_wrapper_class"].to_string() != "")
- account_props["links_wrapper_class"] = context.call["links_wrapper_class"];
- if(context.call["name_class"].to_string() != "")
- account_props["name_class"] = context.call["name_class"];
-
- <>
- >
-
-
-
- >
-}
diff --git a/site/info/uce-starter/components/workspace/primitives.uce b/site/info/uce-starter/components/workspace/primitives.uce
deleted file mode 100644
index f63a2c3..0000000
--- a/site/info/uce-starter/components/workspace/primitives.uce
+++ /dev/null
@@ -1,122 +0,0 @@
-#load "../../lib/app.uce"
-
-COMPONENT:APP_FRAME(Request& context)
-{
- starter_register_css("themes/common/css/workspace.css", context);
- starter_register_js("js/u-workspace-shell.js", context);
- String id = context.call["id"].to_string();
- String overlay_id = context.call["overlay_id"].to_string();
- String class_name = context.call["class"].to_string();
- <>
- class="ws-app= class_name != "" ? " " + html_escape(class_name) : "" ?>">
-
-
class="ws-sidebar-overlay">
-
-
- >
-}
-
-COMPONENT:EMPTY_STATE(Request& context)
-{
- <>
- ">
-
">
-
= context.call["title"].to_string() ?>
-
= context.call["text"].to_string() ?>
-
-
- >
-}
-
-COMPONENT:LIST_STATE(Request& context)
-{
- <>
- "> if(context.call["icon_class"].to_string() != "") { ?>"> } ?>= context.call["text"].to_string() ?>
- >
-}
-
-COMPONENT:MOBILE_BAR(Request& context)
-{
- <>
- ">
- class="ws-mobile-toggle" title="Toggle sidebar" type="button">
- ">
-
- = context.call["title"].to_string() ?>
-
- >
-}
-
-COMPONENT:PANEL_HEADER(Request& context)
-{
- <>
-
- >
-}
-
-COMPONENT:PANEL(Request& context)
-{
- <>
- class="ws-panel= context.call["class"].to_string() != "" ? " " + html_escape(context.call["class"].to_string()) : "" ?>">
-
-
-
- >
-}
-
-COMPONENT:SECTION_HEAD(Request& context)
-{
- <>
- ">
-
= context.call["title"].to_string() ?>
- if(context.call["actions_html"].to_string() != "") { ?> } ?>
-
- >
-}
-
-COMPONENT:SECTION(Request& context)
-{
- <>
- class="ws-section= context.call["class"].to_string() != "" ? " " + html_escape(context.call["class"].to_string()) : "" ?>">
-
-
-
- >
-}
-
-COMPONENT:SIDEBAR_SHELL(Request& context)
-{
- <>
- class="ws-sidebar= context.call["class"].to_string() != "" ? " " + html_escape(context.call["class"].to_string()) : "" ?>">
-
-
-
- >
-}
-
-COMPONENT:SIDEBAR_TOOLBAR(Request& context)
-{
- <>
-
- >
-}
-
-COMPONENT:STATUS_PILL(Request& context)
-{
- String variant = to_lower(first(context.call["variant"].to_string(), "neutral"));
- <>
- ">= first(context.call["label"].to_string(), context.call["text"].to_string()) ?>
- >
-}
diff --git a/site/info/uce-starter/config/settings.uce b/site/info/uce-starter/config/settings.uce
deleted file mode 100644
index ce371f6..0000000
--- a/site/info/uce-starter/config/settings.uce
+++ /dev/null
@@ -1,73 +0,0 @@
-DTree get_config()
-{
- DTree config;
-
- config["site"]["name"] = "UCE Starter";
- config["site"]["default_page_title"] = "Home";
- config["site"]["timezone"] = "UTC";
-
- config["users"]["enable_signup"].set_bool(true);
- config["filebase"]["path"] = "/tmp/uce-starter-data";
-
- config["theme"]["key"] = "portal-dark";
- config["theme"]["options"]["light"]["label"] = "Starter Light";
- config["theme"]["options"]["light"]["path"] = "themes/light/";
- config["theme"]["options"]["light"]["mode"] = "light";
- config["theme"]["options"]["light"]["description"] = "Original starter light theme kept for backward compatibility.";
- config["theme"]["options"]["light"]["footer_text"] = "UCE Starter running with the Starter Light theme.";
- config["theme"]["options"]["light"]["meta_description"] = "Starter Light theme for the UCE starter";
- config["theme"]["options"]["light"]["theme_color"] = "#3b82f6";
-
- config["theme"]["options"]["dark"]["label"] = "Starter Dark";
- config["theme"]["options"]["dark"]["path"] = "themes/dark/";
- config["theme"]["options"]["dark"]["mode"] = "dark";
- config["theme"]["options"]["dark"]["description"] = "Original starter dark theme kept for backward compatibility.";
- config["theme"]["options"]["dark"]["footer_text"] = "UCE Starter running with the Starter Dark theme.";
- config["theme"]["options"]["dark"]["meta_description"] = "Starter Dark theme for the UCE starter";
- config["theme"]["options"]["dark"]["theme_color"] = "#0f172a";
-
- config["theme"]["options"]["portal-light"]["label"] = "AI Portal Light";
- config["theme"]["options"]["portal-light"]["path"] = "themes/portal-light/";
- config["theme"]["options"]["portal-light"]["mode"] = "light";
- config["theme"]["options"]["portal-light"]["description"] = "Dense, corporate portal layout in a light palette.";
- config["theme"]["options"]["portal-light"]["footer_text"] = "UCE Starter running with the AI Portal Light starter theme.";
- config["theme"]["options"]["portal-light"]["meta_description"] = "AI Portal Light theme for the UCE starter";
- config["theme"]["options"]["portal-light"]["theme_color"] = "#0f68ad";
-
- config["theme"]["options"]["portal-dark"]["label"] = "AI Portal Dark";
- config["theme"]["options"]["portal-dark"]["path"] = "themes/portal-dark/";
- config["theme"]["options"]["portal-dark"]["mode"] = "dark";
- config["theme"]["options"]["portal-dark"]["description"] = "Glassy dark portal shell and the current default starter theme.";
- config["theme"]["options"]["portal-dark"]["footer_text"] = "UCE Starter running with the AI Portal Dark starter theme.";
- config["theme"]["options"]["portal-dark"]["meta_description"] = "AI Portal Dark theme for the UCE starter";
- config["theme"]["options"]["portal-dark"]["theme_color"] = "#0f172a";
-
- config["theme"]["options"]["localfirst"]["label"] = "Local First";
- config["theme"]["options"]["localfirst"]["path"] = "themes/localfirst/";
- config["theme"]["options"]["localfirst"]["mode"] = "dark";
- config["theme"]["options"]["localfirst"]["description"] = "llm2-derived admin shell with sidebar chrome.";
- config["theme"]["options"]["localfirst"]["footer_text"] = "UCE Starter running with the Local First starter theme.";
- config["theme"]["options"]["localfirst"]["meta_description"] = "Local First admin-shell theme for the UCE starter";
- config["theme"]["options"]["localfirst"]["theme_color"] = "#020913";
-
- config["theme"]["options"]["retro-gaming"]["label"] = "Retro Gaming";
- config["theme"]["options"]["retro-gaming"]["path"] = "themes/retro-gaming/";
- config["theme"]["options"]["retro-gaming"]["mode"] = "dark";
- config["theme"]["options"]["retro-gaming"]["description"] = "CRT scanlines, pixel font, neon glow.";
- config["theme"]["options"]["retro-gaming"]["footer_text"] = "INSERT COIN // UCE Starter running the Retro Gaming theme.";
- config["theme"]["options"]["retro-gaming"]["meta_description"] = "Retro Gaming pixel theme for the UCE starter";
- config["theme"]["options"]["retro-gaming"]["theme_color"] = "#0a0a1a";
-
- config["menu"][""]["title"] = "Home";
- config["menu"][""]["hidden"].set_bool(true);
- config["menu"]["page1"]["title"] = "Components";
- config["menu"]["features"]["title"] = "Features";
- config["menu"]["page2"]["title"] = "Ajaxy";
- config["menu"]["gauges"]["title"] = "Gauges";
- config["menu"]["dashboard"]["title"] = "Dashboard";
- config["menu"]["workspace"]["title"] = "Workspace";
- config["menu"]["themes"]["title"] = "Themes";
- config["menu"]["auth/demo"]["title"] = "Auth";
-
- return(config);
-}
\ No newline at end of file
diff --git a/site/info/uce-starter/img/cat01.jpg b/site/info/uce-starter/img/cat01.jpg
deleted file mode 100755
index 39c227a..0000000
Binary files a/site/info/uce-starter/img/cat01.jpg and /dev/null differ
diff --git a/site/info/uce-starter/img/cat02.jpg b/site/info/uce-starter/img/cat02.jpg
deleted file mode 100755
index 39c227a..0000000
Binary files a/site/info/uce-starter/img/cat02.jpg and /dev/null differ
diff --git a/site/info/uce-starter/img/cat03.jpg b/site/info/uce-starter/img/cat03.jpg
deleted file mode 100755
index 39c227a..0000000
Binary files a/site/info/uce-starter/img/cat03.jpg and /dev/null differ
diff --git a/site/info/uce-starter/img/cat04.jpg b/site/info/uce-starter/img/cat04.jpg
deleted file mode 100755
index 39c227a..0000000
Binary files a/site/info/uce-starter/img/cat04.jpg and /dev/null differ
diff --git a/site/info/uce-starter/img/cat05.jpg b/site/info/uce-starter/img/cat05.jpg
deleted file mode 100755
index 39c227a..0000000
Binary files a/site/info/uce-starter/img/cat05.jpg and /dev/null differ
diff --git a/site/info/uce-starter/img/cat06.jpg b/site/info/uce-starter/img/cat06.jpg
deleted file mode 100755
index 39c227a..0000000
Binary files a/site/info/uce-starter/img/cat06.jpg and /dev/null differ
diff --git a/site/info/uce-starter/index.uce b/site/info/uce-starter/index.uce
deleted file mode 100644
index 6c5513f..0000000
--- a/site/info/uce-starter/index.uce
+++ /dev/null
@@ -1,29 +0,0 @@
-#load "lib/app.uce"
-
-RENDER(Request& context)
-{
- app_init(context);
-
- DTree resolved = app_resolve_view(context);
-
- ob_start();
- if(resolved["file"].to_string() != "")
- {
- if(resolved["param"].to_string() != "")
- context.var["app"]["route"]["param"] = resolved["param"];
- unit_render(resolved["file"].to_string(), context);
- }
- else
- {
- app_not_found("The requested page does not exist.", context);
- <>
-
- 404 Not Found
- = context.var["app"]["error"].to_string() ?>
-
- >
- }
- String main_html = ob_get_close();
- context.var["app"]["fragments"]["main"] = main_html;
- app_render_page(context);
-}
diff --git a/site/info/uce-starter/js/ag-grid/ag-grid-community.min.js b/site/info/uce-starter/js/ag-grid/ag-grid-community.min.js
deleted file mode 100755
index 1a78246..0000000
--- a/site/info/uce-starter/js/ag-grid/ag-grid-community.min.js
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * @ag-grid-community/all-modules - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
- * @version v31.1.0
- * @link https://www.ag-grid.com/
- * @license MIT
- */
-// @ag-grid-community/all-modules v31.1.0
-!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.agGrid=t():e.agGrid=t()}(window,(function(){return function(e){var t={};function a(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,a),o.l=!0,o.exports}return a.m=e,a.c=t,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)a.d(r,o,function(t){return e[t]}.bind(null,o));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=6)}([function(e,t,a){"use strict";a.r(t),a.d(t,"ColumnFactory",(function(){return it})),a.d(t,"ColumnModel",(function(){return kt})),a.d(t,"ColumnKeyCreator",(function(){return M})),a.d(t,"ColumnUtils",(function(){return At})),a.d(t,"DisplayedGroupCreator",(function(){return Ot})),a.d(t,"GroupInstanceIdCreator",(function(){return gt})),a.d(t,"GROUP_AUTO_COLUMN_ID",(function(){return ct})),a.d(t,"ComponentUtil",(function(){return Nt})),a.d(t,"AgStackComponentsRegistry",(function(){return Ut})),a.d(t,"UserComponentRegistry",(function(){return un})),a.d(t,"UserComponentFactory",(function(){return Pn})),a.d(t,"ColDefUtil",(function(){return Ln})),a.d(t,"BeanStub",(function(){return at})),a.d(t,"Context",(function(){return ie})),a.d(t,"Autowired",(function(){return de})),a.d(t,"PostConstruct",(function(){return le})),a.d(t,"PreConstruct",(function(){return ne})),a.d(t,"Optional",(function(){return ce})),a.d(t,"Bean",(function(){return ge})),a.d(t,"Qualifier",(function(){return pe})),a.d(t,"PreDestroy",(function(){return se})),a.d(t,"QuerySelector",(function(){return po})),a.d(t,"RefSelector",(function(){return ho})),a.d(t,"ExcelFactoryMode",(function(){return Nn})),a.d(t,"DragAndDropService",(function(){return Ii})),a.d(t,"DragSourceType",(function(){return Ni})),a.d(t,"DragService",(function(){return In})),a.d(t,"VirtualListDragFeature",(function(){return _n})),a.d(t,"Column",(function(){return Ee})),a.d(t,"ColumnGroup",(function(){return lt})),a.d(t,"ProvidedColumnGroup",(function(){return xe})),a.d(t,"RowNode",(function(){return Ai})),a.d(t,"RowHighlightPosition",(function(){return Bn})),a.d(t,"FilterManager",(function(){return Jn})),a.d(t,"ProvidedFilter",(function(){return ko})),a.d(t,"SimpleFilter",(function(){return Ho})),a.d(t,"ScalarFilter",(function(){return _o})),a.d(t,"NumberFilter",(function(){return ei})),a.d(t,"TextFilter",(function(){return ai})),a.d(t,"DateFilter",(function(){return Wo})),a.d(t,"TextFloatingFilter",(function(){return si})),a.d(t,"HeaderFilterCellComp",(function(){return $n})),a.d(t,"FloatingFilterMapper",(function(){return On})),a.d(t,"GridBodyComp",(function(){return $l})),a.d(t,"GridBodyCtrl",(function(){return cl})),a.d(t,"RowAnimationCssClasses",(function(){return gl})),a.d(t,"ScrollVisibleService",(function(){return ts})),a.d(t,"MouseEventService",(function(){return os})),a.d(t,"NavigationService",(function(){return ns})),a.d(t,"RowContainerComp",(function(){return us})),a.d(t,"RowContainerName",(function(){return Wl})),a.d(t,"RowContainerCtrl",(function(){return Jl})),a.d(t,"RowContainerType",(function(){return Ul})),a.d(t,"getRowContainerTypeForName",(function(){return Kl})),a.d(t,"BodyDropPivotTarget",(function(){return hs})),a.d(t,"BodyDropTarget",(function(){return bs})),a.d(t,"CssClassApplier",(function(){return Rl})),a.d(t,"HeaderRowContainerComp",(function(){return Xs})),a.d(t,"GridHeaderComp",(function(){return og})),a.d(t,"GridHeaderCtrl",(function(){return ag})),a.d(t,"HeaderRowComp",(function(){return ks})),a.d(t,"HeaderRowType",(function(){return Rs})),a.d(t,"HeaderRowCtrl",(function(){return Ks})),a.d(t,"HeaderCellCtrl",(function(){return Vs})),a.d(t,"SortIndicatorComp",(function(){return ci})),a.d(t,"HeaderFilterCellCtrl",(function(){return Ls})),a.d(t,"HeaderGroupCellCtrl",(function(){return Ws})),a.d(t,"AbstractHeaderCellCtrl",(function(){return As})),a.d(t,"HeaderRowContainerCtrl",(function(){return Qs})),a.d(t,"HorizontalResizeService",(function(){return ng})),a.d(t,"MoveColumnFeature",(function(){return fs})),a.d(t,"StandardMenuFactory",(function(){return sg})),a.d(t,"TabbedLayout",(function(){return hg})),a.d(t,"ResizeObserverService",(function(){return vg})),a.d(t,"AnimationFrameService",(function(){return wg})),a.d(t,"ExpansionService",(function(){return yg})),a.d(t,"MenuService",(function(){return Eg})),a.d(t,"LargeTextCellEditor",(function(){return wi})),a.d(t,"PopupEditorWrapper",(function(){return ss})),a.d(t,"SelectCellEditor",(function(){return Ci})),a.d(t,"TextCellEditor",(function(){return Ri})),a.d(t,"NumberCellEditor",(function(){return $i})),a.d(t,"DateCellEditor",(function(){return tn})),a.d(t,"DateStringCellEditor",(function(){return on})),a.d(t,"CheckboxCellEditor",(function(){return gn})),a.d(t,"Beans",(function(){return bl})),a.d(t,"AnimateShowChangeCellRenderer",(function(){return ki})),a.d(t,"AnimateSlideCellRenderer",(function(){return Ti})),a.d(t,"GroupCellRenderer",(function(){return ji})),a.d(t,"GroupCellRendererCtrl",(function(){return Wi})),a.d(t,"SetLeftFeature",(function(){return Os})),a.d(t,"PositionableFeature",(function(){return Ro})),a.d(t,"AutoWidthCalculator",(function(){return xg})),a.d(t,"CheckboxSelectionComponent",(function(){return Pi})),a.d(t,"CellComp",(function(){return gs})),a.d(t,"CellCtrl",(function(){return kl})),a.d(t,"RowCtrl",(function(){return Al})),a.d(t,"RowRenderer",(function(){return Ag})),a.d(t,"ValueFormatterService",(function(){return Mg})),a.d(t,"CssClassManager",(function(){return so})),a.d(t,"CheckboxCellRenderer",(function(){return ln})),a.d(t,"PinnedRowModel",(function(){return Lg})),a.d(t,"ServerSideTransactionResultStatus",(function(){return Ng})),a.d(t,"ChangedPath",(function(){return Fg})),a.d(t,"RowNodeBlock",(function(){return Ig})),a.d(t,"RowNodeBlockLoader",(function(){return _g})),a.d(t,"PaginationProxy",(function(){return qg})),a.d(t,"ClientSideRowModelSteps",(function(){return bg})),a.d(t,"StylingService",(function(){return Ug})),a.d(t,"LayoutCssClasses",(function(){return el})),a.d(t,"AgAbstractField",(function(){return Ao})),a.d(t,"AgCheckbox",(function(){return Io})),a.d(t,"AgRadioButton",(function(){return Go})),a.d(t,"AgToggleButton",(function(){return jg})),a.d(t,"AgInputTextField",(function(){return Jo})),a.d(t,"AgInputTextArea",(function(){return Kg})),a.d(t,"AgInputNumberField",(function(){return Xo})),a.d(t,"AgInputDateField",(function(){return Yg})),a.d(t,"AgInputRange",(function(){return Qg})),a.d(t,"AgRichSelect",(function(){return td})),a.d(t,"AgSelect",(function(){return Lo})),a.d(t,"AgSlider",(function(){return rd})),a.d(t,"AgGroupComponent",(function(){return id})),a.d(t,"AgMenuItemRenderer",(function(){return dn})),a.d(t,"AgMenuItemComponent",(function(){return cd})),a.d(t,"AgMenuList",(function(){return ld})),a.d(t,"AgMenuPanel",(function(){return gd})),a.d(t,"AgDialog",(function(){return md})),a.d(t,"AgPanel",(function(){return pd})),a.d(t,"Component",(function(){return uo})),a.d(t,"ManagedFocusFeature",(function(){return So})),a.d(t,"TabGuardComp",(function(){return ug})),a.d(t,"TabGuardCtrl",(function(){return cg})),a.d(t,"TabGuardClassNames",(function(){return gg})),a.d(t,"PopupComponent",(function(){return vi})),a.d(t,"PopupService",(function(){return Cd})),a.d(t,"TouchListener",(function(){return gi})),a.d(t,"VirtualList",(function(){return $g})),a.d(t,"AgAbstractLabel",(function(){return To})),a.d(t,"AgPickerField",(function(){return Oo})),a.d(t,"AgAutocomplete",(function(){return xd})),a.d(t,"CellRangeType",(function(){return pl})),a.d(t,"SelectionHandleType",(function(){return ul})),a.d(t,"AutoScrollService",(function(){return Gn})),a.d(t,"VanillaFrameworkOverrides",(function(){return zd})),a.d(t,"CellNavigationService",(function(){return Ad})),a.d(t,"AlignedGridsService",(function(){return Md})),a.d(t,"KeyCode",(function(){return Wr})),a.d(t,"VerticalDirection",(function(){return Di})),a.d(t,"HorizontalDirection",(function(){return Oi})),a.d(t,"Grid",(function(){return _u})),a.d(t,"GridCoreCreator",(function(){return qu})),a.d(t,"createGrid",(function(){return Hu})),a.d(t,"GridApi",(function(){return Un})),a.d(t,"Events",(function(){return st})),a.d(t,"FocusService",(function(){return rc})),a.d(t,"GridOptionsService",(function(){return mu})),a.d(t,"EventService",(function(){return fe})),a.d(t,"SelectableService",(function(){return kc})),a.d(t,"RowNodeSorter",(function(){return Kc})),a.d(t,"CtrlsService",(function(){return Jc})),a.d(t,"GridComp",(function(){return Xd})),a.d(t,"GridCtrl",(function(){return Qd})),a.d(t,"Logger",(function(){return Kd})),a.d(t,"LoggerFactory",(function(){return jd})),a.d(t,"SortController",(function(){return ec})),a.d(t,"TemplateService",(function(){return qd})),a.d(t,"LocaleService",(function(){return fu})),a.d(t,"_",(function(){return $r})),a.d(t,"NumberSequence",(function(){return eo})),a.d(t,"AgPromiseStatus",(function(){return to})),a.d(t,"AgPromise",(function(){return ao})),a.d(t,"Timer",(function(){return ro})),a.d(t,"ValueService",(function(){return Gd})),a.d(t,"ValueCache",(function(){return cc})),a.d(t,"ExpressionService",(function(){return _d})),a.d(t,"ValueParserService",(function(){return xu})),a.d(t,"CellPositionUtils",(function(){return Lc})),a.d(t,"RowPositionUtils",(function(){return Mc})),a.d(t,"HeaderPositionUtils",(function(){return _c})),a.d(t,"HeaderNavigationService",(function(){return eg})),a.d(t,"HeaderNavigationDirection",(function(){return Zs})),a.d(t,"DataTypeService",(function(){return Eu})),a.d(t,"PropertyKeys",(function(){return Pt})),a.d(t,"ColumnApi",(function(){return Fd})),a.d(t,"BaseComponentWrapper",(function(){return Wu})),a.d(t,"Environment",(function(){return yc})),a.d(t,"TooltipFeature",(function(){return fl})),a.d(t,"CustomTooltipFeature",(function(){return lo})),a.d(t,"DEFAULT_CHART_GROUPS",(function(){return Uu})),a.d(t,"CHART_TOOL_PANEL_ALLOW_LIST",(function(){return ju})),a.d(t,"CHART_TOOLBAR_ALLOW_LIST",(function(){return Ku})),a.d(t,"CHART_TOOL_PANEL_MENU_OPTIONS",(function(){return Yu})),a.d(t,"__FORCE_MODULE_DETECTION",(function(){return Qu})),a.d(t,"BarColumnLabelPlacement",(function(){return Ju})),a.d(t,"ModuleNames",(function(){return re})),a.d(t,"ModuleRegistry",(function(){return oe}));var r={};a.r(r),a.d(r,"makeNull",(function(){return y})),a.d(r,"exists",(function(){return S})),a.d(r,"missing",(function(){return E})),a.d(r,"missingOrEmpty",(function(){return R})),a.d(r,"toStringOrNull",(function(){return x})),a.d(r,"attrToNumber",(function(){return k})),a.d(r,"attrToBoolean",(function(){return z})),a.d(r,"attrToString",(function(){return T})),a.d(r,"jsonEquals",(function(){return A})),a.d(r,"defaultComparator",(function(){return D})),a.d(r,"values",(function(){return O}));var o={};a.r(o),a.d(o,"iterateObject",(function(){return P})),a.d(o,"cloneObject",(function(){return L})),a.d(o,"deepCloneDefinition",(function(){return N})),a.d(o,"getAllValuesInObject",(function(){return F})),a.d(o,"mergeDeep",(function(){return I})),a.d(o,"getValueUsingField",(function(){return G})),a.d(o,"removeAllReferences",(function(){return V})),a.d(o,"isNonNullObject",(function(){return H}));var i={};a.r(i),a.d(i,"doOnce",(function(){return B})),a.d(i,"warnOnce",(function(){return q})),a.d(i,"errorOnce",(function(){return W})),a.d(i,"getFunctionName",(function(){return U})),a.d(i,"isFunction",(function(){return j})),a.d(i,"executeInAWhile",(function(){return K})),a.d(i,"executeNextVMTurn",(function(){return J})),a.d(i,"executeAfter",(function(){return X})),a.d(i,"debounce",(function(){return Z})),a.d(i,"throttle",(function(){return $})),a.d(i,"waitUntil",(function(){return ee})),a.d(i,"compose",(function(){return te})),a.d(i,"noop",(function(){return ae}));var n={};a.r(n),a.d(n,"existsAndNotEmpty",(function(){return ze})),a.d(n,"last",(function(){return Te})),a.d(n,"areEqual",(function(){return Ae})),a.d(n,"shallowCompare",(function(){return De})),a.d(n,"sortNumerically",(function(){return Oe})),a.d(n,"removeRepeatsFromArray",(function(){return Me})),a.d(n,"removeFromUnorderedArray",(function(){return Pe})),a.d(n,"removeFromArray",(function(){return Le})),a.d(n,"removeAllFromUnorderedArray",(function(){return Ne})),a.d(n,"removeAllFromArray",(function(){return Fe})),a.d(n,"insertIntoArray",(function(){return Ie})),a.d(n,"insertArrayIntoArray",(function(){return Ge})),a.d(n,"moveInArray",(function(){return Ve})),a.d(n,"includes",(function(){return He})),a.d(n,"flatten",(function(){return _e})),a.d(n,"pushAll",(function(){return Be})),a.d(n,"toStrings",(function(){return qe})),a.d(n,"forEachReverse",(function(){return We}));var l={};a.r(l),a.d(l,"stopPropagationForAgGrid",(function(){return Ke})),a.d(l,"isStopPropagationForAgGrid",(function(){return Ye})),a.d(l,"isEventSupported",(function(){return Qe})),a.d(l,"getCtrlForEventTarget",(function(){return Je})),a.d(l,"isElementInEventPath",(function(){return Xe})),a.d(l,"createEventPath",(function(){return Ze})),a.d(l,"getEventPath",(function(){return $e})),a.d(l,"addSafePassiveEventListener",(function(){return et}));var s={};a.r(s),a.d(s,"utf8_encode",(function(){return mt})),a.d(s,"capitalise",(function(){return vt})),a.d(s,"escapeString",(function(){return ft})),a.d(s,"camelCaseToHumanText",(function(){return wt})),a.d(s,"camelCaseToHyphenated",(function(){return bt}));var g={};a.r(g),a.d(g,"convertToMap",(function(){return Ct})),a.d(g,"mapById",(function(){return yt})),a.d(g,"keys",(function(){return St}));var d={};a.r(d),a.d(d,"setAriaRole",(function(){return Jt})),a.d(d,"getAriaSortState",(function(){return Xt})),a.d(d,"getAriaLevel",(function(){return Zt})),a.d(d,"getAriaPosInSet",(function(){return $t})),a.d(d,"getAriaLabel",(function(){return ea})),a.d(d,"setAriaLabel",(function(){return ta})),a.d(d,"setAriaLabelledBy",(function(){return aa})),a.d(d,"setAriaDescribedBy",(function(){return ra})),a.d(d,"setAriaLive",(function(){return oa})),a.d(d,"setAriaAtomic",(function(){return ia})),a.d(d,"setAriaRelevant",(function(){return na})),a.d(d,"setAriaLevel",(function(){return la})),a.d(d,"setAriaDisabled",(function(){return sa})),a.d(d,"setAriaHidden",(function(){return ga})),a.d(d,"setAriaActiveDescendant",(function(){return da})),a.d(d,"setAriaExpanded",(function(){return ca})),a.d(d,"removeAriaExpanded",(function(){return ua})),a.d(d,"setAriaSetSize",(function(){return pa})),a.d(d,"setAriaPosInSet",(function(){return ha})),a.d(d,"setAriaMultiSelectable",(function(){return ma})),a.d(d,"setAriaRowCount",(function(){return va})),a.d(d,"setAriaRowIndex",(function(){return fa})),a.d(d,"setAriaColCount",(function(){return wa})),a.d(d,"setAriaColIndex",(function(){return ba})),a.d(d,"setAriaColSpan",(function(){return Ca})),a.d(d,"setAriaSort",(function(){return ya})),a.d(d,"removeAriaSort",(function(){return Sa})),a.d(d,"setAriaSelected",(function(){return Ea})),a.d(d,"setAriaChecked",(function(){return Ra})),a.d(d,"setAriaControls",(function(){return xa})),a.d(d,"getAriaCheckboxStateName",(function(){return ka}));var c={};a.r(c),a.d(c,"isBrowserSafari",(function(){return za})),a.d(c,"getSafariVersion",(function(){return Ta})),a.d(c,"isBrowserChrome",(function(){return Aa})),a.d(c,"isBrowserFirefox",(function(){return Da})),a.d(c,"isMacOsUserAgent",(function(){return Oa})),a.d(c,"isIOSUserAgent",(function(){return Ma})),a.d(c,"browserSupportsPreventScroll",(function(){return Pa})),a.d(c,"getTabIndex",(function(){return La})),a.d(c,"getMaxDivHeight",(function(){return Na})),a.d(c,"getBodyWidth",(function(){return Fa})),a.d(c,"getBodyHeight",(function(){return Ia})),a.d(c,"getScrollbarWidth",(function(){return Ga})),a.d(c,"isInvisibleScrollbar",(function(){return Ha}));var u={};a.r(u),a.d(u,"padStartWidthZeros",(function(){return _a})),a.d(u,"createArrayOfNumbers",(function(){return Ba})),a.d(u,"cleanNumber",(function(){return qa})),a.d(u,"decToHex",(function(){return Wa})),a.d(u,"formatNumberTwoDecimalPlacesAndCommas",(function(){return Ua})),a.d(u,"formatNumberCommas",(function(){return ja})),a.d(u,"sum",(function(){return Ka}));var p={};a.r(p),a.d(p,"serialiseDate",(function(){return Ya})),a.d(p,"dateToFormattedString",(function(){return Ja})),a.d(p,"parseDateTimeFromString",(function(){return Xa}));var h={};a.r(h),a.d(h,"radioCssClass",(function(){return $a})),a.d(h,"FOCUSABLE_SELECTOR",(function(){return er})),a.d(h,"FOCUSABLE_EXCLUDE",(function(){return tr})),a.d(h,"isFocusableFormField",(function(){return ar})),a.d(h,"setDisplayed",(function(){return rr})),a.d(h,"setVisible",(function(){return or})),a.d(h,"setDisabled",(function(){return ir})),a.d(h,"isElementChildOfClass",(function(){return nr})),a.d(h,"getElementSize",(function(){return lr})),a.d(h,"getInnerHeight",(function(){return sr})),a.d(h,"getInnerWidth",(function(){return gr})),a.d(h,"getAbsoluteHeight",(function(){return dr})),a.d(h,"getAbsoluteWidth",(function(){return cr})),a.d(h,"getElementRectWithOffset",(function(){return ur})),a.d(h,"isRtlNegativeScroll",(function(){return pr})),a.d(h,"getScrollLeft",(function(){return hr})),a.d(h,"setScrollLeft",(function(){return mr})),a.d(h,"clearElement",(function(){return vr})),a.d(h,"removeFromParent",(function(){return fr})),a.d(h,"isInDOM",(function(){return wr})),a.d(h,"isVisible",(function(){return br})),a.d(h,"loadTemplate",(function(){return Cr})),a.d(h,"ensureDomOrder",(function(){return yr})),a.d(h,"setDomChildOrder",(function(){return Sr})),a.d(h,"insertWithDomOrder",(function(){return Er})),a.d(h,"addStylesToElement",(function(){return Rr})),a.d(h,"isHorizontalScrollShowing",(function(){return xr})),a.d(h,"isVerticalScrollShowing",(function(){return kr})),a.d(h,"setElementWidth",(function(){return zr})),a.d(h,"setFixedWidth",(function(){return Tr})),a.d(h,"setElementHeight",(function(){return Ar})),a.d(h,"setFixedHeight",(function(){return Dr})),a.d(h,"formatSize",(function(){return Or})),a.d(h,"isNodeOrElement",(function(){return Mr})),a.d(h,"copyNodeList",(function(){return Pr})),a.d(h,"iterateNamedNodeMap",(function(){return Lr})),a.d(h,"addOrRemoveAttribute",(function(){return Nr})),a.d(h,"nodeListForEach",(function(){return Fr})),a.d(h,"bindCellRendererToHtmlElement",(function(){return Ir}));var m={};a.r(m),a.d(m,"fuzzyCheckStrings",(function(){return Gr})),a.d(m,"fuzzySuggestions",(function(){return Vr}));var v={};a.r(v),a.d(v,"iconNameClassMap",(function(){return _r})),a.d(v,"createIcon",(function(){return Br})),a.d(v,"createIconNoSpan",(function(){return qr}));var f={};a.r(f),a.d(f,"isEventFromPrintableCharacter",(function(){return Ur})),a.d(f,"isUserSuppressingKeyboardEvent",(function(){return jr})),a.d(f,"isUserSuppressingHeaderKeyboardEvent",(function(){return Kr})),a.d(f,"normaliseQwertyAzerty",(function(){return Yr})),a.d(f,"isDeleteKey",(function(){return Qr}));var w={};a.r(w),a.d(w,"areEventsNear",(function(){return Jr}));var b={};a.r(b),a.d(b,"sortRowNodesByOrder",(function(){return Xr}));var C={};function y(e){return null==e||""===e?null:e}function S(e,t=!1){return null!=e&&(""!==e||t)}function E(e){return!S(e)}function R(e){return null==e||0===e.length}function x(e){return null!=e&&"function"==typeof e.toString?e.toString():null}function k(e){if(void 0===e)return;if(null===e||""===e)return null;if("number"==typeof e)return isNaN(e)?void 0:e;const t=parseInt(e,10);return isNaN(t)?void 0:t}function z(e){if(void 0!==e)return null!==e&&""!==e&&("boolean"==typeof e?e:/true/i.test(e))}function T(e){if(null!=e&&""!==e)return e}function A(e,t){return(e?JSON.stringify(e):null)===(t?JSON.stringify(t):null)}function D(e,t,a=!1){const r=null==e,o=null==t;if(e&&e.toNumber&&(e=e.toNumber()),t&&t.toNumber&&(t=t.toNumber()),r&&o)return 0;if(r)return-1;if(o)return 1;function i(e,t){return e>t?1:et.push(e)),t}return Object.values(e)}a.r(C),a.d(C,"convertToSet",(function(){return Zr}));class M{constructor(){this.existingKeys={}}addExistingKeys(e){for(let t=0;t{if(t&&t.indexOf(e)>=0)return;const o=a[e],i=H(o)&&o.constructor===Object;r[e]=i?N(o):o}),r}function F(e){if(!e)return[];const t=Object;if("function"==typeof t.values)return t.values(e);const a=[];for(const t in e)e.hasOwnProperty(t)&&e.propertyIsEnumerable(t)&&a.push(e[t]);return a}function I(e,t,a=!0,r=!1){S(t)&&P(t,(t,o)=>{let i=e[t];if(i!==o){if(r){if(null==i&&null!=o){"object"==typeof o&&o.constructor===Object&&(i={},e[t]=i)}}H(o)&&H(i)&&!Array.isArray(i)?I(i,o,a,r):(a||void 0!==o)&&(e[t]=o)}})}function G(e,t,a){if(!t||!e)return;if(!a)return e[t];const r=t.split(".");let o=e;for(let e=0;e{"object"!=typeof e[a]||t.includes(a)||(e[a]=void 0)});const r=Object.getPrototypeOf(e),o={};Object.getOwnPropertyNames(r).forEach(e=>{if("function"==typeof r[e]&&!t.includes(e)){const t=()=>{console.warn((e=>`AG Grid: Grid API function ${e}() cannot be called as the grid has been destroyed.\n It is recommended to remove local references to the grid api. Alternatively, check gridApi.isDestroyed() to avoid calling methods against a destroyed grid.\n To run logic when the grid is about to be destroyed use the gridPreDestroy event. See: ${a}`)(e))};o[e]={value:t,writable:!0}}}),Object.defineProperties(e,o)}function H(e){return"object"==typeof e&&null!==e}const _={};function B(e,t){_[t]||(e(),_[t]=!0)}function q(e){B(()=>console.warn("AG Grid: "+e),e)}function W(e){B(()=>console.error("AG Grid: "+e),e)}function U(e){if(e.name)return e.name;const t=/function\s+([^\(]+)/.exec(e.toString());return t&&2===t.length?t[1].trim():null}function j(e){return!!(e&&e.constructor&&e.call&&e.apply)}function K(e){X(e,400)}const Y=[];let Q=!1;function J(e){Y.push(e),Q||(Q=!0,window.setTimeout(()=>{const e=Y.slice();Y.length=0,Q=!1,e.forEach(e=>e())},0))}function X(e,t=0){e.length>0&&window.setTimeout(()=>e.forEach(e=>e()),t)}function Z(e,t){let a;return function(...r){const o=this;window.clearTimeout(a),a=window.setTimeout((function(){e.apply(o,r)}),t)}}function $(e,t){let a=0;return function(...r){const o=(new Date).getTime();o-a{const l=(new Date).getTime()-o>a;(e()||l)&&(t(),n=!0,null!=i&&(window.clearInterval(i),i=null),l&&r&&console.warn(r))};l(),n||(i=window.setInterval(l,10))}function te(...e){return t=>e.reduce((e,t)=>t(e),t)}const ae=()=>{};var re;!function(e){e.CommunityCoreModule="@ag-grid-community/core",e.InfiniteRowModelModule="@ag-grid-community/infinite-row-model",e.ClientSideRowModelModule="@ag-grid-community/client-side-row-model",e.CsvExportModule="@ag-grid-community/csv-export",e.EnterpriseCoreModule="@ag-grid-enterprise/core",e.RowGroupingModule="@ag-grid-enterprise/row-grouping",e.ColumnsToolPanelModule="@ag-grid-enterprise/column-tool-panel",e.FiltersToolPanelModule="@ag-grid-enterprise/filter-tool-panel",e.MenuModule="@ag-grid-enterprise/menu",e.SetFilterModule="@ag-grid-enterprise/set-filter",e.MultiFilterModule="@ag-grid-enterprise/multi-filter",e.StatusBarModule="@ag-grid-enterprise/status-bar",e.SideBarModule="@ag-grid-enterprise/side-bar",e.RangeSelectionModule="@ag-grid-enterprise/range-selection",e.MasterDetailModule="@ag-grid-enterprise/master-detail",e.RichSelectModule="@ag-grid-enterprise/rich-select",e.GridChartsModule="@ag-grid-enterprise/charts",e.ViewportRowModelModule="@ag-grid-enterprise/viewport-row-model",e.ServerSideRowModelModule="@ag-grid-enterprise/server-side-row-model",e.ExcelExportModule="@ag-grid-enterprise/excel-export",e.ClipboardModule="@ag-grid-enterprise/clipboard",e.SparklinesModule="@ag-grid-enterprise/sparklines",e.AdvancedFilterModule="@ag-grid-enterprise/advanced-filter",e.AngularModule="@ag-grid-community/angular",e.ReactModule="@ag-grid-community/react",e.VueModule="@ag-grid-community/vue"}(re||(re={}));class oe{static register(e){oe.__register(e,!0,void 0)}static registerModules(e){oe.__registerModules(e,!0,void 0)}static __register(e,t,a){oe.runVersionChecks(e),void 0!==a?(oe.areGridScopedModules=!0,void 0===oe.gridModulesMap[a]&&(oe.gridModulesMap[a]={}),oe.gridModulesMap[a][e.moduleName]=e):oe.globalModulesMap[e.moduleName]=e,oe.setModuleBased(t)}static __unRegisterGridModules(e){delete oe.gridModulesMap[e]}static __registerModules(e,t,a){oe.setModuleBased(t),e&&e.forEach(e=>oe.__register(e,t,a))}static isValidModuleVersion(e){const[t,a]=e.version.split(".")||[],[r,o]=oe.currentModuleVersion.split(".")||[];return t===r&&a===o}static runVersionChecks(e){if(oe.currentModuleVersion||(oe.currentModuleVersion=e.version),e.version?oe.isValidModuleVersion(e)||console.error(`AG Grid: You are using incompatible versions of AG Grid modules. Major and minor versions should always match across modules. '${e.moduleName}' is version ${e.version} but the other modules are version ${this.currentModuleVersion}. Please update all modules to the same version.`):console.error(`AG Grid: You are using incompatible versions of AG Grid modules. Major and minor versions should always match across modules. '${e.moduleName}' is incompatible. Please update all modules to the same version.`),e.validate){const t=e.validate();if(!t.isValid){const e=t;console.error("AG Grid: "+e.message)}}}static setModuleBased(e){void 0===oe.moduleBased?oe.moduleBased=e:oe.moduleBased!==e&&B(()=>{console.warn("AG Grid: You are mixing modules (i.e. @ag-grid-community/core) and packages (ag-grid-community) - you can only use one or the other of these mechanisms."),console.warn("Please see https://www.ag-grid.com/javascript-grid/packages-modules/ for more information.")},"ModulePackageCheck")}static __setIsBundled(){oe.isBundled=!0}static __assertRegistered(e,t,a){var r;if(this.__isRegistered(e,a))return!0;const o=t+e;let i;if(oe.isBundled)i=`AG Grid: unable to use ${t} as 'ag-grid-enterprise' has not been loaded. Check you are using the Enterprise bundle:\n \n
-
-