feat : add section fastSell and add section nowSell and add particle bg

This commit is contained in:
Ali Josheghani
2024-05-27 01:03:29 +03:30
parent c14e025ad9
commit 17922b0206
19 changed files with 993 additions and 314 deletions

View File

@@ -0,0 +1,23 @@
import React from "react";
const LoaderSpin = ({ children }: { children: React.ReactNode }) => {
return (
<div className="relative w-full h-full flex justify-center items-center">
<svg className="max-md:w-32 max-md:h-32 w-52 h-52" viewBox="0 0 50 50">
<circle
className="path stroke-yellow-600"
cx="25"
cy="25"
r="20"
fill="none"
strokeWidth="4"
strokeDasharray={126}
strokeDashoffset={126}
></circle>
</svg>
<div className="absolute left-1/2 -translate-x-1/2">{children}</div>
</div>
);
};
export default LoaderSpin;