feat: comprehensive website optimization for performance and mobile
All checks were successful
build-website / build (push) Successful in 1m32s
All checks were successful
build-website / build (push) Successful in 1m32s
Optimizations implemented: - Added hardware acceleration for smooth animations (will-change, transform3d) - Optimized touch targets for mobile (minimum 48x48px) - Added explicit image dimensions to prevent CLS - Implemented comprehensive SEO meta tags and Open Graph - Added structured data for LocalBusiness and Service schemas - Configured resource hints (preconnect, dns-prefetch, preload) - Added lazy loading to non-critical images - Improved button accessibility with touch-action: manipulation These optimizations improve Core Web Vitals, mobile UX, and SEO visibility. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -153,11 +153,12 @@ img {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 50%;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
transition: var(--transition);
|
||||
touch-action: manipulation;
|
||||
}
|
||||
|
||||
.social-links a:hover {
|
||||
@@ -276,6 +277,12 @@ html {
|
||||
font-weight: 500;
|
||||
transition: var(--transition);
|
||||
position: relative;
|
||||
/* Ensure touch targets are at least 48x48px for mobile */
|
||||
padding: 12px 16px;
|
||||
min-height: 48px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
touch-action: manipulation;
|
||||
}
|
||||
|
||||
.voyage-nav.scrolled .nav-link {
|
||||
@@ -303,6 +310,11 @@ html {
|
||||
padding: 0.75rem 1.5rem;
|
||||
border-radius: 50px;
|
||||
transition: var(--transition);
|
||||
/* Ensure minimum touch target size */
|
||||
min-height: 48px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
touch-action: manipulation;
|
||||
}
|
||||
|
||||
.nav-cta:hover {
|
||||
@@ -1513,8 +1525,8 @@ html {
|
||||
}
|
||||
|
||||
.social-links a {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -1522,6 +1534,7 @@ html {
|
||||
border-radius: 50%;
|
||||
font-size: 1.25rem;
|
||||
transition: var(--transition);
|
||||
touch-action: manipulation;
|
||||
}
|
||||
|
||||
.social-links a:hover {
|
||||
|
||||
Reference in New Issue
Block a user