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