Enhance logo search and display functionality

- Updated logo filtering to include title in search criteria across multiple components.
- Modified CardFull, CardMiddle, CardSmall, and CardTiny components to display title or name as appropriate.
- Added support for displaying logo variants in CardFull component.
- Improved logo retrieval logic in Preview page to account for title matching.
This commit is contained in:
sha
2025-06-12 18:23:42 +03:00
parent de3c5dc52b
commit d88c5b802d
8 changed files with 557 additions and 245 deletions
+3 -3
View File
@@ -51,16 +51,16 @@
sets={logo.sets}
colors={logo.colors}
activeSet={logo._activeSet}
alt={logo.name}
alt={logo.title || logo.name}
/>
{/key}
{:else}
<img src={logo.path} alt={logo.name} />
<img src={logo.path} alt={logo.title || logo.name}/>
{/if}
</div>
<div class="logo-info">
<div class="logo-title-row">
<h3>{logo.name}</h3>
<h3>{logo.title || logo.name}</h3>
{#if logo.brand}
<button
class="brand-filter-btn"