From 2688ca9647331aafab848c6d5b43a31bd9585b74 Mon Sep 17 00:00:00 2001 From: Archaon Date: Tue, 10 Sep 2024 11:06:51 +0700 Subject: [PATCH] fix css explore page --- .../components/DappCard/index.tsx | 11 ++++++++--- .../components/DappCard/styles.module.scss | 19 +++++++++++++------ 2 files changed, 21 insertions(+), 9 deletions(-) diff --git a/src/modules/ExploreModule/components/DappCard/index.tsx b/src/modules/ExploreModule/components/DappCard/index.tsx index 14fc10fd2..5c217c3e3 100644 --- a/src/modules/ExploreModule/components/DappCard/index.tsx +++ b/src/modules/ExploreModule/components/DappCard/index.tsx @@ -4,6 +4,7 @@ import Fade from '@interactive/Fade'; import ImagePlaceholder from '@components/ImagePlaceholder'; import Link from 'next/link'; import cn from 'classnames'; +import { Box } from '@chakra-ui/react'; export type TDappCardProps = { id?: string; @@ -24,7 +25,6 @@ export default function DappCard({ idx, ...props }: TDappCardProps): React.JSX.Element { - console.log('props.bgColor', props.bgColor); const { link } = props; return ( @@ -36,14 +36,19 @@ export default function DappCard({ })} style={{ background: props.bgColor }} > -
+ -
+

{props.title}