Skip to content

feat(www): student, teacher and study tool pages, and a For menu in the nav - #2426

Merged
MODSetter merged 2 commits into
devfrom
feat/study-pages
Nov 10, 2026
Merged

MODSetter merged 2 commits into
devfrom
feat/study-pages

Conversation

@MODSetter

@MODSetter MODSetter commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

Round two of plans/community-local/seo/09-audience-pages.md, the nav change asked for on 10 Nov, and the two privacy wordings CodeRabbit flagged on #2425.

The For menu

"For business" in the nav becomes a For dropdown on both sites. It holds only the pages that exist:

Group Switch off Switch on
Who it's for Students, Teachers, Business Lawyers, Accountants, Students, Teachers, Business
Jobs none Contract redline, Security questionnaire
Study tools Study guide maker, Flashcard generator, Quiz generator, Podcast generator the same

The menu shows two columns on desktop and headed groups in the phone drawer. It replaces the separate Jobs menu from round one, so the bar reads:

  • switch on: For, Docs, Pricing, Resources;
  • switch off: For, Plugins, Docs, Pricing, Resources.

New pages (no switch: they name no paid job)

  • /ai-for-students, /ai-for-teachers: the plan's briefs. The keyword volumes are clickstream, real searches: ai flashcard maker about 9,800 a month, ai for teachers 4,500, ai worksheet generator 1,300 (KD 1), ai lesson plan generator 1,200 (KD 3).
  • /features/study-guide-maker, /features/flashcard-generator, /features/quiz-generator, /features/podcast-generator: the briefs in 02-page-briefs.md, with the dashes taken out of their titles. The flashcard and quiz pages carry breadcrumbs back to the study guide maker.

Every claim follows the user guide (studio.mdx, voice.mdx, sources.mdx) or the code:

  • the quiz is multiple choice, four options and one right answer, with an explanation;
  • flashcards and quizzes have no download, so no page promises an Anki export or a printable quiz; a printable test is a Word or PDF file with an answer key;
  • podcasts are voiced offline by Kokoro 82M and download as MP3;
  • recordings are transcribed on the computer;
  • there is no worksheet or lesson-plan format, so a worksheet or lesson plan is a Word or PDF file written from your prompt.
  • Model expectations follow the guide too: strong models make richer Word documents and PDFs.

Also:

  • The homepage band shows on both sites: students, teachers and business always, plus lawyers, accountants and the jobs strip after the switch.
  • Switched on, the footer's "Who it's for" column lists all five audience pages, and the jobs move under Product.
  • The sitemap lists the six new pages.

Review fixes from #2425 (separate commit)

"Never leaves your computer" holds only with a local model, so no heading says it unqualified:

  • the job pages say "SurfSense never receives your contract" (and "your policies");
  • the lawyers' H1 says files "stay on your computer";
  • the hero says "no SurfSense cloud" and that a local model sends nothing;
  • the homepage schema says air-gapped "with a local model".

The plan gains this as a rule for every page.

Not checked

I couldn't run Studio itself on a laptop's local model here. The pages promise only what the guide says, but the student and teacher outputs haven't been tried end to end, as the plan asks before publishing. The study pages should be indexed by early January.

Tests

  • Nav tests: features/site-navigation/site-navigation.test.ts was rewritten for the For menu and its groups on both sites, plus the footer with the switch on. It failed before the change, and passes after it with the route check covering every new link.
  • Checks run:
    • pnpm test:unit: 198 of 198 pass.
    • pnpm typecheck: clean.
    • biome check: clean on the touched files; the one info is the nav's pre-existing fragment.
  • pnpm build with the switch on:
    • every new page prerenders with a title of 60 characters at most, a meta description of 155 at most, one H1 and its schema;
    • in next start, the For panel stays inside the viewport at 1024 and 1280 px;
    • no page scrolls sideways at 375 px;
    • there are no console errors.
  • pnpm build with the switch off:
    • the study pages return 200, and the lawyer and job pages return 404;
    • the drawer shows Who it's for, Study tools and Resources;
    • the homepage band has three cards and no jobs strip;
    • the sitemap lists only the six study pages.

High-level PR Summary

This PR implements a comprehensive For menu in the navigation, replacing the previous For business link, and adds six new pages targeting students and teachers with SEO-optimized content. The changes include two audience pages (/ai-for-students, /ai-for-teachers) and four study tool feature pages (/features/study-guide-maker, /features/flashcard-generator, /features/quiz-generator, /features/podcast-generator). The navigation now groups pages by Who it's for, Jobs, and Study tools, with visibility controlled by the Business launch switch. The homepage hero messaging was refined to clarify that air-gapped operation requires a local model, and privacy claims across job pages were adjusted to accurately state that SurfSense never receives your files rather than making unconditional claims about files never leaving the computer. All new pages follow the user guide specifications, include proper SEO metadata, breadcrumbs where appropriate, and are covered by updated tests.

⏱️ Estimated Review Time: 30-90 minutes

💡 Review Order Suggestion
Order File Path
1 plans/community-local/seo/09-audience-pages.md
2 www/components/site/site-content.ts
3 www/features/site-navigation/site-navigation.ts
4 www/features/site-navigation/site-navigation.test.ts
5 www/components/site/site-nav.tsx
6 www/app/(home)/_home/home-content.ts
7 www/app/(home)/_home/home-audiences.tsx
8 www/app/(home)/_home/home-sections.tsx
9 www/app/(home)/page.tsx
10 www/app/sitemap.ts
11 www/features/audience-pages/audience-metadata.ts
12 www/app/(home)/ai-for-students/page.tsx
13 www/app/(home)/ai-for-teachers/page.tsx
14 www/app/(home)/features/study-guide-maker/page.tsx
15 www/app/(home)/features/flashcard-generator/page.tsx
16 www/app/(home)/features/quiz-generator/page.tsx
17 www/app/(home)/features/podcast-generator/page.tsx
18 www/app/(home)/ai-for-lawyers/page.tsx
19 www/app/(home)/jobs/contract-redline/page.tsx
20 www/app/(home)/jobs/security-questionnaire/page.tsx
21 www/components/ui/icons.tsx

Need help? Join our Discord

… model

From CodeRabbit's review of #2425. "Never leaves your computer" holds only
with a local model, so:

- the job pages' privacy headings now say what is always true: SurfSense
  never receives your contract, or your policies;
- the lawyers' H1 says client files stay on your computer;
- the homepage hero names the cloud it means ("no SurfSense cloud") and says
  a local model sends nothing;
- the homepage schema says the app runs air-gapped with a local model.
…he nav

Round two of plans/community-local/seo/09-audience-pages.md.

- /ai-for-students and /ai-for-teachers, and 02's study pages under
  /features: study-guide-maker, flashcard-generator, quiz-generator and
  podcast-generator. They name no paid job, so they exist with or without
  the Business switch, and the sitemap lists them. Every claim follows the
  user guide: Studio's formats and their labels, the quiz's four-option
  questions, no download for flashcards or quizzes, Kokoro voicing podcasts
  offline, recordings transcribed on the computer.
- A "For" menu replaces the "For business" link, on both sites, at the
  maintainer's ask: who it's for, then the jobs once Business is on sale,
  then the study tools, in two columns on desktop and as headed groups in
  the phone drawer. It folds in the Jobs menu round one planned.
- The homepage's audience band shows on both sites: students, teachers and
  business always, lawyers, accountants and the jobs strip after the switch.
- Switched on, the footer's "Who it's for" column lists the five audience
  pages, and the jobs move under Product.
@vercel

vercel Bot commented Nov 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
surf-sense-frontend Ignored Ignored Nov 10, 2026 12:23am UTC

Request Review

@coderabbitai

coderabbitai Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@MODSetter
MODSetter merged commit c9a2f3f into dev Nov 10, 2026
29 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant