Skip to content

Commit

Permalink
Add Rocket Launch Icon
Browse files Browse the repository at this point in the history
  • Loading branch information
LanesGood committed Nov 1, 2024
1 parent 321269f commit 61acbdf
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/icons/static-platform-icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,17 @@ export const ShipIcon = ({ size = "extra-tiny" }) => (
/>
</svg>
)

export const RocketIcon = ({ size = "extra-tiny" }) => (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 576 512"
width={sizes[size].width}
height={sizes[size].height}
>
<path
fill="currentColor"
d="M188.9 372l-50.4-50.4c18.6-42.7 61.7-137.7 95.1-187C304.6 30.1 409 24.6 475.7 36.3c11.7 66.7 6.2 171.1-98.4 242c-49.4 33.5-145.5 75.6-188.4 93.7zm-79.9-62.8c-5.2 11.9-2.5 25.7 6.7 34.9l50.7 50.7c9.1 9.1 22.7 11.9 34.5 6.9c6.5-2.7 14.3-6 23-9.8L224 496c0 5.5 2.9 10.7 7.6 13.6s10.6 3.2 15.6 .7l101.5-50.7c21.7-10.8 35.4-33 35.4-57.2l0-90.2c4-2.5 7.7-4.9 11.3-7.3C516.1 222.9 520.1 100.9 506.7 28.1c-2.1-11.6-11.2-20.6-22.8-22.8C411.1-8.1 289.1-4.1 207.2 116.7c-2.4 3.6-4.9 7.3-7.3 11.3l-90.2 0c-24.2 0-46.4 13.7-57.2 35.4L1.7 264.8c-2.5 5-2.2 10.9 .7 15.6s8.1 7.6 13.6 7.6l102.5 0c-3.6 8-6.8 15.2-9.4 21.2zM256 470.1l0-92.5c30.3-13.7 65.4-30.3 96-47l0 71.7c0 12.1-6.8 23.2-17.7 28.6L256 470.1zM109.7 160l71.5 0c-16.9 30.7-34 65.8-48.1 96l-91.2 0L81 177.7c5.4-10.8 16.5-17.7 28.6-17.7zM392 144a24 24 0 1 1 -48 0 24 24 0 1 1 48 0zM368 88a56 56 0 1 0 0 112 56 56 0 1 0 0-112z"
/>
</svg>
)
7 changes: 7 additions & 0 deletions src/utils/platform-colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
PermanentWaterSiteIcon,
VehicleIcon,
ShipIcon,
RocketIcon,
} from "../icons/static-platform-icons"

export const MOVING_PLATFORMS_COLORS = [
Expand Down Expand Up @@ -73,6 +74,12 @@ export const STATIC_PLATFORMS = [
icon: <ShipIcon />,
mapIcon: "ShipIcon",
},
{
name: "Rocket Launch Site",
color: "#FF1F19",
icon: <RocketIcon />,
mapIcon: "RocketIcon",
},
]

export const flightPathColors = platforms =>
Expand Down

0 comments on commit 61acbdf

Please sign in to comment.