From 9f0d43fe099a95ab1516ae951dcb60a89e76a5a5 Mon Sep 17 00:00:00 2001
From: 简律纯 <i@jyunko.cn>
Date: Fri, 3 Nov 2023 21:13:33 +0800
Subject: chore: delete useless codes

---
 docs/components/ExamplesArea.tsx | 30 ------------------------------
 1 file changed, 30 deletions(-)
 delete mode 100644 docs/components/ExamplesArea.tsx

(limited to 'docs/components/ExamplesArea.tsx')

diff --git a/docs/components/ExamplesArea.tsx b/docs/components/ExamplesArea.tsx
deleted file mode 100644
index c4c7060..0000000
--- a/docs/components/ExamplesArea.tsx
+++ /dev/null
@@ -1,30 +0,0 @@
-import { useSSG } from "nextra/ssg";
-import { DetailedFeatureLink } from "./Feature";
-import { GitHubIcon } from "./Icons";
-
-export const ExamplesArea = ({
-  filter = "featured",
-}: {
-  filter: "featured" | "all";
-}) => {
-  const { examples } = useSSG();
-
-  return (
-    <div className="grid grid-cols-1 mt-12 gap-x-6 gap-y-12 sm:grid-cols-2 lg:mt-16 lg:gap-x-8 lg:gap-y-12">
-      {examples
-        .filter(({ featured }) => (filter === "featured" ? featured : true))
-        .map(({ name, description, slug }) => (
-          <DetailedFeatureLink
-            key={name}
-            feature={{
-              Icon: GitHubIcon,
-              description,
-              name,
-            }}
-            target="_blank"
-            href={`https://github.com/retrofor/HydroRoll/tree/main/examples/${slug}`}
-          />
-        ))}
-    </div>
-  );
-};
-- 
cgit v1.2.3-70-g09d2

