Skip to content

Commit

Permalink
feat(ui): add hover background on category list
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfg7 committed Dec 12, 2022
1 parent 73307be commit e66a3ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/categories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const Categories: React.FC<Props> = ({ categories }) => {
<div className="flex flex-wrap gap-2">
{categories.map((categoryData, index) => (
<Link key={index} href={`/category/${categoryData.category}`}>
<div className="py-1 px-4 border-2 border-solid border-neutral-700 dark:border-neutral-500 hover:border-blue-700 dark:hover:border-blue-500 font-bold text-neutral-700 dark:text-neutral-500 hover:text-blue-700 dark:hover:text-blue-500 duration-100 hover:cursor-pointer">
<div className="py-1 px-4 border-2 border-solid border-neutral-700 dark:border-neutral-500 hover:border-blue-700 dark:hover:border-blue-500 font-bold text-neutral-700 dark:text-neutral-500 hover:text-blue-700 dark:hover:text-blue-500 hover:bg-blue-700/10 dark:hover:bg-blue-500/10 duration-100 hover:cursor-pointer">
<p>
{categoryData.category}
<sup> {categoryData.numberOfPosts} </sup>
Expand Down

1 comment on commit e66a3ba

@vercel
Copy link

@vercel vercel bot commented on e66a3ba Dec 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

mfg-b – ./

mfg-b.vercel.app
mfg-b-git-main-mateusfg7.vercel.app
mfg-b-mateusfg7.vercel.app

Please sign in to comment.