1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-26 15:37:41 +01:00
smov/src3/components/layout/BrandPill.tsx

17 lines
561 B
TypeScript
Raw Normal View History

import { Icon, Icons } from "components/Icon";
2022-02-25 21:50:43 +01:00
export function BrandPill(props: { clickable?: boolean }) {
2022-02-25 21:50:43 +01:00
return (
<div
className={`bg-bink-100 text-bink-600 flex items-center space-x-2 rounded-full bg-opacity-50 px-4 py-2 ${
props.clickable
? "hover:bg-bink-200 hover:text-bink-700 transition-[transform,background-color] hover:scale-105 active:scale-95"
: ""
}`}
>
2022-02-25 21:50:43 +01:00
<Icon className="text-xl" icon={Icons.MOVIE_WEB} />
<span className="font-semibold text-white">movie-web</span>
2022-02-25 21:50:43 +01:00
</div>
);
2022-02-25 22:03:12 +01:00
}