Repository navigation
feat: rebuild the landing page around one real session - #476
Merged
Merged
Conversation
The homepage explained the engine before it showed any learning. The hero now states the promise, "Don't just finish mathematics. Understand it.", and its primary action opens a start panel rather than navigating, so the click can offer Google One Tap and still always show the guest path. Below it, a short interactive arithmetic card demonstrates a session with local checking, real feedback and a mastery bar, then the four stages, the three featured figures, the adaptive rules in plain language, a browsable domain grid, the open-source credit and a closing call to start. The pipeline state names, ranking ladder and both formulas leave the landing page; /how-it-works and /leaderboard already explain them.
The theme token test forbids Tailwind opacity modifiers on mathua-* colours because each theme already carries its own alpha. The closing label and its secondary button now use full-strength tokens, and the redundant hover override is gone.
The landing page no longer carries the extension column, so the test waited for a pre element that cannot exist. It now checks the three FAQ rows and measures every direct child of the section against the viewport, which keeps the min-content overflow regression covered.
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.
The homepage now opens with a learner promise instead of a category label: "Don't just finish mathematics. Understand it." The painting stays, and the primary action opens a start panel rather than navigating, because a Google One Tap prompt cannot survive a page change. The panel keeps the click gesture, offers One Tap when a Google client id is configured, and always shows Continue with Google and Continue as a guest, so a suppressed prompt never removes the path.
Below the hero the page shows one real session rather than a mockup: a local practice question with answer feedback, the working, and a concept bar that moves. Four stages follow (Learn, Practice, Master, Review), then the three featured figures already used on the announcements page (unit circle, vector field, solid of revolution) through VisualFigure.
Adaptive learning is now explained in learner language rather than as a formula. The curriculum is a browsable domain grid instead of two count tables, and open source is one section with the MIT licence, attribution and the live GitHub count.
The pipeline state names, the ranking ladder and both formulas moved off the homepage: the scheduler detail belongs in /how-it-works, the ranking detail in /leaderboard, and both are still linked.
Verification: landing tests 5/5, typecheck clean, static export build succeeds, no dependency added, no horizontal overflow at 390 or 1280, both themes checked. The hero opens the panel with both paths; the practice card, the four steps and the three figures render.