Skip to content

Commit

Permalink
Merge pull request #99 from keploy/main-page-changes
Browse files Browse the repository at this point in the history
Adding Main Page Changes
  • Loading branch information
Aditya-eddy authored Nov 4, 2024
2 parents bab9295 + 8a7c5f1 commit bd8b3aa
Show file tree
Hide file tree
Showing 8 changed files with 312 additions and 222 deletions.
8 changes: 4 additions & 4 deletions components/LottiePlayer.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import React from "react";
import { Player, Controls } from "@lottiefiles/react-lottie-player";
const LottiePlayer = ({VideoPath , className}:{VideoPath:any , className?:string}) => {
return (
return (
<div>
<Player
<Player
autoplay
loop
src={VideoPath}
className={className ? (className):("w-full")}
// style={{ height: "500px", width: "370px" }}
className={className ? className : "w-full max-w-xs md:max-w-sm lg:max-w-md"} // Adjust width for different screen sizes
style={{ height: "60%" }} // Reduced height for responsiveness
keepLastFrame={true}
>
<Controls
Expand Down
Loading

0 comments on commit bd8b3aa

Please sign in to comment.