From 1fc460d487cd64aee1cf2ef23e0e6476cd1ce6cd Mon Sep 17 00:00:00 2001 From: "DESKTOP-RTLN3BA\\$punk" Date: Mon, 9 Nov 2026 15:19:09 -0800 Subject: [PATCH] feat(www): pages for lawyers, accountants and both jobs, behind the Business switch Round one of plans/community-local/seo/09-audience-pages.md. - Homepage: the title, description and H1 lead with private AI for confidential documents; NotebookLM stays as the familiar hook. With the switch on, a "Who it's for" band under the logos links the new pages and the jobs. - Nav and footer come from features/site-navigation. Switched off they are unchanged; switched on, "Who it's for" and "Jobs" menus lead the bar, Plugins moves under Resources, and the footer gains a "For firms" column. - /ai-for-lawyers, /ai-for-accountants, /jobs/contract-redline and /jobs/security-questionnaire are 404s with noindex until the switch, then listed in the sitemap. The job pages follow the user guide's jobs page. - /pricing with the switch on: Studio on the Free card, a "What each licence gets" table, and a question for students and teachers. /plugins and /private-ai-for-business link the new pages. - Plan and research: 09-audience-pages.md, three DataForSEO pulls, and a pointer from 02-page-briefs.md. --- plans/community-local/seo/02-page-briefs.md | 4 + .../community-local/seo/09-audience-pages.md | 514 ++++++++++++++++++ plans/community-local/seo/data/README.md | 3 + .../clickstream-audiences-2026-11.json.gz | Bin 0 -> 1542 bytes ...keyword-overview-audiences-2026-11.json.gz | Bin 0 -> 13362 bytes .../ranked-keywords-surfsense-2026-11.json.gz | Bin 0 -> 11651 bytes www/app/(home)/_home/home-audiences.tsx | 77 +++ www/app/(home)/_home/home-content.ts | 65 ++- www/app/(home)/_home/home-sections.tsx | 6 +- www/app/(home)/ai-for-accountants/page.tsx | 170 ++++++ www/app/(home)/ai-for-lawyers/page.tsx | 168 ++++++ www/app/(home)/jobs/contract-redline/page.tsx | 214 ++++++++ .../jobs/security-questionnaire/page.tsx | 213 ++++++++ www/app/(home)/page.tsx | 21 +- www/app/(home)/plugins/page.tsx | 21 +- .../pricing/business-pricing-content.ts | 92 ++++ www/app/(home)/pricing/page.tsx | 9 +- www/app/(home)/pricing/pricing-sections.tsx | 51 ++ .../(home)/private-ai-for-business/page.tsx | 27 +- www/app/sitemap.ts | 8 + www/components/site/site-content.ts | 83 +-- www/components/site/site-footer.tsx | 18 +- www/components/site/site-nav.tsx | 196 ++++--- www/components/ui/icons.tsx | 4 + .../audience-pages/audience-metadata.ts | 90 +++ .../audience-pages/audience-sections.tsx | 266 +++++++++ .../site-navigation/site-navigation.test.ts | 136 +++++ .../site-navigation/site-navigation.ts | 201 +++++++ 28 files changed, 2490 insertions(+), 167 deletions(-) create mode 100644 plans/community-local/seo/09-audience-pages.md create mode 100644 plans/community-local/seo/data/clickstream-audiences-2026-11.json.gz create mode 100644 plans/community-local/seo/data/keyword-overview-audiences-2026-11.json.gz create mode 100644 plans/community-local/seo/data/ranked-keywords-surfsense-2026-11.json.gz create mode 100644 www/app/(home)/_home/home-audiences.tsx create mode 100644 www/app/(home)/ai-for-accountants/page.tsx create mode 100644 www/app/(home)/ai-for-lawyers/page.tsx create mode 100644 www/app/(home)/jobs/contract-redline/page.tsx create mode 100644 www/app/(home)/jobs/security-questionnaire/page.tsx create mode 100644 www/features/audience-pages/audience-metadata.ts create mode 100644 www/features/audience-pages/audience-sections.tsx create mode 100644 www/features/site-navigation/site-navigation.test.ts create mode 100644 www/features/site-navigation/site-navigation.ts diff --git a/plans/community-local/seo/02-page-briefs.md b/plans/community-local/seo/02-page-briefs.md index e4dfef0484..ab3a728f47 100644 --- a/plans/community-local/seo/02-page-briefs.md +++ b/plans/community-local/seo/02-page-briefs.md @@ -452,6 +452,10 @@ cloud TTS. ### Confidential documents into deliverables — the cross-cutting page +**Superseded in part on 9 Nov 2026.** Lawyers, accountants and healthcare get their +own pages in [`09-audience-pages.md`](09-audience-pages.md). This page keeps +consultants and other professions, with a line linking each new page. + **The most important page in this set, and the one that did not exist before 17 Sep 2026.** Production chat says the single most common job is turning a document you already have into a professional artefact, and that professional diff --git a/plans/community-local/seo/09-audience-pages.md b/plans/community-local/seo/09-audience-pages.md new file mode 100644 index 0000000000..b3fc193a81 --- /dev/null +++ b/plans/community-local/seo/09-audience-pages.md @@ -0,0 +1,514 @@ +# Audience pages: the site and the repo after the Business switch + +Build sheets for the redo the maintainer asked for on 9 Nov 2026: the homepage, +the nav, pages for lawyers, accountants, students, teachers and healthcare, a +page per paid job, what each licence gets, the plugins page, and the GitHub +repo's description, topics and tagline. The briefs use +[`02-page-briefs.md`](02-page-briefs.md)'s format and rules: titles of at most +60 characters, metas of at most 155, one H1, open with the answer, spell it +"air-gapped". Like every string the site ships today, nothing here uses an em +or en dash. + +Page status lives in [`../portal/02-pages.md`](../portal/02-pages.md) and in +the PRs; this file says only what each page should contain. + +## Decided on 9 Nov 2026 + +- Audience pages replace "For business" in the nav. Order: lawyers and + accountants first, then students and teachers, then healthcare. +- Healthcare copy never says "HIPAA compliant". It says patient data stays on + the device. +- Student and teacher pages promise only what Studio makes today (below). +- The GitHub description becomes: "Air-gapped, private AI for confidential + documents. Open-source NotebookLM alternative that runs on your computer." + +This reverses one rule of `02`'s cross-cutting page: legal, accounting and +consulting were to be H2s on one page, never vertical pages. The reason that +rule gave, a legal read for every page with compliance-adjacent copy, still +holds; see [Gates](#gates). + +## What the numbers say + +Pulled 9 Nov 2026, US only: +[`data/keyword-overview-audiences-2026-11.json.gz`](data/keyword-overview-audiences-2026-11.json.gz) +(Google Ads, through Sep 2026) and +[`data/clickstream-audiences-2026-11.json.gz`](data/clickstream-audiences-2026-11.json.gz) +(clickstream, through Oct 2026), beside the September and October clickstream +pulls under `data/b2b/` and `data/b2b-oct/`. Three readings matter more than any +single number. + +1. **The privacy heads did not grow tenfold.** Ads has `private ai` at 2,400 in + May and 165,000 in September; clickstream holds at about 3,000. `08` showed + in October that this summer step is a change in Google's data for AI-phrased + terms ([the summer step](08-b2b-artifact-jobs.md#the-summer-step-was-googles-data)). + For privacy terms, read clickstream: `local llm` 12,769, `local ai` 12,113, + `private ai` 3,028, `offline ai` 2,220, `self hosted ai` 908, + `notebooklm alternative` 807, `confidential ai` 452, `private ai chatbot` 354 + (50 a year ago), `open source notebooklm` 302, `private chatgpt` 202, + `private ai for business` 50. `air gapped ai` is below the panel's floor; + Ads had it at 210 to 260 before the step. "Air-gapped" stays in the tagline + because it is true and hard for others to claim, not because it is searched. +2. **Profession terms are Google families.** `ai for lawyers` is 2,400 in Ads + and 1,312 as the exact phrase, so most of that family is lawyers. + `ai for accountants` is 6,600 in Ads and about 50 as the exact phrase: the + Ads record has absorbed accounting-software searches, which want bookkeeping + automation, not a document tool. The accountant page will draw little search + traffic. Its job is to be where outreach, trial emails and demos send + accounting firms. +3. **Study and teaching terms are bigger than the Ads figures say.** Clickstream + puts AI-tool phrasings two to three times above Ads (`ai flashcard maker` + 9,773 against 3,600, `ai quiz generator` 8,000 against 2,900), which + [`data/README.md`](data/README.md) warns is usual for AI-tool terms. Take the + lower figure as the floor. Even at the floor, students and teachers are the + largest free audience here, and they take the NotebookLM hook best: + `notebooklm for students` went from 253 to 658 in a year. + +Each brief's table gives the Ads volume, KD and CPC from the overview pulls, +and clickstream where it was pulled ("-" where it was not, "<50" below the +floor). + +## What Studio makes, which is all these pages may promise + +From `surfsense_local/backend/modules/artifacts/formats.py`, with the labels of +`surfsense_local/frontend/src/features/studio/studio-formats.ts`: Markdown, Word, +Slides, Spreadsheet, Web page, PDF, Mind map, Flashcards, Quiz, Podcast, Image +and Infographic. Podcast needs a speech model; Image and Infographic need an +image model; the rest need a chat model. Each output is made from the sources +the user picks and a prompt. + +There is no worksheet, lesson plan or study guide format. A worksheet or a +lesson plan is a Word or PDF file made from a prompt. A study guide is the +summary, flashcards and quiz made from one set of sources, as `02`'s study hub +already says. The pages describe them that way. + +Before any student or teacher copy ships, make each promised output on the +default local model on a laptop-class machine and with a hosted key, and keep +only what passes. A check of small local models on 8 Nov 2026 found structured +outputs pass while free-form documents and citations fail below 14B. Where a +hosted model does better, the page says so. + +## Gates + +- **Legal pages wait for a lawyer.** [ADR 0086](../../../docs/adr/0086-the-contract-redline-ships-with-the-business-switch-on-the-word-engine.md) + keeps "Legal marketing still waits for one", and the + [file-agent proposal](../../../docs/proposals/file-agent/README.md) holds + public redline pages, legal SEO pages and legal marketing for that review. + `/ai-for-lawyers` and `/jobs/contract-redline` are all three. Recommended: + build both now, behind `NEXT_PUBLIC_BUSINESS_LAUNCHED`; have the lawyer who + reads the Business terms read them before switch day; record who signed off + in the PR. Publishing without that read needs a decision that supersedes that + line of ADR 0086. +- **Compliance-adjacent copy** follows `02`'s compliance-page rule: say only + where the bytes are, and have it read before publishing. It covers the whole + healthcare page and any line on the accountant page about what the IRS or the + FTC Safeguards Rule requires. +- **Job numbers.** Both jobs ship below the 90% bar, by the maintainer's + decision of 5 Nov 2026. Their pages may publish the measured rows; the + redline's rows are quoted only after the maintainer has checked the eval's + stance file. +- **The switch.** Everything that names a paid job, the Business price or the + trial ships behind the switch flag, as the pricing pages already do. The + student and teacher pages name no job and can ship at any time. + +## The nav + +Today: For business, Plugins, Docs, Pricing. After the switch: + +| entry | goes to | +|---|---| +| Who it's for (menu) | Lawyers `/ai-for-lawyers`, Accountants `/ai-for-accountants`, Students `/ai-for-students`, Teachers `/ai-for-teachers`, Healthcare `/private-ai-for-healthcare`, Other professional work `/private-ai-for-business`. An item appears once its page is live. | +| Jobs (menu) | Contract redline `/jobs/contract-redline`, Security questionnaire `/jobs/security-questionnaire` | +| Docs | `/docs` | +| Pricing | `/pricing` | +| Resources (menu) | Blog, Announcements, Changelog, Plugins, Contact us | + +- **Plugins** moves from the bar into the Resources menu. After the switch, + `first-party-plugins.json` is empty, so the page shows the three built-in + sources and third-party plugins: too little for the top bar. +- **The footer** gains a "For firms" column with the audience and job pages, + each anchored with its keyword ("AI for lawyers"). +- **`/private-ai-for-business` stays**, as the page for consultants and other + professions. Its legal and accounting cards link the new pages, and the header + comment in its `page.tsx` that forbade vertical pages now points here. +- Built in `features/site-navigation/site-navigation.ts`, a function of the + switch, with tests for both sites and for every link leading to a page. + +## `/` homepage + +`02` already says this page is not measured on head terms: it converts traffic +from the repo, launches and brand search. What changes is the message, not the +layout. + +| role | keyword | Ads | clickstream | kd | +|---|---|---|---|---| +| primary | private ai | summer step | 3,028 | 14 | +| primary | local ai | summer step | 12,113 | 27 | +| secondary | offline ai | 1,600 | 2,220 | 7 | +| secondary | self hosted ai | summer step | 908 | 12 | +| secondary | notebooklm alternative | 590 | 807 | - | +| secondary | private ai chatbot | - | 354 | - | +| tertiary | air gapped ai | 210-260 before the step | <50 | - | +| must keep | surfsense | brand, position 1 | | | + +- **Title:** `Air-Gapped Private AI for Confidential Documents | SurfSense` (60) +- **Meta:** `SurfSense is free, open-source private AI that runs on your computer: a NotebookLM-style notebook for files you can't upload. No account, works offline.` (152) +- **H1:** `Air-gapped private AI for confidential documents`. The brand stays in + the title tag and the wordmark, as today; the H1 has not carried it since + October. The line under it carries the familiar hook: "A NotebookLM-style + notebook that runs entirely on your own computer." +- **New band after the logos, "Who it's for":** a card per audience with one + line and a keyword link. It is the internal-link hub for the new pages; it + shows once Business is on sale, and a card joins once its page is live. +- **"Jobs for firms"** is a strip under the audience cards, behind the switch: + one sentence from the user guide and a link to each job's page. +- **"Open source, extended by plugins"** becomes "Open source, with web search + built in": the plugins it describes retire at the switch. +- **Keep** the privacy sections, the formats section, the FAQ and its schema. + The FAQ already answers three NotebookLM questions, so it gains none. +- **Must survive:** the URL, the brand in title and H1, `SoftwareApplication` + with price 0. + +## `/ai-for-lawyers` + +| role | keyword | Ads | clickstream | kd | cpc | +|---|---|---|---|---|---| +| primary | ai for lawyers | 2,400 | 1,312 | 30 | 55.59 | +| primary | legal ai tools | 1,600 | 1,312 | 24 | 82.20 | +| secondary | legal ai | 18,100 | 7,390 | 38 | 31.62 | +| secondary | chatgpt for lawyers | 480 | 403 | **1** | 43.33 | +| secondary | ai for law firms | 1,900 | 252 | 18 | 33.87 | +| link out | ai contract review | 880 | 1,261 | 19 | 97.49 | + +- **Title:** `AI for Lawyers: Private Legal AI That Runs on Your Computer` (59) +- **Meta:** `Free, open-source legal AI that keeps client files on your computer. Search a matter, draft memos and decks, and redline contracts against your playbook.` (153) +- **H1:** `Private AI for lawyers: client files never leave your computer` +- **First paragraph, the answer:** SurfSense is a free, open-source AI app a + lawyer runs on their own computer. It indexes a matter's documents on that + disk, answers questions with a citation for each answer, and makes memos, + chronologies and decks from them. With a local model nothing is sent + anywhere; with the firm's own key, only the passages a question needs go to + the provider the firm chose. There is no SurfSense account and no vendor copy. +- **H2s:** + 1. *Can lawyers use AI with client documents?* Where the bytes are: the + index, the chats and the outputs on disk, no vendor log. What reaches a + hosted provider when the firm picks one, and that a local model sends + nothing. The professional-conduct conclusion is the reader's: link ABA + Formal Opinion 512, do not paraphrase what it requires. This H2 carries + `chatgpt for lawyers` (KD 1). + 2. *Ask across a matter, with a citation for every answer* (the free app). + 3. *Turn a case file into a memo, a chronology or a deck* (Word, PDF, + Spreadsheet and Slides from the matter's sources). + 4. *Review a contract against your firm's playbook* (the contract redline in + two short paragraphs, linking its page; behind the switch). + 5. *Use the model your firm approves* (a local model, or the firm's own key + for a provider it has a contract with). + 6. *Free for every lawyer; Business adds the jobs* (Free and Business in + three lines, linking `/pricing`). +- **FAQ** (also `FAQPage`): *Does SurfSense give legal advice?* (No: it works + from your documents and your playbook, and a person decides.) *Does it work + offline?* *Where are my client files stored?* *What does the contract redline + cost?* (Business, $60 a person a year, with a 14-day trial.) +- **Schema:** `SoftwareApplication` (price 0) and `FAQPage`. +- **Links out:** `/jobs/contract-redline`, `/pricing`, `/downloads`, + `/private-ai-for-business`, the docs page on jobs. +- **Must not:** "privileged", "ABA compliant", "secure" as a bare claim, any + accuracy figure before the stance check, a named legal AI vendor. ChatGPT is + named once, in the FAQ that answers `chatgpt for lawyers`, with facts only. +- **Gate:** the lawyer's read. + +## `/jobs/contract-redline` + +| role | keyword | Ads | clickstream | kd | cpc | +|---|---|---|---|---|---| +| primary | ai contract review | 880 | 1,261 | 19 | 97.49 | +| primary | contract review ai | 880 | 251 | 19 | 97.49 | +| secondary | contract redlining software | 210 | 50 | - | **380.91** | +| secondary | ai redlining | 40 | 50 | - | - | +| tertiary | ai legal document review | 90 | 50 | 14 | 49.05 | +| below the floor | nda review, ai nda review, contract redlining | - | <50 | - | - | + +- **Title:** `AI Contract Review Against Your Own Playbook | SurfSense` (56) +- **Meta:** `SurfSense reviews a Word contract against your firm's playbook and returns tracked changes and comments, on your own computer. 14-day free trial.` (145) +- **H1:** `AI contract review against your own playbook, as tracked changes in Word` +- **First paragraph:** what it does, in the pricing copy's sentence, then the + rule that sets it apart: it never invents a position. Where the playbook says + nothing, the job says so and leaves the clause alone. +- **H2s:** + 1. *What you get back:* a revised copy with tracked changes by "SurfSense", a + comment on each change, the With changes and Clean downloads, and an + outcome per review point (changed, meets your playbook, not covered by your + playbook, for a person). + 2. *What your playbook can be:* your positions, your own standard agreement, + or both, chosen from Sources. + 3. *What it reviews:* the non-disclosure agreement's review points, listed as + the [proposal](../../../docs/proposals/contract-redline-job.md) has them. + 4. *Your contract never leaves your computer.* + 5. *What it does not do yet:* headers, footers and footnotes; replies to a + counterparty's markup; contracts that are not `.docx`. + 6. *How well it does:* the measured rows by model, once the stance check is + done. Until then, no numbers. + 7. *Price and trial.* +- **Labels:** quote the app exactly as + `surfsense_local/frontend/translations/en.json` has it. +- **Schema:** `SoftwareApplication` with the Business `Offer`, and `FAQPage`. +- **Links:** `/ai-for-lawyers`, `/pricing`, `/downloads`, the docs page on jobs. +- **Gate:** the lawyer's read, and the switch. + +## `/ai-for-accountants` + +| role | keyword | Ads | clickstream | kd | cpc | +|---|---|---|---|---|---| +| primary | ai for accountants | 6,600 (a family) | about 50 | 29 | 36.40 | +| secondary | ai for accounting firms | 110 (480 in Aug) | 50-100 | 28 | 60.11 | +| secondary | ai for bookkeepers | 170 | 50 | 28 | 35.91 | +| secondary | ai for audit | 170 | - | 8 | 30.06 | +| secondary | ai for cpa | 90 | 50 | 27 | 49.33 | +| secondary | ai for tax preparers | 70 | <50 | 26 | 48.84 | +| candidate | written information security plan | - | 253 | - | - | +| candidate | wisp template | - | 101 | - | - | + +- **Title:** `AI for Accountants: Private AI for Client Financial Files` (57) +- **Meta:** `Free, open-source AI for accountants that keeps client files on your computer. Draft reports, pull figures and answer security questionnaires.` (142) +- **H1:** `Private AI for accountants: client files stay on your computer` +- **First paragraph:** free and open source; returns, statements, ledgers and + engagement letters go into an index on the accountant's own disk; ask + questions, summarise, build reports and spreadsheets; and, for a firm whose + clients send security questionnaires, the job that answers them. +- **H2s:** + 1. *Client financial files stay on your machine* (where the bytes are). + 2. *Pull figures from statements into a spreadsheet* (Spreadsheet from the + sources). Make one from a real scanned statement before the copy says it. + 3. *Client-ready reports, letters and decks* (Word, PDF, Slides). + 4. *Answer a client's security questionnaire from your own policies* (the + job, linking its page; behind the switch). Its evidence is the security + plan many firms already keep, which is where the WISP candidates belong; + any line on what a regulator requires goes through the compliance read. + 5. *Use the model your firm chooses.* +- **FAQ:** *Does SurfSense connect to QuickBooks or Xero?* (No: it reads the + files you add. List the source types from the app before publishing.) *Is it + free for a firm?* (The app is; Business adds the jobs.) *Is client data + uploaded?* (No, with a local model; with a hosted model, only the passages a + question needs.) +- **Schema, links, must-nots:** as for lawyers; links to + `/jobs/security-questionnaire`. + +## `/jobs/security-questionnaire` + +| role | keyword | Ads | clickstream | kd | cpc | +|---|---|---|---|---|---| +| primary | security questionnaire | - | 150 | - | - | +| secondary | security questionnaire automation | 70 | 50 | 11 | **227.98** | +| secondary | vendor security questionnaire | 40 | <50 | - | 106.82 | +| later, own pages | hecvat, caiq, sig lite | see `08` | | | | +| skip | due diligence questionnaire | 2,400 | 252 | - | 33.06 | + +`08` already skips the generic DDQ head: most of its searchers mean investment +due diligence. + +- **Title:** `Answer Security Questionnaires From Your Own Policies` (53) +- **Meta:** `SurfSense fills a customer's security questionnaire in their own spreadsheet from your firm's policies, cites each answer and flags what needs a person.` (152) +- **H1:** `Answer a security questionnaire in the customer's own spreadsheet, from your own policies` +- **H2s:** *What you get back* (the filled workbook, the source of each answer, + the list for a person to review) · *What it reads* (your policies, from + Sources) · *Which questionnaires* (any Excel workbook; the HECVAT, CAIQ and + SIG Lite pages follow `08`) · *Nothing leaves your computer* · *How well it + does* (the measured rows, as the eval publishes them) · *Price and trial*. +- **Links:** `/ai-for-accountants`, `/pricing`, `/downloads`. +- **Gate:** the switch. + +## `/pricing`: what each licence gets + +The switch copy is written: `business-pricing-content.ts` has Free, Business +($60 a person a year, a 14-day trial, up to 15 people self-serve) and +Enterprise, and twelve questions. Three changes: + +1. **Free's card says what Studio makes.** Add "Studio: flashcards, quizzes, + mind maps, slides, podcasts, and Word, PDF and spreadsheet files". It is the + reason students and teachers download, and the card does not mention Studio + today. +2. **A table under the cards, "What each licence gets".** Rows: the app and its + updates; local models and your own keys; web search, YouTube and web pages; + Studio; the security questionnaire; the contract redline; priority support; + the feature build request; people covered; licensing inside your own + network; a data processing agreement and a code audit; support terms. + Columns: Free, Business, Enterprise. The cards' facts, in one quotable place. +3. **One question.** *Is SurfSense free for students and teachers?* Yes: the + whole app is free for everyone, and a licence is needed only for the job + plugins at work. The firm's version of the question is already answered by + *Who needs a Business licence?* + +The title stays `SurfSense Pricing: Free App, Business Licence`. + +## `/plugins` + +- Leaves the main nav, as above. +- Keeps its URL and its switch title, `SurfSense Plugins: Web Search, YouTube and Web Crawl Built In`. +- Gains one line that sends readers looking for the paid jobs to their pages. + +## `/ai-for-students` (round two) + +| role | keyword | Ads | clickstream | kd | cpc | +|---|---|---|---|---|---| +| primary | ai for students | 1,000 | 1,924 | 23 | 7.08 | +| primary | free ai for students | 720 | 2,734 | 36 | 7.80 | +| primary | ai study tool | 6,600 | 2,380 | 33 | 5.70 | +| secondary | study guide maker | 6,600 | 7,292 | 29 | 4.98 | +| secondary | ai flashcard maker | 3,600 | 9,773 | 33 | 2.73 | +| secondary | ai quiz generator | 2,900 | 8,000 | 43 | 4.57 | +| secondary | ai podcast generator | 4,400 | 10,229 | 13 | 4.95 | +| secondary | notebooklm for students | - | 658 | - | - | +| tertiary | pdf to quiz | - | 1,569 | - | - | +| tertiary | ai mind map generator | - | 1,367 | - | - | +| tertiary | pdf to flashcards | - | 1,114 | - | - | +| tertiary | quiz generator from pdf | 140 | 455 | 14 | 4.33 | +| skip | ai tutor | 6,600 | 7,393 | 37 | 9.82 | +| skip | ai presentation maker | - | 46,638 | - | - | + +SurfSense is not a tutor, and the presentation-maker market belongs to `02`'s +later slides page. + +- **Title:** `Free AI for Students: Flashcards, Quizzes and Study Guides` (58) +- **Meta:** `Turn your notes and PDFs into flashcards, quizzes, mind maps and podcasts, free and on your own laptop. A NotebookLM-style notebook with no account.` (148) +- **H1:** `Free AI for students: turn your notes and PDFs into flashcards, quizzes and study guides` +- **First paragraph:** `02`'s argument for every study page: free, on your + laptop, and your files never leave it. Then what goes in (lecture slides, + PDFs, notes, YouTube lectures) and what comes out. +- **H2s,** in order of demand: + 1. *Flashcards from your notes and PDFs* + 2. *Practice quizzes from your readings* + 3. *A study guide: a summary, flashcards and a quiz from one set of sources* + 4. *Turn a chapter into a podcast to listen to* (say which speech model) + 5. *Mind maps of a topic* + 6. *Slides for a class presentation* + 7. *Like NotebookLM, on your own laptop* (facts only) + 8. *What you need to run it* (the computer and model, honestly: what works on + a laptop's local model and what needs a key) + 9. *Revision flashcards and quizzes* (the UK word, as `02` asks) +- **FAQ:** *Is SurfSense free for students?* *Does it work without internet?* + *Can it read my lecture slides?* *Are my files uploaded?* *Is it the same as + NotebookLM?* +- **Links:** `/downloads`, `/free`, `/ai-for-teachers`, and later `02`'s study + hub, flashcards, quiz and podcast pages. +- **Verify before publishing:** every H2's output on the default local model + and with a hosted key; slides and YouTube as sources; the podcast offline. + +## `/ai-for-teachers` (round two) + +| role | keyword | Ads | clickstream | kd | cpc | +|---|---|---|---|---|---| +| primary | ai for teachers | 3,600 | 4,542 | 32 | 5.15 | +| primary | ai worksheet generator | 880 | 1,316 | **1** | 6.18 | +| primary | ai lesson plan generator | 880 | 1,211 | **3** | 5.30 | +| secondary | free ai for teachers | 390 | 911 | 60 | 6.68 | +| secondary | ai tools for teachers | 1,600 | 759 | 36 | 5.96 | +| secondary | ai quiz maker | - | 7,393 | - | - | +| secondary | quiz generator from pdf | 140 | 455 | 14 | 4.33 | +| tertiary | notebooklm for teachers | - | 151 | - | - | + +- **Title:** `Free AI for Teachers: Quizzes, Worksheets and Lesson Plans` (58) +- **Meta:** `Make quizzes, worksheets, lesson plans and slides from your own teaching materials, free and on your computer. Student work never leaves your machine.` (150) +- **H1:** `Free AI for teachers: quizzes, worksheets and lesson plans from your own materials` +- **First paragraph:** free and on the teacher's own computer; made from their + syllabus, readings and slides; student work they add is never uploaded. +- **H2s:** + 1. *A quiz from your own materials* (Quiz in the app, or a printable quiz with + an answer key as a Word or PDF file) + 2. *Worksheets as Word or PDF files* + 3. *Lesson plans from your syllabus* (Word) + 4. *Slides for tomorrow's class* + 5. *Flashcards and a podcast recap for your students* + 6. *Student work stays on your computer* (where the bytes are; no FERPA claim) + 7. *Free, with no account and no school sign-up* +- **FAQ:** *Is it free for teachers?* *Can I print the quiz?* *Is student work + uploaded?* *Does it run on a school computer?* (answer only after checking + an install without admin rights on each OS) +- **Links:** `/ai-for-students`, `/downloads`, `/pricing`. +- **Verify before publishing:** a printable quiz with an answer key, a + worksheet and a lesson plan, on a local model and with a hosted key. + +## `/private-ai-for-healthcare` (round three) + +| role | keyword | Ads | clickstream | kd | cpc | +|---|---|---|---|---|---| +| primary | hipaa compliant ai | 4,400 | 754 | 34 | 46.33 | +| primary | ai for doctors | 720 | 706 | 43 | 6.70 | +| secondary | ai for healthcare | 14,800 | 504 | 44 | 12.68 | +| secondary | hipaa compliant chatgpt | 390 | 151 | - | 63.56 | +| secondary | hipaa compliant ai tools | 390 | 100 | 34 | 35.49 | +| tertiary | ai for therapists | 390 | 50 | 30 | 20.60 | +| tertiary | ai for nurses | 210 | 50 | 21 | 11.07 | + +- **Title:** `Private AI for Healthcare: Patient Data Stays on Your Device` (60) +- **Meta:** `Free, open-source AI that runs on your own computer, so patient records are never uploaded. Summarise records, draft letters and search notes offline.` (150) +- **H1:** `Private AI for healthcare: patient records stay on your computer` +- **The rule:** the page never says "HIPAA compliant". It states where the bytes + are, and that with a local model no patient data reaches any AI vendor, and + lets the reader draw the conclusion. It earns `hipaa compliant ai` by + answering the question searchers ask with those facts. The compliance read + comes before publishing. +- **H2s:** *Is there a HIPAA compliant AI?* (the facts; compliance comes from the + practice's own controls) · *Summarise records and referral letters* · + *Search across notes and guidelines* · *Paperwork, not diagnosis* (clinical + decisions are out of scope) · *For therapists and small practices*. +- **Must not:** clinical claims, "HIPAA compliant", any promise of a business + associate agreement. + +## The GitHub repo + +- **Description** (decided): `Air-gapped, private AI for confidential documents. Open-source NotebookLM alternative that runs on your computer.` + (113 characters). The Discord link stays after it, as today. "Open-source + NotebookLM alternative" moves to the second sentence; GitHub ranks first for + `open source notebooklm` and `local notebooklm` on the old wording, so re-pull + the repo's rankings four weeks after the change. +- **Topics,** 20 in place of today's nine: `06`'s sixteen (`notebooklm`, + `notebooklm-alternative`, `notebooklm-mcp`, `rag`, `local-llm`, `self-hosted`, + `self-hosted-ai`, `air-gapped`, `offline`, `local-first`, `privacy`, + `private-ai`, `mcp`, `mcp-server`, `electron`, `ollama`) plus `local-ai`, + `legal-ai`, `flashcards` and `document-ai`. Dropped: `ai`, `agent`, `agents`, + and `web-scraping`, whose scrapers retire at the switch. +- **README:** the bold tagline under the header becomes "Air-gapped, private AI + for confidential documents." and the banner's alt text follows it. The first + paragraph already says "documents you can't upload" and "NotebookLM-style", + so it stays. Make the same change in all ten `README..md` files, in + each locale's words (`06`). The README names no job. +- The description and topics live in the repo's settings, not in a file, so no + PR carries them (`06`'s checklist). They change when the maintainer says so. + +## Every page + +- Title, meta and H1 as above; H2s that are questions searchers ask or jobs + they do; an opening paragraph that answers the query in plain sentences. +- `SoftwareApplication` (price 0) on the audience pages, `FAQPage` wherever there + is an FAQ, a canonical URL, Open Graph and Twitter tags as + `/private-ai-for-business` sets them, `hreflang` `en` and `x-default` (`02`), + and a sitemap entry. +- Each audience page links `/downloads`, `/pricing`, its job page and one + sibling page; the homepage links all of them. +- Server components with no client JavaScript, in the homepage's shapes, as + `/private-ai-for-business` is built. +- App labels quoted exactly as `en.json` has them, and no claim the app cannot + show today. + +## Order + +1. **With the switch release:** the nav, the homepage, `/ai-for-lawyers` and + `/jobs/contract-redline` (after the lawyer's read), `/ai-for-accountants`, + `/jobs/security-questionnaire`, the `/pricing` changes, `/plugins` out of the + nav, `/private-ai-for-business` relinked. The GitHub description and topics + whenever the maintainer says. +2. **Indexed by early January,** ahead of the March and April study peak + (`02`): `/ai-for-students` and `/ai-for-teachers`, then `02`'s study hub, + flashcards, quiz and podcast pages. +3. **After the compliance read:** `/private-ai-for-healthcare`. +4. **Four to six weeks after each round:** re-pull `ranked_keywords` for + surfsense.com and the repo, one call each. + +## Not in this round + +- **A NotebookLM comparison page.** The family is worth having + (`notebooklm alternative` 807, `notebooklm for students` 658, + `open source notebooklm` 302) and the homepage title no longer carries it. It + is the first candidate for round two. +- **Pages per questionnaire** (HECVAT, CAIQ, SIG Lite): `08`'s plan, after the + job's own page. +- **Localised pages:** `03`. diff --git a/plans/community-local/seo/data/README.md b/plans/community-local/seo/data/README.md index 8080244773..bfecdf1da7 100644 --- a/plans/community-local/seo/data/README.md +++ b/plans/community-local/seo/data/README.md @@ -63,6 +63,9 @@ redirecting stdout). | `b2b-oct/overview-*.json.gz`, `b2b-oct/clickstream-*.json.gz` | `keyword_overview/live`, `clickstream_data/bulk_search_volume/live` | **pulled 21 Oct 2026** for the October revision of [`../08-b2b-artifact-jobs.md`](../08-b2b-artifact-jobs.md): September's term set re-pulled plus 922 terms for 37 new file-job use cases, one snapshot through Sep 2026; see [B2B file jobs, October 2026](#b2b-file-jobs-october-2026) | | `b2b-oct/ranked-.json.gz`, `b2b-oct/serp/`, `b2b-oct/recheck/`, `b2b-oct/discovery/` | `ranked_keywords/live`, `serp/google/organic/live/advanced`, overview, clickstream and suggestions | **21 Oct 2026**: 17 more vendors' non-brand keywords, 83 SERPs, the summer-step and category re-check, and the scouts' discovery pulls | | `b2b-oct/use-cases.json` | config | 135 use cases, the judged label of every new term (`labels`), 95 exclusions with reasons, the narrowed `cores` the verdicts rest on, plays and watch lists | +| `keyword-overview-audiences-2026-11.json.gz` | `dataforseo_labs/google/keyword_overview/live` | **pulled 9 Nov 2026** for [`../09-audience-pages.md`](../09-audience-pages.md): 67 privacy, profession, job, study and teaching terms, US, through Sep 2026 | +| `clickstream-audiences-2026-11.json.gz` | `keywords_data/clickstream_data/bulk_search_volume/live` | **9 Nov 2026**: exact-phrase volumes for 40 of those terms through Oct 2026, 33 with a series and 7 below the floor; stored compact, one series per term, newest month first | +| `ranked-keywords-surfsense-2026-11.json.gz` | `dataforseo_labs/google/ranked_keywords/live` | **9 Nov 2026**: surfsense.com's top 40 rankings, every one of them on `/free` | ## Methodology notes diff --git a/plans/community-local/seo/data/clickstream-audiences-2026-11.json.gz b/plans/community-local/seo/data/clickstream-audiences-2026-11.json.gz new file mode 100644 index 0000000000000000000000000000000000000000..8465d4798f6f1f3ece363104095aa97dc9b9e725 GIT binary patch literal 1542 zcmV+h2Ko6PiwFozO7dy~|6^=vV{3DCa%Ev{En#(JX=QF>WpgbuFfukRF)=P`b8l_{ zyja_g+cpq=FOYvA{Jh)nBHq%+ent>17>Tdv9+DDu zIGj0i$nPJ1BRk(#eOI^B?i1NP`?uF_sK$rNP3~ja)aCOy4c;Bj9bb>l^TX)fQ0^aI zy5@NBADjBc@9yS#`eW1hYMzBtuI?GTr}jM3bfuf>u6-!G%EJTP6!bLEcGKM6{n;IQ zS5Bnt`Zv-&l4mb>+r9XK9J+SekAILB zFpzpA?%Z>lsCTVzNL5z^J_pnG-7x)r26lc85PXIf;-;su&M=E-ZQ>xu^lwNoRHU(Kg__tpN3sc4s~0RgX_tYZ~fq=Zop*`CX~KATb#+v zN~40QU=Gk!*d0fVm7|qA+*PCAmenbd^?Q^l;uVEgwY~c zR)@ZMz1J*_P&hYN-W43dD{%p8>bhn;L7V3I@6D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*)L`iRoKjN zs6~{GQ;97!v)*jstJx}7>k(WGFT@-SjbSMfD;Mx$oH|fqE}5>7H9^V7c;)Ak(E*LR z=!C}W7r{~6NVEtJs^Od!bnhZKcm&6e=xi+oOWh27kK^2Dj7Z1=ETZ*sd=jCrNfqv8 zkm7#hu%=H)vHDI)!TSZSjPwayUF7L1jyV*8x!wqVdqboH6g6ns)cpHDe)o_64-fAQ I)|UnX0O=Cjk^lez literal 0 HcmV?d00001 diff --git a/plans/community-local/seo/data/ranked-keywords-surfsense-2026-11.json.gz b/plans/community-local/seo/data/ranked-keywords-surfsense-2026-11.json.gz new file mode 100644 index 0000000000000000000000000000000000000000..0d5b63ad6a64e4f36401203ecb601740e8c68e6b GIT binary patch literal 11651 zcmV-}Equ}+iwFp_H}Yx#19D+*Yh`3DYh`(NZ*pXFEpv5pW^-k3b7d_uFfukRF)=P` zb8l_{?49e5<3@IX|L;=}4a9$Tnyz~l2^fK4dl!@S*t;1Ij38JDYKhasv|5x!syhQ? zfjml{BR}&fd6HC7l$tD76-kj&vwLXxGS(qQikDO8JJ;X;;CWZ^@+$PMAOrz|kX%E~ z*fqccUIY2pHNqd+4d5ga7+$?m+o#z)+oiKbvW(=8NNrXA{60$4`K=ON{e0)|cgd1$ zzLI4IchTp^WV@U#=h<9J51&6t)K`DpMv*s< z^RL(Ti`O5M%6?L|ny1-pw~=2NEoWJLpPwEAh+RV*ybQO=HjbXI{^2iqY*^V? zeFT}%KN5m!AIT?%l|K1<<%svmI{UQxJlp@){J6hYcHiF&5UAgesrLJiVqv^IM=^Jc znOjWV$0lwuc8ihw*w7)S*U+`M6gTV*j;B_V{=@zZ&a!Q^Ue<3>aTC=ujI{&(wwrIW zXj=%&hdKWFABIKDc7Y`#viPtmr#S+?Cp#^0Vs+l^62$@gM$H`{G<{qZTwHfi|v*N=~n{%w-nt|DLR znXmWv>7Rf5MqP}5LSP<$^=b7@wEpUL_05O(U&YZkAAb4MwfJhcTSebI{_(qS-~R3G zpWeRz?r$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ff --git a/www/app/(home)/_home/home-audiences.tsx b/www/app/(home)/_home/home-audiences.tsx new file mode 100644 index 0000000000..9765fd855a --- /dev/null +++ b/www/app/(home)/_home/home-audiences.tsx @@ -0,0 +1,77 @@ +import Link from "next/link"; +import { AUDIENCES, type AudienceCard, JOBS_STRIP } from "@/app/(home)/_home/home-content"; +import { HomeBadge } from "@/components/site/home-badge"; +import { sectionSpacing } from "@/components/site/home-section-spacing"; +import { siteText } from "@/components/site/site-text"; +import { cn } from "@/components/ui/cn"; +import { + ArrowRightIcon, + Briefcase01Icon, + Calculator01Icon, + type Icon, + JusticeScale01Icon, +} from "@/components/ui/icons"; +import { BUSINESS_LAUNCHED } from "@/features/business-launch/business-launched.mts"; + +/** + * Who it's for: a card per reader, each linking the page written for them, with the paid + * jobs in a strip below. Sits under the logos so a visitor can pick their page before the + * argument starts. Renders nothing until Business is on sale. See `AUDIENCES` in + * `home-content.ts`. + */ + +const ICONS: Record = { + lawyers: JusticeScale01Icon, + accountants: Calculator01Icon, + business: Briefcase01Icon, +}; + +export function HomeAudiences() { + if (!BUSINESS_LAUNCHED) return null; + + return ( +
+
+ {AUDIENCES.eyebrow} +

{AUDIENCES.headline}

+
+ +
    + {AUDIENCES.cards.map((card) => { + const CardIcon = ICONS[card.key]; + return ( +
  • + +

    {card.title}

    +

    {card.body}

    +

    + + {card.action.label}

    +
  • + ); + })} +
+ +
+

{JOBS_STRIP.body}

+
+ {JOBS_STRIP.actions.map((action) => ( + + {action.label}
+
+
+ ); +} diff --git a/www/app/(home)/_home/home-content.ts b/www/app/(home)/_home/home-content.ts index fe73adc0df..6729bc60eb 100644 --- a/www/app/(home)/_home/home-content.ts +++ b/www/app/(home)/_home/home-content.ts @@ -1,4 +1,12 @@ -import { BUSINESS_URL, DOWNLOADS_URL, REPO_URL } from "@/components/site/site-content"; +import { + ACCOUNTANTS_URL, + BUSINESS_URL, + CONTRACT_REDLINE_URL, + DOWNLOADS_URL, + LAWYERS_URL, + REPO_URL, + SECURITY_QUESTIONNAIRE_URL, +} from "@/components/site/site-content"; import { BUSINESS_LAUNCHED } from "@/features/business-launch/business-launched.mts"; /** @@ -136,6 +144,56 @@ export const FORMATS: Format[] = [ { key: "infographic", label: "Infographic", body: "Key figures laid out as one visual." }, ]; +/** + * Who it's for, added on 9 Nov 2026 (`plans/community-local/seo/09-audience-pages.md`): + * a card per reader, each linking the page written for them, and the paid jobs in a strip + * below. Like `HomePillars` and `HomeCompare`, a band of its own whose headline is a `

` + * styled like an H2, so the brief's eight H2s keep their count and order. + * + * Shown once Business is on sale, because the pages it links name the paid jobs. A reader + * joins the band once their page is live: students and teachers next. + */ +export type AudienceCard = { + key: "lawyers" | "accountants" | "business"; + title: string; + body: string; + action: Action; +}; + +export const AUDIENCES: { eyebrow: string; headline: string; cards: AudienceCard[] } = { + eyebrow: "Who it's for", + headline: "Made for the files you can't upload", + cards: [ + { + key: "lawyers", + title: "Lawyers", + body: "Ask across a matter with a citation for every point, draft memos and decks, and review contracts against your playbook.", + action: { label: "AI for lawyers", href: LAWYERS_URL }, + }, + { + key: "accountants", + title: "Accountants", + body: "Work through client statements and returns, build reports and spreadsheets, and answer clients' security questionnaires.", + action: { label: "AI for accountants", href: ACCOUNTANTS_URL }, + }, + { + key: "business", + title: "Consultants and other professions", + body: "Turn confidential research into client-ready decks, reports and briefings, on the machine the files are on.", + action: { label: "Private AI for business", href: BUSINESS_URL }, + }, + ], +}; + +/** The paid jobs, in the user guide's words: a job does paperwork from your firm's own documents. */ +export const JOBS_STRIP: { body: string; actions: Action[] } = { + body: "SurfSense Business adds jobs that do paperwork from your firm's own documents.", + actions: [ + { label: "Contract redline", href: CONTRACT_REDLINE_URL }, + { label: "Security questionnaire", href: SECURITY_QUESTIONNAIRE_URL }, + ], +}; + /** H2 #2, #3, #4 — the three arguments that run as a ruled row. */ export const PILLARS: (Cell & { action: Action })[] = [ { @@ -190,7 +248,10 @@ export const FEATURES: { }, { key: "plugins", - heading: "Open source, extended by plugins", + // Its plugins retire with the switch, so the heading names what is built in instead. + heading: BUSINESS_LAUNCHED + ? "Open source, with web search built in" + : "Open source, extended by plugins", // From Business on, the platform scrapers are retired and SurfSense's three are built in. body: BUSINESS_LAUNCHED ? "Reading web pages, YouTube and web search is built in and free. Plugins add more." diff --git a/www/app/(home)/_home/home-sections.tsx b/www/app/(home)/_home/home-sections.tsx index 1d8d3c58c0..6b41d1360b 100644 --- a/www/app/(home)/_home/home-sections.tsx +++ b/www/app/(home)/_home/home-sections.tsx @@ -51,11 +51,11 @@ export function HomeHero() {

- Air-gapped, open source NotebookLM alternative + Air-gapped private AI for confidential documents

- A private research notebook that runs entirely on your own machine. Your documents, your - model keys, no cloud, no account. + A NotebookLM-style notebook that runs entirely on your own computer. Your documents, + your model, no cloud and no account.

diff --git a/www/app/(home)/ai-for-accountants/page.tsx b/www/app/(home)/ai-for-accountants/page.tsx new file mode 100644 index 0000000000..dc04c47f53 --- /dev/null +++ b/www/app/(home)/ai-for-accountants/page.tsx @@ -0,0 +1,170 @@ +import { notFound } from "next/navigation"; +import { JsonLd } from "@/components/site/json-ld"; +import { ACCOUNTANTS_URL, SECURITY_QUESTIONNAIRE_URL } from "@/components/site/site-content"; +import { + BubbleChatIcon, + ChartHistogramIcon, + Presentation02Icon, + SecurityCheckIcon, +} from "@/components/ui/icons"; +import { + type AudiencePageMeta, + audiencePageSchema, + businessPageMetadata, +} from "@/features/audience-pages/audience-metadata"; +import { + AudienceAnswer, + AudienceCards, + AudienceClosing, + AudienceHero, + type AudienceQuestion, + AudienceQuestions, +} from "@/features/audience-pages/audience-sections"; +import { BUSINESS_LAUNCHED } from "@/features/business-launch/business-launched.mts"; +import { FIRST_PERSON_PRICE, yearlyPriceLabel } from "../pricing/business-price"; + +/** + * AI for accountants. Brief: `plans/community-local/seo/09-audience-pages.md`, + * `/ai-for-accountants`. + * + * The exact phrases draw little search (about 50 a month in clickstream; Google's 6,600 for + * `ai for accountants` has absorbed accounting-software searches), so this page is where + * outreach, trial emails and demos send accounting firms as much as a search page. + * + * A 404 until Business is on sale (`NEXT_PUBLIC_BUSINESS_LAUNCHED`), because it sells the + * security questionnaire. Any line on what a regulator requires of a firm goes through a + * compliance read first; this page says only where the data is. + */ + +const PRICE = yearlyPriceLabel(FIRST_PERSON_PRICE); + +const PAGE: AudiencePageMeta = { + path: ACCOUNTANTS_URL, + title: "AI for Accountants: Private AI for Client Financial Files", + description: + "Free, open-source AI for accountants that keeps client files on your computer. Draft reports, pull figures and answer security questionnaires.", + keywords: [ + "ai for accountants", + "ai for accounting firms", + "ai for bookkeepers", + "ai for cpa", + "ai for tax preparers", + "ai for audit", + "private ai for accountants", + ], + imageAlt: "SurfSense, private AI for accountants", +}; + +export const metadata = businessPageMetadata(BUSINESS_LAUNCHED, PAGE); + +const QUESTIONS: AudienceQuestion[] = [ + { + question: "Does SurfSense connect to QuickBooks or Xero?", + answer: + "No. SurfSense reads the files you add: PDF, Word, Excel and PowerPoint files, scans and photos, and web pages. Export a report from your accounting software as a PDF or an Excel file, and add it to Sources.", + }, + { + question: "Is client data uploaded?", + answer: + "Not with a local model: SurfSense keeps your files, its index and your chats on your computer, and sends nothing. With a hosted model you choose, that provider receives only what each request needs, such as the question and the passages behind it.", + }, + { + question: "Is SurfSense free for an accounting firm?", + answer: `Yes. The app and every update are free for any use, client work included. A Business licence is needed only for SurfSense's job plugins, such as the security questionnaire, at ${PRICE} a year for each person who uses them.`, + }, + { + question: "Does SurfSense work offline?", + answer: + "Yes, with a local model. SurfSense installs with a model runner built in, and once a model is downloaded it answers questions about the sources you already added with no network connection. A hosted model needs the internet.", + }, +]; + +export default function AiForAccountantsPage() { + if (!BUSINESS_LAUNCHED) notFound(); + + return ( + <> + + + + + +

+ It turns on where the data goes, so here is exactly where it goes. SurfSense keeps its + index, your chats and everything it makes in a folder on your computer. There is no + SurfSense account and no SurfSense server, so we never hold a copy of a client's figures. +

+

+ With a model that runs on your computer, nothing leaves it. With a hosted model you + choose, that provider receives only what each request needs: the question and the passages + behind it, or the documents you ask Studio to work from. +

+

+ Whether a workflow fits your firm's own security plan and obligations is yours to judge. + What SurfSense can tell you is where every file is. +

+
+ + + + +

+ The app and every update are free, with no account and no usage cap. A Business licence + adds SurfSense's job plugins, the security questionnaire and the contract redline, at{" "} + {PRICE} a year for each person who uses them. You can try both free for 14 days. +

+
+ + + + ); +} diff --git a/www/app/(home)/ai-for-lawyers/page.tsx b/www/app/(home)/ai-for-lawyers/page.tsx new file mode 100644 index 0000000000..87e5697710 --- /dev/null +++ b/www/app/(home)/ai-for-lawyers/page.tsx @@ -0,0 +1,168 @@ +import { notFound } from "next/navigation"; +import { JsonLd } from "@/components/site/json-ld"; +import { CONTRACT_REDLINE_URL, LAWYERS_URL } from "@/components/site/site-content"; +import { BubbleChatIcon, CpuIcon, File02Icon, LegalDocument01Icon } from "@/components/ui/icons"; +import { + type AudiencePageMeta, + audiencePageSchema, + businessPageMetadata, +} from "@/features/audience-pages/audience-metadata"; +import { + AudienceAnswer, + AudienceCards, + AudienceClosing, + AudienceHero, + type AudienceQuestion, + AudienceQuestions, +} from "@/features/audience-pages/audience-sections"; +import { BUSINESS_LAUNCHED } from "@/features/business-launch/business-launched.mts"; +import { FIRST_PERSON_PRICE, yearlyPriceLabel } from "../pricing/business-price"; + +/** + * AI for lawyers. Brief: `plans/community-local/seo/09-audience-pages.md`, `/ai-for-lawyers`. + * + * A 404 until Business is on sale (`NEXT_PUBLIC_BUSINESS_LAUNCHED`), because it sells the + * contract redline. ADR 0086 holds legal marketing for a lawyer's review, so the PR that + * turns this page on records who read it. + * + * Two rules from the brief constrain edits: say where the bytes are, never what professional + * rule that satisfies, and quote no accuracy figure for the redline before the maintainer has + * checked the eval's stance file. + */ + +const PRICE = yearlyPriceLabel(FIRST_PERSON_PRICE); + +const PAGE: AudiencePageMeta = { + path: LAWYERS_URL, + title: "AI for Lawyers: Private Legal AI That Runs on Your Computer", + description: + "Free, open-source legal AI that keeps client files on your computer. Search a matter, draft memos and decks, and redline contracts against your playbook.", + keywords: [ + "ai for lawyers", + "legal ai tools", + "legal ai", + "chatgpt for lawyers", + "ai for law firms", + "ai contract review", + "private legal ai", + ], + imageAlt: "SurfSense, private AI for lawyers", +}; + +export const metadata = businessPageMetadata(BUSINESS_LAUNCHED, PAGE); + +const QUESTIONS: AudienceQuestion[] = [ + { + question: "Does SurfSense give legal advice?", + answer: + "No. SurfSense is software that works from the documents you add and, for the contract redline, from your firm's own playbook. It never makes up a position, and every answer cites the passage it came from so you can check it. A lawyer decides what to rely on.", + }, + { + question: "How is SurfSense different from using ChatGPT for legal work?", + answer: + "ChatGPT runs on OpenAI's servers, so a document you upload to it goes to them. SurfSense is an app on your own computer: it answers from the documents you add, cites the passage behind each point, and with a local model sends nothing anywhere. You can still use an OpenAI model in SurfSense with your firm's own key.", + }, + { + question: "Does SurfSense work offline?", + answer: + "Yes, with a local model. SurfSense installs with a model runner built in, and once a model is downloaded it answers questions about the sources you already added with no network connection. A hosted model needs the internet.", + }, + { + question: "Where are my client files stored?", + answer: + "In a folder in your user directory on your own computer, with a database file in it. You can back it up, keep it on an encrypted disk, or delete everything by deleting the folder. SurfSense has no server that keeps a copy.", + }, + { + question: "How much does the contract redline cost?", + answer: `It comes with a Business licence, at ${PRICE} a year for each person who uses SurfSense's job plugins, and a 14-day free trial needs only an email address. Everything else in the app is free.`, + }, +]; + +export default function AiForLawyersPage() { + if (!BUSINESS_LAUNCHED) notFound(); + + return ( + <> + + + + + +

+ It turns on where the documents go, so here is exactly where they go. SurfSense keeps its + index, your chats and everything it makes in a folder on your computer. There is no + SurfSense account and no SurfSense server, so we never hold a copy of your files or your + chats. +

+

+ With a model that runs on your computer, nothing leaves it. With a hosted model you + choose, such as one your firm already has a contract with, that provider receives only + what each request needs: the question and the passages behind it, or the documents you ask + Studio to work from. +

+

+ Whether a workflow meets your professional duties is yours to judge. The ABA's Formal + Opinion 512 on generative AI tools is a good place to start. +

+
+ + + + +

+ The app and every update are free, with no account and no usage cap. A Business licence + adds SurfSense's job plugins, the contract redline and the security questionnaire, at{" "} + {PRICE} a year for each person who uses them. You can try both free for 14 days. +

+
+ + + + ); +} diff --git a/www/app/(home)/jobs/contract-redline/page.tsx b/www/app/(home)/jobs/contract-redline/page.tsx new file mode 100644 index 0000000000..0667184419 --- /dev/null +++ b/www/app/(home)/jobs/contract-redline/page.tsx @@ -0,0 +1,214 @@ +import Link from "next/link"; +import { notFound } from "next/navigation"; +import { JsonLd } from "@/components/site/json-ld"; +import { CONTRACT_REDLINE_URL, LAWYERS_URL } from "@/components/site/site-content"; +import { siteText } from "@/components/site/site-text"; +import { + BubbleChatIcon, + ClipboardCheckIcon, + Key01Icon, + LegalDocument01Icon, +} from "@/components/ui/icons"; +import { + type AudiencePageMeta, + audiencePageSchema, + businessPageMetadata, +} from "@/features/audience-pages/audience-metadata"; +import { + AudienceAnswer, + AudienceCards, + AudienceClosing, + AudienceHero, + AudienceNotes, + type AudienceQuestion, + AudienceQuestions, + AudienceSteps, +} from "@/features/audience-pages/audience-sections"; +import { BUSINESS_LAUNCHED } from "@/features/business-launch/business-launched.mts"; +import { FIRST_PERSON_PRICE, yearlyPriceLabel } from "../../pricing/business-price"; +import { BUSINESS_CHECKOUT_URL } from "../../pricing/business-pricing-content"; + +/** + * The contract redline job. Brief: `plans/community-local/seo/09-audience-pages.md`, + * `/jobs/contract-redline`. What the job does, and every label quoted here, comes from the + * user guide's "Review a contract" (`content/docs/v2/jobs.mdx`), so the two never disagree. + * + * A 404 until Business is on sale (`NEXT_PUBLIC_BUSINESS_LAUNCHED`). ADR 0086 holds public + * redline pages for a lawyer's review, so the PR that turns it on records who read it. No + * accuracy figure goes on it before the maintainer has checked the eval's stance file. + */ + +const PRICE = yearlyPriceLabel(FIRST_PERSON_PRICE); + +const PAGE: AudiencePageMeta = { + path: CONTRACT_REDLINE_URL, + title: "AI Contract Review Against Your Own Playbook | SurfSense", + description: + "SurfSense reviews a Word contract against your firm's playbook and returns tracked changes and comments, on your own computer. 14-day free trial.", + keywords: [ + "ai contract review", + "contract review ai", + "contract redlining software", + "ai redlining", + "ai legal document review", + "nda review", + "contract playbook", + ], + imageAlt: "SurfSense contract redline", +}; + +export const metadata = businessPageMetadata(BUSINESS_LAUNCHED, PAGE); + +const QUESTIONS: AudienceQuestion[] = [ + { + question: "What does the contract redline need?", + answer: + "A contract as a Word file (.docx), your firm's playbook in Sources, a chat model selected in Settings, and a Business licence or its 14-day trial. Save an older Word file (.doc) as .docx first.", + }, + { + question: "Does it make up positions?", + answer: + "No. It checks the contract only against your playbook. Where your playbook says nothing on a point, the contract is left as it is there.", + }, + { + question: "Can the other side see SurfSense's reasoning?", + answer: + "No. SurfSense's reasoning and the words of your playbook it rests on are internal comments, which stay in Studio: every download leaves them out. The other side sees the tracked changes and the comments written for them, and you can turn those comments off in the job's Settings.", + }, + { + question: "Which model should I use?", + answer: + "The job answers with the chat model selected in Settings. A model that runs on your computer keeps the contract on it, but it is usually smaller and leaves more points for a person to settle.", + }, + { + question: "Is my contract uploaded anywhere?", + answer: + "Running a job sends SurfSense nothing. The contract and your playbook are read on your computer, and go only to the model you chose, when that model doesn't run on your computer.", + }, +]; + +export default function ContractRedlinePage() { + if (!BUSINESS_LAUNCHED) notFound(); + + return ( + <> + + + + + + + + + +

+ Running a job sends SurfSense nothing. The contract and your playbook are read on your + computer, and go only to the model you chose for the job, when that model doesn't run on + your computer. +

+

+ Each run makes a revised copy in Studio. Your own file is never changed, and earlier + versions of the copy stay in Studio too. +

+
+ + +

+ Its review points are those of a non-disclosure agreement, such as what counts as + confidential, notice of a compelled disclosure, return or destruction, and survival. Each + point is checked on its own against your playbook. +

+

+ SurfSense reviews and changes the body of the contract only, never its headers, footers or + footnotes. A contract that already holds tracked changes is reviewed as it reads with + them. A point SurfSense can't settle, or whose change it can't place in the contract, is + left for a person. +

+
+ + +

+ The contract redline is a job plugin in SurfSense Business, with the security + questionnaire, at {PRICE} a year for each person who uses them. A 14-day trial of both + needs only an email address, with no card and no account. Working on a legal team?{" "} + + See what else SurfSense does for lawyers + + . +

+
+ + + + ); +} diff --git a/www/app/(home)/jobs/security-questionnaire/page.tsx b/www/app/(home)/jobs/security-questionnaire/page.tsx new file mode 100644 index 0000000000..5d3f38675d --- /dev/null +++ b/www/app/(home)/jobs/security-questionnaire/page.tsx @@ -0,0 +1,213 @@ +import Link from "next/link"; +import { notFound } from "next/navigation"; +import { JsonLd } from "@/components/site/json-ld"; +import { ACCOUNTANTS_URL, SECURITY_QUESTIONNAIRE_URL } from "@/components/site/site-content"; +import { siteText } from "@/components/site/site-text"; +import { + BookOpen01Icon, + CheckmarkBadgeIcon, + ClipboardCheckIcon, + File02Icon, +} from "@/components/ui/icons"; +import { + type AudiencePageMeta, + audiencePageSchema, + businessPageMetadata, +} from "@/features/audience-pages/audience-metadata"; +import { + AudienceAnswer, + AudienceCards, + AudienceClosing, + AudienceHero, + AudienceNotes, + type AudienceQuestion, + AudienceQuestions, + AudienceSteps, +} from "@/features/audience-pages/audience-sections"; +import { BUSINESS_LAUNCHED } from "@/features/business-launch/business-launched.mts"; +import { FIRST_PERSON_PRICE, yearlyPriceLabel } from "../../pricing/business-price"; +import { BUSINESS_CHECKOUT_URL } from "../../pricing/business-pricing-content"; + +/** + * The security questionnaire job. Brief: `plans/community-local/seo/09-audience-pages.md`, + * `/jobs/security-questionnaire`. What the job does, and every label quoted here, comes + * from the user guide's "Run a job" and "What a job writes" (`content/docs/v2/jobs.mdx`), + * so the two never disagree. + * + * A 404 until Business is on sale (`NEXT_PUBLIC_BUSINESS_LAUNCHED`). Pages for named + * questionnaires (HECVAT, CAIQ, SIG Lite) follow `08-b2b-artifact-jobs.md` later. + */ + +const PRICE = yearlyPriceLabel(FIRST_PERSON_PRICE); + +const PAGE: AudiencePageMeta = { + path: SECURITY_QUESTIONNAIRE_URL, + title: "Answer Security Questionnaires From Your Own Policies", + description: + "SurfSense fills a customer's security questionnaire in their own spreadsheet from your firm's policies, cites each answer and flags what needs a person.", + keywords: [ + "security questionnaire", + "security questionnaire automation", + "vendor security questionnaire", + "security questionnaire software", + "answer security questionnaires", + ], + imageAlt: "SurfSense security questionnaire", +}; + +export const metadata = businessPageMetadata(BUSINESS_LAUNCHED, PAGE); + +const QUESTIONS: AudienceQuestion[] = [ + { + question: "What does the security questionnaire need?", + answer: + "The questionnaire as an Excel workbook (.xlsx), your firm's policies in Sources, a chat model selected in Settings, and a Business licence or its 14-day trial. Save a Word or older Excel file as .xlsx first.", + }, + { + question: "Will it make up answers?", + answer: + "No. It answers from the documents you tick. It writes Yes only where a passage in them says so, word for word, and a second check agrees, and it leaves any question it can't back for a person.", + }, + { + question: "What are suggested answers?", + answer: + "Answers SurfSense found passages for but leaves for you to choose. They're on the exceptions sheet with the rest of what a person should look at. Once you've checked them, confirm them in Jobs or in Studio, and each one is written into its cell in a new version of the copy.", + }, + { + question: "Which model should I use?", + answer: + "The job answers with the chat model selected in Settings. A model that runs on your computer keeps your documents on it, but it is usually smaller and leaves more questions for a person to answer.", + }, + { + question: "Are my policies uploaded anywhere?", + answer: + "Running a job sends SurfSense nothing. The questionnaire and your policies are read on your computer, and go only to the models you chose for the job, when they don't run on your computer.", + }, +]; + +export default function SecurityQuestionnairePage() { + if (!BUSINESS_LAUNCHED) notFound(); + + return ( + <> + + + + + + +
-
- {FOOTER_COLUMNS.map((column) => ( +
3 + ? "sm:grid-cols-4 sm:gap-x-10 lg:gap-x-14" + : "sm:grid-cols-3 sm:gap-x-16 lg:gap-x-24" + )} + > + {COLUMNS.map((column) => (

{column.heading}

    diff --git a/www/components/site/site-nav.tsx b/www/components/site/site-nav.tsx index 2681eec303..2d9016a428 100644 --- a/www/components/site/site-nav.tsx +++ b/www/components/site/site-nav.tsx @@ -4,18 +4,25 @@ import Image from "next/image"; import Link from "next/link"; import { useEffect, useRef, useState } from "react"; import { HomeButton } from "@/components/site/home-button"; -import { DOWNLOADS_URL, NAV_LINKS, NAV_RESOURCES } from "@/components/site/site-content"; +import { DOWNLOADS_URL, type SiteLink } from "@/components/site/site-content"; import { SiteStars } from "@/components/site/site-stars"; import { siteText } from "@/components/site/site-text"; import { cn } from "@/components/ui/cn"; import { ChevronDownIcon, MenuTwoLineIcon } from "@/components/ui/icons"; +import { BUSINESS_LAUNCHED } from "@/features/business-launch/business-launched.mts"; +import { + isNavMenu, + type NavEntry, + type NavMenu, + siteNavigation, +} from "@/features/site-navigation/site-navigation"; /** * Site navigation. * * Rendered once by `app/(home)/layout.tsx`, above any route branch, so it is a * single element in a single slot for every page. React therefore keeps it - * mounted across navigations: the drawer, the dropdown, the scroll listener and + * mounted across navigations: the drawer, the dropdowns, the scroll listener and * the star query all survive, and only the content below it changes. Rendering * a different nav per route — which is what this replaced — made React unmount * one component and mount another, resetting all of that on every link click. @@ -29,12 +36,40 @@ import { ChevronDownIcon, MenuTwoLineIcon } from "@/components/ui/icons"; * `ss-home-nav*` classes left on the markup are hooks for the surface shadow * and the menu motion in `home.css`. * + * What it links comes from `siteNavigation`, which changes with the Business + * launch switch: plain links and dropdown menus, in order. One menu is open at a + * time. + * * The star count arrives as a prop rather than being fetched here: it is read * and cached on the server, so it is already in the HTML on first paint. */ const MENU_ID = "site-nav-menu"; +const NAV = siteNavigation(BUSINESS_LAUNCHED); + +/** The drawer's runs: each menu under its own heading, and the plain links between them together. */ +type DrawerGroup = { key: string; heading?: string; links: SiteLink[] }; + +function drawerGroups(entries: NavEntry[]): DrawerGroup[] { + const groups: DrawerGroup[] = []; + for (const entry of entries) { + if (isNavMenu(entry)) { + groups.push({ key: entry.name, heading: entry.name, links: entry.items }); + continue; + } + const last = groups.at(-1); + if (last && last.heading === undefined) { + last.links.push(entry); + } else { + groups.push({ key: entry.href, links: [entry] }); + } + } + return groups; +} + +const DRAWER_GROUPS = drawerGroups(NAV); + const LINK_CLASS = "flex items-center gap-1 rounded-lg px-3 py-2 text-sm font-medium text-muted-foreground transition-colors duration-100 hover:text-foreground focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-ring"; @@ -71,28 +106,75 @@ function DownloadLink({ onClick, className }: { onClick?: () => void; className? ); } +function MenuDropdown({ + menu, + open, + onToggle, + onNavigate, +}: { + menu: NavMenu; + open: boolean; + onToggle: () => void; + onNavigate: () => void; +}) { + return ( +
    + + + {open ? ( +
    + {menu.items.map((item) => ( + + + + + {item.name} + {item.description} + + + ))} +
    + ) : null} +
    + ); +} + export function SiteNav({ starCount, starsHref }: { starCount: number | null; starsHref: string }) { const [menuOpen, setMenuOpen] = useState(false); - const [resourcesOpen, setResourcesOpen] = useState(false); + const [openMenu, setOpenMenu] = useState(null); const headerRef = useRef(null); // Escape closes whatever is open; a click outside the header closes the // dropdown. Both match what a visitor expects from a menu regardless of how // it was opened. useEffect(() => { - if (!menuOpen && !resourcesOpen) { + if (!menuOpen && openMenu === null) { return; } const onKeyDown = (event: KeyboardEvent) => { if (event.key === "Escape") { setMenuOpen(false); - setResourcesOpen(false); + setOpenMenu(null); } }; const onPointerDown = (event: PointerEvent) => { if (!headerRef.current?.contains(event.target as Node)) { - setResourcesOpen(false); + setOpenMenu(null); } }; @@ -102,11 +184,11 @@ export function SiteNav({ starCount, starsHref }: { starCount: number | null; st document.removeEventListener("keydown", onKeyDown); document.removeEventListener("pointerdown", onPointerDown); }; - }, [menuOpen, resourcesOpen]); + }, [menuOpen, openMenu]); const closeAll = () => { setMenuOpen(false); - setResourcesOpen(false); + setOpenMenu(null); }; return ( @@ -127,49 +209,21 @@ export function SiteNav({ starCount, starsHref }: { starCount: number | null; st
    @@ -181,7 +235,7 @@ export function SiteNav({ starCount, starsHref }: { starCount: number | null; st type="button" onClick={() => { setMenuOpen((open) => !open); - setResourcesOpen(false); + setOpenMenu(null); }} aria-label={menuOpen ? "Close menu" : "Open menu"} aria-expanded={menuOpen} @@ -220,29 +274,23 @@ export function SiteNav({ starCount, starsHref }: { starCount: number | null; st className="ss-home-nav-drawer absolute inset-x-6 top-full z-1 mx-auto max-h-[calc(100dvh-6rem)] max-w-5xl overflow-y-auto overscroll-contain rounded-2xl bg-card p-2 shadow-(--nav-surface) md:inset-x-10 lg:hidden" >
    - {NAV_LINKS.map((link) => ( - - {link.name} - - ))} - -
    -

    Resources

    - - {NAV_RESOURCES.map((item) => ( - - {item.name} - + {DRAWER_GROUPS.map((group, index) => ( +
    + {index > 0 ?
    : null} + {group.heading ? ( +

    {group.heading}

    + ) : null} + {group.links.map((link) => ( + + {link.name} + + ))} +
    ))}
    diff --git a/www/components/ui/icons.tsx b/www/components/ui/icons.tsx index 0c7af0b683..aaf84910ac 100644 --- a/www/components/ui/icons.tsx +++ b/www/components/ui/icons.tsx @@ -30,8 +30,10 @@ import { FlaskConicalIcon as FlaskConicalIconData, HistoryIcon as HistoryIconData, InformationCircleIcon as InformationCircleIconData, + JusticeScale01Icon as JusticeScale01IconData, Key01Icon as Key01IconData, LaptopIcon as LaptopIconData, + LegalDocument01Icon as LegalDocument01IconData, LinkSquare02Icon as LinkSquare02IconData, Mail01Icon as Mail01IconData, Megaphone01Icon as Megaphone01IconData, @@ -121,8 +123,10 @@ export const File02Icon = createIcon(File02IconData); export const FlaskConicalIcon = createIcon(FlaskConicalIconData); export const HistoryIcon = createIcon(HistoryIconData); export const InformationCircleIcon = createIcon(InformationCircleIconData); +export const JusticeScale01Icon = createIcon(JusticeScale01IconData); export const Key01Icon = createIcon(Key01IconData); export const LaptopIcon = createIcon(LaptopIconData); +export const LegalDocument01Icon = createIcon(LegalDocument01IconData); export const LinkSquare02Icon = createIcon(LinkSquare02IconData); export const Mail01Icon = createIcon(Mail01IconData); export const Megaphone01Icon = createIcon(Megaphone01IconData); diff --git a/www/features/audience-pages/audience-metadata.ts b/www/features/audience-pages/audience-metadata.ts new file mode 100644 index 0000000000..a5bf109c1f --- /dev/null +++ b/www/features/audience-pages/audience-metadata.ts @@ -0,0 +1,90 @@ +import type { Metadata } from "next"; + +/** + * Metadata and structured data for the audience and job pages. Each page states its own + * title, description and keywords, from its brief in + * `plans/community-local/seo/09-audience-pages.md`; the shape around them is the one every + * page on this site sets. + */ + +const SITE = "https://www.surfsense.com"; + +export type AudiencePageMeta = { + path: string; + /** At most 60 characters. */ + title: string; + /** At most 155 characters. */ + description: string; + keywords: string[]; + imageAlt: string; +}; + +export function audiencePageMetadata(page: AudiencePageMeta): Metadata { + const url = `${SITE}${page.path}`; + return { + title: page.title, + description: page.description, + keywords: page.keywords, + alternates: { canonical: url }, + openGraph: { + title: page.title, + description: page.description, + url, + siteName: "SurfSense", + type: "website", + images: [{ url: "/og-image.png", width: 1200, height: 630, alt: page.imageAlt }], + }, + twitter: { + card: "summary_large_image", + title: page.title, + description: page.description, + images: ["/og-image.png"], + }, + }; +} + +/** + * A page that names a paid job exists only once Business is on sale + * (`NEXT_PUBLIC_BUSINESS_LAUNCHED`). Before that it is a 404, kept out of the index, as + * `/pricing/business` is. + */ +export function businessPageMetadata(launched: boolean, page: AudiencePageMeta): Metadata { + return launched ? audiencePageMetadata(page) : { robots: { index: false, follow: false } }; +} + +/** + * `SoftwareApplication` for the free app, as the homepage states it, with the Business offer + * beside it on a page that sells a job. + */ +export function audiencePageSchema( + page: Pick, + business?: { price: number; checkoutPath: string } +) { + const free = { + "@type": "Offer", + name: "Free", + price: 0, + priceCurrency: "USD", + }; + return { + "@context": "https://schema.org", + "@type": "SoftwareApplication", + name: "SurfSense", + applicationCategory: "BusinessApplication", + operatingSystem: "Windows, macOS, Linux", + description: page.description, + url: `${SITE}${page.path}`, + offers: business + ? [ + free, + { + "@type": "Offer", + name: "Business", + price: business.price, + priceCurrency: "USD", + url: `${SITE}${business.checkoutPath}`, + }, + ] + : free, + }; +} diff --git a/www/features/audience-pages/audience-sections.tsx b/www/features/audience-pages/audience-sections.tsx new file mode 100644 index 0000000000..20736da87b --- /dev/null +++ b/www/features/audience-pages/audience-sections.tsx @@ -0,0 +1,266 @@ +import Link from "next/link"; +import type { ReactNode } from "react"; +import { HomeBadge } from "@/components/site/home-badge"; +import { sectionSpacing } from "@/components/site/home-section-spacing"; +import { FAQJsonLd } from "@/components/site/json-ld"; +import { SiteFaqItem } from "@/components/site/site-faq-item"; +import { siteText } from "@/components/site/site-text"; +import { cn } from "@/components/ui/cn"; +import { ArrowRightIcon, CheckIcon, type Icon } from "@/components/ui/icons"; +import { HomeDownloadButton } from "@/features/downloads/home-download-button"; + +/** + * The blocks the audience and job pages are built from, in `/private-ai-for-business`'s + * shapes: a centred hero, a badge over each section head, rounded cards, a muted split band + * and a closing card. Server components with no client JavaScript. + * + * Briefs: `plans/community-local/seo/09-audience-pages.md`. Two of its rules shape these + * blocks. Every card heading is a real H2, because the H2s carry the page's keywords, so a + * section's own headline is a `

    ` styled like one. And the FAQ's answers stay in the + * markup and in `FAQPage` schema from the same array, as on the homepage. + */ + +export type PageLink = { label: string; href: string }; + +export type AudienceCard = { heading: string; body: ReactNode; icon: Icon; link?: PageLink }; + +export type AudienceStep = { title: string; body: ReactNode }; + +export type AudienceQuestion = { question: string; answer: string }; + +function ForwardLink({ link }: { link: PageLink }) { + return ( + + {link.label}

    + {badge} +

    {headline}

    +
    + ); +} + +export function AudienceHero({ + badge, + title, + highlight, + lede, + note, + link, +}: { + badge: string; + /** The H1 up to its last words, which `highlight` draws in the accent. */ + title: string; + highlight: string; + /** The page's answer, in plain sentences an AI Overview can lift. */ + lede: string; + note?: string; + link?: PageLink; +}) { + return ( +
    + {badge} +

    + {title} {highlight} +

    +

    {lede}

    + {note ?

    {note}

    : null} +
    + + {link ? : null} +
    +
    + ); +} + +/** One question answered beside a ruled list of short, checkable claims. */ +export function AudienceAnswer({ + heading, + points, + children, +}: { + heading: string; + points: string[]; + /** The answer's paragraphs. */ + children: ReactNode; +}) { + return ( +
    +
    +
    +

    {heading}

    +
    {children}
    +
    + +
      + {points.map((point) => ( +
    • + + {point} +
    • + ))} +
    +
    +
    + ); +} + +/** Cards whose headings are the page's H2s: two columns for an even count, three for an odd one. */ +export function AudienceCards({ + badge, + headline, + cards, +}: { + badge: string; + headline: string; + cards: AudienceCard[]; +}) { + return ( +
    + + +
      + {cards.map((card) => ( +
    • + +

      {card.heading}

      +

      {card.body}

      + {card.link ? ( +

      + +

      + ) : null} +
    • + ))} +
    +
    + ); +} + +/** A job's run, numbered, as the app walks it. Step titles are H3s under the section's H2. */ +export function AudienceSteps({ + badge, + heading, + steps, +}: { + badge: string; + heading: string; + steps: AudienceStep[]; +}) { + return ( +
    +
    + {badge} +

    {heading}

    +
    + +
      + {steps.map((step, index) => ( +
    1. + + {index + 1} + +

      {step.title}

      +

      {step.body}

      +
    2. + ))} +
    +
    + ); +} + +/** Plain facts under one heading, such as what a job reviews and what it leaves alone. */ +export function AudienceNotes({ heading, children }: { heading: string; children: ReactNode }) { + return ( +
    +
    +

    {heading}

    +
    {children}
    +
    +
    + ); +} + +/** The closing card: what it costs, with the download and one more link. */ +export function AudienceClosing({ + badge, + heading, + link, + children, +}: { + badge: string; + heading: string; + link: PageLink; + children: ReactNode; +}) { + return ( +
    +
    + {badge} +

    {heading}

    +
    {children}
    +
    + + +
    +
    +
    + ); +} + +export function AudienceQuestions({ + heading, + questions, +}: { + heading: string; + questions: AudienceQuestion[]; +}) { + return ( +
    +
    + FAQ +

    {heading}

    +
    + +
    + {questions.map((item) => ( + +

    {item.answer}

    +
    + ))} +
    + + +
    + ); +} diff --git a/www/features/site-navigation/site-navigation.test.ts b/www/features/site-navigation/site-navigation.test.ts new file mode 100644 index 0000000000..3413a563c1 --- /dev/null +++ b/www/features/site-navigation/site-navigation.test.ts @@ -0,0 +1,136 @@ +import assert from "node:assert/strict"; +import { readdirSync } from "node:fs"; +import path from "node:path"; +import test from "node:test"; +import { + BUSINESS_PAGES, + footerColumns, + isNavMenu, + type NavEntry, + siteNavigation, +} from "./site-navigation"; + +// Run with: pnpm exec tsx --test features/site-navigation/site-navigation.test.ts + +const APP = path.join(__dirname, "../../app"); + +/** Every folder under `app/` that serves a page, as Next resolves it: a route group adds no segment. */ +function pageRoutes(dir = APP, segments: string[] = []): string[][] { + const routes: string[][] = []; + for (const entry of readdirSync(dir, { withFileTypes: true })) { + if (entry.isFile() && /^page\.(tsx|ts|mdx)$/.test(entry.name)) routes.push(segments); + if (!entry.isDirectory()) continue; + const group = entry.name.startsWith("(") && entry.name.endsWith(")"); + routes.push( + ...pageRoutes(path.join(dir, entry.name), group ? segments : [...segments, entry.name]) + ); + } + return routes; +} + +/** A dynamic segment takes any one part; an optional catch-all takes the rest or nothing. */ +function routeMatches(route: string[], parts: string[]): boolean { + for (const [index, segment] of route.entries()) { + if (segment.startsWith("[[...")) return true; + if (segment.startsWith("[...")) return parts.length > index; + if (index >= parts.length) return false; + if (!segment.startsWith("[") && segment !== parts[index]) return false; + } + return route.length === parts.length; +} + +const ROUTES = pageRoutes(); + +function isPage(href: string): boolean { + const parts = href.split(/[?#]/)[0].split("/").filter(Boolean); + return ROUTES.some((route) => routeMatches(route, parts)); +} + +function names(entries: NavEntry[]): string[] { + return entries.map((entry) => entry.name); +} + +function menu(entries: NavEntry[], name: string) { + const found = entries.filter(isNavMenu).find((entry) => entry.name === name); + assert.ok(found, `no ${name} menu`); + return found; +} + +/** Every link on this site that the nav and the footer carry, menus included. */ +function siteHrefs(launched: boolean): string[] { + const nav = siteNavigation(launched).flatMap((entry) => + isNavMenu(entry) ? entry.items : [entry] + ); + const footer = footerColumns(launched).flatMap((column) => column.links); + return [...nav, ...footer].filter((link) => !link.external).map((link) => link.href); +} + +test("switched off, the nav is the one the site had before Business", () => { + const nav = siteNavigation(false); + assert.deepEqual(names(nav), ["For business", "Plugins", "Docs", "Pricing", "Resources"]); + assert.deepEqual( + menu(nav, "Resources").items.map((item) => item.href), + ["/blog", "/announcements", "/changelog", "/contact"] + ); +}); + +test("switched on, who it's for and the jobs lead the nav, and Plugins moves under Resources", () => { + const nav = siteNavigation(true); + assert.deepEqual(names(nav), ["Who it's for", "Jobs", "Docs", "Pricing", "Resources"]); + assert.deepEqual( + menu(nav, "Who it's for").items.map((item) => item.href), + ["/ai-for-lawyers", "/ai-for-accountants", "/private-ai-for-business"] + ); + assert.deepEqual( + menu(nav, "Jobs").items.map((item) => item.href), + ["/jobs/contract-redline", "/jobs/security-questionnaire"] + ); + assert.deepEqual( + menu(nav, "Resources").items.map((item) => item.href), + ["/blog", "/announcements", "/changelog", "/plugins", "/contact"] + ); +}); + +test("switched off, the footer is the one the site had before Business", () => { + assert.deepEqual( + footerColumns(false).map((column) => [column.heading, column.links.map((link) => link.href)]), + [ + ["Product", ["/downloads", "/private-ai-for-business", "/plugins", "/pricing", "/docs"]], + ["Resources", ["/blog", "/announcements", "/changelog", "/contact"]], + ["Company", ["/privacy", "/terms"]], + ] + ); +}); + +test("switched on, the footer links every page the nav's menus link", () => { + const footer = new Set( + footerColumns(true).flatMap((column) => column.links.map((link) => link.href)) + ); + for (const entry of siteNavigation(true).filter(isNavMenu)) { + for (const item of entry.items) { + assert.ok( + footer.has(item.href), + `${item.href} is in the ${entry.name} menu but not the footer` + ); + } + } +}); + +test("every page the nav and the footer link to exists, switched on or off", () => { + for (const launched of [false, true]) { + for (const href of siteHrefs(launched)) { + assert.ok(isPage(href), `${href} has no page (switched ${launched ? "on" : "off"})`); + } + } +}); + +test("until Business is on sale, nothing in the nav or the footer leads to its pages", () => { + const before = new Set(siteHrefs(false)); + for (const href of BUSINESS_PAGES) { + assert.ok(!before.has(href), `${href} is linked before the switch`); + } + const after = new Set(siteHrefs(true)); + for (const href of BUSINESS_PAGES) { + assert.ok(after.has(href), `${href} is not linked after the switch`); + } +}); diff --git a/www/features/site-navigation/site-navigation.ts b/www/features/site-navigation/site-navigation.ts new file mode 100644 index 0000000000..8dd721608e --- /dev/null +++ b/www/features/site-navigation/site-navigation.ts @@ -0,0 +1,201 @@ +import { + ACCOUNTANTS_URL, + BUSINESS_URL, + CONTRACT_REDLINE_URL, + DOWNLOADS_URL, + type FooterLink, + LAWYERS_URL, + SECURITY_QUESTIONNAIRE_URL, + type SiteLink, + type SiteMenuItem, +} from "@/components/site/site-content"; +import { + BookOpen01Icon, + Briefcase01Icon, + Calculator01Icon, + HistoryIcon, + JusticeScale01Icon, + LegalDocument01Icon, + Mail01Icon, + Megaphone01Icon, + Plug01Icon, + SecurityCheckIcon, +} from "@/components/ui/icons"; + +/** + * The site's navigation and footer, before and after the Business launch switch + * (`NEXT_PUBLIC_BUSINESS_LAUNCHED`). Functions of the switch rather than constants, so + * `site-navigation.test.ts` can check both sites; `SiteNav` and `SiteFooter` pass + * `BUSINESS_LAUNCHED`. + * + * Switched on, the nav leads with who SurfSense is for and the paid jobs + * (`plans/community-local/seo/09-audience-pages.md`, "The nav"). Plugins leaves the bar for + * Resources: once the scrapers retire, its page holds the three built-in sources and + * third-party plugins. + */ + +export type NavMenu = { name: string; items: SiteMenuItem[] }; +export type NavEntry = SiteLink | NavMenu; +export type FooterColumn = { heading: string; links: FooterLink[] }; + +export function isNavMenu(entry: NavEntry): entry is NavMenu { + return "items" in entry; +} + +/** + * The pages that exist only once Business is on sale. Each is a 404 before the switch, as + * `/pricing/business` is, because each names a paid job; from the switch on, the sitemap + * lists them. + */ +export const BUSINESS_PAGES = [ + LAWYERS_URL, + ACCOUNTANTS_URL, + CONTRACT_REDLINE_URL, + SECURITY_QUESTIONNAIRE_URL, +]; + +/** Who it's for. An audience joins the menu once its page is live. */ +const AUDIENCES: SiteMenuItem[] = [ + { + name: "Lawyers", + href: LAWYERS_URL, + description: "Client files that never leave your computer", + icon: JusticeScale01Icon, + }, + { + name: "Accountants", + href: ACCOUNTANTS_URL, + description: "Client financial files, kept on your machine", + icon: Calculator01Icon, + }, + { + name: "Other professional work", + href: BUSINESS_URL, + description: "Decks and reports from confidential files", + icon: Briefcase01Icon, + }, +]; + +const JOBS: SiteMenuItem[] = [ + { + name: "Contract redline", + href: CONTRACT_REDLINE_URL, + description: "Review a contract against your playbook", + icon: LegalDocument01Icon, + }, + { + name: "Security questionnaire", + href: SECURITY_QUESTIONNAIRE_URL, + description: "Answer one from your own policies", + icon: SecurityCheckIcon, + }, +]; + +const BLOG: SiteMenuItem = { + name: "Blog", + href: "/blog", + description: "Guides, comparisons and deep dives", + icon: BookOpen01Icon, +}; +const ANNOUNCEMENTS: SiteMenuItem = { + name: "Announcements", + href: "/announcements", + description: "Product news and updates", + icon: Megaphone01Icon, +}; +const CHANGELOG: SiteMenuItem = { + name: "Changelog", + href: "/changelog", + description: "What's new in SurfSense", + icon: HistoryIcon, +}; +const PLUGINS: SiteMenuItem = { + name: "Plugins", + href: "/plugins", + description: "Web search and YouTube built in, and more", + icon: Plug01Icon, +}; +const CONTACT: SiteMenuItem = { + name: "Contact us", + href: "/contact", + description: "Questions, bugs and feedback", + icon: Mail01Icon, +}; + +export function siteNavigation(launched: boolean): NavEntry[] { + if (!launched) { + return [ + { name: "For business", href: BUSINESS_URL }, + { name: "Plugins", href: PLUGINS.href }, + { name: "Docs", href: "/docs" }, + { name: "Pricing", href: "/pricing" }, + { name: "Resources", items: [BLOG, ANNOUNCEMENTS, CHANGELOG, CONTACT] }, + ]; + } + return [ + { name: "Who it's for", items: AUDIENCES }, + { name: "Jobs", items: JOBS }, + { name: "Docs", href: "/docs" }, + { name: "Pricing", href: "/pricing" }, + { name: "Resources", items: [BLOG, ANNOUNCEMENTS, CHANGELOG, PLUGINS, CONTACT] }, + ]; +} + +const RESOURCES_COLUMN: FooterColumn = { + heading: "Resources", + links: [BLOG, ANNOUNCEMENTS, CHANGELOG, CONTACT].map((item) => ({ + title: item.name, + href: item.href, + })), +}; + +const COMPANY_COLUMN: FooterColumn = { + heading: "Company", + links: [ + { title: "Privacy Policy", href: "/privacy" }, + { title: "Terms of Service", href: "/terms" }, + ], +}; + +/** Switched on, the footer's anchors carry each page's keyword rather than the menu's short name. */ +export function footerColumns(launched: boolean): FooterColumn[] { + if (!launched) { + return [ + { + heading: "Product", + links: [ + { title: "Download", href: DOWNLOADS_URL }, + { title: "For business", href: BUSINESS_URL }, + { title: "Plugins", href: PLUGINS.href }, + { title: "Pricing", href: "/pricing" }, + { title: "Docs", href: "/docs" }, + ], + }, + RESOURCES_COLUMN, + COMPANY_COLUMN, + ]; + } + return [ + { + heading: "Product", + links: [ + { title: "Download", href: DOWNLOADS_URL }, + { title: "Pricing", href: "/pricing" }, + { title: "Docs", href: "/docs" }, + { title: "Plugins", href: PLUGINS.href }, + ], + }, + { + heading: "For firms", + links: [ + { title: "AI for lawyers", href: LAWYERS_URL }, + { title: "AI for accountants", href: ACCOUNTANTS_URL }, + { title: "Private AI for business", href: BUSINESS_URL }, + { title: "Contract redline", href: CONTRACT_REDLINE_URL }, + { title: "Security questionnaire", href: SECURITY_QUESTIONNAIRE_URL }, + ], + }, + RESOURCES_COLUMN, + COMPANY_COLUMN, + ]; +}