Optimize initial loading speed (LazyLoad).
This commit is contained in:
@@ -70,15 +70,9 @@ export default function HowItWorks({ messages }: PageContentProps) {
|
||||
{/* Right Side - Demo Animation */}
|
||||
<div className="w-full md:w-1/2">
|
||||
<div className="bg-white rounded-lg shadow-lg overflow-hidden">
|
||||
{/* The default Next.js image optimizer does not support handling of GIF animations */}
|
||||
<Image
|
||||
src="/HowItWorks.gif"
|
||||
alt="How PrivyDrop Works"
|
||||
unoptimized
|
||||
width={700}
|
||||
height={921}
|
||||
className="mx-auto mb-6"
|
||||
/>
|
||||
<video autoPlay loop muted playsInline width="1920" height="75">
|
||||
<source src="/HowItWorks.webm" type="video/webm" />
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user