feat : add section fastSell and add section nowSell and add particle bg
This commit is contained in:
23
src/components/loaderSpin/index.tsx
Normal file
23
src/components/loaderSpin/index.tsx
Normal 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;
|
||||
Reference in New Issue
Block a user