<h3 dir="auto">Description</h3>
<p dir="auto">Using a basic helper module, this PR resolves most of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2967214066" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5880" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/5880/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/5880">#5880</a>. To fully conclude that:</p>
<ul dir="auto">
<li>The changeset icons should be extracted too, but the definitions should also be put outside the list.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2970455205" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5884" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5884/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/5884">#5884</a> aims to do part of this without the helper.</li>
<li>The directions sprite could benefit from another method <code class="notranslate">InlineSvg.define</code> that is outside this PR's scope</li>
</ul>
<h3 dir="auto">How has this been tested?</h3>
<p dir="auto">Verifying that the local Rails output matches</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/5938'>https://github.com/openstreetmap/openstreetmap-website/pull/5938</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/commits/acf9f1850ee6a02d3b100fffa730293829647e8e" class="commit-link">acf9f18</a>  Add InlineSvg module</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/commits/8361812d1d21dedc58279afb4975569f9c2af5a6" class="commit-link">8361812</a>  Inline search icons with helper</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/commits/3df6dd0d253efda5ab755db876ae404dd18419d1" class="commit-link">3df6dd0</a>  Inline about icons with helper</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/commits/8f4444fff894b5b86f160e1cc6b1b056c8905fae" class="commit-link">8f4444f</a>  Inline welcome icons with helper</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/commits/cd3d255782b1eedfdff5b978b3aee2e839b211fd" class="commit-link">cd3d255</a>  Inline more icons with helper</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files">28 files</a>)</p>
<ul>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-a106dc517a20fdbb8258b299eb2ff11940aa5f1a5ae0bdfca6cd308db0fd36b8">app/assets/icons/about/community.svg</a>
    (4)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-e62c44852d012a0e51f80a3cff3406d7f0ff682051c11fecf33f3ef082d3b7d7">app/assets/icons/about/legal.svg</a>
    (5)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-9c71e63934cc035fe117bb93c34223afbb8e0720911d230d9b2053dd112bb255">app/assets/icons/about/local.svg</a>
    (4)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-135d33c66be6b0d66321a24793974780b1934f7ca22cbcbb68a5208805bc1fa4">app/assets/icons/about/open.svg</a>
    (4)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-8e9e03cc82a28aeed209f4183042111dfa2e66dd24cb4501b139dc71456ce26a">app/assets/icons/about/partners.svg</a>
    (5)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-d82a33abce048d3a012d6c8a6ba5ba628d85ab9f1ba8d10ed713f46f39b791c9">app/assets/icons/feed.svg</a>
    (4)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-5946beba71519ec31535222fde9a149da31b9ba45199567d014f72ab750bcb1c">app/assets/icons/new.svg</a>
    (3)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-a2158fcc76e9e63dcdefd04d10918d6f9671394a9b03afa9323997caffa4b26f">app/assets/icons/search/bicycle.svg</a>
    (3)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-0d255c4c3a4c25edf5e07b0d0b9746037b03ef478c7606dfbce87c24adca4be7">app/assets/icons/search/car.svg</a>
    (3)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-d93d84c52fa1865a68692fa1db9dca0b86bc5a7fec1e4c2c5d5896189cce482e">app/assets/icons/search/directions.svg</a>
    (4)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-4693309fe7511035489e8cb2fe54fde561011f59969018826759d757c03f624a">app/assets/icons/search/foot.svg</a>
    (3)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-4934c1e2a9f507598a2d3fd10cc958dfa0a838709787c2158dae6ca751f0e11a">app/assets/icons/search/magnifying_glass.svg</a>
    (8)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-4ded793e5bf41627968791f77fdc02d9ce645e023a7d28031016fee234e8bea5">app/assets/icons/search/reverse_directions.svg</a>
    (4)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-ec745d5f0b31ad036c70ec145dd76f3c98fd6137bb0738b39e42f5769514274a">app/assets/icons/welcome/check.svg</a>
    (4)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-9677b1a5bcb7f69c260e4de56ffa7923ea107fd503005913281ea4f091fc73cc">app/assets/icons/welcome/cross.svg</a>
    (4)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-d1cc37507266b0943714652f3461266512a5277aa77db5f3f7c4efe17d17edab">app/assets/icons/welcome/editor.svg</a>
    (4)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-2b713561832e72f757c1fd31b43ee063f7ccb67a06dbbb2ad040480e82f6a291">app/assets/icons/welcome/node.svg</a>
    (4)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-1e2b37b30bb847b721ac52537dd960a474284bb173c201a3e542c2d1993bd2c4">app/assets/icons/welcome/question.svg</a>
    (4)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-1447980d12be65d8dbb93264a89a0b0c583f61ac067561631ad9d5bb44310370">app/assets/icons/welcome/rules.svg</a>
    (4)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-ef6cd8c4919e30b7cc84662a85b67a61230e57d3b3a8d0c08787db95a4929780">app/assets/icons/welcome/tag.svg</a>
    (4)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-96a2347dd44a80a1fabfdb3d71babec29879f6864fc3fff484077cd1a0645af6">app/assets/icons/welcome/way.svg</a>
    (7)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-aad6c85558af2a77937df72b074ef1a972b08171986d4dbddf0c86d0cf83a3f5">app/views/diary_entries/index.html.erb</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-60b815932a6942ef4da576f75ee4e9b670e2aeb07950b7f8494bdbedb319c8c2">app/views/layouts/_search.html.erb</a>
    (31)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-8cc9e288241b096c5a676a2dc5af351a55df8c6437641b62cb7adeb0050823e9">app/views/site/_any_questions.html.erb</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-20b1b4068a14bbb692bf60b143f2cd17d495893dbd397e41eadeb732056341d7">app/views/site/about.html.erb</a>
    (33)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-4a88c3e7ab4c125e4b2e18bfa3ebd3527a85edb0453170dc44db6a1a42ae9b06">app/views/site/welcome.html.erb</a>
    (38)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-446cb1205994b7918b2a68c30feb162b10fce3a0a9e05c716d9e966df4ba0507">app/views/traces/index.html.erb</a>
    (8)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938/files#diff-4b14566b5181dea0bae5ff0766c12490f48a52b5bfc90969625ebb139f45ea22">lib/inline_svg.rb</a>
    (13)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5938.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5938.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5938.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5938.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5938">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLOGQCO6VHM37XDTH3D2Z7BCTAVCNFSM6AAAAAB3LE5BZOVHI2DSMVQWIX3LMV43ASLTON2WKOZTGAYDEOBQGU2TEMA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLMXAZOIWIBTCNP3OB32Z7BCTA5CNFSM6AAAAAB3LE5BZOWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHLF6ZNCA.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/5938</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/5938",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5938",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>