diff --git a/frontend/src/components/Icons/MapPin.tsx b/frontend/src/components/Icons/MapPin.tsx
deleted file mode 100644
index 5ac62538..00000000
--- a/frontend/src/components/Icons/MapPin.tsx
+++ /dev/null
@@ -1,7 +0,0 @@
-import React from 'react';
-
-export default function MapPin(color: 'Blue' | 'Lilac') {
- const lightHex = color === 'Blue' ? '#bde4f8;' : '#c55fcc';
-
- return ``;
-}
diff --git a/frontend/src/components/Icons/index.ts b/frontend/src/components/Icons/index.ts
index 27f81438..f7a40069 100644
--- a/frontend/src/components/Icons/index.ts
+++ b/frontend/src/components/Icons/index.ts
@@ -17,7 +17,6 @@ export { default as UserNinjaIcon } from './UserNinja';
export { default as TorIcon } from './Tor';
export { default as SimplexIcon } from './Simplex';
export { default as NostrIcon } from './Nostr';
-export { default as MapPin } from './MapPin';
// Flags with props
export { default as FlagWithProps } from './WorldFlags';
diff --git a/frontend/src/components/Map/index.tsx b/frontend/src/components/Map/index.tsx
index ab592056..0d91b751 100644
--- a/frontend/src/components/Map/index.tsx
+++ b/frontend/src/components/Map/index.tsx
@@ -9,7 +9,17 @@ import { PublicOrder } from '../../models';
import OrderTooltip from '../Charts/helpers/OrderTooltip';
import getWorldmapGeojson from '../../geo/Web';
import MarkerClusterGroup from '@christopherpickering/react-leaflet-markercluster';
-import { MapPin } from '../Icons';
+
+interface MapPinProps {
+ fillColor: string;
+ outlineColor: string;
+ eyesColor: string;
+}
+
+const MapPin = ({ fillColor, outlineColor, eyesColor }: MapPinProps): string => {
+ console.log(fillColor, outlineColor);
+ return ``;
+};
interface Props {
orderType?: number;
@@ -50,7 +60,9 @@ const Map = ({
orderType: number,
order?: PublicOrder,
) => {
- const color = orderType == 1 ? 'Blue' : 'Lilac';
+ const fillColor = orderType == 1 ? theme.palette.primary.main : theme.palette.secondary.main;
+ const outlineColor = 'black';
+ const eyesColor = 'white';
return (
{
if (orders.length < 1) return <>>;
return (
-
+
{orders.map((order) => {
if (!order.latitude || !order.longitude) return <>>;
return RobotMarker(order.id, [order.latitude, order.longitude], order.type || 0, order);
diff --git a/nodeapp/.dockerignore b/nodeapp/.dockerignore
index e5aa3cc5..35bffb56 100644
--- a/nodeapp/.dockerignore
+++ b/nodeapp/.dockerignore
@@ -1,7 +1,6 @@
README.md
assets
static/assets/vector
-!static/assets/vector/Location_robot_*.svg
static/assets/images/Ba*
static/assets/images/bot*
static/assets/images/robo*