Successfully implemented interactive 3D profile cards for the ChainCommerce team on the homepage.
packages/nextjs/components/ProfileCard.tsx- Main profile card componentpackages/nextjs/components/ProfileCard.css- Styling and animationsPROFILE_CARDS_IMPLEMENTATION.md- This documentation
packages/nextjs/app/page.tsx- Added team section with profile cardspackages/nextjs/next.config.ts- Updated image configuration for Unsplash
- Name: Ojas Arora
- Role: Full Stack Web3 Dev
- Handle: @ojasarora
- Status: Building the Future
- LinkedIn: https://www.linkedin.com/in/ojas-arora-b62430231/
- Name: Karan Dhillon
- Role: AI Engineer
- Handle: @karandhillon
- Status: AI Innovation
- LinkedIn: https://www.linkedin.com/in/karandhillon05/
- ✅ Mouse tracking with 3D tilt animations
- ✅ Dynamic lighting effects that follow cursor
- ✅ Smooth transitions and easing
- ✅ Holographic shine and glare effects
- ✅ Mobile-first responsive layout
- ✅ Adaptive sizing for different screen sizes
- ✅ Touch-friendly interactions
- ✅ Optimized for tablets and phones
- ✅ Gradient backgrounds with animated effects
- ✅ Glassmorphism design elements
- ✅ Professional typography
- ✅ High-quality avatar images from Unsplash
- ✅ Contact buttons linking to LinkedIn profiles
- ✅ Hover effects and animations
- ✅ Smooth pointer tracking
- ✅ Professional status indicators
- Holographic Backgrounds: Dynamic gradient animations
- 3D Tilt: Cards tilt based on mouse position
- Lighting Effects: Dynamic shine and glare following cursor
- Smooth Animations: Eased transitions for professional feel
- Side-by-Side: Two cards displayed horizontally on desktop
- Stacked: Cards stack vertically on mobile devices
- Centered: Cards are centered within the page layout
- Responsive: Adapts to all screen sizes
interface ProfileCardProps {
avatarUrl: string;
name: string;
title: string;
handle: string;
status: string;
contactText: string;
onContactClick: () => void;
// ... other props
}- React: Component-based architecture
- TypeScript: Type-safe development
- CSS3: Advanced animations and effects
- Next.js: Image optimization and routing
- Pointer Tracking: Real-time mouse position tracking
- 3D Transforms: CSS 3D transformations
- Easing Functions: Smooth cubic-bezier animations
- Performance: Optimized with requestAnimationFrame
- Cards displayed side-by-side
- Full 3D tilt effects
- Large avatar images
- Complete user information
- Reduced card height
- Smaller avatars
- Adjusted font sizes
- Maintained 3D effects
- Stacked layout
- Compact design
- Touch-optimized interactions
- Simplified animations
- Located after the "Explore Our Features" section
- Before the footer
- Full-width container with centered content
<div className="py-20 px-4 bg-slate-950">
<div className="max-w-7xl mx-auto">
<div className="text-center mb-16">
<h2>Meet Our Team</h2>
<p>Team description</p>
</div>
<div className="grid grid-cols-1 lg:grid-cols-2 gap-8">
{/* Profile Cards */}
</div>
</div>
</div>- Hover Effects: Cards respond to mouse movement
- 3D Tilt: Dynamic perspective changes
- Contact Buttons: Direct links to LinkedIn profiles
- Visual Feedback: Smooth animations and transitions
- Keyboard Navigation: Focusable elements
- Screen Readers: Proper ARIA labels
- Reduced Motion: Respects user preferences
- High Contrast: Readable text and colors
- Lazy Loading: Images load when needed
- Error Handling: Graceful fallbacks
- Optimized Sources: Unsplash CDN integration
- Responsive Images: Multiple sizes for different devices
- Hardware Acceleration: CSS 3D transforms
- RequestAnimationFrame: Smooth 60fps animations
- Debounced Events: Optimized mouse tracking
- Memory Management: Proper cleanup on unmount
The profile cards add a professional and interactive element to the ChainCommerce homepage, showcasing the team members with:
- ✅ Modern Design: Cutting-edge visual effects
- ✅ Professional Presentation: Clean, business-appropriate styling
- ✅ Interactive Experience: Engaging 3D animations
- ✅ Mobile Friendly: Works perfectly on all devices
- ✅ Performance Optimized: Fast loading and smooth animations
The implementation successfully creates an impressive team showcase that aligns with the innovative nature of the ChainCommerce platform!