diff options
| author | 2023-11-03 21:13:33 +0800 | |
|---|---|---|
| committer | 2023-11-03 21:13:33 +0800 | |
| commit | 9f0d43fe099a95ab1516ae951dcb60a89e76a5a5 (patch) | |
| tree | 51614fe47bff8bb11028a07d4a35c34c9ff6594a /docs/components/pages/home-shared/GradientSectionBorder.tsx | |
| parent | 8f135707d069c900e055dae71e69909d6b9a41bb (diff) | |
| download | HydroRoll-9f0d43fe099a95ab1516ae951dcb60a89e76a5a5.tar.gz HydroRoll-9f0d43fe099a95ab1516ae951dcb60a89e76a5a5.zip | |
chore: delete useless codes
Diffstat (limited to 'docs/components/pages/home-shared/GradientSectionBorder.tsx')
| -rw-r--r-- | docs/components/pages/home-shared/GradientSectionBorder.tsx | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/docs/components/pages/home-shared/GradientSectionBorder.tsx b/docs/components/pages/home-shared/GradientSectionBorder.tsx deleted file mode 100644 index ef1e824..0000000 --- a/docs/components/pages/home-shared/GradientSectionBorder.tsx +++ /dev/null @@ -1,37 +0,0 @@ -import cn from "classnames"; -import { FadeIn } from "./FadeIn"; -import gradients from "../home-shared/gradients.module.css"; - -export function GradientSectionBorder({ - children, -}: { - children: React.ReactNode; -}) { - return ( - <section className={cn("relative overflow-hidden")}> - <FadeIn noVertical viewTriggerOffset> - <span - className={cn( - "w-full absolute white h-[1px] top-0 opacity-25", - gradients.gradientSectionBorderDivider - )} - /> - <span - className={cn( - gradients.gradientSectionBorder, - gradients.gradientSectionBorderLeft, - "dark:opacity-35 opacity-[0.15]" - )} - /> - <span - className={cn( - gradients.gradientSectionBorder, - gradients.gradientSectionBorderRight, - "dark:opacity-35 opacity-[0.15]" - )} - /> - </FadeIn> - {children} - </section> - ); -} |
