Website: revamp and improve the landing page
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 30/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- nextjs, react, tailwindcss, typescript
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 39
- Forks
- 16
- Ø Merge
- 18 Std. 14 Min.
- Gemergte PRs (30 T.)
- 35
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus babelize/babelize-elements
-
accessibility help wanted
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
babelize/babelize-elements#94 ·
Maintainer antworten meist innerhalb von 1 Tag
-
component help wanted
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
babelize/babelize-elements#93 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Component: Relative TimeOffencomponent date-time good first issue
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
babelize/babelize-elements#92 ·
Maintainer antworten meist innerhalb von 1 Tag
-
component date-time good first issue
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
babelize/babelize-elements#91 ·
Maintainer antworten meist innerhalb von 1 Tag
-
component good first issue language-switcher
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 56/100
babelize/babelize-elements#90 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in babelize/babelize-elements
Ähnliche Issues
-
area: infrastructure bug priority: low
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
snapotter-hq/SnapOtter#4575 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
Maintainer antworten meist innerhalb von 1 Tag
-
documentation server-memory v2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
modelcontextprotocol/servers#5457 ·
Maintainer antworten meist innerhalb von 1 Tag
-
comp: ssr comp: zones type: feature version: current (v17+)
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
angular/angularfire#3836 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag