mirror of
https://github.com/vercel/commerce.git
synced 2025-07-31 05:51:23 +00:00
Improve styling of featurebar/searchbar
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user