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.
This pull request introduces several significant changes to the
client
directory, including new features, dependency updates, and various enhancements to the user interface.New Features and Enhancements:
client/src/app/(projects)/layout.tsx
: Introduced a new layout for the Blue Carbon Cost project, integratingMapProvider
andSidebarProvider
for enhanced navigation and map interaction.client/src/app/(projects)/page.tsx
: Added a newProjects
page with animations and a dynamic layout usingframer-motion
andjotai
for state management.client/src/components/map/index.tsx
: Created a newMap
component with support for custom view states, bounds fitting, and debounced state changes.client/src/components/ui/pagination.tsx
: Implemented a newPagination
component for navigating through pages.client/src/components/ui/search.tsx
: Added a newSearch
component with debounced input handling and a clear button.Dependency Updates:
client/package.json
: Updated and added several dependencies, including@radix-ui/react-select
,@tanstack/react-table
,framer-motion
,jotai
,mapbox-gl
, andreact-map-gl
to support new features and improvements.Configuration and Constants:
client/src/app/(projects)/constants.ts
: Defined layout transition constants for smoother animations.client/src/components/map/constants.ts
: Added default view state and Mapbox style constants for the new map component.Styling and Theming:
client/src/app/globals.css
: Imported Mapbox CSS and added variables for sidebar theming to enhance the visual consistency of the application. [1] [2] [3]These changes collectively enhance the functionality, user experience, and maintainability of the project.