mirror of
https://github.com/shadoll/sLogos.git
synced 2025-12-20 15:32:03 +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:
32
public/images/logos/redis-logo.svg
Normal file
32
public/images/logos/redis-logo.svg
Normal file
@@ -0,0 +1,32 @@
|
||||
<svg width="100%" height="100%" viewBox="0 0 175 150" xmlns="http://www.w3.org/2000/svg">
|
||||
|
||||
<g id="logo">
|
||||
<path
|
||||
d="M165.448,114.422c-9.078,4.732 -56.106,24.068 -66.118,29.287c-10.012,5.221 -15.574,5.17 -23.483,1.389c-7.909,-3.781 -57.955,-23.996 -66.97,-28.305c-4.506,-2.154 -6.875,-3.971 -6.875,-5.688l0,-17.195c0,0 65.153,-14.184 75.672,-17.957c10.518,-3.774 14.167,-3.91 23.118,-0.631c8.952,3.279 62.474,12.936 71.321,16.176c0,0 -0.004,15.357 -0.004,16.951c0.001,1.7 -2.04,3.565 -6.661,5.973Z"
|
||||
style="fill:#a41e11;fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M165.448,97.223c-9.078,4.73 -56.106,24.068 -66.118,29.287c-10.012,5.221 -15.574,5.17 -23.483,1.389c-7.91,-3.779 -57.955,-23.998 -66.97,-28.305c-9.015,-4.309 -9.204,-7.275 -0.348,-10.742c8.855,-3.469 58.626,-22.996 69.146,-26.77c10.518,-3.772 14.167,-3.91 23.118,-0.63c8.952,3.279 55.699,21.886 64.545,25.126c8.848,3.243 9.188,5.913 0.11,10.645Z"
|
||||
style="fill:#d82c20;fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M165.448,86.383c-9.078,4.732 -56.106,24.068 -66.118,29.289c-10.012,5.219 -15.574,5.168 -23.483,1.387c-7.91,-3.779 -57.955,-23.996 -66.97,-28.305c-4.506,-2.154 -6.875,-3.969 -6.875,-5.686l0,-17.197c0,0 65.153,-14.183 75.672,-17.957c10.518,-3.773 14.167,-3.91 23.118,-0.631c8.952,3.279 62.474,12.934 71.321,16.175c0,0 -0.004,15.357 -0.004,16.953c0.001,1.699 -2.04,3.564 -6.661,5.972Z"
|
||||
style="fill:#a41e11;fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M165.448,69.184c-9.078,4.732 -56.106,24.068 -66.118,29.289c-10.012,5.219 -15.574,5.168 -23.483,1.387c-7.91,-3.779 -57.955,-23.997 -66.97,-28.305c-9.015,-4.308 -9.204,-7.274 -0.348,-10.743c8.855,-3.467 58.626,-22.995 69.146,-26.768c10.518,-3.773 14.167,-3.91 23.118,-0.631c8.952,3.279 55.699,21.885 64.545,25.126c8.848,3.242 9.188,5.913 0.11,10.645Z"
|
||||
style="fill:#d82c20;fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M165.448,57.306c-9.078,4.732 -56.106,24.069 -66.118,29.29c-10.012,5.219 -15.574,5.168 -23.483,1.387c-7.91,-3.779 -57.955,-23.997 -66.97,-28.305c-4.506,-2.154 -6.875,-3.97 -6.875,-5.686l0,-17.197c0,0 65.153,-14.183 75.672,-17.956c10.518,-3.774 14.167,-3.91 23.118,-0.631c8.952,3.279 62.474,12.934 71.321,16.175c0,0 -0.004,15.357 -0.004,16.952c0.001,1.698 -2.04,3.563 -6.661,5.971Z"
|
||||
style="fill:#a41e11;fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M165.448,40.107c-9.078,4.732 -56.106,24.069 -66.118,29.289c-10.012,5.219 -15.574,5.168 -23.483,1.388c-7.909,-3.78 -57.955,-23.997 -66.97,-28.305c-9.015,-4.308 -9.204,-7.275 -0.348,-10.743c8.855,-3.468 58.626,-22.994 69.146,-26.768c10.518,-3.774 14.167,-3.91 23.118,-0.63c8.952,3.279 55.699,21.885 64.545,25.126c8.848,3.24 9.188,5.912 0.11,10.643Z"
|
||||
style="fill:#d82c20;fill-rule:nonzero;" />
|
||||
<path
|
||||
d="M89.729,15.667l11.217,-3.669l-3.036,7.268l11.431,4.278l-14.734,1.529l-3.302,7.944l-5.335,-8.861l-17.019,-1.529l12.701,-4.583l-3.81,-7.029l11.887,4.652Z"
|
||||
style="fill:#fff;fill-rule:nonzero;" />
|
||||
<path d="M90.427,62.068l-27.517,-11.41l39.42,-6.051l-11.903,17.461Z" style="fill:#fff;fill-rule:nonzero;" />
|
||||
<ellipse cx="52.286" cy="36.128" rx="21.069" ry="8.167" style="fill:#fff;" />
|
||||
<path d="M126.768,25.713l23.327,9.227l-23.314,9.204l-0.013,-18.431Z" style="fill:#7a0c00;fill-rule:nonzero;" />
|
||||
<path d="M126.768,25.713l0.013,18.431l-2.525,0.996l-23.301,-9.217l25.813,-10.21Z"
|
||||
style="fill:#ad2115;fill-rule:nonzero;" />
|
||||
</g>
|
||||
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.3 KiB |
Reference in New Issue
Block a user