diff --git a/client/src/assets/icons/brakes.svg b/client/src/assets/icons/brakes.svg
new file mode 100644
index 0000000..aab4f85
--- /dev/null
+++ b/client/src/assets/icons/brakes.svg
@@ -0,0 +1,7 @@
+
+
\ No newline at end of file
diff --git a/client/src/assets/icons/engine.svg b/client/src/assets/icons/engine.svg
new file mode 100644
index 0000000..443fc83
--- /dev/null
+++ b/client/src/assets/icons/engine.svg
@@ -0,0 +1,5 @@
+
+
\ No newline at end of file
diff --git a/client/src/assets/icons/exhaust.svg b/client/src/assets/icons/exhaust.svg
new file mode 100644
index 0000000..777ce6f
--- /dev/null
+++ b/client/src/assets/icons/exhaust.svg
@@ -0,0 +1,6 @@
+
+
\ No newline at end of file
diff --git a/client/src/assets/icons/suspension.svg b/client/src/assets/icons/suspension.svg
new file mode 100644
index 0000000..0b3bea6
--- /dev/null
+++ b/client/src/assets/icons/suspension.svg
@@ -0,0 +1,6 @@
+
+
\ No newline at end of file
diff --git a/client/src/assets/icons/wheels.svg b/client/src/assets/icons/wheels.svg
new file mode 100644
index 0000000..880b990
--- /dev/null
+++ b/client/src/assets/icons/wheels.svg
@@ -0,0 +1,8 @@
+
+
\ No newline at end of file
diff --git a/client/src/components/CarModifications.js b/client/src/components/CarModifications.js
index 5fe7c70..05ee3c1 100644
--- a/client/src/components/CarModifications.js
+++ b/client/src/components/CarModifications.js
@@ -6,14 +6,19 @@ import {
Paper,
Card,
CardContent,
- CardMedia,
- Button,
Box,
TextField,
InputAdornment,
} from '@mui/material';
import SearchIcon from '@mui/icons-material/Search';
+// Import SVG icons
+import engineIcon from '../assets/icons/engine.svg';
+import exhaustIcon from '../assets/icons/exhaust.svg';
+import suspensionIcon from '../assets/icons/suspension.svg';
+import brakesIcon from '../assets/icons/brakes.svg';
+import wheelsIcon from '../assets/icons/wheels.svg';
+
const CarModifications = () => {
const [searchTerm, setSearchTerm] = useState('');
@@ -24,7 +29,7 @@ const CarModifications = () => {
name: 'Performance Chip',
description: 'Increase engine power and torque with our custom ECU tuning',
price: '€299',
- image: 'https://via.placeholder.com/300x200?text=Performance+Chip',
+ icon: engineIcon,
category: 'Engine',
},
{
@@ -32,7 +37,7 @@ const CarModifications = () => {
name: 'Sport Exhaust System',
description: 'High-flow exhaust system for better sound and performance',
price: '€599',
- image: 'https://via.placeholder.com/300x200?text=Exhaust+System',
+ icon: exhaustIcon,
category: 'Exhaust',
},
{
@@ -40,7 +45,7 @@ const CarModifications = () => {
name: 'Lowering Springs',
description: 'Sport suspension lowering springs for improved handling',
price: '€399',
- image: 'https://via.placeholder.com/300x200?text=Lowering+Springs',
+ icon: suspensionIcon,
category: 'Suspension',
},
{
@@ -48,7 +53,7 @@ const CarModifications = () => {
name: 'Cold Air Intake',
description: 'Improved air flow for better engine performance',
price: '€199',
- image: 'https://via.placeholder.com/300x200?text=Cold+Air+Intake',
+ icon: engineIcon,
category: 'Engine',
},
{
@@ -56,7 +61,7 @@ const CarModifications = () => {
name: 'Sport Brake Kit',
description: 'Upgraded brake system for better stopping power',
price: '€899',
- image: 'https://via.placeholder.com/300x200?text=Brake+Kit',
+ icon: brakesIcon,
category: 'Brakes',
},
{
@@ -64,7 +69,7 @@ const CarModifications = () => {
name: 'Wheel Spacers',
description: 'Improve stance and handling with wheel spacers',
price: '€149',
- image: 'https://via.placeholder.com/300x200?text=Wheel+Spacers',
+ icon: wheelsIcon,
category: 'Wheels',
},
];
@@ -112,12 +117,26 @@ const CarModifications = () => {
},
}}
>
-
+
+
+
{mod.name}