Improve styling of featurebar/searchbar

This commit is contained in:
paco
2020-10-08 13:16:30 -06:00
parent 791e8cf18f
commit 8983f51e2c
5 changed files with 47 additions and 47 deletions

View File

@@ -10,14 +10,14 @@ interface Props {
const Featurebar: FC<Props> = ({ title, description, className }) => {
const rootClassName = cn(
'hidden py-4 px-6 bg-black text-white md:flex flex-row justify-center items-center;',
'hidden py-2 px-6 bg-gray-100 text-sm text-gray-600 md:flex flex-row justify-center items-center font-medium',
className
)
return (
<div className={rootClassName}>
<span className="text-white font-medium">{title}</span>
<span>{title}</span>
<span className={s.separator} />
<span className="text-white font-medium">{description}</span>
<span>{description}</span>
</div>
)
}