Skip to content

Commit

Permalink
Update shuttered icon to be better
Browse files Browse the repository at this point in the history
  • Loading branch information
feedmypixel committed Jan 16, 2025
1 parent 2b5cb43 commit f258377
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions src/server/common/components/icons/shutter-icon/template.njk
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
class="app-icon app-shutter-icon{% if params.classes %} {{ params.classes }}{% endif %}"
width="48" height="48" viewBox="0 0 48 48"
role="img"{% if params.description %} aria-label="{{ params.description }}"{% endif %}>
<g fill-rule="nonzero">
<path
d="M24.0854093 14.5488989c-.5314354 0-.920522-.2178546-1.1672598-.6535638-.2467379-.4357092-.2562278-.8998343-.0284698-1.3923751l5.9217082-10.34335782c.227758-.30310206.5883749-.5777883 1.0818505-.82405873.4934757-.24627042.9110321-.312574 1.2526691-.19891072 2.8849347.87141842 5.5421115 2.3111532 7.9715302 4.31920435 2.4294188 2.00805115 4.4033215 4.376036 5.9217082 7.10395452.2657177.5683164.2752076 1.0419133.0284698 1.4207909-.2467379.3788776-.6737841.5683164-1.2811388.5683164H24.0854093Zm-10.7046264 4.5465309L7.45907473 8.9225669c-.26571767-.30310206-.37010676-.70092352-.31316726-1.19346437.05693951-.49254084.23724793-.8903623.54092527-1.19346436C9.85053381 4.56547478 12.223013 3.0310206 14.8042705 1.93227563 17.3855279.83353067 20.0237248.22732655 22.7188612.11366327c.227758 0 .4934757-.01894388.797153-.05683163C23.8196916.01894388 24.0854093 0 24.3131673 0c.6453143 0 1.0818505.22732654 1.3096085.68197964.227758.45465309.1897983.96613781-.113879 1.53445417L15.658363 19.0954298c-.3036774.4925408-.7117438.7388113-1.2241993.7388113s-.8635824-.2462705-1.0533808-.7388113ZM2.61921708 30.5754203c-.49347568 0-.94899169-.1704949-1.36654804-.5114847s-.66429419-.7388113-.74021352-1.1934644C.32265718 28.1127161.18979834 27.3265451.113879 26.5119583.03795967 25.6973715 0 24.9112006 0 24.1534454c0-2.4248165.30367734-4.679138.91103203-6.7629647.60735468-2.0838267 1.48042704-4.0350462 2.61921708-5.8536585.26571768-.5304286.63582444-.7672271 1.11032029-.7103955.47449584.0568316.8446026.3315179 1.11032028.8240587L15.4875445 28.586313c.1897983.4546531.1708185.8998343-.0569395 1.3355435-.227758.4357092-.6073547.6535638-1.1387901.6535638H2.61921708ZM16.7402135 46.8860999c-2.9608541-.9850817-5.599051-2.4532323-7.91459072-4.4044518-2.31553974-1.9512195-4.23250297-4.2907885-5.75088968-7.0187071-.34163701-.5683163-.3890866-1.0419133-.14234876-1.4207909.24673784-.3788775.67378411-.5683163 1.28113879-.5683163H23.8576512c.5693951 0 .9584817.2273265 1.1672598.6819796.2087782.4546531.2182681.8903623.0284698 1.3071276l-6.0355872 10.3433578c-.227758.3409899-.5788849.625148-1.0533808.8524746-.4744958.2273265-.8825623.303102-1.2241993.2273265Zm8.5409253 1.0798011c-.3036774 0-.5978648.009472-.8825623.0284158-.2846975.0189439-.5788849-.0094719-.8825623-.0852474-.683274.0378877-1.13879-.151551-1.366548-.5683164-.227758-.4167653-.1518387-.92825.227758-1.5344542l9.9644128-16.9358276c.1897983-.4167653.5314354-.625148 1.024911-.625148.4934757 0 .8540926.2083827 1.0818506.625148l5.9786477 10.2865262c.1897983.3788776.2562277.8240587.1992882 1.3355434-.0569395.5114848-.1992882.8808904-.4270462 1.108217-2.1637011 2.0080511-4.5266904 3.5425053-7.088968 4.6033625-2.5622776 1.0608572-5.1720048 1.6481174-7.8291815 1.7617807Zm16.9679715-11.7073171-9.8505338-16.8221643c-.2657177-.4167653-.2752076-.8524745-.0284697-1.3071276.2467378-.4546531.6168446-.6819797 1.1103202-.6819797h11.8434164c.4934757 0 .9395018.1799669 1.3380783.5399006.3985765.3599337.6548043.7482832.7686833 1.1650485.1518387.8714184.2846975 1.7144211.3985765 2.5290078C47.9430605 22.495856 48 23.282027 48 24.0397821c0 2.349041-.3131673 4.5560029-.9395018 6.6208857-.6263345 2.0648828-1.4899169 3.9876865-2.5907473 5.7684111-.341637.6062041-.7212337.8714184-1.13879.7956429-.4175564-.0757756-.7781732-.3978215-1.0818506-.9661379ZM23.99999976 31.9999998c-1.10666667 0-2.14666667-.21-3.12-.63-.97333334-.42-1.82-.99-2.54-1.71s-1.29-1.5666667-1.71-2.54c-.42-.9733334-.63-2.01333338-.63-3.12000004 0-1.10666667.21-2.14666667.63-3.12.42-.97333334.99-1.82 1.71-2.54s1.56666666-1.29 2.54-1.71c.97333333-.42 2.01333333-.63 3.12-.63 1.10666666 0 2.14666664.21 3.12000004.63.9733333.42 1.82.99 2.54 1.71s1.29 1.56666666 1.71 2.54c.42.97333333.63 2.01333333.63 3.12 0 1.10666666-.21 2.14666664-.63 3.12000004-.42.9733333-.99 1.82-1.71 2.54s-1.5666667 1.29-2.54 1.71c-.9733334.42-2.01333338.63-3.12000004.63Zm-1-1v-1.569378c-.47138047 0-.86868687-.1658693-1.19191919-.4976077-.32323233-.3317384-.48484849-.7208931-.48484849-1.1674641v-.8421053l-4.14141414-3.92344494c-.06734007.25518341-.11447811.50717703-.14141414.75598086-.02693603.24880383-.04040404.50079745-.04040404.75598086 0 1.65869222.56902357 3.10685802 1.70707071 4.34449762 1.13804713 1.2376395 2.56902356 1.9521531 4.29292929 2.1435407Zm6.25490194-2c.2875817-.32.5392157-.66.754902-1.02s.3986928-.7366667.5490196-1.13c.1503268-.3933334.2614379-.7966667.3333333-1.21.0718954-.4133334.1078432-.83333338.1078432-1.26000004 0-1.41333334-.379085-2.69666667-1.1372549-3.85-.75817-1.15333334-1.7712419-1.99666667-3.0392157-2.53v.36c0 .46666666-.1568628.87333333-.4705883 1.22-.3137255.34666666-.6993464.52-1.1568627.52h-1.70588236v1.74c0 .22666666-.0882353.41333333-.26470589.56-.17647058.14666666-.37581699.22-.59803921.22h-1.62745098v1.76h5.05882354c.2222222 0 .4052287.08666666.5490196.26.1437908.17333333.2156863.37333333.2156863.60000004v2.54h.8431372c.379085 0 .7124183.1133333 1 .34.2875817.2266666.4836602.52.5882353.88Z"/>
</g>
<path fill-rule="nonzero"
d="M18.3531098 25.7692308c.5125609 0 .9609146-.2015385 1.3450609-.6046154.3841464-.4030769.5762195-.855.5762195-1.3557692 0-.5007693-.1970122-.953077-.5910365-1.3569231-.3943903-.4038462-.837622-.6057693-1.3296952-.6057693-.5597561 0-1.0106707.2015385-1.3527439.6046154-.3420731.403077-.5131097.855-.5131097 1.3557693 0 .5007692.1735975.9530769.5207927 1.356923.3471951.4038462.7953658.6057693 1.3445122.6057693Zm11.5243902 0c.512561 0 .9517683-.2015385 1.317622-.6046154.3658536-.4030769.5487804-.855.5487804-1.3557692 0-.5007693-.1854878-.953077-.5564634-1.3569231-.3709756-.4038462-.7984756-.6057693-1.2825-.6057693-.567439 0-1.0247561.2015385-1.3719512.6046154-.3471951.403077-.5207927.855-.5207927 1.3557693 0 .5007692.1735976.9530769.5207927 1.356923.3471951.4038462.7953659.6057693 1.3445122.6057693Zm-25.4079878 20.25c-.72329269 0-1.31579269-.2332693-1.7775-.6998077C2.23067073 44.8532692 2 44.2415385 2 43.4842308c0-.8484616.20121951-1.5707693.60365854-2.1669231.40243902-.5961539 1.06097561-.7788462 1.97560975-.5480769h1.20731708V7.30769231c0-1.46961539.47743902-2.72173077 1.43231707-3.75634616C8.17378049 2.51711538 9.34268293 2 10.72560976 2H23.267439v38.7692308h1.5618293V2h12.6219512c1.3613415 0 2.5340854.51711538 3.5182317 1.55134615.9837805 1.03461539 1.4756708 2.28673077 1.4756708 3.75634616V40.7692308h1.152439c.7591463 0 1.3789024.2534615 1.8592683.7603846.48.5065384.72 1.1219231.72 1.8461538 0 .8007693-.2359756 1.4415385-.7079269 1.9223077-.4719512.4807693-1.077439.7211539-1.8164634.7211539H4.4695122Z"/>
</svg>
4 changes: 2 additions & 2 deletions src/server/services/about/views/service.njk
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
<div class="app-!-layout-flex-start">
{% if params.shuttered %}
{% call appToolTip({ text: "Shuttered URL", classes: "app-tool-tip--small govuk-!-margin-right-1" }) %}
{{ appShutterIcon({ classes: "app-icon--small", description: "Shuttered URL" }) }}
{{ appShutterIcon({ classes: "app-icon--tiny", description: "Shuttered URL" }) }}
{% endcall %}
{% elif not params.enabled %}
{% call appToolTip({ text: "Internal URL", classes: "app-tool-tip--small govuk-!-margin-right-1" }) %}
{{ appInternalIcon({ classes: "app-icon--small", description: "Internal URL" }) }}
{{ appInternalIcon({ classes: "app-icon--tiny", description: "Internal URL" }) }}
{% endcall %}
{% endif %}

Expand Down

0 comments on commit f258377

Please sign in to comment.