Create JPMorgan Chase landing page#1
Open
Sohailm25 wants to merge 7 commits into
Open
Conversation
Co-authored-by: sohailmo.ai <sohailmo.ai@gmail.com>
Co-authored-by: sohailmo.ai <sohailmo.ai@gmail.com>
…e features Co-authored-by: sohailmo.ai <sohailmo.ai@gmail.com>
…ures Co-authored-by: sohailmo.ai <sohailmo.ai@gmail.com>
- Add proper environment detection for IntersectionObserver availability
- Implement fallback for SSR, testing, and Node.js environments
- Maintain animation functionality in all environments
- Prevent 'IntersectionObserver is not defined' runtime errors
The fix includes:
✅ Browser environment detection (typeof window !== 'undefined')
✅ IntersectionObserver availability check ('IntersectionObserver' in window)
✅ Graceful fallback with timeout-based animation trigger
✅ Maintains all animation functionality regardless of environment
🔧 Resolves runtime errors in SSR, Jest, and build environments
- Replace alpha('white', ...) with alpha('#ffffff', ...) for proper hex format
- Replace color: 'white' with color: 'common.white' for theme consistency
- Fix all instances in DetailPage.tsx causing MUI color format warnings
- Maintain visual appearance while using MUI-compliant color formats
Changes include:
🎨 Proper hex color format (#ffffff) for alpha blending
🎯 Theme-based color references (common.white) for consistency
✅ Resolves 'MUI: unsupported white color' console errors
🔧 Maintains all visual styling and hover effects
Sohailm25
added a commit
that referenced
this pull request
Feb 16, 2026
Sohailm25
added a commit
that referenced
this pull request
Feb 20, 2026
2e06ea0 to
de36365
Compare
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.
Create a React/TypeScript landing page for JPMorgan Chase's Card Context Engine using MUI components and React Router.
Initial attempts to use MUI's Grid component led to TypeScript errors due to versioning and API changes. The layout was refactored to use MUI Box components for better compatibility and simpler flexbox-based styling.
Open in Web • Open in Cursor