Website: revamp and improve the landing page
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 30/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- nextjs, react, tailwindcss, typescript
Piste de recherche
Start with src/app/page.tsx and the unused files in src/components/landing/, then read the component registry in src/registry/registry.ts for the showcase. Read the Next.js guide in node_modules/next/dist/docs/ before adding any "use client" pieces. Done means the new sections render at / with one working interactive demo, the <main> nesting is fixed, and bun run lint, format:check, typecheck, test and build pass. Comment on the issue to claim one section first, such as the hero or the contribute block.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Website: revamp the landing page
The landing page (src/app/page.tsx) is thin. It renders only Hero → Features → Community → FAQ, so a visitor never sees the components working, never sees what's in the library, and gets no clear path to contributing. This issue covers a revamp that makes the page show the product instead of describing it.
Current problems
- No live components. The hero and features show code snippets only. Nothing on the page can be clicked, so you can't try the
LanguageSwitcher,PhoneInputorNavBar. - Unused sections.
components.tsx(~700 lines),editing.tsx,getting-started.tsxandcontribute.tsxinsrc/components/landing/are not imported anywhere. Either use them in the new layout or delete them. - Copy promises things that don't exist yet. The features grid advertises "Searchable locale pickers" (no such component yet, see #33). The FAQ says components are "used in production apps worldwide". Copy should match what actually ships.
- No component catalogue. There's no section listing the available components with links to their docs.
- Weak contributor funnel. For a community-built library there's no section that points to
good first issues or explains the contribution flow. - Markup:
Herorenders its own<main>inside the page's<main>, which is invalid HTML and confuses screen readers.
Proposed structure
- Hero: clear headline and subhead, install command with a copy button, primary CTA (Get started) and secondary CTA (Browse components), and a live, interactive demo (for example a
LanguageSwitcherthat re-renders a sample UI in the chosen language, including RTL for Arabic or Hebrew). - Component showcase: a grid of every shipped component, each a small live preview linking to its docs page. Build it from the registry (
src/registry/registry.ts) so new components appear automatically. - Why Elements: 3–4 concise value props (shadcn-style ownership, no framework lock-in, RTL and locale-aware, accessible), with no claims the code doesn't back up.
- Works with your i18n stack: short snippets showing the switcher wired to next-intl, react-i18next and react-intl.
- Install in two ways: npm package vs
shadcn add/npx @babelize/elements add, in tabs. - Contribute: how the flow works plus links to open
good first issues; reuse or redesigncontribute.tsx. - Community + FAQ (trimmed) → Footer.
Design and quality requirements
- Keep the current dark visual identity (emerald accent); stay consistent with the docs site
- Responsive down to 360px wide, with no horizontal scroll
- Respect
prefers-reduced-motionfor allmotionanimations - Accessible: semantic landmarks (one
<main>), heading order, visible focus states, AA contrast - Performance: Lighthouse ≥ 90 for Performance, Accessibility, Best Practices and SEO on mobile. Load demos lazily below the fold, and don't load heavy client JS just for decoration.
- Server components by default;
"use client"only for interactive pieces. Read the relevant guide innode_modules/next/dist/docs/first, because this Next.js version differs from older ones. - Keep SEO metadata, canonical URL and the OG image working
Out of scope
- GitHub stars counter (tracked in #36)
- Docs site layout changes
Acceptance
- New section layout live at
/with at least one interactive component demo - Unused landing components either used or removed
- Copy reviewed against what actually ships
- Before/after screenshots (desktop + mobile) and Lighthouse scores in the PR
bun run lint,format:check,typecheck,testandbuildpass
Large changes are welcome as a series of smaller PRs (for example hero → showcase → contribute section). Comment here first with the section you're taking so work doesn't overlap.
- Langage dominant
- TypeScript
- Étoiles
- 39
- Forks
- 16
- Merge moyen
- 18 h 14 min
- PR mergées (30 j)
- 35
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de babelize/babelize-elements
-
accessibility help wanted
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
babelize/babelize-elements#94 ·
Les mainteneurs répondent en général sous 1 jour
-
component help wanted
Difficulté 4/5 3-5 jours Accessibilité débutants 55/100
babelize/babelize-elements#93 ·
Les mainteneurs répondent en général sous 1 jour
-
Component: Relative TimeOuvertecomponent date-time good first issue
Difficulté 4/5 3-5 jours Accessibilité débutants 55/100
babelize/babelize-elements#92 ·
Les mainteneurs répondent en général sous 1 jour
-
Component: Timezone PickerOuvertecomponent date-time good first issue
Difficulté 4/5 3-5 jours Accessibilité débutants 55/100
babelize/babelize-elements#91 ·
Les mainteneurs répondent en général sous 1 jour
-
component good first issue language-switcher
Difficulté 4/5 3-5 jours Accessibilité débutants 56/100
babelize/babelize-elements#90 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de babelize/babelize-elements
Issues similaires
-
triage
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Les mainteneurs répondent en général sous 1 jour
-
🎙️ task - drop the raw `./node_modules/.bin/rhachet roles boot` line from bhuild's feedback templateOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
ehmpathy/rhachet-roles-bhuild#639 ·
Les mainteneurs répondent en général sous 1 jour
-
e2e-failure ready-to-code
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
redhat-developer/rhdh-plugin-export-overlays#4650 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
Les mainteneurs répondent en général sous 13 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
omdsh-dev/DSH-better-sidebar#1098 ·
Les mainteneurs répondent en général sous 2 jours