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
|
2022-01-19 17:17:22 +00:00
|
|
|
className={clsx(
|
2022-02-11 18:40:22 +00:00
|
|
|
'my-4 inline-block text-2xl text-indigo-700 sm:my-6 sm:text-3xl',
|
2022-01-19 17:17:22 +00:00
|
|
|
className
|
|
|
|
)}
|
2021-12-13 18:32:40 +00:00
|
|
|
>
|
2021-12-11 03:35:21 +00:00
|
|
|
{text}
|
|
|
|
</h1>
|
|
|
|
)
|
|
|
|
}
|