chore: update blog card category bg
This commit is contained in:
parent
debbb5abf5
commit
e99d6da45c
@ -41,7 +41,7 @@ export default function BlogCard({ locale, post }: BlogCardProps) {
|
||||
{blogCategories.map((category, index) => (
|
||||
<span
|
||||
key={`${category?.slugs[0]}-${index}`}
|
||||
className="text-xs font-medium text-white bg-black bg-opacity-50 px-2 py-1 rounded-md"
|
||||
className="text-xs font-medium text-white bg-black/50 bg-opacity-50 px-2 py-1 rounded-md"
|
||||
>
|
||||
{category?.data.name}
|
||||
</span>
|
||||
|
Loading…
Reference in New Issue
Block a user