Compare commits

...

4 Commits

Author SHA1 Message Date
Pablo Hdez
1093b962cd
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 😄
2024-09-08 13:42:14 +01:00
pyr33x
3fefbf4bbb just in case for screen readers 2024-09-07 21:42:27 +03:30
pyr33x
7ac4fca29d it's not active anymore 2024-09-07 21:34:04 +03:30
pyr33x
34839ed492 chore: add stripe to payment category 2024-09-07 21:27:15 +03:30
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',