Repository navigation
fix(web): đź’„ Apply web dev feedback on the home page - #58
Merged
Merged
Conversation
- Installation: start on step 01 instead of step 04.
- Remove every eyebrow label ("What you gain", "Built with StewBeet", ...):
they carried no information and added scroll. Drop the .eyebrow class,
the EYEBROW constant, the PageHeader eyebrow prop and their translations.
- Hero: fade the code in when switching between the Block and
CustomOreGeneration tabs, like the file tree beside it.
Claude-Session: https://claude.ai/code/session_01QuzqbqTP5ARxz8b3MZyEy1
Stoupy51
added a commit
that referenced
this pull request
Oct 6, 2026
- Installation: start on step 01 instead of step 04.
- Remove every eyebrow label ("What you gain", "Built with StewBeet", ...):
they carried no information and added scroll. Drop the .eyebrow class,
the EYEBROW constant, the PageHeader eyebrow prop and their translations.
- Hero: fade the code in when switching between the Block and
CustomOreGeneration tabs, like the file tree beside it.
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.
Cette PR applique le retour du dev web sur le site (
docs/web).Changements
1. L'installation commence sur l'étape 01
Dans
Installation.tsx, l'Ă©tat initial passe deuseState(STEPS.length - 1)ĂuseState(0). En arrivant sur le site, la section « From nothing to a built pack in four commands » s'ouvrait sur l'Ă©tape 04 au lieu de la 01.2. Suppression des mini titres (eyebrows)
Les labels « What you gain », « Built with StewBeet », « Get started », « Built on », etc. ne donnaient aucune information et ajoutaient du scroll. Ils sont supprimés sur tout le site :
PageHeader(Tools, Playground, Credits, Telemetry, Auto headers, Markdown → BBCode) : la propeyebrowest retirée.Le
mt-4du titre qui suivait chaque eyebrow est retiré aussi, pour ne pas laisser d'espace vide. J'ai supprimé ce qui n'était plus utilisé : la classe.eyebrowdansindex.css, la constanteEYEBROWdanstheme.ts, et les cléseyebrowetpluginsEyebrow(EN et FR) danstranslations.ts.Deux éléments sont conservés parce qu'ils portent une vraie information : la ligne version / date de sortie / licence au-dessus du titre du Hero, et les labels internes aux cartes de la page Tools (« Runs on the server »…).
3. Fondu sur le code du Hero
Quand on changeait d'onglet (Block / CustomOreGeneration), l'arbre de fichiers Ă droite faisait un fondu (
transition-opacity duration-200), mais le code à gauche changeait d'un coup. Le code refait maintenant un fondu de 200 ms à chaque changement : le bloc a unekeyliée à l'onglet et une nouvelle classecode-swap. Le fondu ne s'active qu'après un clic, donc ni le premier affichage ni l'animation d'intro ne changent. Il est désactivé siprefers-reduced-motionest demandé.Vérifications
tsc -b,eslint .etbun test(35 tests) passent..eyebrowsur la page ;🤖 Generated with Claude Code
https://claude.ai/code/session_01QuzqbqTP5ARxz8b3MZyEy1
Generated by Claude Code