blob: 8783010e707bd9047e1767b172ca5ec925fe4824 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import Image from "@/core/components/elements/Image/Image"
import Link from "@/core/components/elements/Link/Link"
import { createSlug } from "@/core/utils/slug"
const BrandCard = ({ brand }) => {
return (
<Link
href={createSlug('/shop/brands/', brand.name, brand.id)}
className="py-1 px-2 rounded border border-gray_r-6"
>
<Image
src={brand.logo}
alt={brand.name}
className="h-10 object-contain object-center"
/>
</Link>
)
}
export default BrandCard
|