Skip to content

Style hero UI#62

Open
iyonugraha wants to merge 3 commits into
imbhargav5:mainfrom
iyonugraha:style-hero-ui
Open

Style hero UI#62
iyonugraha wants to merge 3 commits into
imbhargav5:mainfrom
iyonugraha:style-hero-ui

Conversation

@iyonugraha
Copy link
Copy Markdown

No description provided.

iyonugraha added 3 commits May 3, 2026 07:19
- Add @ducanh2912/next-pwa for Progressive Web App support
- Configure service worker with register + skipWaiting, disabled in dev
- Add manifest.json with NextBase branding and app icons (192, 384, 512)
- Resize nextbase.png to PWA icon sizes in public/icons/
- Add PWA metadata to layout.tsx (applicationName, manifest, appleWebApp, viewport)
- Load .env.local from project root via dotenv in next.config.ts
- Remove redundant .env files (.env.local.example, .env.development.local.example, apps/web/.env.local, apps/web/.env.test)
- Add dotenv dependency for centralized env loading
- Add gitignore entries for auto-generated service worker files
- Fix smooth scroll warning by adding data-scroll-behavior attribute
- Replace shadcn/ui CSS variables with HeroUI theme system (@heroui/styles)
- Add @heroui/react, @heroui/styles, tailwind-variants dependencies
- Add Zustand v5 state management (stores/ui-store, stores/counter-store, providers/store-provider)
- Add Zod v4 validation schemas (lib/validations.ts, lib/api.ts)
- Add login form component with react-hook-form + zodResolver
- Add ThemeToggle component and ThemeProvider wrapper
- Migrate all UI component shims to HeroUI v3 native API
- Update Input, Label, Textarea as native HTML elements with HeroUI theme variables
- Update InputGroup with HeroUI-compatible styling
- Update Button wrapper mapping onClick→onPress, disabled→isDisabled
- Update Card, Dialog, DropdownMenu, Tabs, AlertDialog to HeroUI compound patterns
- Update middleware.ts to proxy.ts pattern with setAll headers parameter
- Add PWA support (@ducanh2912/next-pwa, manifest.json, icons)
- Add data-scroll-behavior attribute for Next.js smooth scroll fix
- Update DynamicLayoutProviders with ThemeProvider (attribute='class', enableSystem)
- Wrap layout with UIStoreProvider for Zustand state management
- Update globals.css: remove shadcn CSS vars, add HeroUI theme import
- Fix typecheck errors in pagination.tsx, calendar.tsx, sidebar.tsx
- Remove .env redundancy (consolidate to root .env.local)
…roUI

- Restore middleware to only redirect protected pages (/dashboard, /private-item, etc) instead of blocking all non-auth pages, allowing / and /about to be accessed without login
- Fix Button component to properly support asChild prop using Radix Slot, preventing nested button-in-link layout issues on HeroUI
@iyonugraha
Copy link
Copy Markdown
Author

Yes

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