Conversation
Thanks for creating a PR for your Issue!
|
|
@AvishkarPatil please review the changes and merge it |
|
@AvishkarPatil ??? |
|
Thank you for taking the time to contribute to Jalwiki! However, I won't be merging this PR at this time. I plan to implement this feature as part of a more comprehensive solution that includes the backend API and Django models, rather than just the frontend changes. This will ensure better integration across the entire application. I appreciate your effort, and please feel free to contribute to other areas of the project or discuss this approach further if you have any questions. @Hrusikesh001 |
|
We will consider your contribution but can't not merge as there backend implementation is needed your efforts are not going waste I will add your score - Thanks for Contrtibution 🙌 @Hrusikesh001 |
📝 Description
Summary of Changes
1. New NGO Page Created
jalwiki_ui/app/ngo/page.tsx- Search functionality for NGO initiatives
- Sample NGO data (WaterAid India, Water For People India)
- Related articles section
- Water facts section
- Responsive design consistent with the Government page
2. Government Page Updated
jalwiki_ui/app/gov/page.tsx3. Navigation Bar Updated
- File:
jalwiki_ui/components/navbar.tsx- Split "Gov & NGO" into two separate items:
- Government (Library icon) → /gov
- NGO (Users icon) → /ngo
- Updated isActive function to handle /ngo route
- Added Users icon from lucide-react
4. Content Separation
- Government Initiatives → exclusively government programs/schemes
- NGO Initiatives → new dedicated page highlighting NGO contributions
5. Visual & Functional Improvements
- Consistent styling and layout across both pages
- Independent search functionality for each page
- Proper handling of loading and empty states
- Fully responsive design across devices
🔗 Related Issue
Fixes #8
Screenshots/Demo
Before

After


@AvishkarPatil . I’ve updated the navbar . Could you please review & merge and let me know if it looks good?