2021-12-13 18:32:40 +00:00
|
|
|
import clsx from 'clsx'
|
|
|
|
|
|
|
|
export function Title(props: { text: string; className?: string }) {
|
|
|
|
const { text, className } = props
|
2021-12-11 03:35:21 +00:00
|
|
|
return (
|
2021-12-13 18:32:40 +00:00
|
|
|
<h1
|
|
|
|
className={clsx(
|
|
|
|
'text-2xl font-major-mono text-indigo-700 font-bold mt-6 mb-4',
|
|
|
|
className
|
|
|
|
)}
|
|
|
|
>
|
2021-12-11 03:35:21 +00:00
|
|
|
{text}
|
|
|
|
</h1>
|
|
|
|
)
|
|
|
|
}
|