aboutsummaryrefslogtreecommitdiff
path: root/components/anime/mobile/reused/infoChip.js
diff options
context:
space:
mode:
Diffstat (limited to 'components/anime/mobile/reused/infoChip.js')
-rw-r--r--components/anime/mobile/reused/infoChip.js43
1 files changed, 0 insertions, 43 deletions
diff --git a/components/anime/mobile/reused/infoChip.js b/components/anime/mobile/reused/infoChip.js
deleted file mode 100644
index 41def85..0000000
--- a/components/anime/mobile/reused/infoChip.js
+++ /dev/null
@@ -1,43 +0,0 @@
-import React from "react";
-import { getFormat } from "../../../../utils/getFormat";
-
-export default function InfoChip({ info, color, className }) {
- return (
- <div
- className={`flex-wrap w-full justify-start md:pt-1 gap-4 ${className}`}
- >
- {info?.episodes && (
- <div
- className={`dynamic-text rounded-md px-2 font-karla font-bold`}
- style={color}
- >
- {info?.episodes} Episodes
- </div>
- )}
- {info?.averageScore && (
- <div
- className={`dynamic-text rounded-md px-2 font-karla font-bold`}
- style={color}
- >
- {info?.averageScore}%
- </div>
- )}
- {info?.format && (
- <div
- className={`dynamic-text rounded-md px-2 font-karla font-bold`}
- style={color}
- >
- {getFormat(info?.format)}
- </div>
- )}
- {info?.status && (
- <div
- className={`dynamic-text rounded-md px-2 font-karla font-bold`}
- style={color}
- >
- {info?.status}
- </div>
- )}
- </div>
- );
-}