[Build] feat: Improve landing page, navigation, and Settings page
Published on October 26, 2025
## GitHub Update
**Repository:** [MKWcorp/hrisnextgen](https://github.com/MKWcorp/hrisnextgen)
**Author:** multimediadrw
**Date:** 10/26/2025, 11:56:11 PM
**Commit:** [`26dfc1d`](https://github.com/MKWcorp/hrisnextgen/commit/26dfc1ddcdc352282ee293189af03b726dc7ce44)
### Commit Message
feat: Improve landing page, navigation, and Settings page
- **Landing Page**: Complete redesign with persuasive marketing copy
- New headline: 'Stop Bingung Target & OKR! Ubah Strategi Jadi Aksi Harian dengan AI'
- Added Problem section highlighting pain points
- Added Solution section with AI features
- Added How It Works (3 steps)
- Added Features section with detailed benefits
- Updated CTA with 'Minta Akses Awal' and 'Pelajari Lebih Lanjut'
- **Navigation**: Simplified to 3 core menus
- Setup (⚙️) - for Business Units & Users setup
- Goals (�) - manage strategic goals
- Dashboard (�) - overview & analytics
- Removed unused menus (Home, Review AI Strategy, Analytics)
- **Settings Page**: Added helpful info text
- Info about Business Unit requirement (min 1)
- Info about Roles being optional
- Info about User requirement (min 1)
- **API Endpoints**: Added foreign key validation
- Business Units DELETE: Check if used by users before delete
- Roles DELETE: Check if used by users before delete
- Better error messages with user count
- **Goals Page**: Improved workflow
- Added 'Create New Goal' button
- AI Analysis button only shows when there's at least 1 goal
- Better empty state message
Technical:
- Fixed Next.js 15 dynamic routes (await params)
- Fixed method not allowed errors (405)
- Removed unused FontAwesome imports
- Clean code with proper error handling
---
_This story was imported from historical commits._