manifold/web/components/subtitle.tsx
ingawei a4e2cce4aa
initial commit for manalinks UI improvements (#642)
* manalinks UI improvements

* made manalink look more like card

* changed new link to pulsing indigo instead of green
2022-07-13 16:57:34 -05:00

16 lines
322 B
TypeScript

import clsx from 'clsx'
export function Subtitle(props: { text: string; className?: string }) {
const { text, className } = props
return (
<h1
className={clsx(
'mt-6 mb-2 inline-block text-lg text-indigo-500 sm:mt-6 sm:mb-2 sm:text-xl',
className
)}
>
{text}
</h1>
)
}