Skip to content

Add Location icon#212

Open
jmarrxyz wants to merge 1 commit into
block:mainfrom
jmarrxyz:jmarr/add-location-icon
Open

Add Location icon#212
jmarrxyz wants to merge 1 commit into
block:mainfrom
jmarrxyz:jmarr/add-location-icon

Conversation

@jmarrxyz
Copy link
Copy Markdown

Summary

Adds a new Location (map pin) icon component to the shared icon library.

Changes

  • New file: client/src/shared/assets/icons/Location.tsx — React component wrapping a 20×20 SVG location pin icon
  • Updated: client/src/shared/assets/icons/index.tsx — import and re-export Location

Details

The icon follows the existing icon conventions:

  • Uses clsx for className merging
  • Wrapping div with configurable width (default: iconSizes.medium / 20×20)
  • SVG uses currentColor with fillOpacity="0.9" for theming support
  • preserveAspectRatio="xMidYMid meet" for consistent scaling

Add a new Location (map pin) icon component to the shared icon library.
@jmarrxyz jmarrxyz requested a review from a team as a code owner May 11, 2026 17:55
@github-actions github-actions Bot added javascript Pull requests that update javascript code client labels May 11, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new Location (map pin) icon to the client shared icon library, making it available for reuse across ProtoOS/ProtoFleet UI components via the existing icons barrel export.

Changes:

  • Added client/src/shared/assets/icons/Location.tsx implementing a 20×20 currentColor SVG icon component consistent with existing icon patterns.
  • Updated client/src/shared/assets/icons/index.tsx to import and re-export the new Location icon.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
client/src/shared/assets/icons/Location.tsx New Location icon React component wrapping a 20×20 SVG pin.
client/src/shared/assets/icons/index.tsx Exposes the new icon via the shared icons export surface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

client javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants