Skip to content

Commit 6c8e1b9

Browse files
committed
adjust card bg color and title component
1 parent 9116d04 commit 6c8e1b9

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

src/pages/eth.tsx

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import CardList from "@/components/CardList"
1212
import EthPriceCard from "@/components/EthPriceCard"
1313
import EthVideo from "@/components/EthVideo"
1414
import FeedbackCard from "@/components/FeedbackCard"
15-
import Heading from "@/components/Heading"
1615
import HorizontalCard from "@/components/HorizontalCard"
1716
import { TwImage } from "@/components/Image"
1817
import InfoBanner from "@/components/InfoBanner"
@@ -66,6 +65,7 @@ const StyledCard = (props: ComponentProps<typeof Card>) => (
6665
flex="1 0 30%"
6766
minW="280px"
6867
maxW={{ base: "full", md: "46%", lg: "31%" }}
68+
bg="background.base"
6969
{...props}
7070
/>
7171
)
@@ -75,21 +75,14 @@ const Slogan = (props: ChildOnlyProp) => (
7575
)
7676

7777
const Title = (props: ChildOnlyProp) => (
78-
<Heading
79-
as="h1"
80-
fontSize="sm"
81-
lineHeight={1.4}
82-
letterSpacing="0.04em"
83-
fontWeight="500"
84-
mb={4}
85-
textTransform="uppercase"
86-
color="textTableOfContents"
78+
<h1
79+
className="mb-4 mt-0 text-md font-normal uppercase !leading-xs"
8780
{...props}
8881
/>
8982
)
9083

9184
const Subtitle = (props: ChildOnlyProp) => (
92-
<Text className="leading-xs text-body-medium" {...props} />
85+
<Text className="mb-0 leading-xs text-body-medium" {...props} />
9386
)
9487

9588
const Text = ({ className, ...props }: HTMLAttributes<HTMLHeadingElement>) => (

0 commit comments

Comments
 (0)