Skip to content

Commit

Permalink
chore: remove tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
kyziq committed Jan 11, 2024
1 parent 33cc274 commit e644e56
Showing 1 changed file with 10 additions and 17 deletions.
27 changes: 10 additions & 17 deletions src/components/Categories.jsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,16 @@
import { Tooltip, Image } from '@nextui-org/react';
import { Image } from '@nextui-org/react';
import { categories } from '../data/categories';

const CategoryItem = ({ category }) => (
<Tooltip
content={category.tooltip}
placement="top"
color="foreground"
showArrow
>
<div className="flex flex-col items-center">
<Image
src={category.imageUrl}
alt={category.name}
isZoomed
className="w-24 h-24"
/>
<span className="mt-1 text-sm">{category.name}</span>
</div>
</Tooltip>
<div className="flex flex-col items-center">
<Image
src={category.imageUrl}
alt={category.name}
isZoomed
className="w-24 h-24"
/>
<span className="mt-1 text-sm">{category.name}</span>
</div>
);

const Categories = () => {
Expand Down

0 comments on commit e644e56

Please sign in to comment.