mirror of
https://github.com/pheralb/svgl.git
synced 2024-12-05 05:42:35 +08:00
Merge pull request #404 from Pyr33x/main
feat: back with some little things 😄
This commit is contained in:
commit
1093b962cd
@ -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}
|
||||||
|
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user