docs(website): redesign homepage as the Verse direction - #1414
Draft
jtenniswood wants to merge 2 commits into
Draft
docs(website): redesign homepage as the Verse direction#1414jtenniswood wants to merge 2 commits into
jtenniswood wants to merge 2 commits into
Conversation
Two alternative homepage directions for review, served locally under /designs alongside the untouched current homepage: - /designs/studio — a light, playful page in the mascot's teal, coral, gold and tangerine: tilted headline, icon-led feature tiles, a numbered two-step install block (brew install, then mecatui --mock) whose steps swap emphasis after copying, colour-banded sections, a speech-bubble Mecatito and hand-drawn doodles. - /designs/typographic — "Verse", a type-led dark page with parallax ghost words, three display moments (hero, statement, closing), a large mascot beside the headline, and a phone-specific layout with a sticky install bar. - /designs — a minimal, unbranded switcher between the two. Also adds a transparent mascot cutout and monochrome line-art logo marks (light and dark) used by both pages. The live homepage (src/pages/index.tsx) is unchanged; these pages exist to pick a direction before promoting one. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Promote the chosen exploration to website/src/pages/index.tsx and remove the review pages, the other direction and the /designs switcher. - Type-led, parallax homepage in the brand palette from the colophon: charcoal ground with hairline rules (no surface-1/2 fills), teal-bright for interaction and accent words, copper for eyebrows and numerals, rope for the install command. - Same approved copy as before; the install command is the primary call to action in the hero and again in the closing section, with a working Copy button. - Phone-specific layout with a sticky install bar; parallax and reveals driven by one hook, transform-only, off under prefers-reduced-motion. - The page renders its own nav and footer rather than the Docusaurus Layout; docs pages are unaffected. - Move the hooks to src/components/home; drop the unused dark logo mark. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
danbarr
marked this pull request as draft
September 11, 2026 20:44
Contributor
|
A note here as we continue to iterate: currently, this branch restyles the header and footer only for the index page; moving into the docs reverts to the default Docusaurus stylings, which is jarring. My preference would be to continue to leverage the Docusaurus navbar/footer constructs (with the items as defined in docusaurus.config.ts) and properly override the stable nav/footer classes via the global custom.css. That way, the header/footer style is carried throughout the site including the docs plugin. |
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.
Summary
Redesigns the mecatl.dev homepage. The page keeps the approved copy from #1272 verbatim and rebuilds the presentation as a type-led, parallax page in the brand palette from the colophon: charcoal ground, teal-bright for interaction and accent words, copper for eyebrows and numerals, rope for the install command.
useParallaxhook (one passive scroll listener, one rAF, transform-only, paused when hidden, disabled underprefers-reduced-motionand below 768px). Content is never hidden without JavaScript.Layoutso the composition is unbroken; docs pages keep the standard navbar.Large areas use only
--mec-bg; surface-1/surface-2 are not used as section fills, per the style guide.Files
website/src/pages/index.tsx,website/src/pages/index.module.css— the new homepagewebsite/src/components/home/hooks.ts— parallax, reveal, centred-index, copy and sticky-bar hookswebsite/static/img/mecatito-cutout.png— transparent cutout of the mascot (the original has a cream background). 1.2 MB; worth optimising before merge.website/static/img/logo-line.svg— monochrome line-art version of the mark used in the nav and footerValidation
npm run typecheck— cleannpm run build— clean: no broken links or anchors, page rendered server-sideh1, Copy buttons writing the command to the clipboard, and reduced motion rendering the page complete and staticNotes for review
task site:devand open http://localhost:3001/ — the parallax and the sticky mobile bar only show in a real browser.custom.csstokens are unchanged; the homepage reads the same palette values.🤖 Generated with Claude Code