Skip to content

Commit f21785e

Browse files
committed
fix directory header
1 parent 6f40e4a commit f21785e

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

src/components/CCIP/Hero/Hero.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
.ccip-hero__heading {
77
color: var(--gray-900);
8+
font-size: 2.5rem;
9+
margin-bottom: var(--space-6x);
810
}
911

1012
.ccip-hero__content {
@@ -15,3 +17,10 @@
1517
align-items: center;
1618
gap: var(--space-4x);
1719
}
20+
21+
@media screen and (max-width: 768px) {
22+
.ccip-hero__heading {
23+
font-size: 2rem;
24+
margin-bottom: var(--space-4x);
25+
}
26+
}

src/components/CCIP/Hero/Hero.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { Environment, LaneConfig } from "~/config/data/ccip/index.ts"
22
import Search from "../Search/Search.tsx"
33
import "./Hero.css"
44
import { ChainType, ExplorerInfo } from "~/config/types.ts"
5+
import { Typography } from "@chainlink/blocks"
56

67
interface HeroProps {
78
chains: {
@@ -39,7 +40,9 @@ function Hero({ chains, tokens, environment, lanes }: HeroProps) {
3940
return (
4041
<section className="ccip-hero">
4142
<div className="ccip-hero__content">
42-
<h1 className="ccip-hero__heading">CCIP Directory</h1>
43+
<Typography variant="h1" className="ccip-hero__heading">
44+
CCIP Directory
45+
</Typography>
4346
<Search chains={chains} tokens={tokens} environment={environment} lanes={lanes} />
4447
</div>
4548
</section>

0 commit comments

Comments
 (0)