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:
58
public/images/logos/nova_post.svg
Normal file
58
public/images/logos/nova_post.svg
Normal file
@@ -0,0 +1,58 @@
|
||||
<svg width="100%" height="100%" viewBox="0 0 210 75" xmlns="http://www.w3.org/2000/svg">
|
||||
<g>
|
||||
<path
|
||||
d="M91.928,12.723l4.417,-0c1.609,-0 2.42,0.795 2.42,2.59l-0,6.362l8.652,-0l0,-6.362c0,-1.795 0.799,-2.59 2.614,-2.59l4.223,-0l0,4.181l-1.803,-0l-0.205,0.204l-0,17.904l-4.829,0l0,-8.952l-8.652,0l-0,8.952l-4.829,0l0,-17.904c0,0 0,-0.204 -0.205,-0.204l-1.803,-0l-0,-4.181Z"
|
||||
style="fill:#ed1c24;fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M126.925,12.325l0.108,0.012l0,4.591l-0.108,-0.024c-3.619,-0 -6.438,2.988 -6.438,6.771c-0,3.976 2.819,7.156 6.438,7.156l0.108,-0.024l0,4.591l-0.108,0.012c-6.438,-0 -11.666,-5.169 -11.666,-11.735c-0,-6.374 5.228,-11.35 11.666,-11.35Z"
|
||||
style="fill:#ed1c24;fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M127.033,12.337l2.239,0.217c5.313,1.036 9.318,5.542 9.318,11.121c0,5.735 -4.005,10.421 -9.318,11.494l-2.239,0.229l0,-4.591l2.457,-0.53c2.372,-1.084 4.078,-3.626 4.078,-6.602c0,-2.844 -1.706,-5.229 -4.078,-6.241l-2.457,-0.506l0,-4.591Z"
|
||||
style="fill:#ed1c24;fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M139.595,12.723l9.959,-0l-0,4.181l-3.122,-0l-0,4.578l3.122,-0l-0,3.976l-3.122,-0l-0,4.976c-0,0.205 -0,0.205 0.206,0.205l2.916,-0l-0,4.373l-5.53,0c-1.61,0 -2.408,-0.795 -2.408,-2.59l-0,-15.518l-2.021,-0l-0,-4.181Z"
|
||||
style="fill:#ed1c24;fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M149.554,12.723l0.097,-0c4.429,-0 7.043,2.385 7.043,5.976c-0,2.181 -1.005,3.578 -2.009,4.578c1.815,0.795 3.013,2.783 3.013,4.964c0,4.181 -3.219,6.771 -7.841,6.771l-0.303,0l-0,-4.373l0.496,-0c1.61,-0 2.626,-1 2.626,-2.591c0,-1.59 -1.016,-2.59 -2.626,-2.59l-0.496,-0l-0,-3.976l0.097,-0c1.416,-0 2.214,-1 2.214,-2.386c0,-1.397 -0.798,-2.192 -2.214,-2.192l-0.097,-0l-0,-4.181Z"
|
||||
style="fill:#ed1c24;fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M166.956,12.723l2.408,-0l-0,6.373c-0.194,0.398 -0.4,0.988 -0.4,1.591l-1.609,4.578l2.009,0l-0,4.169l-3.207,-0l-1.416,3.59c-0.399,1.386 -1.198,1.988 -2.807,1.988l-3.026,0l0,-4.373l1.005,-0c0.411,-0 0.411,-0 0.605,-0.205l6.438,-17.711Z"
|
||||
style="fill:#ed1c24;fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M169.364,12.723l2.42,-0l6.438,17.711c0.194,0.205 0.194,0.205 0.593,0.205l0.811,-0l-0,4.373l-2.82,0c-1.609,0 -2.408,-0.602 -2.819,-2.193l-1.404,-3.385l-3.219,-0l-0,-4.169l2.009,0l-1.598,-4.578c0,-0.603 -0.205,-1.193 -0.411,-1.591l-0,-6.373Z"
|
||||
style="fill:#ed1c24;fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M91.928,41.373l17.498,0c1.61,0 2.614,0.796 2.614,2.591l-0,15.12c-0,0.193 -0,0.193 0.206,0.193l1.609,0l0,4.386l-4.223,-0c-1.815,-0 -2.614,-0.796 -2.614,-2.591l-0,-15.313c-0,0 -0,-0.205 -0.206,-0.205l-8.047,0l-0,18.109l-4.829,-0l0,-18.109l-2.008,0l-0,-4.181Z"
|
||||
style="fill:#ed1c24;fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M126.525,40.976l0.097,0.012l0,4.59l-0.097,-0.024c-3.63,0 -6.438,2.988 -6.438,6.771c0,3.976 2.808,7.157 6.438,7.157l0.097,-0.024l0,4.59l-0.097,0.012c-6.438,0 -11.472,-5.18 -11.472,-11.735c0,-6.373 5.034,-11.349 11.472,-11.349Z"
|
||||
style="fill:#ed1c24;fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M126.622,40.988l2.311,0.217c5.41,1.036 9.258,5.542 9.258,11.12c-0,5.735 -3.848,10.422 -9.258,11.494l-2.311,0.229l0,-4.59l2.553,-0.53c2.409,-1.085 3.994,-3.627 3.994,-6.603c-0,-2.843 -1.585,-5.229 -3.994,-6.241l-2.553,-0.506l0,-4.59Z"
|
||||
style="fill:#ed1c24;fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M139.195,41.373l4.429,0c1.61,0 2.409,0.796 2.409,2.591l-0,15.12c-0,0.193 -0,0.193 0.205,0.193l5.833,0l0,-17.904l4.828,0l0,17.904l5.833,0c0.206,0 0.206,0 0.206,-0.193l0,-15.12c0,-1.795 0.799,-2.591 2.408,-2.591l4.429,0l0,4.181l-1.815,0c-0.206,0 -0.206,0.205 -0.206,0.205l0,15.313c0,1.795 -0.798,2.591 -2.408,2.591l-21.528,-0c-1.803,-0 -2.614,-0.796 -2.614,-2.591l0,-15.313c0,0 0,-0.205 -0.194,-0.205l-1.815,0l0,-4.181Z"
|
||||
style="fill:#ed1c24;fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M173.587,41.373l15.09,0c1.816,0 2.421,0.796 2.421,2.386l-0,3.783l-4.429,0l-0,-1.783c-0,-0.205 -0,-0.205 -0.206,-0.205l-2.808,0l0,18.109l-4.84,-0l-0,-18.109l-2.808,0c-0.205,0 -0.205,0 -0.205,0.205l-0,1.783l-4.429,0l-0,-3.783c-0,-1.59 0.605,-2.386 2.214,-2.386Z"
|
||||
style="fill:#ed1c24;fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M197.33,41.373l2.408,0l0,6.374c-0.206,0.398 -0.399,0.988 -0.399,1.59l-1.61,4.579l2.009,-0l0,4.168l-3.219,0l-1.404,3.386c-0.399,1.59 -1.21,2.193 -2.819,2.193l-3.013,-0l-0,-4.386l1.004,0c0.411,0 0.411,0 0.605,-0.193l6.438,-17.711Z"
|
||||
style="fill:#ed1c24;fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M199.738,41.373l2.408,0l6.45,17.711c0.194,0.193 0.194,0.193 0.605,0.193l0.799,0l-0,4.386l-2.82,-0c-1.609,-0 -2.408,-0.603 -2.819,-2.193l-1.404,-3.386l-3.219,0l0,-4.168l2.009,-0l-1.61,-4.579c0,-0.602 -0.193,-1.192 -0.399,-1.59l0,-6.374Z"
|
||||
style="fill:#ed1c24;fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M60.924,22.205c0.23,-0.072 0.532,0.072 0.835,0.47l13.674,13.325c0.799,0.795 0.799,2 0,2.59l-13.674,13.53c-0.303,0.398 -0.605,0.494 -0.835,0.374c-0.23,-0.121 -0.375,-0.47 -0.375,-0.976l-0,-28.446c-0,-0.494 0.145,-0.795 0.375,-0.867Z"
|
||||
style="fill:#ed1c24;fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M37.532,-0l0.968,-0l0.932,0.386l14.074,13.927c0.605,0.795 0.399,1.398 -0.605,1.398l-5.833,-0c-1.004,-0 -1.803,0.795 -1.803,1.795l-0,10.337c-0,1 -0.811,1.796 -2.021,1.796l-10.25,-0c-1.004,-0 -1.815,-0.796 -1.815,-1.796l0,-10.337c0,-1 -0.799,-1.795 -1.815,-1.795l-6.232,-0c-1.005,-0 -1.21,-0.603 -0.605,-1.398l14.085,-13.927l0.92,-0.386Z"
|
||||
style="fill:#ed1c24;fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M15.484,21.904c0.254,0.12 0.411,0.469 0.411,0.976l0,29.036c0,0.506 -0.157,0.807 -0.411,0.903c-0.242,0.097 -0.593,0 -1.005,-0.301l-13.88,-13.928c-0.799,-0.59 -0.799,-1.795 0,-2.59l13.88,-13.723c0.412,-0.397 0.763,-0.494 1.005,-0.373Z"
|
||||
style="fill:#ed1c24;fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M32.994,44.759l10.25,0c1.21,0 2.021,0.795 2.021,1.795l-0,10.94c-0,1.193 0.799,1.988 1.803,1.988l5.434,-0c1.004,-0 1.403,0.59 0.605,1.193l-13.675,13.723c-0.411,0.397 -0.907,0.602 -1.416,0.602c-0.496,-0 -1.004,-0.205 -1.404,-0.602l-13.674,-13.723c-0.811,-0.603 -0.411,-1.193 0.593,-1.193l5.833,-0c1.016,-0 1.815,-0.795 1.815,-1.988l0,-10.94c0,-1 0.811,-1.795 1.815,-1.795Z"
|
||||
style="fill:#ed1c24;fill-rule:nonzero;" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 6.2 KiB |
Reference in New Issue
Block a user