diff --git a/apps/web/src/app/globals.css b/apps/web/src/app/globals.css index 83ecac01..d2fc6c90 100644 --- a/apps/web/src/app/globals.css +++ b/apps/web/src/app/globals.css @@ -546,19 +546,18 @@ pre { } /* ============================================ - Skeleton Loading (Used by loading states) + Accessibility - Reduced Motion ============================================ */ -.skeleton { - background: linear-gradient( - 90deg, - rgba(255, 255, 255, 0.03) 0%, - rgba(255, 255, 255, 0.08) 50%, - rgba(255, 255, 255, 0.03) 100% - ); - background-size: 200% 100%; - animation: skeleton-shimmer 1.5s ease-in-out infinite; - border-radius: 0.5rem; +@media (prefers-reduced-motion: reduce) { + *, + *::before, + *::after { + animation-duration: 0.01ms !important; + animation-iteration-count: 1 !important; + transition-duration: 0.01ms !important; + scroll-behavior: auto !important; + } } @keyframes skeleton-shimmer { diff --git a/apps/web/src/app/page.tsx b/apps/web/src/app/page.tsx index 3fdcb554..10022ede 100644 --- a/apps/web/src/app/page.tsx +++ b/apps/web/src/app/page.tsx @@ -621,34 +621,39 @@ export default function HomePage() { /> - {/* Video Preview Card - Visual Example Only */} + {/* Video Preview Card - Example */}
Sample: How to build a startup
-12:34 • Ready to transform
+ {/* Video info overlay */} +Sample: How to build a startup
+12:34 • Ready to transform
+