aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docs/components/pages/home-shared/Gradient.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'docs/components/pages/home-shared/Gradient.tsx')
-rw-r--r--docs/components/pages/home-shared/Gradient.tsx47
1 files changed, 0 insertions, 47 deletions
diff --git a/docs/components/pages/home-shared/Gradient.tsx b/docs/components/pages/home-shared/Gradient.tsx
deleted file mode 100644
index 9a03a99..0000000
--- a/docs/components/pages/home-shared/Gradient.tsx
+++ /dev/null
@@ -1,47 +0,0 @@
-import cn from "classnames";
-import gradients from "./gradients.module.css";
-
-export function Gradient({
- width = 1000,
- height = 200,
- opacity,
- pink,
- blue,
- conic,
- gray,
- className,
- small,
-}: {
- width?: number | string;
- height?: number | string;
- opacity?: number;
- pink?: boolean;
- blue?: boolean;
- conic?: boolean;
- gray?: boolean;
- className?: string;
- small?: boolean;
-}) {
- return (
- <span
- className={cn(
- "absolute",
- gradients.glow,
- {
- [gradients.glowPink]: pink,
- [gradients.glowBlue]: blue,
- [gradients.glowConic]: conic,
- [gradients.glowSmall]: small,
- [gradients.glowGray]: gray,
- },
- className
- )}
- style={{
- width,
- height,
- opacity,
- borderRadius: "100%",
- }}
- />
- );
-}