fix: change lottie json from oss
parent
310dbbb495
commit
86fb427559
5306
pnpm-lock.yaml
5306
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -1,14 +1,14 @@
|
|||
"use client";
|
||||
import React from "react";
|
||||
import Lottie from "lottie-react";
|
||||
import animationData from "public/aeJson/logoAnim.json";
|
||||
const animationData = "https://www-soyootech.oss-cn-hangzhou.aliyuncs.com/public/lottie-json/logoAnim.json";
|
||||
|
||||
const logoAnim = () => {
|
||||
return (
|
||||
<div className="absolute w-[908px] h-[356px] right-[-40px]" style={{ transform: "translate(-40px, 4px)" }}>
|
||||
<Lottie animationData={animationData} loop={true} autoplay />
|
||||
</div>
|
||||
);
|
||||
return (
|
||||
<div className="absolute w-[908px] h-[356px] right-[-40px]" style={{ transform: "translate(-40px, 4px)" }}>
|
||||
<Lottie animationData={animationData} loop={true} autoplay />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default logoAnim;
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
"use client";
|
||||
import React from "react";
|
||||
import Lottie from "lottie-react";
|
||||
import animationData from "public/aeJson/custom.json";
|
||||
const animationData = "https://www-soyootech.oss-cn-hangzhou.aliyuncs.com/public/lottie-json/custom.json";
|
||||
|
||||
const Anim1 = () => {
|
||||
return (
|
||||
<div className="absolute top-[30px]">
|
||||
<Lottie animationData={animationData} loop={true} autoplay className="translate-x-[24px] translate-y-[3 0px]" />
|
||||
</div>
|
||||
);
|
||||
return (
|
||||
<div className="absolute top-[30px]">
|
||||
<Lottie animationData={animationData} loop={true} autoplay className="translate-x-[24px] translate-y-[3 0px]" />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Anim1;
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
"use client";
|
||||
import React from "react";
|
||||
import Lottie from "lottie-react";
|
||||
import ABData from "public/aeJson/AB.json";
|
||||
const ABData = "https://www-soyootech.oss-cn-hangzhou.aliyuncs.com/public/lottie-json/AB.json";
|
||||
|
||||
const Anim1 = () => {
|
||||
return (
|
||||
<div className="absolute right-[-100px] w-[888px]">
|
||||
<Lottie animationData={ABData} loop={true} autoplay className="translate-x-[-93px] translate-y-[-12px]" />
|
||||
</div>
|
||||
);
|
||||
return (
|
||||
<div className="absolute right-[-100px] w-[888px]">
|
||||
<Lottie animationData={ABData} loop={true} autoplay className="translate-x-[-93px] translate-y-[-12px]" />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Anim1;
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
"use client";
|
||||
import React from "react";
|
||||
import Lottie from "lottie-react";
|
||||
import LightWeight from "public/aeJson/LightWeight.json";
|
||||
const LightWeight = "https://www-soyootech.oss-cn-hangzhou.aliyuncs.com/public/lottie-json/LightWeight.json";
|
||||
|
||||
const LightWeightAnim = () => {
|
||||
return (
|
||||
<div className="absolute w-[908px] h-[356px] left-[-40px] top-[-30px]">
|
||||
<Lottie animationData={LightWeight} loop={true} autoplay style={{ transform: "scale(0.98) translate(10px, 0)" }} />
|
||||
</div>
|
||||
);
|
||||
return (
|
||||
<div className="absolute w-[908px] h-[356px] left-[-40px] top-[-30px]">
|
||||
<Lottie animationData={LightWeight} loop={true} autoplay style={{ transform: "scale(0.98) translate(10px, 0)" }} />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default LightWeightAnim;
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
"use client";
|
||||
import React from "react";
|
||||
import Lottie from "lottie-react";
|
||||
import MultiChannl from "public/aeJson/MultiChannl.json";
|
||||
const MultiChannl = "https://www-soyootech.oss-cn-hangzhou.aliyuncs.com/public/lottie-json/MultiChannl.json";
|
||||
|
||||
const Anim1 = () => {
|
||||
return (
|
||||
<div className="absolute right-0 w-[742px] h-[317px]">
|
||||
<Lottie animationData={MultiChannl} loop={true} autoplay style={{ transform: "translate(-45px, 4px)" }} />
|
||||
</div>
|
||||
);
|
||||
return (
|
||||
<div className="absolute right-0 w-[742px] h-[317px]">
|
||||
<Lottie animationData={MultiChannl} loop={true} autoplay style={{ transform: "translate(-45px, 4px)" }} />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Anim1;
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
"use client";
|
||||
import React from "react";
|
||||
import Lottie from "lottie-react";
|
||||
import MultiLanguage from "public/aeJson/MultiLanguage.json";
|
||||
const MultiLanguage = "https://www-soyootech.oss-cn-hangzhou.aliyuncs.com/public/lottie-json/MultiLanguage.json";
|
||||
|
||||
const Anim1 = () => {
|
||||
return (
|
||||
<div className="absolute w-[731px] left-[-33px] top-[-20px]">
|
||||
<Lottie animationData={MultiLanguage} loop={true} autoplay style={{ transform: "translate(35px, 74px)" }} />
|
||||
</div>
|
||||
);
|
||||
return (
|
||||
<div className="absolute w-[731px] left-[-33px] top-[-20px]">
|
||||
<Lottie animationData={MultiLanguage} loop={true} autoplay style={{ transform: "translate(35px, 74px)" }} />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Anim1;
|
||||
|
|
Loading…
Reference in New Issue