Style hero UI#62
Open
iyonugraha wants to merge 3 commits into
Open
Conversation
- 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
Author
|
Yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.