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/image/ThemedImage.tsx | 45 -----------------------------------
 1 file changed, 45 deletions(-)
 delete mode 100644 docs/components/image/ThemedImage.tsx

(limited to 'docs/components/image/ThemedImage.tsx')

diff --git a/docs/components/image/ThemedImage.tsx b/docs/components/image/ThemedImage.tsx
deleted file mode 100644
index 0416bd9..0000000
--- a/docs/components/image/ThemedImage.tsx
+++ /dev/null
@@ -1,45 +0,0 @@
-import React from "react";
-import Image from "next/image";
-
-export interface Image {
-  height: number;
-  width: number;
-  source: string;
-}
-
-export interface ThemedImageProps {
-  title?: string;
-  dark?: Image;
-  light?: Image;
-  priority?: boolean;
-}
-
-export function ThemedImage({
-  title,
-  light,
-  dark,
-  priority = false,
-}: ThemedImageProps) {
-  return (
-    <>
-      <div className="block w-full dark:hidden">
-        <Image
-          alt={title}
-          src={light.source}
-          width={light.width}
-          height={light.height}
-          priority={priority}
-        />
-      </div>
-      <div className="hidden w-full dark:block">
-        <Image
-          alt={title}
-          src={dark.source}
-          width={dark.width}
-          height={dark.height}
-          priority={priority}
-        />
-      </div>
-    </>
-  );
-}
-- 
cgit v1.2.3-70-g09d2

