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"> <div class="flex items-center space-x-1 justify-center">
{#if Array.isArray(svgInfo.category)} {#if Array.isArray(svgInfo.category)}
{#each svgInfo.category.slice(0, maxVisibleCategories) as c, index} {#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} {/each}
{#if svgInfo.category.length > maxVisibleCategories} {#if svgInfo.category.length > maxVisibleCategories}

View File

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