Enhance animations and improve responsive typography/spacing#2
Open
MartinPuli wants to merge 2 commits into
Open
Conversation
- Increase spacing between all sections for better visual hierarchy - Improve responsive typography scaling on mobile and tablet - Add new CSS animations (scale-in, slide-in, blur-in, glow-pulse, etc.) - Add scroll-reveal animations to cards and elements - Increase padding in GlassCard component for more breathing room - Center all content with proper max-widths - Add staggered animation delays for entrance effects - Improve hover animations with glow effects https://claude.ai/code/session_013LBZTGeDzFVMDbhoPA8YT1
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Change animation-fill-mode from 'forwards' to 'both' for proper timing
- Remove 'fill-backwards' class as it conflicts with the animation
- Use inline styles for animation delays instead of dynamic Tailwind classes
- Tailwind cannot compile dynamic class names like `delay-${index * 100}`
https://claude.ai/code/session_013LBZTGeDzFVMDbhoPA8YT1
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.
Summary
This PR significantly enhances the visual experience by introducing a comprehensive animation system and improving responsive design across all breakpoints. The changes include new keyframe animations, scroll reveal effects, hover interactions, and refined typography/spacing scales.
Key Changes
Animation System Enhancements
scale-in,slide-in-left,slide-in-right,blur-in,bounce-subtle,rotate-slow,glow-pulse, andborder-glowdelay-600,delay-700,delay-800)Scroll Reveal Effects
.reveal- fade in with upward translation.reveal-left/.reveal-right- directional reveals.reveal-scale- scale-based reveal.stagger-childrenclass for sequential child element animations (up to 6 children with 100ms delays)Hover Interactions
.hover-lift- elevates elements on hover with shadow.hover-glow- applies cyan glow effect on hoverResponsive Typography & Spacing
.section-spacingutility (6rem/8rem/10rem based on breakpoint)Component Updates
styleprop support for inline animation delaysImplementation Details
cubic-bezier(0.4, 0, 0.2, 1)easing for smooth, professional feelfill-backwardsto prevent initial state flashinganimationDelaystyles for dynamic timinghttps://claude.ai/code/session_013LBZTGeDzFVMDbhoPA8YT1