Skip to content

Commit

Permalink
feat: Add images for product types in ProductTypeSelector
Browse files Browse the repository at this point in the history
  • Loading branch information
edmdz committed Jul 24, 2024
1 parent b47f3e6 commit e0a4a47
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/pages/Products/ProductTypeSelector.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,28 @@ import { Grid, Card, CardContent, CardMedia, Typography, CardActionArea } from '
import { ProductTypes } from './ProductsConstants';
import { useProductsContext } from './ProductsContext';
import BrandContainer from './BrandViewer/BrandContainer';
import RadiatorImg from '/src/assets/radiator.jpeg';
import CapsImg from '/src/assets/caps.jpeg';
import FansImg from '/src/assets/fans.jpeg';

const productTypeData = [
{
type: ProductTypes.RADIATOR,
title: "Radiadores",
description: "Para todo tipo de vehículos",
image: "/src/assets/radiator.jpeg"
image: RadiatorImg
},
{
type: ProductTypes.CAP,
title: "Tapas",
description: "De radiador y depósito",
image: "/src/assets/caps.jpeg"
image: CapsImg
},
{
type: ProductTypes.FAN,
title: "Abanicos",
description: "Sistemas de enfriamiento",
image: "/src/assets/fans.jpeg"
image: FansImg
}
];

Expand Down

0 comments on commit e0a4a47

Please sign in to comment.