aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docs/components/pages/home-shared/FeatureBox.tsx
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2023-11-03 21:13:33 +0800
committer简律纯 <i@jyunko.cn>2023-11-03 21:13:33 +0800
commit9f0d43fe099a95ab1516ae951dcb60a89e76a5a5 (patch)
tree51614fe47bff8bb11028a07d4a35c34c9ff6594a /docs/components/pages/home-shared/FeatureBox.tsx
parent8f135707d069c900e055dae71e69909d6b9a41bb (diff)
downloadHydroRoll-9f0d43fe099a95ab1516ae951dcb60a89e76a5a5.tar.gz
HydroRoll-9f0d43fe099a95ab1516ae951dcb60a89e76a5a5.zip
chore: delete useless codes
Diffstat (limited to 'docs/components/pages/home-shared/FeatureBox.tsx')
-rw-r--r--docs/components/pages/home-shared/FeatureBox.tsx42
1 files changed, 0 insertions, 42 deletions
diff --git a/docs/components/pages/home-shared/FeatureBox.tsx b/docs/components/pages/home-shared/FeatureBox.tsx
deleted file mode 100644
index c9d46c1..0000000
--- a/docs/components/pages/home-shared/FeatureBox.tsx
+++ /dev/null
@@ -1,42 +0,0 @@
-import Image from "next/image";
-import type { ReactNode } from "react";
-
-export function FeatureBox({
- name,
- description,
- iconDark,
- iconLight,
-}: {
- iconDark: Parameters<typeof Image>[0]["src"];
- iconLight: Parameters<typeof Image>[0]["src"];
- name: string;
- description: ReactNode;
-}) {
- return (
- <div className="box-border relative flex flex-col gap-5 p-8 overflow-hidden text-black no-underline border dark:text-white rounded-xl dark:border-neutral-800">
- <Image
- src={iconDark}
- width={64}
- height={64}
- aria-hidden="true"
- alt=""
- className="hidden dark:block"
- />
- <Image
- src={iconLight}
- width={64}
- height={64}
- aria-hidden="true"
- alt=""
- className="block dark:hidden"
- />
- <div className="flex flex-col gap-2">
- <h3 className="m-0 font-bold leading-5 text-gray-900 font-space-grotesk dark:text-white">
- {name}
- </h3>
-
- <p className="m-0 leading-6 opacity-70">{description}</p>
- </div>
- </div>
- );
-}