mirror of
https://github.com/shadoll/sLogos.git
synced 2026-08-28 11:33:29 +00:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user