@louvain/ui 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/css/site-chrome/header.css +4 -0
- package/css/site-chrome/sheet.css +8 -0
- package/css/tokens.css +42 -0
- package/dist/site-chrome/footer.js +2 -1
- package/dist/site-chrome/index.d.ts +1 -1
- package/dist/site-chrome/index.js +1 -1
- package/dist/site-chrome/lines.d.ts +4 -0
- package/dist/site-chrome/lines.js +4 -0
- package/dist/site-chrome/site-map.js +22 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @louvain/ui
|
|
2
2
|
|
|
3
|
+
## 1.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- abce312: louvain.ai's map lists the new Download page (`/download`) under Resources, so the header's Resources menu, the phone sheet and the footer link to it.
|
|
8
|
+
- 2c791f8: Add the `--shell-page-fill-end` token: the gap under a page whose panes scroll inside themselves.
|
|
9
|
+
- cd38e31: Site footer: an open-source links line. Under the tagline, "Open source: pg_rebac · Louvain Engine", plain links to pgrebac.com and the engine's repository; `PG_REBAC` joins `ENGINE` in `lines.ts`.
|
|
10
|
+
- ab5fa7b: Add the sky-after-dark tokens: `--on-sky`, `--sky-dusk-*` (top, bottom, sun, glow, far and near hill) and `--sky-night-*` (top, bottom, moon, glow, hill), in every theme block, with `--color-on-sky` for Tailwind.
|
|
11
|
+
- b009e3b: Site menus: a Guides group in the header's Resources menu ("What is a company brain?", "Glean pricing", "Microsoft Copilot pricing"), and the same three under Resources in the footer. A menu of four groups lays them out two by two (`.mega-cols[data-cols="4"]`), where it fell back to one column.
|
|
12
|
+
|
|
3
13
|
## 1.0.0
|
|
4
14
|
|
|
5
15
|
### Major Changes
|
|
@@ -885,6 +885,14 @@ h2 span {
|
|
|
885
885
|
color: var(--faint);
|
|
886
886
|
max-width: 34ch;
|
|
887
887
|
}
|
|
888
|
+
.foot .oss a {
|
|
889
|
+
color: var(--body);
|
|
890
|
+
text-decoration: underline;
|
|
891
|
+
text-underline-offset: 3px;
|
|
892
|
+
}
|
|
893
|
+
.foot .oss a:hover {
|
|
894
|
+
color: var(--ink);
|
|
895
|
+
}
|
|
888
896
|
.legal ul {
|
|
889
897
|
display: flex;
|
|
890
898
|
flex-wrap: wrap;
|
package/css/tokens.css
CHANGED
|
@@ -148,6 +148,19 @@
|
|
|
148
148
|
|
|
149
149
|
--file-cutout: var(--surface);
|
|
150
150
|
|
|
151
|
+
--on-sky: oklch(1 0 none);
|
|
152
|
+
--sky-dusk-top: oklch(0.3398 0.1244 290.31);
|
|
153
|
+
--sky-dusk-bottom: oklch(0.3057 0.0902 270.86);
|
|
154
|
+
--sky-dusk-sun: oklch(0.7327 0.1495 49.61);
|
|
155
|
+
--sky-dusk-glow: oklch(0.7327 0.1495 49.61 / 0.451);
|
|
156
|
+
--sky-dusk-hill-far: oklch(0.2992 0.1072 284.37);
|
|
157
|
+
--sky-dusk-hill: oklch(0.221 0.0776 282.3);
|
|
158
|
+
--sky-night-top: oklch(0.1742 0.0457 273.03);
|
|
159
|
+
--sky-night-bottom: oklch(0.2374 0.0738 281.44);
|
|
160
|
+
--sky-night-moon: oklch(0.9427 0.0219 92.51);
|
|
161
|
+
--sky-night-glow: oklch(0.9427 0.0219 92.51 / 0.2);
|
|
162
|
+
--sky-night-hill: oklch(0.1505 0.0405 275.27);
|
|
163
|
+
|
|
151
164
|
--shadow-xs: 0 1px 2px #15204406;
|
|
152
165
|
--btn-calm-contact: oklch(0.2556 0.0693 268.4 / 0.0235);
|
|
153
166
|
--shadow-card: 0 1px 2px #15204406, 0 4px 12px #15204404;
|
|
@@ -190,6 +203,8 @@
|
|
|
190
203
|
--shell-page-top: var(--space-6);
|
|
191
204
|
--shell-page-side: var(--space-8);
|
|
192
205
|
--shell-page-end: calc(var(--space-12) + var(--space-6));
|
|
206
|
+
|
|
207
|
+
--shell-page-fill-end: var(--space-5);
|
|
193
208
|
--shell-page-max: 1224px;
|
|
194
209
|
|
|
195
210
|
--shell-page-stack: var(--space-5);
|
|
@@ -362,6 +377,19 @@
|
|
|
362
377
|
--file-canvas: oklch(0.6209 0.0721 257.58);
|
|
363
378
|
--file-glyph: oklch(1 0 none);
|
|
364
379
|
--file-cutout: var(--surface);
|
|
380
|
+
|
|
381
|
+
--on-sky: oklch(1 0 none);
|
|
382
|
+
--sky-night-top: oklch(0.1742 0.0457 273.03);
|
|
383
|
+
--sky-night-bottom: oklch(0.2374 0.0738 281.44);
|
|
384
|
+
--sky-night-moon: oklch(0.9427 0.0219 92.51);
|
|
385
|
+
--sky-night-glow: oklch(0.9427 0.0219 92.51 / 0.2);
|
|
386
|
+
--sky-night-hill: oklch(0.1505 0.0405 275.27);
|
|
387
|
+
--sky-dusk-top: oklch(0.2784 0.1001 290.28);
|
|
388
|
+
--sky-dusk-bottom: oklch(0.2425 0.0687 272.06);
|
|
389
|
+
--sky-dusk-sun: oklch(0.6851 0.1453 49.06);
|
|
390
|
+
--sky-dusk-glow: oklch(0.6851 0.1453 49.06 / 0.349);
|
|
391
|
+
--sky-dusk-hill-far: oklch(0.2485 0.086 283.88);
|
|
392
|
+
--sky-dusk-hill: oklch(0.1795 0.0588 283.26);
|
|
365
393
|
--shadow-xs: 0 1px 2px #00000016;
|
|
366
394
|
--btn-calm-contact: oklch(0 0 none / 0.0863);
|
|
367
395
|
--shadow-card: 0 1px 2px #00000012, 0 4px 12px #0000000a;
|
|
@@ -500,6 +528,19 @@
|
|
|
500
528
|
--file-canvas: oklch(0.6209 0.0721 257.58);
|
|
501
529
|
--file-glyph: oklch(1 0 none);
|
|
502
530
|
--file-cutout: var(--surface);
|
|
531
|
+
|
|
532
|
+
--on-sky: oklch(1 0 none);
|
|
533
|
+
--sky-night-top: oklch(0.1742 0.0457 273.03);
|
|
534
|
+
--sky-night-bottom: oklch(0.2374 0.0738 281.44);
|
|
535
|
+
--sky-night-moon: oklch(0.9427 0.0219 92.51);
|
|
536
|
+
--sky-night-glow: oklch(0.9427 0.0219 92.51 / 0.2);
|
|
537
|
+
--sky-night-hill: oklch(0.1505 0.0405 275.27);
|
|
538
|
+
--sky-dusk-top: oklch(0.2784 0.1001 290.28);
|
|
539
|
+
--sky-dusk-bottom: oklch(0.2425 0.0687 272.06);
|
|
540
|
+
--sky-dusk-sun: oklch(0.6851 0.1453 49.06);
|
|
541
|
+
--sky-dusk-glow: oklch(0.6851 0.1453 49.06 / 0.349);
|
|
542
|
+
--sky-dusk-hill-far: oklch(0.2485 0.086 283.88);
|
|
543
|
+
--sky-dusk-hill: oklch(0.1795 0.0588 283.26);
|
|
503
544
|
--shadow-xs: 0 1px 2px #00000016;
|
|
504
545
|
--btn-calm-contact: oklch(0 0 none / 0.0863);
|
|
505
546
|
--shadow-card: 0 1px 2px #00000012, 0 4px 12px #0000000a;
|
|
@@ -535,6 +576,7 @@
|
|
|
535
576
|
--color-rail: var(--rail);
|
|
536
577
|
--color-on-rail: var(--on-rail);
|
|
537
578
|
--color-on-rail-muted: var(--on-rail-muted);
|
|
579
|
+
--color-on-sky: var(--on-sky);
|
|
538
580
|
--color-accent: var(--accent);
|
|
539
581
|
--color-accent-deep: var(--accent-deep);
|
|
540
582
|
--color-on-accent: var(--on-accent);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Lockup } from "../logo.js";
|
|
3
|
+
import { ENGINE, PG_REBAC } from "./lines.js";
|
|
3
4
|
import { PageLink } from "./page-link.js";
|
|
4
5
|
import { LEGAL, LINKS, MENUS, TRUST } from "./site-map.js";
|
|
5
6
|
import { ThemeToggle } from "./theme-toggle.js";
|
|
@@ -13,7 +14,7 @@ export function Footer({ origin, link, themeStorage } = {}) {
|
|
|
13
14
|
menu("product")[3],
|
|
14
15
|
...menu("product").filter((i) => i.tag),
|
|
15
16
|
].filter((i) => Boolean(i));
|
|
16
|
-
return (_jsxs("footer", { className: "row", children: [_jsxs("div", { className: "foot", children: [_jsxs("div", { className: "about", children: [_jsx(PageLink, { ...nav, className: "logo", href: "/", children: _jsx(Lockup, { height: 24, title: "Louvain home" }) }), _jsx("p", { children: "The Home Screen of Work." }), _jsx(ThemeToggle, { ...(themeStorage ? { themeStorage } : {}) })] }), _jsx(FootCol, { title: "Product", items: product, nav: nav }), _jsx(FootCol, { title: "Solutions", items: menu("solutions"), nav: nav }), _jsx(FootCol, { title: "Compare", items: menu("compare"), nav: nav }), _jsx(FootCol, { title: "Resources", items: menu("resources"), nav: nav }), _jsx(FootCol, { title: "Trust & support", items: TRUST, nav: nav })] }), _jsxs("div", { className: "row legal", children: [_jsx("span", { children: "Louvain AI Ltd \u00B7 England and Wales \u00B7 company number 17506006" }), _jsx("ul", { children: LEGAL.map((l) => (_jsx("li", { children: _jsx(PageLink, { ...nav, href: l.href, children: l.name }) }, l.href))) })] })] }));
|
|
17
|
+
return (_jsxs("footer", { className: "row", children: [_jsxs("div", { className: "foot", children: [_jsxs("div", { className: "about", children: [_jsx(PageLink, { ...nav, className: "logo", href: "/", children: _jsx(Lockup, { height: 24, title: "Louvain home" }) }), _jsx("p", { children: "The Home Screen of Work." }), _jsxs("p", { className: "oss", children: ["Open source: ", _jsx("a", { href: PG_REBAC.url, children: PG_REBAC.name }), " \u00B7", " ", _jsx("a", { href: ENGINE.repoUrl, children: ENGINE.name })] }), _jsx(ThemeToggle, { ...(themeStorage ? { themeStorage } : {}) })] }), _jsx(FootCol, { title: "Product", items: product, nav: nav }), _jsx(FootCol, { title: "Solutions", items: menu("solutions"), nav: nav }), _jsx(FootCol, { title: "Compare", items: menu("compare"), nav: nav }), _jsx(FootCol, { title: "Resources", items: menu("resources"), nav: nav }), _jsx(FootCol, { title: "Trust & support", items: TRUST, nav: nav })] }), _jsxs("div", { className: "row legal", children: [_jsx("span", { children: "Louvain AI Ltd \u00B7 England and Wales \u00B7 company number 17506006" }), _jsx("ul", { children: LEGAL.map((l) => (_jsx("li", { children: _jsx(PageLink, { ...nav, href: l.href, children: l.name }) }, l.href))) })] })] }));
|
|
17
18
|
}
|
|
18
19
|
function FootCol({ title, items, nav, }) {
|
|
19
20
|
return (_jsxs("div", { children: [_jsx("h2", { children: title }), _jsx("ul", { children: items.map((i) => {
|
|
@@ -2,7 +2,7 @@ export { Footer, type FooterProps } from "./footer.js";
|
|
|
2
2
|
export { GitHubStarsLink, starWords } from "./github-stars.js";
|
|
3
3
|
export { Head } from "./head.js";
|
|
4
4
|
export { Arrow, Check, Chevron, State } from "./icons.js";
|
|
5
|
-
export { BRAIN, ENGINE, LINES, PLATFORM, SOON } from "./lines.js";
|
|
5
|
+
export { BRAIN, ENGINE, LINES, PG_REBAC, PLATFORM, SOON } from "./lines.js";
|
|
6
6
|
export { type MenuArt, MenuArtView } from "./menu-art.js";
|
|
7
7
|
export { initialNav, type NavEvent, type NavState, navReducer, type Open } from "./nav-machine.js";
|
|
8
8
|
export { BookDemo, OpenOrDemo } from "./open-or-demo.js";
|
|
@@ -2,7 +2,7 @@ export { Footer } from "./footer.js";
|
|
|
2
2
|
export { GitHubStarsLink, starWords } from "./github-stars.js";
|
|
3
3
|
export { Head } from "./head.js";
|
|
4
4
|
export { Arrow, Check, Chevron, State } from "./icons.js";
|
|
5
|
-
export { BRAIN, ENGINE, LINES, PLATFORM, SOON } from "./lines.js";
|
|
5
|
+
export { BRAIN, ENGINE, LINES, PG_REBAC, PLATFORM, SOON } from "./lines.js";
|
|
6
6
|
export { MenuArtView } from "./menu-art.js";
|
|
7
7
|
export { initialNav, navReducer } from "./nav-machine.js";
|
|
8
8
|
export { BookDemo, OpenOrDemo } from "./open-or-demo.js";
|
|
@@ -9,6 +9,10 @@ export declare const ENGINE: {
|
|
|
9
9
|
readonly licence: "Apache-2.0";
|
|
10
10
|
readonly line: "The open retrieval engine behind Louvain: it finds the right document in your company’s files, behind a permission fence, and hands it to your agent with its source, self-hosted, over MCP and HTTP.";
|
|
11
11
|
};
|
|
12
|
+
export declare const PG_REBAC: {
|
|
13
|
+
readonly name: "pg_rebac";
|
|
14
|
+
readonly url: "https://pgrebac.com";
|
|
15
|
+
};
|
|
12
16
|
export declare const BRAIN: {
|
|
13
17
|
readonly name: "Louvain Brain";
|
|
14
18
|
readonly short: "Brain";
|
|
@@ -9,6 +9,10 @@ export const ENGINE = {
|
|
|
9
9
|
licence: "Apache-2.0",
|
|
10
10
|
line: "The open retrieval engine behind Louvain: it finds the right document in your company’s files, behind a permission fence, and hands it to your agent with its source, self-hosted, over MCP and HTTP.",
|
|
11
11
|
};
|
|
12
|
+
export const PG_REBAC = {
|
|
13
|
+
name: "pg_rebac",
|
|
14
|
+
url: "https://pgrebac.com",
|
|
15
|
+
};
|
|
12
16
|
export const BRAIN = {
|
|
13
17
|
name: "Louvain Brain",
|
|
14
18
|
short: "Brain",
|
|
@@ -23,6 +23,24 @@ export const TRUST = [
|
|
|
23
23
|
{ href: "https://trust.louvain.ai", name: "Trust Centre" },
|
|
24
24
|
{ href: "mailto:security@louvain.ai", name: "Security contact" },
|
|
25
25
|
];
|
|
26
|
+
const GUIDES = [
|
|
27
|
+
{
|
|
28
|
+
href: "/blog/what-is-a-company-brain",
|
|
29
|
+
name: "What is a company brain?",
|
|
30
|
+
note: "The parts, and what to ask of one",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
href: "/compare/glean/pricing",
|
|
34
|
+
name: "Glean pricing",
|
|
35
|
+
note: "Reported figures, each with its source",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
href: "/compare/microsoft-copilot/pricing",
|
|
39
|
+
name: "Microsoft Copilot pricing",
|
|
40
|
+
note: "Every plan, from Microsoft’s own pages",
|
|
41
|
+
},
|
|
42
|
+
];
|
|
43
|
+
const isGuide = (i) => GUIDES.some((g) => g.href === i.href);
|
|
26
44
|
export const MENUS = [
|
|
27
45
|
{
|
|
28
46
|
id: "product",
|
|
@@ -112,7 +130,9 @@ export const MENUS = [
|
|
|
112
130
|
{ href: "/docs", name: "Docs", note: "Guides to everything you can do in Louvain" },
|
|
113
131
|
{ href: "/blog", name: "Blog", note: "Product news, how we build it, what we measure" },
|
|
114
132
|
{ href: "/benchmarks", name: "Benchmarks", note: "Results, each with its method" },
|
|
133
|
+
{ href: "/download", name: "Download", note: "Louvain for Mac, in a window of its own" },
|
|
115
134
|
{ href: "/roi", name: "ROI calculator", note: "Your numbers, from your own inputs" },
|
|
135
|
+
...GUIDES,
|
|
116
136
|
],
|
|
117
137
|
},
|
|
118
138
|
];
|
|
@@ -173,7 +193,8 @@ export function HEADER_MENUS(menus, featured) {
|
|
|
173
193
|
}
|
|
174
194
|
: {}),
|
|
175
195
|
groups: [
|
|
176
|
-
{ title: "Learn", items: resources.filter((i) => i.href !== "/roi") },
|
|
196
|
+
{ title: "Learn", items: resources.filter((i) => i.href !== "/roi" && !isGuide(i)) },
|
|
197
|
+
{ title: "Guides", items: resources.filter(isGuide) },
|
|
177
198
|
{ title: "Compare", items: compare.filter((i) => !i.href.includes("calculator")) },
|
|
178
199
|
{
|
|
179
200
|
title: "Calculators",
|
package/package.json
CHANGED