From d13a43a5ae6caef4f8977ab6b6314fa976785ff6 Mon Sep 17 00:00:00 2001 From: BFlat Date: Thu, 11 Jan 2024 20:34:36 +0700 Subject: [PATCH] audio card badge and cover image fix --- .../common/Card/AudioCard/AudioCard.tsx | 46 +++++++++++-------- .../useWeightTypeInfo/useWeightTypeInfo.tsx | 2 +- 2 files changed, 29 insertions(+), 19 deletions(-) diff --git a/packages/fakeyou.com/src/components/common/Card/AudioCard/AudioCard.tsx b/packages/fakeyou.com/src/components/common/Card/AudioCard/AudioCard.tsx index a64d5a4309..9362b54b5f 100644 --- a/packages/fakeyou.com/src/components/common/Card/AudioCard/AudioCard.tsx +++ b/packages/fakeyou.com/src/components/common/Card/AudioCard/AudioCard.tsx @@ -78,7 +78,7 @@ export default function AudioCard({ @@ -124,14 +124,17 @@ export default function AudioCard({ )}
- +
@@ -140,7 +143,9 @@ export default function AudioCard({ {type === "weights" && ( <>
- {showCover && } + {showCover && ( + + )}
@@ -189,13 +194,17 @@ export default function AudioCard({ )}
- +
diff --git a/packages/fakeyou.com/src/hooks/useWeightTypeInfo/useWeightTypeInfo.tsx b/packages/fakeyou.com/src/hooks/useWeightTypeInfo/useWeightTypeInfo.tsx index 23a3417ce8..f619d16b64 100644 --- a/packages/fakeyou.com/src/hooks/useWeightTypeInfo/useWeightTypeInfo.tsx +++ b/packages/fakeyou.com/src/hooks/useWeightTypeInfo/useWeightTypeInfo.tsx @@ -22,7 +22,7 @@ const weightTypeInfo: WeightTypeInfo = { color: "purple", fullLabel: "Stable Diffusion XL", }, - [WeightType.SVC]: { label: "SVC", color: "cyan", fullLabel: "SVC" }, + [WeightType.SVC]: { label: "SVC", color: "turquoise", fullLabel: "SVC" }, [WeightType.LORA]: { label: "LoRA", color: "pink", fullLabel: "LoRA" }, [WeightType.VALL_E]: { label: "VALL-E",