Skip to content

Commit

Permalink
Use SVG compound path
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrotherham committed Nov 13, 2023
1 parent ca43196 commit 66c8de1
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@
height="30"
width="148">
<title>GOV.UK</title>
<path d="M22.6 10.4c-1 .4-2-.1-2.4-1-.4-.9.1-2 1-2.4.9-.4 2 .1 2.4 1s-.1 2-1 2.4M16.7 17.1c-.9.4-2-.1-2.4-1-.4-.9.1-2 1-2.4.9-.4 2 .1 2.4 1s-.1 2-1 2.4M27.5 13.4c-1 .4-2-.1-2.4-1-.4-.9.1-2 1-2.4.9-.4 2 .1 2.4 1s0 2-1 2.4M30.8 18.2c-1 .4-2-.1-2.4-1-.4-.9.1-2 1-2.4.9-.4 2 .1 2.4 1s-.1 2-1 2.4M17 4.7l2.3 1.2V2.5l-2.3.7-.2-.2.9-3h-3.4l.9 3-.2.2c-.1.1-2.3-.7-2.3-.7v3.4L15 4.7c.1.1.1.2.2.2l-1.3 4c-.1.2-.1.4-.1.6 0 1.1.8 2 1.9 2.2h.7c1-.2 1.9-1.1 1.9-2.1 0-.2 0-.4-.1-.6l-1.3-4c-.1-.2 0-.2.1-.3M9.4 10.4c.9.4 2-.1 2.4-1 .4-.9-.1-2-1-2.4-.9-.4-2 .1-2.4 1s0 2 1 2.4M4.4 13.4c.9.4 2-.1 2.4-1 .4-.9-.1-2-1-2.4-.9-.4-2 .1-2.4 1s.1 2 1 2.4M1.2 18.2c.9.4 2-.1 2.4-1 .4-.9-.1-2-1-2.4-.9-.4-2 .1-2.4 1s0 2 1 2.4"/>
<path d="M16 29.2c4.4 0 8.6.3 12.3.8 1.1-4.5 2.4-7 3.7-8.8l-2.5-.9c.2 1.3.3 1.9 0 2.7-.4-.4-.8-1.1-1.1-2.3l-1.2 4c.7-.5 1.3-.8 2-.9-1.1 2.5-2.6 3.1-3.5 3-1.1-.2-1.7-1.2-1.5-2.1.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.5-3.4.5-1.2 0-2.4-.2-3.4-.5-1-.4-1.9-.9-2.7-1.5-.8-.7-1.3-1.5-1.8-2.4-.4-.9-.6-2-.6-3.1V6.9h4.2v13c0 .8.1 1.4.3 2 .2.6.5 1 .9 1.4.4.4.8.6 1.4.8.6.2 1.1.3 1.8.3zM130.7 7h4.2v9.1l7.4-9.1h5.2l-7.2 8.4L148 28h-4.9l-5.5-9.4-2.7 3V28h-4.2V7z"/>
<circle cx="103.1" cy="25.8" r="2.7"/>
<path d="M16.05 29.17c4.42 0 8.6.3 12.33.83 1.06-4.45 2.35-7 3.67-8.81l-2.5-.89c.25 1.27.29 1.86.01 2.68-.41-.4-.8-1.15-1.11-2.28l-1.21 4.04c.74-.51 1.31-.84 1.96-.85-1.15 2.49-2.6 3.13-3.53 2.95-1.14-.21-1.67-1.23-1.49-2.09.26-1.22 1.52-1.54 2.1-.12 1.12-2.29-.78-3-2-2.32 1.88-1.88 2.09-3.54.58-5.56-2.11 1.62-2.14 3.22-1.19 5.47-1.23-1.41-3.16-.65-2.46 1.63.89-1.38 2.07-.51 1.88.8-.16 1.14-1.66 2.06-3.54 1.9-2.69-.24-2.85-2.1-2.92-3.63.66-.12 1.85.49 2.87 1.92l.37-4.28c-1.1 1.15-2.11 1.37-3.22 1.4.37-1.16 2.08-3.05 2.08-3.05h-5.35s1.7 1.9 2.08 3.05c-1.11-.04-2.12-.25-3.22-1.4l.37 4.28c1.02-1.42 2.2-2.04 2.87-1.92-.07 1.54-.23 3.39-2.92 3.63-1.88.16-3.38-.76-3.54-1.9-.19-1.31.99-2.18 1.88-.8.69-2.28-1.23-3.04-2.46-1.63.95-2.25.93-3.85-1.19-5.47-1.52 2.02-1.3 3.68.58 5.56-1.22-.68-3.13.04-2 2.32.59-1.42 1.84-1.1 2.1.12.18.86-.35 1.88-1.49 2.09-.93.17-2.38-.47-3.53-2.95.65.02 1.22.34 1.96.85L3.66 20.7c-.31 1.13-.7 1.88-1.11 2.28-.28-.82-.24-1.41.01-2.68l-2.5.89C1.39 23 2.67 25.55 3.73 30c3.73-.53 7.91-.83 12.32-.83m6.59-18.77a1.84 1.84 0 0 1-2.41-1 1.84 1.84 0 0 1 1.01-2.41c.93-.38 2.01.07 2.4 1.01.38.94-.07 2.02-1 2.4m-5.87 6.66a1.84 1.84 0 0 1-2.41-1 1.84 1.84 0 0 1 1.01-2.41c.93-.38 2.01.07 2.4 1.01.38.94-.07 2.02-1 2.4m10.81-3.71a1.84 1.84 0 0 1-2.41-1 1.84 1.84 0 0 1 1.01-2.41c.93-.38 2.01.07 2.4 1.01.38.94-.07 2.02-1 2.4m3.27 4.86c-.95.39-2.03-.06-2.41-.99a1.84 1.84 0 0 1 1.01-2.41c.93-.38 2.01.07 2.4 1.01.38.93-.07 2.01-1 2.39M17.04 4.68l2.34 1.22V2.46l-2.33.74-.01-.01c-.06-.09-.14-.16-.23-.23l-.01-.01.94-2.95h-3.36l.94 2.95-.02.01c-.08.07-.16.14-.23.23l-.01.01-2.33-.74V5.9l2.33-1.23h.01c.07.09.15.17.24.24l-1.34 4.04v.02c-.06.2-.1.42-.1.64 0 1.09.81 2 1.86 2.15.02 0 .03.01.05.01.09.01.18.02.27.02.09 0 .18-.01.27-.02.02 0 .03 0 .05-.01a2.184 2.184 0 0 0 1.86-2.15c0-.22-.03-.44-.1-.64v-.02l-1.34-4.04c.09-.06.18-.14.25-.23M9.45 10.4c.95.39 2.03-.06 2.41-1 .592-1.287-.43-2.732-1.841-2.601A1.84 1.84 0 0 0 8.46 8c-.39.94.06 2.02.99 2.4m-4.94 2.95c.95.39 2.03-.06 2.41-1a1.84 1.84 0 0 0-1.01-2.41c-.93-.38-2.01.07-2.4 1.01-.38.94.07 2.02 1 2.4m-3.27 4.86c.95.39 2.03-.06 2.41-.99a1.84 1.84 0 0 0-1.01-2.41c-.93-.38-2.01.07-2.4 1.01-.38.93.07 2.01 1 2.39M104.236 28.097c-1.392.563-2.974-.086-3.53-1.427-.574-1.361.09-2.923 1.48-3.475 1.361-.548 2.945.101 3.515 1.456.558 1.341-.102 2.898-1.465 3.446M44.388 17.56c0 .9.11 1.76.34 2.59.23.83.57 1.56 1.03 2.2a5.01 5.01 0 0 0 1.76 1.53c.72.38 1.56.58 2.55.58.95 0 1.74-.15 2.37-.45.63-.3 1.13-.68 1.51-1.14.38-.46.64-.94.79-1.47.15-.53.21-1.02.21-1.47v-.21h-5.38v-3.23h9.51V28h-3.72v-2.46c-.26.41-.59.78-.98 1.12-.39.34-.83.62-1.32.86-.49.24-1.02.43-1.6.56-.58.13-1.2.21-1.85.21-1.53 0-2.9-.28-4.09-.83a8.552 8.552 0 0 1-3.01-2.3c-.82-.98-1.44-2.12-1.86-3.43a13.78 13.78 0 0 1-.64-4.23c0-1.5.24-2.91.71-4.23.47-1.32 1.15-2.46 2.02-3.43.87-.97 1.93-1.74 3.16-2.3 1.23-.56 2.62-.84 4.15-.84 1 0 1.94.11 2.83.34.89.23 1.71.56 2.45.98.74.42 1.39.94 1.96 1.54.57.6 1.03 1.27 1.38 2l-3.72 2.1a6.96 6.96 0 0 0-.79-1.25c-.3-.38-.65-.72-1.05-1s-.85-.5-1.35-.66c-.5-.16-1.07-.24-1.7-.24-.99 0-1.84.19-2.55.58-.71.39-1.3.9-1.76 1.53-.46.63-.8 1.37-1.03 2.21-.23.84-.34 1.7-.34 2.59v.14h.01ZM71.778 6.7c1.56 0 2.96.28 4.2.84 1.24.56 2.29 1.33 3.16 2.3.87.97 1.52 2.11 1.98 3.43.46 1.32.68 2.72.68 4.23 0 1.51-.23 2.92-.68 4.23a9.986 9.986 0 0 1-1.98 3.43c-.87.98-1.92 1.74-3.16 2.3-1.24.56-2.64.83-4.2.83-1.57 0-2.98-.28-4.21-.83a9.073 9.073 0 0 1-3.15-2.3c-.86-.98-1.52-2.12-1.98-3.43-.46-1.31-.68-2.72-.68-4.23 0-1.5.23-2.91.68-4.23.45-1.32 1.11-2.46 1.98-3.43.86-.97 1.91-1.74 3.15-2.3 1.24-.56 2.64-.84 4.21-.84Zm0 17.76c.92 0 1.73-.17 2.42-.52s1.29-.83 1.77-1.44.84-1.34 1.08-2.18c.24-.84.37-1.76.37-2.75v-.12c0-.99-.12-1.9-.37-2.75-.25-.85-.61-1.57-1.08-2.19-.47-.62-1.07-1.1-1.77-1.44-.7-.34-1.51-.52-2.42-.52-.91 0-1.73.17-2.43.52-.7.35-1.29.83-1.77 1.44s-.83 1.35-1.08 2.19c-.25.84-.37 1.76-.37 2.75v.12c0 1 .12 1.91.37 2.75.25.84.6 1.57 1.08 2.18.48.61 1.06 1.1 1.77 1.44.71.34 1.51.52 2.43.52ZM88.758 28l-5.93-21h4.76l4.06 15.79h.15L95.768 7h4.7l-5.93 21.01h-5.78V28Zm28.99-3.54c.62 0 1.19-.09 1.72-.27a3.7 3.7 0 0 0 1.38-.82c.39-.37.69-.83.92-1.39.23-.56.34-1.22.34-1.98V6.97h4.17v13.65c0 1.17-.21 2.23-.64 3.18-.43.95-1.01 1.75-1.77 2.42-.76.66-1.66 1.18-2.7 1.54-1.04.36-2.19.54-3.42.54s-2.38-.18-3.42-.54c-1.04-.36-1.95-.87-2.71-1.54a6.955 6.955 0 0 1-1.78-2.42c-.43-.95-.64-2.01-.64-3.18V6.97h4.2v13.02c0 .76.11 1.42.34 1.98.23.56.53 1.03.92 1.39.39.36.84.64 1.38.82.54.18 1.09.28 1.71.28ZM130.448 7h4.25v9.1l7.5-9.1h5.23l-7.29 8.35 7.76 12.66h-4.94l-5.55-9.42-2.71 3.03v6.39h-4.25V7Z" />
</svg>
{% if (params.productName) %}
<span class="govuk-header__product-name">
Expand Down

0 comments on commit 66c8de1

Please sign in to comment.