Fix critical mobile optimizations for iPhone
All checks were successful
build-website / build (push) Successful in 1m29s

- Update viewport meta to prevent zoom-out issues
- Add video preload and smooth fallback transitions
- Implement iOS overscroll bounce prevention
- Center service offering buttons properly
- Add mobile-specific padding and touch target sizing
- Optimize video loading with canplaythrough event
- Add fade-out transition for fallback image

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-09-19 01:16:44 +02:00
parent 32b3083b77
commit 2d6ec4e432
4 changed files with 39 additions and 4 deletions

View File

@@ -7,8 +7,10 @@
loop
muted
playsinline
preload="metadata"
poster="/golden_gate.jpg"
class="hero-video"
@loadeddata="handleVideoLoaded"
@canplaythrough="handleVideoLoaded"
>
<source
src="https://videos.pexels.com/video-files/3571264/3571264-uhd_2560_1440_30fps.mp4"
@@ -17,8 +19,8 @@
</video>
<div
v-if="!videoLoaded"
class="hero-image-fallback"
:class="{ 'fade-out': videoLoaded }"
:style="{ backgroundImage: 'url(/golden_gate.jpg)' }"
/>