Component: more NavBar variants (centered, floating, mega menu, sidebar, minimal, search)
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- react, tailwindcss, typescript
- Bereich
- frontend, internationalization
Rechercherichtung
Start by reading the existing NavBar component and its shared locale data, then review issues #44–#46 for the keyboard, RTL, and preview requirements. The issue asks for one separately claimed variant per PR; choose a variant and identify its registry, barrel export, docs, demo, and test entry points. Done when that variant meets the listed requirements and its acceptance checks pass.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Summary
NavBar is the only navigation component. Add more navbar variants so users can pick a layout without restyling the base one. Each variant is a separate component and a separate PR; comment below to claim one.
Proposed variants
| Component | Description |
|---|---|
NavBarCentered |
Logo centered, links split left/right, language selector and CTA at the end. |
NavBarFloating |
Detached, rounded "pill" bar that floats over content with a blurred backdrop, and shrinks on scroll. |
NavBarMega |
Links can open a mega-menu panel with grouped sub-links and descriptions. |
NavBarSidebar |
Vertical side navigation for docs and dashboards, collapsible to icons, with the language selector in the footer. |
NavBarMinimal |
Logo plus language selector only, using LanguageSwitcherPill as the inline locale control. |
NavBarWithSearch |
Base bar plus a search field / command-palette trigger (⌘K). |
Requirements (every variant)
- Same conventions as
NavBar:value/defaultValue/onValueChangefor the locale.locales: Locale[]from./types.linkComponentfor router links.- Ref forwarding and passthrough of extra props to the root element.
- Locale labels and flags from the shared
./locale-datamodule. No local copies. - Language menus use
useListboxNavigation(#44) for keyboard support. - RTL:
dirderived from the active locale, logical utilities only (start/end,ms/me,text-start). See #45. - Responsive with a mobile menu at narrow widths; dark mode.
- Registry entry with correct
registryDependencies(npm run test:registrymust pass), a barrel export, a docs page with Installation / Usage / Props / Examples, a live demo, and tests. - Docs preview tall enough for the variant's popups (see #46).
Acceptance per PR
- One variant per PR, linked to this issue.
-
lint,format:check,typecheck,test,build:lib,test:packpass. - Screenshots: LTR and RTL, desktop and ~390px, light and dark.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 39
- Forks
- 16
- Ø Merge
- 2 T. 12 Std.
- Gemergte PRs (30 T.)
- 10
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
-
bug website
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
babelize/babelize-elements#46 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug language-switcher priority: medium
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
babelize/babelize-elements#26 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug component rtl-layout
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 68/100
babelize/babelize-elements#45 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Website: revamp and improve the landing pageEvtl. vergeben @anjalinayak01 hat das vor 4 Tagen übernommen. Offenenhancement help wanted priority: medium website
Schwierigkeit 4/5 Über eine Woche Anfängerfreundlichkeit 30/100
babelize/babelize-elements#37 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement good first issue priority: low website
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 62/100
babelize/babelize-elements#36 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in babelize/babelize-elements
Ähnliche Issues
-
fix(frontend): correct VITE_IS_DEVELPOMENT typo in shared/app.ts and align dev environment flagsOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
vicharanashala/ajrasakha#1439 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Add: TV5Monde AsieOffenapproved check:passed streams:add
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
backnotprop/plannotator#1932 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 Ein halber Tag Anfängerfreundlichkeit 62/100
ibm-granite/granite.build#504 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
reproduced
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
anomalyco/opencode#55676 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag