Merge pull request #404 from Pyr33x/main
Some checks are pending
⚙️ Check app / vitest (push) Waiting to run
⚙️ Check app / svgs-size (push) Waiting to run
🚀 Deploy API / Deploy (push) Waiting to run

feat: back with some little things 😄
This commit is contained in:
Pablo Hdez 2024-09-08 13:42:14 +01:00 committed by GitHub
commit 1093b962cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 8 deletions

View File

@ -102,7 +102,11 @@
<div class="flex items-center space-x-1 justify-center">
{#if Array.isArray(svgInfo.category)}
{#each svgInfo.category.slice(0, maxVisibleCategories) as c, index}
<a href={`/directory/${c.toLowerCase()}`} class={badgeStyles}>{c}</a>
<a
href={`/directory/${c.toLowerCase()}`}
class={badgeStyles}
title={`This icon is part of the ${svgInfo.category} category`}>{c}</a
>
{/each}
{#if svgInfo.category.length > maxVisibleCategories}

View File

@ -2010,7 +2010,7 @@ export const svgs: iSVG[] = [
},
{
title: 'Stripe',
category: 'Software',
category: ['Software', 'Payment'],
route: '/library/stripe.svg',
url: 'https://stripe.com/'
},
@ -2508,12 +2508,6 @@ export const svgs: iSVG[] = [
},
url: 'https://www.markdownguide.org/'
},
{
title: 'Movie Web',
category: 'Entertainment',
route: '/library/movie-web.svg',
url: 'https://movie-web.app/'
},
{
title: 'Radix UI',
category: 'Library',