mirror of
https://github.com/shadoll/sLogos.git
synced 2025-12-20 11:32:01 +00:00
Refactor logo image handling across components
- Introduced utility functions to determine the base directory and image URL for logos based on their collection. - Updated `Actions.svelte`, `CardFull.svelte`, `CardMiddle.svelte`, `CardSmall.svelte`, and `CardTiny.svelte` to use the new utility functions for generating image paths. - Ensured that the correct image format (SVG, PNG, JPG) is used based on the logo's properties and active color sets.
This commit is contained in:
45
public/images/logos/python.svg
Normal file
45
public/images/logos/python.svg
Normal file
@@ -0,0 +1,45 @@
|
||||
<svg width="100%" height="100%" viewBox="0 0 480 120" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="text" fill="currentColor">
|
||||
<path
|
||||
d="M181.613,60.429c0,-14.562 -4.152,-22.038 -12.456,-22.447c-3.305,-0.156 -6.531,0.37 -9.669,1.589c-2.505,0.896 -4.192,1.783 -5.079,2.68l0,34.758c5.312,3.334 10.03,4.883 14.143,4.64c8.704,-0.575 13.061,-7.642 13.061,-21.22Zm10.245,0.605c-0,7.398 -1.735,13.538 -5.225,18.422c-3.889,5.526 -9.279,8.372 -16.17,8.528c-5.195,0.166 -10.547,-1.462 -16.054,-4.873l0,31.59l-8.909,-3.177l0,-70.121c1.463,-1.793 3.344,-3.333 5.625,-4.64c5.302,-3.089 11.745,-4.678 19.328,-4.756l0.127,0.127c6.93,-0.088 12.271,2.758 16.024,8.528c3.499,5.293 5.254,12.077 5.254,20.372Z"
|
||||
style="fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M246.305,81.766c-0,9.922 -0.994,16.794 -2.983,20.615c-1.998,3.821 -5.799,6.872 -11.414,9.143c-4.551,1.793 -9.474,2.768 -14.757,2.933l-1.471,-5.614c5.37,-0.731 9.152,-1.462 11.345,-2.193c4.318,-1.462 7.281,-3.704 8.909,-6.706c1.306,-2.446 1.949,-7.115 1.949,-14.026l0,-2.32c-6.092,2.768 -12.476,4.143 -19.153,4.143c-4.386,-0 -8.255,-1.375 -11.589,-4.143c-3.743,-3.012 -5.614,-6.833 -5.614,-11.462l-0,-37.078l8.909,-3.051l-0,37.321c-0,3.987 1.286,7.057 3.859,9.211c2.574,2.155 5.907,3.188 9.991,3.11c4.084,-0.088 8.461,-1.667 13.11,-4.757l0,-43.54l8.909,-0l-0,48.414Z"
|
||||
style="fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M281.082,87.497c-1.062,0.088 -2.037,0.127 -2.933,0.127c-5.04,-0 -8.968,-1.199 -11.775,-3.607c-2.797,-2.407 -4.201,-5.731 -4.201,-9.971l0,-35.089l-6.102,-0l0,-5.605l6.102,-0l0,-14.884l8.899,-3.168l0,18.052l10.01,-0l0,5.605l-10.01,-0l0,34.845c0,3.344 0.897,5.712 2.69,7.096c1.54,1.141 3.987,1.794 7.32,1.959l0,4.64Z"
|
||||
style="fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M335.023,86.766l-8.909,0l0,-34.388c0,-3.499 -0.819,-6.511 -2.446,-9.026c-1.882,-2.846 -4.494,-4.269 -7.847,-4.269c-4.084,0 -9.191,2.154 -15.322,6.463l-0,41.22l-8.909,0l-0,-82.197l8.909,-2.807l-0,37.438c5.692,-4.142 11.911,-6.218 18.665,-6.218c4.718,-0 8.539,1.588 11.463,4.756c2.934,3.168 4.396,7.116 4.396,11.833l-0,37.195Z"
|
||||
style="fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M382.374,59.026c0,-5.595 -1.062,-10.215 -3.177,-13.87c-2.515,-4.455 -6.424,-6.804 -11.707,-7.047c-9.766,0.565 -14.64,7.563 -14.64,20.975c0,6.151 1.014,11.287 3.061,15.41c2.612,5.254 6.53,7.847 11.755,7.759c9.805,-0.078 14.708,-7.817 14.708,-23.227Zm9.757,0.058c0,7.964 -2.037,14.592 -6.102,19.884c-4.474,5.927 -10.653,8.899 -18.539,8.899c-7.817,0 -13.909,-2.972 -18.305,-8.899c-3.986,-5.292 -5.975,-11.92 -5.975,-19.884c0,-7.485 2.155,-13.782 6.463,-18.909c4.552,-5.439 10.536,-8.168 17.934,-8.168c7.398,-0 13.422,2.729 18.062,8.168c4.308,5.127 6.462,11.424 6.462,18.909Z"
|
||||
style="fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M443.206,86.766l-8.909,0l-0,-36.337c-0,-3.987 -1.199,-7.096 -3.597,-9.338c-2.397,-2.232 -5.595,-3.314 -9.581,-3.226c-4.23,0.078 -8.256,1.462 -12.077,4.142l0,44.759l-8.909,0l0,-45.86c5.127,-3.733 9.845,-6.17 14.153,-7.31c4.065,-1.063 7.652,-1.589 10.742,-1.589c2.115,-0 4.103,0.205 5.974,0.614c3.5,0.809 6.346,2.31 8.539,4.513c2.446,2.437 3.665,5.361 3.665,8.782l-0,40.85Z"
|
||||
style="fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M460.554,25.409l1.562,0l0,-9.796l3.7,0l0,-1.168l-8.962,0l0,1.168l3.7,0l0,9.796m6.647,0l1.335,0l-0,-8.947l2.896,8.946l1.486,0l3.018,-8.915l0,8.916l1.456,0l-0,-10.964l-1.926,0l-3.298,9.393l-2.813,-9.393l-2.154,0l0,10.964"
|
||||
style="fill-rule:nonzero;" />
|
||||
</g>
|
||||
<g id="logo">
|
||||
<path id="path1948"
|
||||
d="M57.51,4.898c-4.583,0.021 -8.961,0.412 -12.812,1.094c-11.347,2.004 -13.407,6.2 -13.407,13.937l0,10.219l26.813,-0l-0,3.406l-36.875,0c-7.793,0 -14.616,4.684 -16.75,13.594c-2.462,10.213 -2.571,16.586 -0,27.25c1.906,7.938 6.457,13.594 14.25,13.594l9.219,-0l-0,-12.25c-0,-8.85 7.657,-16.657 16.75,-16.657l26.781,0c7.455,0 13.406,-6.138 13.406,-13.625l0,-25.531c0,-7.266 -6.13,-12.725 -13.406,-13.937c-4.606,-0.767 -9.385,-1.115 -13.969,-1.094Zm-14.5,8.219c2.77,-0 5.031,2.298 5.031,5.125c0,2.816 -2.261,5.093 -5.031,5.093c-2.779,0 -5.031,-2.277 -5.031,-5.093c-0,-2.827 2.252,-5.125 5.031,-5.125Z"
|
||||
style="fill:url(#_LinearGradientMain_78364);fill-rule:nonzero;" />
|
||||
<path id="path1950"
|
||||
d="M88.229,33.554l-0,11.906c-0,9.231 -7.826,17 -16.75,17l-26.781,0c-7.336,0 -13.407,6.279 -13.407,13.625l0,25.532c0,7.266 6.319,11.54 13.407,13.625c8.487,2.495 16.626,2.946 26.781,-0c6.75,-1.955 13.406,-5.888 13.406,-13.625l0,-10.219l-26.781,-0l-0,-3.406l40.187,-0c7.793,-0 10.697,-5.436 13.407,-13.594c2.799,-8.399 2.68,-16.476 -0,-27.25c-1.926,-7.757 -5.604,-13.594 -13.407,-13.594l-10.062,0Zm-15.063,64.656c2.78,0 5.032,2.278 5.032,5.094c-0,2.827 -2.252,5.125 -5.032,5.125c-2.769,0 -5.031,-2.298 -5.031,-5.125c0,-2.816 2.262,-5.094 5.031,-5.094Z"
|
||||
style="fill:url(#_LinearGradientMain_48957);fill-rule:nonzero;" />
|
||||
</g>
|
||||
<defs>
|
||||
<linearGradient id="_LinearGradientMain_78364" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(61.3261,53.2723,-53.2723,61.3261,2.59137,4.89705)">
|
||||
<stop offset="0" style="stop-color:#5a9fd4;stop-opacity:1" />
|
||||
<stop offset="1" style="stop-color:#306998;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
<linearGradient id="_LinearGradientMain_48957" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(-21.8995,-31.2832,31.2832,-21.8995,72.5221,102.445)">
|
||||
<stop offset="0" style="stop-color:#ffd43b;stop-opacity:1" />
|
||||
<stop offset="1" style="stop-color:#ffe873;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.5 KiB |
Reference in New Issue
Block a user