Repository navigation
feat(www): student, teacher and study tool pages, and a For menu in the nav - #2426
Merged
Merged
Conversation
… 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.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
|
Caution Review failedThe pull request is closed.
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
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:
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 makerabout 9,800 a month,ai for teachers4,500,ai worksheet generator1,300 (KD 1),ai lesson plan generator1,200 (KD 3)./features/study-guide-maker,/features/flashcard-generator,/features/quiz-generator,/features/podcast-generator: the briefs in02-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:Also:
Review fixes from #2425 (separate commit)
"Never leaves your computer" holds only with a local model, so no heading says it unqualified:
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
features/site-navigation/site-navigation.test.tswas 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.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 buildwith the switch on:next start, the For panel stays inside the viewport at 1024 and 1280 px;pnpm buildwith the switch off: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
plans/community-local/seo/09-audience-pages.mdwww/components/site/site-content.tswww/features/site-navigation/site-navigation.tswww/features/site-navigation/site-navigation.test.tswww/components/site/site-nav.tsxwww/app/(home)/_home/home-content.tswww/app/(home)/_home/home-audiences.tsxwww/app/(home)/_home/home-sections.tsxwww/app/(home)/page.tsxwww/app/sitemap.tswww/features/audience-pages/audience-metadata.tswww/app/(home)/ai-for-students/page.tsxwww/app/(home)/ai-for-teachers/page.tsxwww/app/(home)/features/study-guide-maker/page.tsxwww/app/(home)/features/flashcard-generator/page.tsxwww/app/(home)/features/quiz-generator/page.tsxwww/app/(home)/features/podcast-generator/page.tsxwww/app/(home)/ai-for-lawyers/page.tsxwww/app/(home)/jobs/contract-redline/page.tsxwww/app/(home)/jobs/security-questionnaire/page.tsxwww/components/ui/icons.tsx