Use Kirby icon helper

This commit is contained in:
Paul Nicoué 2025-05-18 17:26:39 +02:00
parent 1b37e852e0
commit 750f457488
3 changed files with 59 additions and 51 deletions

View file

@ -0,0 +1,31 @@
<svg class="instagram-icon" aria-hidden="true" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient id="instagram-icon__gradient" gradientUnits="userSpaceOnUse" x1="328.27" x2="183.73" y1="508.05" y2="3.95" gradientTransform="matrix(1, 0, 0, 1, 0, 0)">
<stop offset="0" stop-color="#ffdb73"/>
<stop offset="0.08" stop-color="#fdad4e"/>
<stop offset="0.15" stop-color="#fb832e"/>
<stop offset="0.19" stop-color="#fa7321"/>
<stop offset="0.23" stop-color="#f6692f"/>
<stop offset="0.37" stop-color="#e84a5a"/>
<stop offset="0.48" stop-color="#e03675"/>
<stop offset="0.55" stop-color="#dd2f7f"/>
<stop offset="0.68" stop-color="#b43d97"/>
<stop offset="0.97" stop-color="#4d60d4"/>
<stop offset="1" stop-color="#4264db"/>
</linearGradient>
</defs>
<style>
.instagram-icon__background {
fill: url(#instagram-icon__gradient);
}
.instagram-icon__white-path {
fill: #fff;
}
</style>
<g transform="matrix(1.100933, 0, 0, 1.100933, -25.838909, -25.838909)">
<rect class="instagram-icon__background" height="465.06" rx="107.23" ry="107.23" width="465.06" y="23.47" x="23.47"/>
<path class="instagram-icon__white-path" d="M 331 115.22 C 367.748 115.368 397.502 145.122 397.65 181.87 L 397.65 330.13 C 397.502 366.878 367.748 396.632 331 396.78 L 181 396.78 C 144.252 396.632 114.498 366.878 114.35 330.13 L 114.35 181.87 C 114.498 145.122 144.252 115.368 181 115.22 L 331 115.22 M 331 84.22 L 181 84.22 C 127.29 84.22 83.34 128.22 83.34 181.88 L 83.34 330.13 C 83.34 383.84 127.34 427.79 181 427.79 L 331 427.79 C 384.71 427.79 428.66 383.79 428.66 330.13 L 428.66 181.87 C 428.66 128.16 384.71 84.21 331 84.21 L 331 84.22 Z"/>
<path class="instagram-icon__white-path" d="M 256 198.13 C 300.548 198.13 328.391 246.355 306.117 284.935 C 283.843 323.515 228.157 323.515 205.883 284.935 C 200.804 276.138 198.13 266.158 198.13 256 C 198.169 224.055 224.055 198.169 256 198.13 M 256 167.13 C 187.588 167.13 144.83 241.188 179.036 300.435 C 213.242 359.682 298.758 359.682 332.964 300.435 C 340.764 286.925 344.87 271.6 344.87 256 C 344.87 206.918 305.082 167.13 256 167.13 Z"/>
<circle class="instagram-icon__white-path" cx="346.81" cy="163.23" r="21.07"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.4 KiB