From 6470e39d03cf90615b4a4806bdc77db98c23ccbc Mon Sep 17 00:00:00 2001 From: Miguel Vega Date: Mon, 18 Nov 2024 13:19:54 -0500 Subject: [PATCH 01/15] =?UTF-8?q?=F0=9F=93=A6=20Add=20SoundCloud=20SVG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/data/svgs.ts | 13 +++++++++++++ static/library/soundcloud-logo.svg | 1 + static/library/soundcloud-logo_dark.svg | 1 + static/library/soundcloud-wordmark.svg | 1 + static/library/soundcloud-wordmark_dark.svg | 1 + 5 files changed, 17 insertions(+) create mode 100644 static/library/soundcloud-logo.svg create mode 100644 static/library/soundcloud-logo_dark.svg create mode 100644 static/library/soundcloud-wordmark.svg create mode 100644 static/library/soundcloud-wordmark_dark.svg diff --git a/src/data/svgs.ts b/src/data/svgs.ts index 45cf107..4e5b856 100644 --- a/src/data/svgs.ts +++ b/src/data/svgs.ts @@ -3048,5 +3048,18 @@ export const svgs: iSVG[] = [ dark: '/library/polar-sh_dark.svg' }, url: 'https://polar.sh/' + }, + { + title: 'SoundCloud', + category: 'Entertainment', + route: { + light: '/library/soundcloud-logo.svg', + dark: '/library/soundcloud-logo_dark.svg' + }, + wordmark: { + light: '/library/soundcloud-wordmark.svg', + dark: 'library/soundcloud-wordmark_dark.svg' + }, + url: 'https://trpc.io/' } ]; diff --git a/static/library/soundcloud-logo.svg b/static/library/soundcloud-logo.svg new file mode 100644 index 0000000..f8f4cec --- /dev/null +++ b/static/library/soundcloud-logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/library/soundcloud-logo_dark.svg b/static/library/soundcloud-logo_dark.svg new file mode 100644 index 0000000..4014e90 --- /dev/null +++ b/static/library/soundcloud-logo_dark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/library/soundcloud-wordmark.svg b/static/library/soundcloud-wordmark.svg new file mode 100644 index 0000000..43c05a2 --- /dev/null +++ b/static/library/soundcloud-wordmark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/library/soundcloud-wordmark_dark.svg b/static/library/soundcloud-wordmark_dark.svg new file mode 100644 index 0000000..2bd0c89 --- /dev/null +++ b/static/library/soundcloud-wordmark_dark.svg @@ -0,0 +1 @@ + \ No newline at end of file From 2942e2685287e68bd0c2ac5957028e5f23c35cd6 Mon Sep 17 00:00:00 2001 From: Miguel Vega Date: Mon, 18 Nov 2024 13:21:31 -0500 Subject: [PATCH 02/15] fixed soundcloud site url --- src/data/svgs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/svgs.ts b/src/data/svgs.ts index 4e5b856..94c4f7d 100644 --- a/src/data/svgs.ts +++ b/src/data/svgs.ts @@ -3060,6 +3060,6 @@ export const svgs: iSVG[] = [ light: '/library/soundcloud-wordmark.svg', dark: 'library/soundcloud-wordmark_dark.svg' }, - url: 'https://trpc.io/' + url: 'https://soundcloud.com/' } ]; From cfed6ddfc9b3f76d98beaf18d3c12f6d493a7fdb Mon Sep 17 00:00:00 2001 From: Miguel Vega Date: Mon, 18 Nov 2024 18:11:36 -0500 Subject: [PATCH 03/15] =?UTF-8?q?=F0=9F=93=A6=20Add=20JSON=20SVG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/data/svgs.ts | 6 ++++++ static/library/json.svg | 1 + 2 files changed, 7 insertions(+) create mode 100644 static/library/json.svg diff --git a/src/data/svgs.ts b/src/data/svgs.ts index 45cf107..bb23031 100644 --- a/src/data/svgs.ts +++ b/src/data/svgs.ts @@ -3048,5 +3048,11 @@ export const svgs: iSVG[] = [ dark: '/library/polar-sh_dark.svg' }, url: 'https://polar.sh/' + }, + { + title: 'JSON', + category: 'Language', + route: '/library/json.svg', + url: 'https://json.org/' } ]; diff --git a/static/library/json.svg b/static/library/json.svg new file mode 100644 index 0000000..d334daa --- /dev/null +++ b/static/library/json.svg @@ -0,0 +1 @@ + \ No newline at end of file From c8b840fe39933a064d52df3f4d35cdb329c62b51 Mon Sep 17 00:00:00 2001 From: Miguel Vega Date: Mon, 18 Nov 2024 19:45:15 -0500 Subject: [PATCH 04/15] =?UTF-8?q?=F0=9F=93=A6=20Update=20AWS=20SVGs=20for?= =?UTF-8?q?=20light=20and=20dark=20mode=20support?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/data/svgs.ts | 5 ++++- static/library/aws.svg | 8 -------- static/library/aws_dark.svg | 1 + static/library/aws_light.svg | 1 + 4 files changed, 6 insertions(+), 9 deletions(-) delete mode 100644 static/library/aws.svg create mode 100644 static/library/aws_dark.svg create mode 100644 static/library/aws_light.svg diff --git a/src/data/svgs.ts b/src/data/svgs.ts index 45cf107..155ac43 100644 --- a/src/data/svgs.ts +++ b/src/data/svgs.ts @@ -736,7 +736,10 @@ export const svgs: iSVG[] = [ { title: 'Amazon Web Services', category: 'Software', - route: '/library/aws.svg', + route: { + light: '/library/aws_light.svg', + dark: '/library/aws_dark.svg' + }, url: 'https://aws.amazon.com/' }, { diff --git a/static/library/aws.svg b/static/library/aws.svg deleted file mode 100644 index aa22f43..0000000 --- a/static/library/aws.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - diff --git a/static/library/aws_dark.svg b/static/library/aws_dark.svg new file mode 100644 index 0000000..25ea3b0 --- /dev/null +++ b/static/library/aws_dark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/library/aws_light.svg b/static/library/aws_light.svg new file mode 100644 index 0000000..b2d9005 --- /dev/null +++ b/static/library/aws_light.svg @@ -0,0 +1 @@ + \ No newline at end of file From f2f5e2d56cf7b6664dd66243172e405bd944edae Mon Sep 17 00:00:00 2001 From: Miguel Vega Date: Mon, 18 Nov 2024 21:16:27 -0500 Subject: [PATCH 05/15] =?UTF-8?q?=F0=9F=93=A6=20Add=20PostHog=20SVG=20and?= =?UTF-8?q?=20wordmark=20for=20light/dark=20mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/data/svgs.ts | 10 ++++++++++ static/library/posthog-wordmark.svg | 1 + static/library/posthog-wordmark_dark.svg | 1 + static/library/posthog.svg | 1 + 4 files changed, 13 insertions(+) create mode 100644 static/library/posthog-wordmark.svg create mode 100644 static/library/posthog-wordmark_dark.svg create mode 100644 static/library/posthog.svg diff --git a/src/data/svgs.ts b/src/data/svgs.ts index 45cf107..1cef71c 100644 --- a/src/data/svgs.ts +++ b/src/data/svgs.ts @@ -3048,5 +3048,15 @@ export const svgs: iSVG[] = [ dark: '/library/polar-sh_dark.svg' }, url: 'https://polar.sh/' + }, + { + title: 'PostHog', + category: 'Devtool', + route: '/library/posthog.svg', + wordmark: { + light: '/library/posthog-wordmark.svg', + dark: '/library/posthog-wordmark_dark.svg' + }, + url: 'https://posthog.com/' } ]; diff --git a/static/library/posthog-wordmark.svg b/static/library/posthog-wordmark.svg new file mode 100644 index 0000000..ec55c78 --- /dev/null +++ b/static/library/posthog-wordmark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/library/posthog-wordmark_dark.svg b/static/library/posthog-wordmark_dark.svg new file mode 100644 index 0000000..0ed6861 --- /dev/null +++ b/static/library/posthog-wordmark_dark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/library/posthog.svg b/static/library/posthog.svg new file mode 100644 index 0000000..8a3fcab --- /dev/null +++ b/static/library/posthog.svg @@ -0,0 +1 @@ + \ No newline at end of file From 446224874d167e5c0104cd817478c043234881f9 Mon Sep 17 00:00:00 2001 From: Miguel Vega Date: Mon, 18 Nov 2024 21:47:39 -0500 Subject: [PATCH 06/15] =?UTF-8?q?=F0=9F=93=A6=20Add=20nuqs=20SVG=20and=20w?= =?UTF-8?q?ordmark=20for=20light/dark=20modes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/data/svgs.ts | 13 +++++++++++++ static/library/nuqs-wordmark.svg | 1 + static/library/nuqs-wordmark_dark.svg | 1 + static/library/nuqs.svg | 1 + static/library/nuqs_dark.svg | 1 + 5 files changed, 17 insertions(+) create mode 100644 static/library/nuqs-wordmark.svg create mode 100644 static/library/nuqs-wordmark_dark.svg create mode 100644 static/library/nuqs.svg create mode 100644 static/library/nuqs_dark.svg diff --git a/src/data/svgs.ts b/src/data/svgs.ts index 45cf107..d3fd579 100644 --- a/src/data/svgs.ts +++ b/src/data/svgs.ts @@ -3048,5 +3048,18 @@ export const svgs: iSVG[] = [ dark: '/library/polar-sh_dark.svg' }, url: 'https://polar.sh/' + }, + { + title: 'nuqs', + category: 'Library', + route: { + light: '/library/nuqs.svg', + dark: '/library/nuqs_dark.svg' + }, + wordmark: { + light: '/library/nuqs-wordmark.svg', + dark: '/library/nuqs-wordmark_dark.svg' + }, + url: 'https://nuqs.47ng.com/' } ]; diff --git a/static/library/nuqs-wordmark.svg b/static/library/nuqs-wordmark.svg new file mode 100644 index 0000000..1c52695 --- /dev/null +++ b/static/library/nuqs-wordmark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/library/nuqs-wordmark_dark.svg b/static/library/nuqs-wordmark_dark.svg new file mode 100644 index 0000000..e1f1e7b --- /dev/null +++ b/static/library/nuqs-wordmark_dark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/library/nuqs.svg b/static/library/nuqs.svg new file mode 100644 index 0000000..5824bb5 --- /dev/null +++ b/static/library/nuqs.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/library/nuqs_dark.svg b/static/library/nuqs_dark.svg new file mode 100644 index 0000000..10335d2 --- /dev/null +++ b/static/library/nuqs_dark.svg @@ -0,0 +1 @@ + \ No newline at end of file From da2ad983390e0f22b2b94d0f437758fc2f1c3ea5 Mon Sep 17 00:00:00 2001 From: ridemountainpig Date: Sun, 24 Nov 2024 21:57:10 +0800 Subject: [PATCH 07/15] feat: add Authentication category & clerk logo --- src/data/svgs.ts | 16 +++++++++++----- src/types/categories.ts | 3 ++- static/library/clerk.svg | 17 +++++++++++++++++ 3 files changed, 30 insertions(+), 6 deletions(-) create mode 100644 static/library/clerk.svg diff --git a/src/data/svgs.ts b/src/data/svgs.ts index fb9cbb0..10d2fae 100644 --- a/src/data/svgs.ts +++ b/src/data/svgs.ts @@ -214,7 +214,7 @@ export const svgs: iSVG[] = [ }, { title: 'JWT', - category: 'Library', + category: ['Library', 'Authentication'], route: '/library/jwt.svg', url: 'https://jwt.io/' }, @@ -239,7 +239,7 @@ export const svgs: iSVG[] = [ }, { title: 'WorkOS', - category: 'Software', + category: ['Software', 'Authentication'], route: { light: '/library/workos.svg', dark: '/library/workos-light.svg' @@ -575,7 +575,7 @@ export const svgs: iSVG[] = [ }, { title: 'Twilio', - category: 'Software', + category: ['Software', 'Authentication'], route: '/library/twilio.svg', url: 'https://twilio.com' }, @@ -615,7 +615,7 @@ export const svgs: iSVG[] = [ }, { title: 'Authy', - category: 'Software', + category: ['Software', 'Authentication'], route: '/library/authy.svg', url: 'https://authy.com/' }, @@ -810,7 +810,7 @@ export const svgs: iSVG[] = [ }, { title: 'Auth0', - category: 'Library', + category: ['Library', 'Authentication'], route: '/library/auth0.svg', url: 'https://auth0.com/' }, @@ -3074,5 +3074,11 @@ export const svgs: iSVG[] = [ dark: 'library/soundcloud-wordmark_dark.svg' }, url: 'https://soundcloud.com/' + }, + { + title: 'Clerk', + category: ['Software', 'Authentication'], + route: '/library/clerk.svg', + url: 'https://clerk.com/' } ]; diff --git a/src/types/categories.ts b/src/types/categories.ts index cbb184a..02fc2a1 100644 --- a/src/types/categories.ts +++ b/src/types/categories.ts @@ -25,4 +25,5 @@ export type tCategory = | 'Vercel' | 'Google' | 'Payment' - | 'void(0)'; + | 'void(0)' + | 'Authentication'; diff --git a/static/library/clerk.svg b/static/library/clerk.svg new file mode 100644 index 0000000..f28de43 --- /dev/null +++ b/static/library/clerk.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + From 96a48d757e3680137bc178431049ad1d5ea888f5 Mon Sep 17 00:00:00 2001 From: yen-cheng Date: Mon, 25 Nov 2024 19:59:53 +0800 Subject: [PATCH 08/15] feat: update clerk SVG --- src/data/svgs.ts | 5 ++++- static/library/clerk-dark.svg | 6 ++++++ static/library/clerk-light.svg | 6 ++++++ static/library/clerk.svg | 17 ----------------- 4 files changed, 16 insertions(+), 18 deletions(-) create mode 100644 static/library/clerk-dark.svg create mode 100644 static/library/clerk-light.svg delete mode 100644 static/library/clerk.svg diff --git a/src/data/svgs.ts b/src/data/svgs.ts index 10d2fae..f2993c1 100644 --- a/src/data/svgs.ts +++ b/src/data/svgs.ts @@ -3078,7 +3078,10 @@ export const svgs: iSVG[] = [ { title: 'Clerk', category: ['Software', 'Authentication'], - route: '/library/clerk.svg', + route: { + light: '/library/clerk-light.svg', + dark: '/library/clerk-dark.svg' + }, url: 'https://clerk.com/' } ]; diff --git a/static/library/clerk-dark.svg b/static/library/clerk-dark.svg new file mode 100644 index 0000000..4b66bd3 --- /dev/null +++ b/static/library/clerk-dark.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/static/library/clerk-light.svg b/static/library/clerk-light.svg new file mode 100644 index 0000000..294837b --- /dev/null +++ b/static/library/clerk-light.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/static/library/clerk.svg b/static/library/clerk.svg deleted file mode 100644 index f28de43..0000000 --- a/static/library/clerk.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - From d24b70001d15c18cce5cf7b7c6bc4f451e200a96 Mon Sep 17 00:00:00 2001 From: pheralb Date: Tue, 3 Dec 2024 12:44:54 +0000 Subject: [PATCH 09/15] =?UTF-8?q?=F0=9F=93=A6=20Add=20Mermaid=20SVG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/data/svgs.ts | 9 +++++++++ static/library/mermaid-logo-dark.svg | 1 + static/library/mermaid-logo-light.svg | 1 + 3 files changed, 11 insertions(+) create mode 100644 static/library/mermaid-logo-dark.svg create mode 100644 static/library/mermaid-logo-light.svg diff --git a/src/data/svgs.ts b/src/data/svgs.ts index f2993c1..76e9f30 100644 --- a/src/data/svgs.ts +++ b/src/data/svgs.ts @@ -3083,5 +3083,14 @@ export const svgs: iSVG[] = [ dark: '/library/clerk-dark.svg' }, url: 'https://clerk.com/' + }, + { + title: 'Mermaid', + category: ['Library'], + route: { + light: '/library/mermaid-logo-light.svg', + dark: '/library/mermaid-logo-dark.svg' + }, + url: 'https://mermaid.js.org/' } ]; diff --git a/static/library/mermaid-logo-dark.svg b/static/library/mermaid-logo-dark.svg new file mode 100644 index 0000000..23ff457 --- /dev/null +++ b/static/library/mermaid-logo-dark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/library/mermaid-logo-light.svg b/static/library/mermaid-logo-light.svg new file mode 100644 index 0000000..1af8d88 --- /dev/null +++ b/static/library/mermaid-logo-light.svg @@ -0,0 +1 @@ + \ No newline at end of file From e135bb85704b990e5b3c42b34a6ed24f6ad84766 Mon Sep 17 00:00:00 2001 From: rperez Date: Wed, 4 Dec 2024 18:08:28 +0000 Subject: [PATCH 10/15] feat(copy-svg): add functionality to copy SVG as a fully functional Angular standalone component --- src/components/copySvg.svelte | 43 +++++++++++++++++++++++ src/components/icons/angularIcon.svelte | 46 +++++++++++++++++++++++++ src/ui/tabs/tabs-list.svelte | 2 +- src/utils/generateAngularComponent.ts | 28 +++++++++++++++ 4 files changed, 118 insertions(+), 1 deletion(-) create mode 100644 src/components/icons/angularIcon.svelte create mode 100644 src/utils/generateAngularComponent.ts diff --git a/src/components/copySvg.svelte b/src/components/copySvg.svelte index 80f0746..4f3ecaa 100644 --- a/src/components/copySvg.svelte +++ b/src/components/copySvg.svelte @@ -15,11 +15,13 @@ import { buttonStyles } from '@/ui/styles'; import { cn } from '@/utils/cn'; import { componentTemplate } from '@/utils/componentTemplate'; + import { generateAngularComponent } from '@/utils/generateAngularComponent'; //Icons: import ReactIcon from './icons/reactIcon.svelte'; import VueIcon from './icons/vueIcon.svelte'; import SvelteIcon from './icons/svelteIcon.svelte'; + import AngularIcon from './icons/angularIcon.svelte'; // Props: export let iconSize = 24; @@ -163,6 +165,33 @@ toast.error(`Failed to copy ${framework} component`); } }; + + // Copy SVG as Standalone Angular component: + const convertSvgAngularComponent = async () => { + isLoading = true; + optionsOpen = false; + + const title = svgInfo.title.split(' ').join(''); + const svgUrlToCopy = getSvgUrl(); + const content = await getSvgContent(svgUrlToCopy); + + if (!content) { + toast.error('Failed to fetch the SVG content', { + duration: 5000 + }); + isLoading = false; + return; + } + + const angularComponent = generateAngularComponent(content, title); + await clipboard(angularComponent); + + toast.success(`Copied as Standalone Angular component`, { + description: `${svgInfo.title} - ${svgInfo.category}` + }); + + isLoading = false; + }; (optionsOpen = isOpen)}> @@ -185,6 +214,7 @@ React Vue Svelte + Angular
@@ -265,6 +295,19 @@
+ +
+ +
+
diff --git a/src/components/icons/angularIcon.svelte b/src/components/icons/angularIcon.svelte new file mode 100644 index 0000000..361850a --- /dev/null +++ b/src/components/icons/angularIcon.svelte @@ -0,0 +1,46 @@ + + + + + diff --git a/src/ui/tabs/tabs-list.svelte b/src/ui/tabs/tabs-list.svelte index f3c0672..bacbcf4 100644 --- a/src/ui/tabs/tabs-list.svelte +++ b/src/ui/tabs/tabs-list.svelte @@ -9,7 +9,7 @@ diff --git a/src/utils/generateAngularComponent.ts b/src/utils/generateAngularComponent.ts new file mode 100644 index 0000000..1644c88 --- /dev/null +++ b/src/utils/generateAngularComponent.ts @@ -0,0 +1,28 @@ +export function generateAngularComponent(svgContent: string, componentName: string): string { + const updatedSvgContent = svgContent.replace( + /]*)>/, + `` + ); + + return ` +/** + * ------------------------------------------------------------------------- + * This Angular standalone component was generated by svgl.app + * 🧩 A beautiful library with SVG logos + * ------------------------------------------------------------------------- + */ + +import { Component, Input } from '@angular/core'; + +@Component({ + selector: 'svg-${componentName}', + standalone: true, + template: \` + ${updatedSvgContent.trim()} + \`, +}) +export class ${componentName}Component { + @Input({ required: true }) size: { width: number; height: number }; +} +`; +} From 4d7f0347bcc6b8891fc5f00b92dcaa1c54141d57 Mon Sep 17 00:00:00 2001 From: rperez Date: Thu, 5 Dec 2024 08:58:48 +0000 Subject: [PATCH 11/15] feat: add Home Assistant logos and wordmarks --- static/library/home-assistant-wordmark-dark.svg | 1 + static/library/home-assistant-wordmark.svg | 1 + static/library/home-assistant.svg | 1 + 3 files changed, 3 insertions(+) create mode 100644 static/library/home-assistant-wordmark-dark.svg create mode 100644 static/library/home-assistant-wordmark.svg create mode 100644 static/library/home-assistant.svg diff --git a/static/library/home-assistant-wordmark-dark.svg b/static/library/home-assistant-wordmark-dark.svg new file mode 100644 index 0000000..f4ab146 --- /dev/null +++ b/static/library/home-assistant-wordmark-dark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/library/home-assistant-wordmark.svg b/static/library/home-assistant-wordmark.svg new file mode 100644 index 0000000..4fcb416 --- /dev/null +++ b/static/library/home-assistant-wordmark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/library/home-assistant.svg b/static/library/home-assistant.svg new file mode 100644 index 0000000..f7ffe8b --- /dev/null +++ b/static/library/home-assistant.svg @@ -0,0 +1 @@ + \ No newline at end of file From 02c9136551139cabda4c932f33c09f9f39eb2d98 Mon Sep 17 00:00:00 2001 From: rperez Date: Thu, 5 Dec 2024 09:02:05 +0000 Subject: [PATCH 12/15] feat(svgs.ts, categories.ts): add new categories (IoT & Home Automation) and Home Assistant SVG data --- src/data/svgs.ts | 10 ++++++++++ src/types/categories.ts | 4 +++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/data/svgs.ts b/src/data/svgs.ts index 76e9f30..5258af6 100644 --- a/src/data/svgs.ts +++ b/src/data/svgs.ts @@ -3092,5 +3092,15 @@ export const svgs: iSVG[] = [ dark: '/library/mermaid-logo-dark.svg' }, url: 'https://mermaid.js.org/' + }, + { + title: 'Home Assistant', + category: ['IoT', 'Home Automation', 'Software'], + route: '/library/home-assistant.svg', + wordmark: { + light: '/library/home-assistant-wordmark.svg', + dark: '/library/home-assistant-wordmark-dark.svg' + }, + url: 'https://github.com/home-assistant/assets/tree/master/logo' } ]; diff --git a/src/types/categories.ts b/src/types/categories.ts index 02fc2a1..51ceba1 100644 --- a/src/types/categories.ts +++ b/src/types/categories.ts @@ -26,4 +26,6 @@ export type tCategory = | 'Google' | 'Payment' | 'void(0)' - | 'Authentication'; + | 'Authentication' + | 'IoT' + | 'Home Automation'; From 52353a421d54bf15ab4eba38fbea90999f1150b0 Mon Sep 17 00:00:00 2001 From: Felix Icaza Date: Thu, 5 Dec 2024 20:58:30 -0600 Subject: [PATCH 13/15] feat: add new SVGs for UXAnaRangel and UXCorpRangel --- src/data/svgs.ts | 15 +++++++++++++++ static/library/uxanarangel.svg | 1 + static/library/uxcorprangel-dark.svg | 1 + static/library/uxcorprangel-light.svg | 1 + 4 files changed, 18 insertions(+) create mode 100644 static/library/uxanarangel.svg create mode 100644 static/library/uxcorprangel-dark.svg create mode 100644 static/library/uxcorprangel-light.svg diff --git a/src/data/svgs.ts b/src/data/svgs.ts index 76e9f30..64d6652 100644 --- a/src/data/svgs.ts +++ b/src/data/svgs.ts @@ -3092,5 +3092,20 @@ export const svgs: iSVG[] = [ dark: '/library/mermaid-logo-dark.svg' }, url: 'https://mermaid.js.org/' + }, + { + title: 'UXAnaRangel', + category: ['Community'], + route: '/library/uxanarangel.svg', + url: 'https://uxanarangel.com/' + }, + { + title: 'UXCorpRangel', + category: ['Community'], + route: { + light: '/library/uxcorprangel-light.svg', + dark: '/library/uxcorprangel-dark.svg' + }, + url: 'https://github.com/UXCorpRangel/' } ]; diff --git a/static/library/uxanarangel.svg b/static/library/uxanarangel.svg new file mode 100644 index 0000000..19b463c --- /dev/null +++ b/static/library/uxanarangel.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/library/uxcorprangel-dark.svg b/static/library/uxcorprangel-dark.svg new file mode 100644 index 0000000..7ee9022 --- /dev/null +++ b/static/library/uxcorprangel-dark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/library/uxcorprangel-light.svg b/static/library/uxcorprangel-light.svg new file mode 100644 index 0000000..3e4a0c9 --- /dev/null +++ b/static/library/uxcorprangel-light.svg @@ -0,0 +1 @@ + \ No newline at end of file From ecd6eb5ab29e403a3bd50ec9e2bcc5ab183bec8b Mon Sep 17 00:00:00 2001 From: Felix Icaza Date: Fri, 6 Dec 2024 09:46:38 -0600 Subject: [PATCH 14/15] feat: update UxAnaRangel route to support light and dark variants and create logos --- src/data/svgs.ts | 5 ++++- static/library/{uxanarangel.svg => uxanarangel-dark.svg} | 0 static/library/uxanarangel-light.svg | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) rename static/library/{uxanarangel.svg => uxanarangel-dark.svg} (100%) create mode 100644 static/library/uxanarangel-light.svg diff --git a/src/data/svgs.ts b/src/data/svgs.ts index ba3147d..3a4932f 100644 --- a/src/data/svgs.ts +++ b/src/data/svgs.ts @@ -3106,7 +3106,10 @@ export const svgs: iSVG[] = [ { title: 'UXAnaRangel', category: ['Community'], - route: '/library/uxanarangel.svg', + route: { + light: '/library/uxanarangel-light.svg', + dark: '/library/uxanarangel-dark.svg' + }, url: 'https://uxanarangel.com/' }, { diff --git a/static/library/uxanarangel.svg b/static/library/uxanarangel-dark.svg similarity index 100% rename from static/library/uxanarangel.svg rename to static/library/uxanarangel-dark.svg diff --git a/static/library/uxanarangel-light.svg b/static/library/uxanarangel-light.svg new file mode 100644 index 0000000..dad5e79 --- /dev/null +++ b/static/library/uxanarangel-light.svg @@ -0,0 +1 @@ + \ No newline at end of file From fae86d406601e2d5eba33491ded95ce6aa92b69e Mon Sep 17 00:00:00 2001 From: pheralb Date: Mon, 9 Dec 2024 18:09:28 +0000 Subject: [PATCH 15/15] =?UTF-8?q?=F0=9F=93=A6=20Add=20old=20CSS=20svg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/data/svgs.ts | 8 +++++++- static/library/css_old.svg | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 static/library/css_old.svg diff --git a/src/data/svgs.ts b/src/data/svgs.ts index 042d098..ca31efd 100644 --- a/src/data/svgs.ts +++ b/src/data/svgs.ts @@ -1073,11 +1073,17 @@ export const svgs: iSVG[] = [ url: 'https://es.wikipedia.org/wiki/HTML5' }, { - title: 'CSS', + title: 'CSS (New)', category: 'Language', route: '/library/css.svg', url: 'https://es.wikipedia.org/wiki/CSS' }, + { + title: 'CSS', + category: 'Language', + route: '/library/css_old.svg', + url: 'https://es.wikipedia.org/wiki/CSS' + }, { title: 'midudev', category: 'Community', diff --git a/static/library/css_old.svg b/static/library/css_old.svg new file mode 100644 index 0000000..c2f6209 --- /dev/null +++ b/static/library/css_old.svg @@ -0,0 +1 @@ + \ No newline at end of file