Skip to content

Commit 68290d7

Browse files
committed
wip
1 parent 7836816 commit 68290d7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/components/header.tsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import { Container } from "@/components/ui/container"
44
import { Card } from "@/components/ui/card"
5+
import { Heading } from "ui"
56

67
interface HeaderProps {
78
title: string
@@ -13,9 +14,7 @@ export function Header({ title, description }: HeaderProps) {
1314
<header className="-mt-6 mb-12 border-b py-6 sm:py-12">
1415
<Container>
1516
<Card.Header className="max-w-xl p-0">
16-
<Card.Title level={1} className="text-xl sm:text-2xl">
17-
{title}
18-
</Card.Title>
17+
<Heading className="text-xl sm:text-2xl">{title}</Heading>
1918
<Card.Description className="text-sm sm:text-base">{description}</Card.Description>
2019
</Card.Header>
2120
</Container>

tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@
2424
"target": "ES2017"
2525
},
2626
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
27-
"exclude": ["node_modules"]
27+
"exclude": ["node_modules", ".vercel", ".next"]
2828
}

0 commit comments

Comments
 (0)