Skip to content

Commit

Permalink
Add pin icons.
Browse files Browse the repository at this point in the history
  • Loading branch information
aartaka committed Dec 26, 2024
1 parent 2a62c63 commit 703fcba
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/hs_ui/svg/pin.cljc
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
(ns hs-ui.svg.pin)

(def svg
[:svg
{:width "16",
:height "16",
:viewBox "0 0 16 16",
:fill "none",
:xmlns "http://www.w3.org/2000/svg"}
[:path
{:d "M8 11.3334V14.6667",
:stroke "currentColor",
:stroke-width "1.25",
:stroke-linecap "round",
:stroke-linejoin "round"}]
[:path
{:d
"M6.62467 7.17371V7.17337V4.66671C6.62467 4.32414 6.48859 3.9956 6.24635 3.75336L5.80441 4.1953L6.24635 3.75336C6.00412 3.51113 5.67558 3.37504 5.33301 3.37504C5.14515 3.37504 4.96498 3.30041 4.83214 3.16758C4.6993 3.03474 4.62467 2.85457 4.62467 2.66671C4.62467 2.47885 4.6993 2.29868 4.83214 2.16584C4.96498 2.033 5.14515 1.95837 5.33301 1.95837H10.6663C10.8542 1.95837 11.0344 2.033 11.1672 2.16584C11.3 2.29868 11.3747 2.47885 11.3747 2.66671C11.3747 2.85457 11.3 3.03474 11.1672 3.16757C11.0344 3.30041 10.8542 3.37504 10.6663 3.37504C10.3238 3.37504 9.99523 3.51113 9.753 3.75336L10.1949 4.1953L9.75299 3.75336C9.51076 3.9956 9.37467 4.32414 9.37467 4.66671V7.17337V7.17371C9.37487 7.53804 9.47669 7.89509 9.6687 8.20472C9.86029 8.51369 10.1341 8.76321 10.4594 8.92536L11.6443 9.52447L11.6443 9.52448L11.6482 9.52641C11.7662 9.58506 11.8655 9.67546 11.935 9.78745C12.0044 9.89945 12.0413 10.0286 12.0413 10.1604V10.6667C12.0413 10.6778 12.037 10.6884 12.0291 10.6962C12.0213 10.704 12.0107 10.7084 11.9997 10.7084H3.99967C3.98862 10.7084 3.97802 10.704 3.97021 10.6962C3.9624 10.6884 3.95801 10.6778 3.95801 10.6667L3.95801 10.1604C3.95801 10.1603 3.95801 10.1603 3.95801 10.1603C3.9581 10.0285 3.99492 9.89942 4.06436 9.78745C4.13381 9.67546 4.23312 9.58506 4.35113 9.52641L4.35114 9.52643L4.35502 9.52447L5.5399 8.92537C5.86525 8.76321 6.13906 8.51369 6.33065 8.20472C6.52266 7.89509 6.62448 7.53804 6.62467 7.17371Z",
:stroke "currentcolor",
:stroke-width "1.25",
:stroke-linecap "round",
:stroke-linejoin "round"}]])
47 changes: 47 additions & 0 deletions src/hs_ui/svg/pin_off.cljc
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
(ns hs-ui.svg.pin-off)

(def svg
[:svg
{:width "16",
:height "16",
:viewBox "0 0 16 16",
:fill "none",
:xmlns "http://www.w3.org/2000/svg"}
[:g
{:clip-path "url(#clip0_2373_20281)"}
[:path
{:d "M8 11.3334V14.6667",
:stroke "currentColor",
:stroke-width "1.25",
:stroke-linecap "round",
:stroke-linejoin "round"}]
[:mask
{:id "path-2-inside-1_2373_20281", :fill "white"}
[:path
{:d
"M9.99977 6.22671V4.66671C9.99977 4.4899 10.07 4.32033 10.195 4.1953C10.3201 4.07028 10.4896 4.00004 10.6664 4.00004C11.0201 4.00004 11.3592 3.85957 11.6092 3.60952C11.8593 3.35947 11.9998 3.02033 11.9998 2.66671C11.9998 2.31309 11.8593 1.97395 11.6092 1.7239C11.3592 1.47385 11.0201 1.33337 10.6664 1.33337H5.25977"}]]
[:path
{:d
"M8.74977 6.22671C8.74977 6.91706 9.30941 7.47671 9.99977 7.47671C10.6901 7.47671 11.2498 6.91706 11.2498 6.22671H8.74977ZM10.6664 4.00004V5.25004V4.00004ZM10.6664 1.33337V0.083374V1.33337ZM5.25977 0.083374C4.56941 0.083374 4.00977 0.643018 4.00977 1.33337C4.00977 2.02373 4.56941 2.58337 5.25977 2.58337V0.083374ZM11.2498 6.22671V4.66671H8.74977V6.22671H11.2498ZM11.2498 4.66671C11.2498 4.82142 11.1883 4.96979 11.0789 5.07919L9.31114 3.31142C8.9517 3.67086 8.74977 4.15838 8.74977 4.66671H11.2498ZM11.0789 5.07919C10.9695 5.18858 10.8211 5.25004 10.6664 5.25004V2.75004C10.1581 2.75004 9.67059 2.95197 9.31114 3.31142L11.0789 5.07919ZM10.6664 5.25004C11.3516 5.25004 12.0087 4.97787 12.4931 4.4934L10.7254 2.72563C10.7097 2.74126 10.6885 2.75004 10.6664 2.75004V5.25004ZM12.4931 4.4934C12.9776 4.00893 13.2498 3.35185 13.2498 2.66671H10.7498C10.7498 2.68881 10.741 2.71 10.7254 2.72563L12.4931 4.4934ZM13.2498 2.66671C13.2498 1.98156 12.9776 1.32448 12.4931 0.840015L10.7254 2.60778C10.741 2.62341 10.7498 2.64461 10.7498 2.66671H13.2498ZM12.4931 0.840015C12.0087 0.355546 11.3516 0.083374 10.6664 0.083374V2.58337C10.6885 2.58337 10.7097 2.59215 10.7254 2.60778L12.4931 0.840015ZM10.6664 0.083374H5.25977V2.58337H10.6664V0.083374Z",
:fill "currentColor",
:mask "url(#path-2-inside-1_2373_20281)"}]
[:path
{:d "M1.33301 1.33337L14.6663 14.6667",
:stroke "currentColor",
:stroke-width "1.25",
:stroke-linecap "round",
:stroke-linejoin "round"}]
[:mask
{:id "path-5-inside-2_2373_20281", :fill "white"}
[:path
{:d
"M5.99967 6V7.17333C5.99954 7.42139 5.93022 7.66449 5.79949 7.8753C5.66876 8.08612 5.48182 8.25628 5.25967 8.36667L4.07301 8.96667C3.85087 9.07705 3.66392 9.24722 3.53319 9.45803C3.40247 9.66884 3.33314 9.91194 3.33301 10.16V10.6667C3.33301 10.8435 3.40325 11.013 3.52827 11.1381C3.65329 11.2631 3.82286 11.3333 3.99967 11.3333H11.333"}]]
[:path
{:d
"M7.24967 6C7.24967 5.30964 6.69003 4.75 5.99967 4.75C5.30932 4.75 4.74967 5.30964 4.74967 6H7.24967ZM5.99967 7.17333L7.24967 7.174V7.17333H5.99967ZM5.25967 8.36667L4.70341 7.24723L4.69565 7.25115L5.25967 8.36667ZM4.07301 8.96667L4.62927 10.0861L4.63703 10.0822L4.07301 8.96667ZM3.33301 10.16L2.08301 10.1593V10.16H3.33301ZM11.333 12.5833C12.0234 12.5833 12.583 12.0237 12.583 11.3333C12.583 10.643 12.0234 10.0833 11.333 10.0833V12.5833ZM4.74967 6V7.17333H7.24967V6H4.74967ZM4.74967 7.17267C4.74967 7.18817 4.74533 7.20337 4.73716 7.21654L6.86181 8.53406C7.1151 8.12561 7.24942 7.65461 7.24967 7.174L4.74967 7.17267ZM4.73716 7.21654C4.72899 7.22972 4.71731 7.24036 4.70342 7.24725L5.81592 9.48608C6.24633 9.27221 6.60853 8.94251 6.86181 8.53406L4.73716 7.21654ZM4.69565 7.25115L3.50898 7.85115L4.63703 10.0822L5.8237 9.48218L4.69565 7.25115ZM3.51676 7.84725C3.08636 8.06112 2.72415 8.39082 2.47087 8.79927L4.59552 10.1168C4.60369 10.1036 4.61537 10.093 4.62926 10.0861L3.51676 7.84725ZM2.47087 8.79927C2.21758 9.20772 2.08326 9.67873 2.08301 10.1593L4.58301 10.1607C4.58302 10.1452 4.58735 10.13 4.59552 10.1168L2.47087 8.79927ZM2.08301 10.16V10.6667H4.58301V10.16H2.08301ZM2.08301 10.6667C2.08301 11.175 2.28494 11.6625 2.64439 12.022L4.41215 10.2542C4.52155 10.3636 4.58301 10.512 4.58301 10.6667H2.08301ZM2.64439 12.022C3.00383 12.3814 3.49135 12.5833 3.99967 12.5833V10.0833C4.15438 10.0833 4.30276 10.1448 4.41215 10.2542L2.64439 12.022ZM3.99967 12.5833H11.333V10.0833H3.99967V12.5833Z",
:fill "currentcolor",
:mask "url(#path-5-inside-2_2373_20281)"}]]
[:defs
[:clippath
{:id "clip0_2373_20281"}
[:rect {:width "16", :height "16", :fill "white"}]]]])

0 comments on commit 703fcba

Please sign in to comment.