feat: add keywords to movie/series detail pages (#3204)

This commit is contained in:
Ryan Cohen
2023-01-04 14:19:51 +09:00
committed by GitHub
parent edf5010659
commit e084649878
6 changed files with 56 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
import { TagIcon } from '@heroicons/react/24/outline';
type TagProps = {
content: string;
};
const Tag = ({ content }: TagProps) => {
return (
<div className="inline-flex cursor-pointer items-center rounded-full bg-gray-800 px-2 py-1 text-sm text-gray-200 ring-1 ring-gray-600 transition hover:bg-gray-700">
<TagIcon className="mr-1 h-4 w-4" />
<span>{content}</span>
</div>
);
};
export default Tag;