diff --git a/src/components/cardSpotlight.svelte b/src/components/cardSpotlight.svelte index 9c9334d..f72ce06 100644 --- a/src/components/cardSpotlight.svelte +++ b/src/components/cardSpotlight.svelte @@ -45,7 +45,7 @@ class="relative flex items-center justify-center overflow-hidden rounded-md border border-neutral-200 dark:border-neutral-800 bg-white dark:bg-neutral-900" >
{/if} diff --git a/src/components/search.svelte b/src/components/search.svelte index c3446a5..b13faba 100644 --- a/src/components/search.svelte +++ b/src/components/search.svelte @@ -5,17 +5,8 @@ export let clearSearch: () => void; import X from 'phosphor-svelte/lib/X'; - let shortcutText: string = ''; let inputElement; - if (typeof window !== 'undefined') { - if (navigator.platform.toUpperCase().indexOf('MAC') !== -1) { - shortcutText = 'command'; - } else { - shortcutText = 'control'; - } - } - function focusInput(node: HTMLElement) { const handleKeydown = (event: KeyboardEvent) => { if ((event.metaKey || event.ctrlKey) && event.key === 'k') { diff --git a/src/components/svgCard.svelte b/src/components/svgCard.svelte index e9b9102..6e3fd46 100644 --- a/src/components/svgCard.svelte +++ b/src/components/svgCard.svelte @@ -263,6 +263,7 @@ href={svgInfo.url} title="Website" target="_blank" + rel="noopener noreferrer" class="flex items-center space-x-2 rounded-md p-2 duration-100 hover:bg-neutral-200 dark:hover:bg-neutral-700/40" > diff --git a/src/data/svgs.ts b/src/data/svgs.ts index ff035d9..585ef49 100644 --- a/src/data/svgs.ts +++ b/src/data/svgs.ts @@ -76,6 +76,12 @@ export const svgs: iSVG[] = [ route: '/library/ton.svg', url: 'https://ton.org/' }, + { + title: 'Locofy', + category: 'AI', + route: '/library/locofy.svg', + url: 'https://www.locofy.ai/' + }, { title: 'Runway', category: 'AI', @@ -136,6 +142,12 @@ export const svgs: iSVG[] = [ route: '/library/postman.svg', url: 'https://www.getpostman.com/' }, + { + title: 'Discord.js', + category: 'Library', + route: '/library/djs.svg', + url: 'https://discord.js.org/' + }, { title: 'OpenSea', category: 'Crypto', @@ -688,6 +700,12 @@ export const svgs: iSVG[] = [ route: '/library/flutter.svg', url: 'https://flutter.dev/' }, + { + title: 'Auth0', + category: 'Library', + route: '/library/auth0.svg', + url: 'https://auth0.com/' + }, { title: 'Fresh', category: 'Framework', @@ -1918,7 +1936,10 @@ export const svgs: iSVG[] = [ { title: 'Shopify', category: 'CMS', - route: '/library/shopify.svg', + route: { + dark: '/library/shopify_dark.svg', + light: '/library/shopify_light.svg' + }, url: 'https://www.shopify.com' }, { diff --git a/static/library/auth0.svg b/static/library/auth0.svg new file mode 100644 index 0000000..61ed78e --- /dev/null +++ b/static/library/auth0.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/library/djs.svg b/static/library/djs.svg new file mode 100644 index 0000000..9579468 --- /dev/null +++ b/static/library/djs.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/static/library/locofy.svg b/static/library/locofy.svg new file mode 100644 index 0000000..d05a202 --- /dev/null +++ b/static/library/locofy.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/library/shopify_dark.svg b/static/library/shopify_dark.svg new file mode 100644 index 0000000..f8bf62f --- /dev/null +++ b/static/library/shopify_dark.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/static/library/shopify.svg b/static/library/shopify_light.svg similarity index 100% rename from static/library/shopify.svg rename to static/library/shopify_light.svg