Skip to content

feat: home screen mockup + bottom tab navigation - #5

Merged
tecrodrigocastro merged 4 commits into
mainfrom
feat/home-mockup-bottom-nav
Sep 28, 2026
Merged

tecrodrigocastro merged 4 commits into
mainfrom
feat/home-mockup-bottom-nav

Conversation

@tecrodrigocastro

Copy link
Copy Markdown
Contributor

Summary

  • Adds real native tab bar navigation (Início, Timeline, Eventos, Perfil) via a TabsLayout with native chrome and a shared branded top-bar lockup.
  • Redesigns Início as a proper mocked home: gradient community hero (stats + working "Acessar Discord da He4rt" via Browser::open), a horizontal events carousel, and a timeline section with a featured post + compact list items.
  • Timeline and Eventos ship as honest "em desenvolvimento" placeholders — no real API yet (see docs/plans/2026-09-22-api-mobile-jwt.md).
  • Moves the /api/mobile/me Sanctum connectivity check from Home to Perfil, where it belongs.
  • Pins the app to dark appearance on iOS (config/nativephp.php) — He4rt's identity is fixed dark. Android still follows the system theme for now (not yet exposed by nativephp/mobile).

Test plan

  • php artisan test --compact — 16 passed
  • vendor/bin/pint --dirty — clean
  • php artisan native:validate — passes (pre-existing warnings only)
  • Manual check on iOS simulator (php artisan native:run ios)
  • Manual check on Android emulator (php artisan native:run android)

Wires a real native TabsLayout (native chrome, branded top-bar lockup)
across four screens via Route::nativeGroup(). Timeline and Eventos ship
as honest "em desenvolvimento" placeholders until their real APIs land.
Replaces the API-ping placeholder with a designed Início screen: a
branded gradient hero (stats + working Discord CTA via Browser::open),
a horizontal events carousel, and a timeline section with one featured
post plus compact list items. All data is mocked pending the real APIs
from docs/plans/2026-09-22-api-mobile-jwt.md.
The /api/mobile/me Sanctum POC ping belongs on the profile screen, not
the new mocked home. Perfil now shows a mocked guest header plus the
live connection status card.
He4rt's identity is fixed dark; pins UIUserInterfaceStyle accordingly.
Android still follows the system theme until nativephp/mobile exposes
the same override there.
@tecrodrigocastro
tecrodrigocastro requested a review from a team September 24, 2026 01:55
@tecrodrigocastro
tecrodrigocastro merged commit dd64e4a into main Sep 28, 2026
1 check passed
@tecrodrigocastro tecrodrigocastro mentioned this pull request Oct 4, 2026
3 of 5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant