From cda85579bd9d3bb4b0619ad7ca97122ea260ede3 Mon Sep 17 00:00:00 2001 From: mehfuz Date: Tue, 17 Nov 2026 07:55:04 -0800 Subject: [PATCH] Home: just the products, as square tiles with key points Drop the ScreenForge and Anacraft tool cards and the Work-with-us card (contact is already in the hero, the Docent page, pricing and the footer), and the group label bars above the cards. The three product cards become square tiles on wide screens, with three key points each. --- src/pages/home.module.css | 115 ------------------------------ src/pages/index.tsx | 116 +++---------------------------- src/pages/products.module.css | 99 ++++++++++++-------------- static/img/logos/screenforge.svg | 27 ------- 4 files changed, 55 insertions(+), 302 deletions(-) delete mode 100644 static/img/logos/screenforge.svg diff --git a/src/pages/home.module.css b/src/pages/home.module.css index 75019f7..6c03348 100644 --- a/src/pages/home.module.css +++ b/src/pages/home.module.css @@ -1183,11 +1183,6 @@ gap: 14px; } -/* The tools row under the products: same cards, its own line. */ -.toolsRow { - margin-top: 28px; -} - .productGroup { flex-basis: 0; min-width: 0; @@ -1196,21 +1191,6 @@ gap: 12px; } -.groupLabel { - margin: 0; - padding-bottom: 10px; - border-bottom: 1px solid var(--sl-line); - font-family: var(--sl-mono); - font-size: 0.7rem; - letter-spacing: 0.04em; - color: var(--sl-dim); -} - -.groupName { - color: var(--sl-white); - font-weight: 500; -} - .groupCards { flex: 1; display: flex; @@ -1299,88 +1279,6 @@ color: var(--sl-accent-text); } -/* Tool cards in their own site's colors, taken from each site's :root - (screenforge.studio, anacraft.dev). The preview window is the tool's app; - the label and hover take its accent, darker in light mode. */ -.theme_screenforge { - --t-ink: #1e1f29; - --t-bar: #282a36; - --t-line: rgba(248, 248, 242, 0.1); - --t-white: #f8f8f2; - --t-dim: #8e90a6; - --t-accent: #ff8a5c; - --t-glow: rgba(255, 138, 92, 0.12); -} - -.theme_anacraft { - --t-ink: #09100d; - --t-bar: #0d1512; - --t-line: rgba(193, 196, 151, 0.11); - --t-white: #eef1dc; - --t-dim: #6c7f73; - --t-accent: #2dd5b7; - --t-glow: rgba(45, 213, 183, 0.1); -} - -/* Light mode: ScreenForge's own light theme; Anacraft's dark theme turned - light (its own light palettes drop the teal). */ -:global([data-theme='light']) .theme_screenforge { - --t-ink: #f6f6fa; - --t-bar: #ffffff; - --t-line: rgba(30, 31, 41, 0.12); - --t-white: #1a1b24; - --t-dim: #5f6175; - --t-accent: #d4442a; - --t-glow: rgba(212, 68, 42, 0.08); -} - -:global([data-theme='light']) .theme_anacraft { - /* Anacraft's dark theme turned light: mint-white ground, its green-black - for text, and a deeper teal so the accent reads on white. */ - --t-ink: #f5faf8; - --t-bar: #e9f2ee; - --t-line: rgba(9, 16, 13, 0.1); - --t-white: #0d1512; - --t-dim: #5b6d63; - --t-accent: #0f8f78; - --t-glow: rgba(15, 143, 120, 0.08); -} - -.themed .preview { - background: linear-gradient(140deg, var(--t-glow) 0%, transparent 55%), var(--t-ink); - border-color: var(--t-line); -} - -.themed .previewBar { - background: var(--t-bar); - border-color: var(--t-line); -} - -.themed .previewDots i { - background: var(--t-line); -} - -.themed .previewTitle, -.themed .pl_out { - color: var(--t-dim); -} - -.themed .pl_prompt { - color: var(--t-white); -} - -.themed .pl_ok { - color: var(--t-accent); -} - -.themed .cardLabel { - color: var(--t-accent); -} - -.themed:hover { - border-color: var(--t-accent); -} - .cardBody { flex: 1; display: flex; @@ -1419,13 +1317,6 @@ background: var(--sl-ink); } -/* A logo drawn in its card's tool theme (see .themed). */ -.cardLogoThemed { - background: var(--t-ink, var(--sl-ink)); - border-color: var(--t-line, var(--sl-line)); - color: var(--t-accent, var(--sl-accent-text)); -} - .cardLogoPrompt { font-family: var(--sl-mono); font-size: 0.72rem; @@ -1473,12 +1364,6 @@ color: var(--sl-accent-text); } -.themed .cardFact:last-child { - border-color: var(--t-line); - background: var(--t-glow); - color: var(--t-accent); -} - @media (max-width: 1024px) { .productGroups { flex-direction: column; diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 5ddac50..d0edd71 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -12,17 +12,15 @@ import p from './products.module.css'; // Claude and Claude Code: Docent Studio on the desktop, Docent in the terminal // for coding. Both live on /docent (#desktop, #coding); gpushed has its own site. -// `theme` paints the card's accents in that tool's own site colors. -type Card = { label: string; name: string; desc: string; facts: string; to: string; external?: boolean; theme?: 'screenforge' | 'anacraft'; logo: string }; +type Card = { label: string; name: string; desc: string; facts: string; to: string; external?: boolean; logo: string; points: string[] }; // One product per group; Docent's two cards are the same product used two // ways (desktop and coding), like Claude and Claude Code. -type Group = { product: string; line: string; cards: Card[] }; +type Group = { product: string; cards: Card[] }; const GROUPS: Group[] = [ { product: 'Docent', - line: 'Your personal assistant for work, and for coding', cards: [ { label: 'Private AI assistant', @@ -31,6 +29,7 @@ const GROUPS: Group[] = [ facts: 'macOS · Linux · Windows · free', to: '/docent#desktop', logo: 'studio', + points: ['Your files indexed on your machine', 'Every answer cites its source', 'Models fitted to your hardware'], }, { label: 'Coding agent', @@ -39,12 +38,12 @@ const GROUPS: Group[] = [ facts: 'macOS · Linux · Windows · MIT', to: '/docent#coding', logo: 'docent', + points: ['Rust, Go, TypeScript, Python, C and C++', 'Runs commands once you approve them', 'MCP servers and web search'], }, ], }, { product: 'gpushed', - line: 'A GPU by the second', cards: [ { label: 'GPU', @@ -53,59 +52,13 @@ const GROUPS: Group[] = [ facts: 'Apple silicon Macs · from $0.88/hr', to: 'https://gpushed.dev', logo: '/img/logos/gpushed.svg', + points: ['NVIDIA T4, L4 or A100', '100 GB SSD and a public IP included', 'Prepaid: never charged more than you add'], external: true, }, ], }, ]; -// Smaller things we build and use ourselves, in their own row under the -// products. -const TOOLS: Group = { - product: 'Tools', - line: 'Things we build and use ourselves', - cards: [ - { - label: 'AI screen editor', - name: 'ScreenForge', - desc: 'Record your screen, then tell it what you want: cut the ums, zoom on your clicks, add music. It edits the timeline while you watch.', - facts: 'macOS · Linux · Windows · Apache 2.0', - to: 'https://screenforge.studio', - logo: '/img/logos/screenforge.svg', - external: true, - theme: 'screenforge', - }, - { - label: 'Analytics dashboard', - name: 'Anacraft', - desc: 'Your Google Analytics (GA4), mined block by block in a Minecraft-themed dashboard for the terminal.', - facts: 'Terminal (TUI) · GA4', - to: 'https://anacraft.dev', - logo: 'anacraft', - external: true, - theme: 'anacraft', - }, - ], -}; - -// The third slot in the tools row, so it reads 3 / 3 against the products -// above: not another product, but the way to hire us for one. The card's -// own pitch carries the "free at any scale" part; the label stays short. -const CONTACT: Group = { - product: 'Work with us', - line: 'Hire us for the work', - cards: [ - { - label: 'For teams', - name: 'Talk to our team', - desc: 'Docent stays free at any scale. Tell us what you are trying to solve, and we will get it working on your data and your infrastructure.', - facts: 'rollout · fine-tuning · support', - to: '/contact/', - logo: 'contact', - }, - ], -}; - // What we believe, beside the story headline. Short enough to scan. const BELIEFS: [string, string][] = [ ['Local first', 'Small open models now read your documents and write and check your code, with no round trip.'], @@ -129,48 +82,6 @@ function CardLogo({ logo }: { logo: string }): ReactNode { ); } - if (logo === 'contact') { - // A chat balloon for the Work-with-us card, in the brand accent. - return ( - - ); - } - if (logo === 'anacraft') { - // Anacraft's pixel "A" from its favicon, without the favicon's black - // square: drawn in the card's theme so it follows light and dark. - return ( - - ); - } if (logo === 'docent') { return ; } @@ -180,12 +91,9 @@ function CardLogo({ logo }: { logo: string }): ReactNode { function renderGroup(g: Group): ReactNode { return (
-

- {g.product} · {g.line} -

{g.cards.map((c) => { - const cls = c.theme ? `${p.card} ${p.themed} ${p[`theme_${c.theme}`]}` : p.card; + const cls = p.card; const body = ( <> @@ -199,6 +107,9 @@ function renderGroup(g: Group): ReactNode { {c.desc} + + {c.points.map((pt) => {pt})} + {c.facts.split(' · ').map((f) => {f})} @@ -304,19 +215,14 @@ export default function Home(): ReactNode {

What we make

Your complete local AI suite.

- Docent, your personal assistant for work and your coding agent in the terminal, a GPU by the second when a job outgrows your machine, and the tools we build along the way. + Docent, your personal assistant for work and your coding agent in the terminal, and a GPU by the second when a job outgrows your machine.

- {/* Equal cards, grouped by product: Docent spans two, gpushed one; - the tools and the work-with-us card make the same 2 + 1 below. */} + {/* Equal cards, grouped by product: Docent spans two, gpushed one. */}
{GROUPS.map(renderGroup)}
-
- {renderGroup(TOOLS)} - {renderGroup(CONTACT)} -
diff --git a/src/pages/products.module.css b/src/pages/products.module.css index b9a69ca..98996ef 100644 --- a/src/pages/products.module.css +++ b/src/pages/products.module.css @@ -1,10 +1,9 @@ /* The product cards in "What we make" on the home page. One quiet card shape for every product: mark and name, what it does, - and its facts, with a corner arrow saying it is a link. The tool cards - borrow their own site's accent through --t-* vars. */ + and its facts, with a corner arrow saying it is a link. */ .card { - /* The card's own accent: brand pink by default, a tool's color on .themed. + /* The card's own accent: brand pink. Everything interactive below reads from these. */ --c-accent: var(--sl-accent-text); --c-line: rgba(236, 72, 153, 0.3); @@ -24,6 +23,19 @@ transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; } +/* Square tiles while the cards sit side by side; stacked on narrow + screens they size to their content instead. */ +@media (min-width: 1025px) { + .card { + aspect-ratio: 1; + padding: 28px; + } + + .name { + font-size: 1.4rem; + } +} + /* A faint wash of the card's accent behind the header on hover, so the tool colors show up as atmosphere rather than only in the label. */ .card::before { @@ -125,13 +137,6 @@ background: var(--sl-ink); } -/* A logo drawn in its card's tool theme (see .themed). */ -.logoThemed { - background: var(--t-ink, var(--sl-ink)); - border-color: var(--t-line, var(--sl-line)); - color: var(--t-accent, var(--sl-accent-text)); -} - .logoPrompt { font-family: var(--sl-mono); font-size: 0.78rem; @@ -139,17 +144,41 @@ color: var(--sl-accent-text); } -/* The Talk-to-us card's chat mark, in the brand accent. */ -.logoContact { - color: var(--sl-accent-text); -} - .desc { font-size: 0.9rem; line-height: 1.55; color: var(--sl-dim); } +/* Key points under the pitch. */ +.points { + display: flex; + flex-direction: column; + gap: 7px; + margin: 2px 0 0; + padding: 14px 0 0; + border-top: 1px dashed var(--sl-line); +} + +.point { + position: relative; + padding-left: 18px; + font-size: 0.86rem; + line-height: 1.4; + color: var(--sl-white); +} + +.point::before { + content: ''; + position: absolute; + left: 2px; + top: 0.5em; + width: 6px; + height: 6px; + border-radius: 2px; + background: var(--c-accent); +} + /* Platforms, license and price as small pills along the bottom. */ .facts { margin-top: auto; @@ -177,46 +206,6 @@ color: var(--c-accent); } -/* Tool cards in their own site's colors (screenforge.studio, anacraft.dev): - label, price pill, arrow, glow and hover all follow the tool's accent. */ -.theme_screenforge { - --t-ink: #1e1f29; - --t-line: rgba(248, 248, 242, 0.1); - --t-accent: #ff8a5c; - --t-glow: rgba(255, 138, 92, 0.12); -} - -.theme_anacraft { - --t-ink: #09100d; - --t-line: rgba(193, 196, 151, 0.11); - --t-accent: #2dd5b7; - --t-glow: rgba(45, 213, 183, 0.1); -} - -:global([data-theme='light']) .theme_screenforge { - --t-ink: #f6f6fa; - --t-line: rgba(30, 31, 41, 0.12); - --t-accent: #d4442a; - --t-glow: rgba(212, 68, 42, 0.08); -} - -:global([data-theme='light']) .theme_anacraft { - --t-ink: #f5faf8; - --t-line: rgba(9, 16, 13, 0.1); - --t-accent: #0f8f78; - --t-glow: rgba(15, 143, 120, 0.08); -} - -.themed { - --c-accent: var(--t-accent); - --c-line: var(--t-line); - --c-glow: var(--t-glow); -} - -.themed:hover { - border-color: var(--t-accent); -} - /* Less motion when asked for: colors still answer, nothing moves. */ @media (prefers-reduced-motion: reduce) { .card, diff --git a/static/img/logos/screenforge.svg b/static/img/logos/screenforge.svg deleted file mode 100644 index 656d47c..0000000 --- a/static/img/logos/screenforge.svg +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - -