Skip to content

Merge develop into main#30

Merged
SiegfriedBz merged 8 commits into
mainfrom
develop
Apr 19, 2026
Merged

Merge develop into main#30
SiegfriedBz merged 8 commits into
mainfrom
develop

Conversation

@SiegfriedBz
Copy link
Copy Markdown
Owner

This pull request promotes several key improvements from the develop branch to main, focusing on wallet-state handling, significant performance optimizations through asset compression, and layout refinements.

Summary of Changes

1. Wallet UX & Connection Logic

  • Connection-Gated UI: Replaced chain-dependent controls (submit buttons, sidebar network switches, and stat cards) with "Connect Wallet" prompts when no session is active.
  • Stale State Resolution: Implemented useAppKitAccount() as the source of truth for connection status to prevent "stale" wagmi cookies from showing an interactive UI while disconnected.
  • Access Improvements: Removed hard redirects in ChainStatsWrapper to ensure pages remain accessible to fresh visitors.
  • Consistent Styling: Updated form validation colors to use the standard text-error token instead of text-destructive.

2. Performance & Asset Optimization

  • Hero Media Overhaul: Replaced the 1.7MB hero video with a high-priority, optimized Next.js Image. This eliminates buffering delays and improves Largest Contentful Paint (LCP).
  • Massive Image Compression: * Hero Image: Compressed from 7.7MB (PNG) to 530KB (JPEG)—a ~93% size reduction with no visible quality loss. * OG Image: Compressed from 1.6MB to 133KB, ensuring compatibility with social crawlers.
  • Social Preview Fix: Added explicit dimensions (width/height) and metadata tags to the OpenGraph config to ensure link previews render correctly on WhatsApp and Twitter.

3. Layout & UI Refinements

  • Hero Rebalancing: Adjusted the desktop layout to a 57/43 weighted split (media/text) to fix the visual imbalance where the media appeared too small.
  • Mobile UX: Increased top padding on hero assets and removed height caps to allow for natural scaling across devices. * Code Cleanup: Deleted the unused hero-video.tsx component and legacy assets.

Impact

  • Performance: Drastic reduction in initial page weight (saving ~8MB+ in raw assets).
  • UX: Improved clarity for disconnected users, preventing "dead" interactions caused by session-cookie mismatches.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
bio-verify-ai-dapp Ready Ready Preview, Comment Apr 19, 2026 0:07am

@SiegfriedBz SiegfriedBz merged commit 6e8a702 into main Apr 19, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant