Files
sLogos/public/images/logos/starbucks.svg
sHa 708334bcf4 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.
2025-06-18 12:27:27 +03:00

14 lines
9.8 KiB
XML

<svg width="100%" height="100%" viewBox="0 0 298 299" xmlns="http://www.w3.org/2000/svg">
<g id="g4387">
<path id="path4430"
d="M255.895,296.172l0,-14.273l-5.098,0l0,-2.906l13.652,0l0,2.906l-5.086,0l0,14.273l-3.468,0Zm10.758,0l0,-17.18l5.191,0l3.117,11.719l3.082,-11.719l5.203,0l0,17.18l-3.223,0l0,-13.523l-3.41,13.523l-3.34,0l-3.398,-13.523l0,13.523l-3.222,0Z"
style="fill:#007042;" />
<path id="path3040"
d="M297.473,149.5c0,82.567 -66.592,149.5 -148.736,149.5c-82.145,0 -148.737,-66.932 -148.737,-149.5c-0,-82.566 66.592,-149.5 148.737,-149.5c82.145,0 148.736,66.934 148.736,149.5Z"
style="fill:#fff;fill-rule:nonzero;" />
<path
d="M295.016,156.787c0.111,3.766 0.465,7 -1.004,10.854c-15.242,4.335 -25.254,-11.803 -40.043,-9.369l1.672,8.365c13.682,0.45 22.228,13.57 36.363,13.006c-2.008,4.011 0.896,14.578 -8.001,10.354c-9.235,-2.219 -15.912,-10.354 -26.032,-10.354c-1.221,2.242 -0.448,5.346 -0.662,7.998c10.676,1.675 18.354,10.698 29.027,12.364c-1.004,3.668 -1.999,7.775 -5.005,10.012c-8.683,-2.113 -15.465,-9.911 -24.709,-9.688l-1.646,7.681c8.785,0.226 14.461,7.998 22.356,10.331c0.217,3.24 -2.679,6.135 -4.347,9.027c-7.009,-2.105 -12.354,-8.126 -20.362,-7.682c-0.111,-3.017 1.68,-6.443 1.004,-9.669c-8.994,2.675 -15.025,-5.682 -21.691,-10.695c-0.192,-16.405 -17.462,-27.167 -18.374,-42.535c-0.175,-3.064 0.292,-6.335 1.688,-9.85c5.676,-13.124 3.893,-30.163 -2.331,-42.399c-1.891,-3.22 -5.242,-5.762 -8.365,-7.655c4.569,9.683 10.137,21.124 7.358,33.026c-0.322,9.191 -5.745,18.018 -5.807,26.878c-0.021,3.159 0.653,6.318 2.47,9.508c7.236,13.032 20.254,25.368 15.359,41.712c-1.346,5.02 -5.354,8.902 -6.354,14.011c8.465,7.011 16.469,14.911 27.701,15.356c4.002,-2.556 1.779,-13.891 10.012,-8.663l12.021,6.013c-0.876,3.218 -3.57,6.102 -6.01,8.318c-4.561,-2.22 -9.01,-4.881 -14.697,-4.664c-1.677,1.779 -3.12,3.776 -2.992,6.329c4.002,0.659 7.673,2.348 11.016,4.688c-1.552,3.343 -4.577,5.438 -7.358,7.998l-9.325,-3.334c-1.557,2.228 -4.791,4.569 -3.656,7.014c2.104,0.901 4.438,2.119 5.987,3.68c-4.116,4.449 -9.333,7.311 -14.353,10.331c-4.324,-14.133 -18.571,-24.042 -17.348,-40.386l-0.662,-0.661c-3.349,3.765 -2.23,9.786 -2.014,14.672c4.008,10.237 13.568,18.144 15.018,29.37c-1.674,2.889 -5.448,3.465 -8.343,4.688c0.336,-20.24 -30.365,-35.591 -10.677,-56.064c6.566,-10.025 17.567,-19.592 13.669,-33.394c-4.002,-13.326 -18.157,-21.583 -18.032,-36.522l0.022,-1.165c3.224,-15.579 13.018,-32.156 5.006,-48.729c-2.233,-6.666 -7.222,-14.241 -14.008,-17.027c10.117,11.58 14.128,30.474 8.34,46.056c-2.917,6.198 -6.933,13.582 -7.336,20.868l-0.024,-0c-0.215,3.805 0.562,7.589 3.017,11.177c7.682,12.464 21.024,26.155 13.349,42.398c-8.676,13.01 -23.805,26.244 -15.356,43.38c6.118,10.234 15.582,20.446 13.029,33.027l-10.012,3.334c6.675,-23.466 -26.035,-37.254 -12.342,-60.728c8.454,-12.57 23.574,-24.364 15.015,-41.047c-5.117,-10.337 -15.69,-16.455 -15.356,-29.373l0.364,-2.169c3.445,-18.321 17.372,-35.663 7.634,-55.241c-2.559,-5.781 -7.673,-11.675 -13.349,-15.015l-0.343,0.343c11.353,11.013 14.807,29.133 8.686,43.699c-2.856,8.546 -9.124,17.059 -10.398,26.217c-0.606,4.318 -0.095,8.793 2.4,13.507c7.23,11.449 19.909,23.594 11.997,38.396c-8.332,12.226 -22.242,24.122 -16.686,40.021c6.12,13.91 18.899,27.161 11.999,44.409l-10.331,2.333c8.229,-16.809 -4.11,-33.488 -11.338,-48.066c-8.793,-20.915 18.892,-30.93 19.336,-50.052c-0.105,-12.342 -13.226,-19.35 -15.999,-30.696c-5.679,-4.791 -11.565,1.905 -18.354,0.662c-5.012,1.007 -12.71,-6.899 -15.702,1.671c-3.563,12.564 -19.795,21.801 -12.661,36.703c6.788,13.243 23.124,22.927 17.667,40.065c-4.886,16.008 -21.026,31.25 -11.016,49.713c-4.112,-1.332 -11.791,1.218 -11.68,-5.351c-6.338,-22.359 20.69,-35.385 12.342,-57.732c-3.885,-13.688 -21.586,-21.25 -17.689,-37.713c2.881,-13.552 18.088,-23.026 15.955,-37.871c-0.173,-1.243 -0.479,-2.515 -0.916,-3.841c-5.676,-16.019 -17.256,-32.042 -10.354,-50.738c1.895,-5.34 5.68,-9.9 9.006,-14.673c-11.014,5.894 -16.57,18.357 -16.342,31.036c-0.48,13.788 9.705,25.599 11.154,38.216c0.57,5.092 -0.264,10.306 -3.818,15.837c-7.225,9.804 -16.674,20.141 -12.342,33.05c4.119,13.021 20.359,20.909 19.358,36.044c-0.11,17.903 -20.913,29.05 -15.017,49.072l-10.354,-3.359c-4.111,-17.792 14.797,-26.895 15.014,-43.357c2.676,-18.931 -21.469,-25.955 -20.02,-44.409c-0.104,-14.021 12.238,-22.901 17.689,-34.695c0.935,-2.87 1.246,-5.582 1.121,-8.182c-0.668,-13.04 -12.418,-23.235 -10.468,-37.896c0.656,-10.79 4.327,-20.248 11.338,-28.363c-9.673,3.886 -13.669,15.021 -16.341,24.367c-4.637,14.986 6.432,28.466 7.542,41.893c0.492,5.929 -0.957,11.824 -6.536,17.851c-8.014,9.444 -16.141,21.36 -10.355,34.053c6.127,14.005 25.376,24.906 17.027,42.374c-4.555,11.015 -15.462,19.353 -15.014,32.364c-2.89,-1.224 -5.888,-2.444 -8.344,-4.663c-0,-16.572 23.574,-26.923 12.342,-44.388c-0.995,3.446 -1.209,8.129 -1.988,12.022c-3.898,10.128 -12.238,18.235 -15.359,28.705c-5.219,-2.014 -10.676,-6.246 -15.017,-10.695l6.013,-3.68c-0.668,-2.229 -2.445,-4.118 -3.999,-6.009c-3.905,-0.549 -6.469,2.013 -9.688,3.017c-2.781,-2.452 -5.465,-4.678 -7.682,-7.681c1.996,-5.685 17.592,-0.984 9.691,-10.331c-5.334,-3.335 -10.688,1.429 -15.359,3.653l-6.332,-7.998c5.451,-3.334 10.888,-8.017 17.668,-6.674c1.671,3.009 1.787,7.434 5.006,9.005c11.46,-0.223 19.58,-8.891 28.365,-15.679c-6.123,-9.111 -11.107,-21.689 -5.668,-32.707c4.358,-11.041 15.713,-20.34 16.228,-32.546c0.116,-2.778 -0.317,-5.701 -1.532,-8.847c-6.004,-15.465 -8.123,-36.366 3.337,-50.054c-6.231,1.674 -9.905,9.44 -12.022,15.337c-6.889,15.101 1.824,29.091 2.125,43.563c0.041,2.603 -0.17,5.212 -0.801,7.84c-5.898,11.902 -15.454,22.345 -17.006,36.041c-6.788,4.33 -12.361,11.902 -22.033,9.347c-0.34,2.556 0.439,6.452 1.326,9.347c-7.67,-0.322 -12.9,5.331 -19.358,8.001c-3.44,-1.104 -4.335,-5.551 -5.667,-8.663c7.559,-2.553 13.012,-10.131 21.691,-10.011c1.006,-2.795 -0.564,-5.356 -1.007,-8.023c-10.796,-4.792 -27.909,23.688 -29.348,-1.004c10.788,-0.668 17.682,-10.682 28.366,-11.68l0.319,-7.998c-12.125,-1.225 -19.925,11.24 -32.045,10.011l-2.673,-10.673c14.02,0.876 22.373,-11.688 35.725,-12.364c1.774,-2.333 1.988,-5.782 2.33,-9.005c-14.574,-1.899 -24.575,14.252 -40.043,9.347c-0,-0 -0.533,-6.722 -0.822,-10.512l0.021,-0c-0.105,-1.482 -0.205,-2.515 -0.205,-2.515c13.793,5.352 25.912,-4.555 37.712,-9.669c3.001,-0.898 7.681,0.659 9.027,-2.675c-0.117,-2.559 4.55,-5.551 0.665,-7.337c-17.251,-2.341 -28.711,18.466 -46.4,9.005l-1.327,-2.675c3.68,-50.275 32.034,-98.881 79.085,-122.8c19.056,-10.89 42.73,-16.441 66.605,-16.638c28.813,-0.239 57.927,7.319 79.585,22.65c21.032,12.901 41.15,34.162 52.068,55.745c10.442,18.91 15.248,40.129 16.683,62.719c-18.248,13.788 -30.49,-12.99 -49.072,-6.997c1.001,2.898 1.555,5.896 3.679,8.343c16.469,-0.116 27.81,17.128 45.049,10.332l0.015,2.513Zm-119.834,-61.231c-3.106,-6.899 -10.226,-9.691 -16.687,-11.359c-3.167,-0.39 -6.454,-0.654 -9.714,-0.685c-0.611,-0.006 -1.221,-0.014 -1.829,-0c-9.119,0.184 -17.832,2.525 -23.155,10.031c-0.764,2.119 -4.123,5.095 -1.004,6.994c7.009,-0.448 15.007,-1.327 19.679,4.688c-0,5.345 3.451,12.456 -2.331,15.015c-4.791,-4.436 -10.465,1.888 -15.678,-1.672c-2.451,-1.448 -4.002,0.242 -5.006,2.355c-1.449,13.791 5.772,29.011 18.674,36.684c5.229,1.886 12.258,3.68 17.715,1.004c13.126,-6.112 18.563,-20.12 21.007,-33.026c-0.328,-2.456 -0.211,-7.242 -3.657,-7.358c-3.891,2.461 -9.566,1.007 -13.69,-0c-2.438,0.787 -2.55,4.354 -5.325,5.03l-1.691,-1.349c-1.448,-6.109 -2.341,-14.789 3.338,-19.016c6.346,-2.559 13.799,-3.677 20.362,-1.669c1.225,-2.112 -0.666,-3.775 -1.008,-5.667Zm-34.523,36.193c-0.693,-0.323 -0.486,-0.859 -0.089,-1.405c2.33,-2.688 4.567,-0.62 6.952,-0.646c1.798,-0.054 3.78,-2.088 6.648,0.759c0.517,0.513 0.1,1.182 -0.203,1.289c-4.619,1.594 -4.237,2.132 -6.885,2.179c-2.491,-0.312 -3.271,-1.43 -6.423,-2.176Zm-4.514,7.507c8.012,1.23 16.8,-0.313 24.022,0.684c-2.659,4.002 -6.663,9.002 -12,8.685c-6.018,0.446 -7.355,-4.462 -11.702,-7.358l-0.32,-2.011Zm-15.359,-29.369c-0.222,1.44 0.111,4.007 2.331,3.015c3.454,-4.783 9.569,-0.999 13.349,-0.662l-0,-1.346c-2.074,-3.257 -6.341,-4.893 -10.674,-4.73c-1,0.035 -2.016,0.181 -2.994,0.408c-1.45,0.322 -2.459,1.649 -2.012,3.315Zm-35.382,-15.018c-11.571,-7.567 -26.241,-0.442 -37.025,3.679c-1.001,-10.128 -5.114,-19.355 -13.69,-26.029c-0.832,-0.414 -1.982,-1.285 -3.018,-1.349c-0.62,-0.039 -1.21,0.211 -1.668,1.004c3.887,23.913 -11.658,40.599 -22.674,58.739c3.668,2.998 9.561,2.55 14.01,1.669c11.678,-4.67 22.802,-12.798 36.707,-10.012c4.112,-7.008 11.021,-13.796 16.686,-19.358c3.461,-2.995 8.216,-4.897 10.672,-8.343Zm169.547,28.706c11.338,3.001 22.712,15.354 34.718,7.339c-10.456,-17.351 -26.019,-33.374 -21.691,-56.064c0.453,-1.549 -0.548,-3.117 -1.988,-3.337c-6.783,2.772 -12.036,9.455 -14.72,16.024c-1.104,3.885 -1.758,8.015 -3.313,11.677c-8.126,-4.229 -16.797,-8.326 -26.697,-7.336c-3.57,0.445 -8.688,0.679 -9.347,4.344c11.235,6.004 20.474,16.024 27.359,26.694c4.794,-0.782 10.673,-0.114 15.679,0.659Zm-38.032,-64.084c-8.234,-0.437 -15.129,4.237 -22.695,6.352c-0.659,-6.438 4.232,-13.237 5.348,-19.7c-12.233,0.787 -21.922,8.15 -32.042,14.032c-2.342,-5.659 -4.691,-11.347 -7.017,-17.027l13.349,-12.685l0.342,-1.671l-18.031,-1.004c-3.106,-5.442 -4.33,-11.997 -8.001,-17.003c-3.004,5.673 -5.022,11.677 -8.023,17.345l-18.01,1.007l-0,1.326l13.669,12.342c-1.671,6.344 -3.224,13.237 -7.336,18.032c-8.009,-4.797 -15.904,-10.018 -24.685,-13.349c-2.113,-0.682 -5.125,-1.791 -7.016,-0.342c2.777,6.12 6.666,12.703 6.012,19.383c-3.673,-0.676 -6.56,-3.031 -10.011,-4.021c-4.127,-1.126 -9.024,-3.326 -13.028,-1.988c6.676,9.339 12.125,19.113 14.01,30.352c22.147,-10.689 47.975,-16.568 74.785,-12c12.567,2 24.123,7.119 35.36,11.336c0.439,-11.785 7.892,-21.255 13.02,-30.717Zm-69.424,-6.341c5.236,3.018 10.79,6.902 15.018,11.018l-1.661,1.669c-8.343,-0.887 -17.13,0.22 -25.039,0.342c-0.882,-0.89 -2.659,-2.228 -1.004,-3.346l12.686,-9.683Zm20.99,53.375c-0.441,0.011 -0.87,0.033 -1.304,0.047c-2.331,1.555 -9.124,0.437 -6.672,5.668c4.23,-3.346 10.126,-1.001 14.353,0.662c1.563,-0.776 1.224,-2.334 1.327,-3.677c-1.357,-2.525 -4.6,-2.762 -7.704,-2.7Z"
style="fill:#007042;" />
</g>
</svg>