Przejdź do treści
Biblioteka skilli
Projektowanie i UX · Budowanie i kod

mobile-only-responsive-navigation

/mobile-only-responsive-navigation

Ulepsza nawigację mobilną w witrynach RTL po persku: menu hamburgerowe, szuflady, cele dotyku i przełączniki motywu, bez zmiany układu desktopowego.

Licencja
MIT
Ostatnia zmiana repozytorium
05.07.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 05.07.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Ulepsza nawigację mobilną w witrynach RTL po persku: menu hamburgerowe, szuflady, cele dotyku i przełączniki motywu, bez zmiany układu desktopowego.

Oryginalny opis (EN)

Mobile-only responsive navigation guidance for RTL Persian sites. Use when improving hamburger menus, drawers, touch targets, and mobile theme controls without changing desktop layout.

Jak działa

  1. Non-negotiable scope
  2. Mobile navigation requirements
  3. Mobile theme toggle
  4. Motion and polish
  5. Mobile audit checklist
Sekcje z nagłówków SKILL.md, w oryginale · 53 linii, 391 słów
Podgląd SKILL.md
---
name: mobile-only-responsive-navigation
description: Mobile-only responsive navigation guidance for RTL Persian sites. Use when improving hamburger menus, drawers, touch targets, and mobile theme controls without changing desktop layout.
---

# Mobile-only responsive navigation

Use this skill when modifying a production HTML/CSS/Vanilla JS site where the desktop design must remain unchanged and only mobile breakpoints may be improved.

## Non-negotiable scope

- All visual/layout changes for navigation, spacing, typography, header, hero, cards, and sections must be limited to existing mobile breakpoints such as `@media (max-width: 768px)` or the project breakpoint (`@media (max-width: 759px)`).
- Desktop navigation, desktop header, desktop spacing, desktop typography, desktop buttons, and desktop theme controls must stay visually identical.
- If a shared JavaScript change is needed, it must preserve desktop behavior and only add accessibility/state handling.

## Mobile navigation requirements

- Hide desktop navigation on mobile and control it with a real hamburger button.
- The hamburger button must expose `aria-expanded`, `aria-controls`, and a clear `aria-label`.
- For Persian/RTL layouts, the mobile drawer should open from the right (`inset-inline-start: 0` in RTL).
- The drawer must be above hero and content with a reliable z-index.
- Include a backdrop/scrim so the drawer does not visually merge with the hero.
- Touch targets must be at least 44px high/wide.
- Menu links must be easy to scan and tap.
- Close the drawer when:
  - the close button is clicked,
  - a menu link is clicked,
  - the user clicks outside/backdrop,
  - the Escape key is pressed.
- Lock body scroll while the drawer is open.
- Restore scroll when it closes.
- Do not create horizontal overflow.

## Mobile theme toggle

- Place the mobile theme toggle inside the drawer.
- Keep it compact, tidy, Persian, and clear: `تیره 🌙` and `روشن ☀️`.
- Active state must be obvious and accessible via `aria-pressed`.
- Preserve the current `localStorage` theme behavior.
- Do not visually change the desktop theme toggle.

## Motion and polish

- Drawer animation should be short, soft, and subtle.
- Avoid bounce, shake, heavy glow, excessive scaling, or constant animation.
- Respect `prefers-reduced-motion`.
- Use solid or frosted surfaces that remain readable in dark and light mode.

## Mobile audit checklist

- Section padding is not excessive.
- Large headings are readable and not cramped.
- Persian line-height is comfortable.
- Cards and CTAs fit the viewport.
- Contact/location cards are ordered and readable.
- Header logo and brand text fit without overflow.
- No horizontal scrolling at common widths (320, 360, 390, 414px).
Pliki w paczce (2)
  • README.md 2 KB
  • SKILL.md 3 KB

Wersje

W bazie nie ma innych skilli o nazwie mobile-only-responsive-navigation.

Migawka bazy z 13.11.2026 · wersja paczki 008e519e4278 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100mobile-ux-optimizer
    Optymalizuje UX mobile-first dla interfejsów dotykowych i układów responsywnych: obsługa viewportu, cele dotykowe, gesty i nawigacja mobilna, np. dvh, safe area i menu hamburgerowe.
  • 100mobile-ux-optimizer
    Optymalizuje UX mobile-first dla interfejsów dotykowych i układów responsywnych: obsługa viewportu, cele dotykowe, gesty i nawigacja mobilna, np. dvh, safe area i menu hamburgerowe.
  • 90saas-responsive
    Pomaga projektować i sprawdzać układy responsywne SaaS: punkty przełamania, karty zamiast tabel, cele dotyku i nawigację mobilną.
  • 100mobile-ui-design
    Projektuje interfejsy mobilne zorientowane na dotyk dla aplikacji webowych, PWA oraz ekranów React Native i Flutter: cele dotykowe, dolna nawigacja, gesty, strefy bezpieczne, arkusze, formularze i ruch.
  • 95responsive-mobile-first
    Wdraża wzorce responsywne mobile-first: przyklejone nagłówki, pływające CTA, dostępna nawigacja i interakcje przyjazne dotykowi.
  • 90mobile-ux-design
    Projektuje mobilne doświadczenie: strefy kciuka, rozmiary celów dotykowych, formularze, nawigację i wzorce iOS oraz Androida.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.