P2P Trading 5.0.4
14 January 2025
MAJOR IMPROVEMENTS
Version 5.0.4
Release Date: January 14, 2025
Tags: MAJOR IMPROVEMENTS
Changed
P2P Platform Settings with Proper Default Handling
- Changed P2P settings to fall back to sensible defaults when configuration has not yet loaded
- Changed the initial page load so it no longer shows false "platform disabled" messages
- Changed settings handling to check for undefined values, so an unset setting is no longer read as off
P2P Page Visual Design in Dark Mode
- Changed all card components for better dark mode visibility, with backdrop blur effects
- Changed the "How It Works", "Why Choose" and CTA sections for consistent appearance in both light and dark themes
- Changed the CTA section to use proper card background, border and text colors in dark mode
- Changed card transparency and color contrast for better readability
P2P Home Page How It Works Redesign
- Changed the "How It Works" section to a modern interactive timeline on desktop
- Added background elements with animated gradients, radial patterns and blur effects
- Added color-coded steps with their own gradient themes
- Changed step cards to use hover animations, shadow effects and smooth transitions
- Added feature lists showing the specific benefits of each step
- Changed the step icons to layered circular backgrounds with blur and scale animations
- Changed typography for a clearer content hierarchy
- Changed the CTA section with gradient styling and improved hover effects
Fixed
P2P Platform Settings Logic and Default Values
- Fixed the P2P platform showing "disabled" and "restricted access" banners when settings are undefined
- Fixed P2P settings to apply proper defaults (enabled: true, maintenance: false, allow new offers: true, allow guest browsing: true)
- Fixed settings logic to check for undefined values before converting them to a boolean
- Fixed the P2P platform to work correctly on first load, before settings are fully initialized
P2P Page Card Visibility in Dark Mode
- Fixed card backgrounds in dark mode for better text visibility and readability
- Fixed the "How It Works" section cards to use a proper dark mode background
- Fixed the "Why Choose" section cards for better dark mode contrast
- Fixed the CTA section card, which had a white background instead of proper dark mode styling
- Added a backdrop blur effect to all cards for greater visual depth
- Fixed text contrast ratios in both light and dark themes for better accessibility
P2P Platform Dynamic Site Name Integration
- Fixed hardcoded "CryptoP2P" references, which are now replaced by the site name from your environment configuration
- Changed the P2P landing page to display the site name from
NEXT_PUBLIC_SITE_NAME - Changed branding across P2P features to match your site configuration
P2P Alert Banner Dark Mode Color Improvements
- Fixed dark mode colors for the platform disabled banner, which now uses a red color scheme
- Fixed the maintenance mode banner to use an amber color scheme for better visibility in dark mode
- Fixed the feature restricted banner to use a blue color scheme for consistent information display
- Fixed contrast ratios and color transitions for better accessibility in both light and dark themes
P2P Offer Page Mobile Optimization
- Fixed "Items per page" text breaking awkwardly on mobile devices
- Changed the create offer buttons to full-width, 48px height on mobile
- Changed button text and icons to a larger size for better mobile usability
- Changed text alignment to centered on mobile