diff --git a/.vscode/settings.json b/.vscode/settings.json index 02fc543..90767c9 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,6 @@ { "editor.codeActionsOnSave": { - "source.fixAll.eslint": true + "source.fixAll.eslint": "explicit" }, "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnSave": true, diff --git a/README.md b/README.md index d0f3456..78cc9b5 100644 --- a/README.md +++ b/README.md @@ -80,9 +80,12 @@ yarn install 4. Go to the [**`src/data/svgs.ts`**](https://github.com/pheralb/svgl/blob/main/src/data/svgs.ts) and add the information about your logo, following the structure: +> [!IMPORTANT] +> To avoid conflicts with other svgs IDs, generate a short random number for the id: [Generate (only check 'include numbers')](https://nanoid.yuuniworks.com/). + ```json { - "id": 1, + "id": 45248, "title": "Title", "category": "Category", "route": "/library/your_logo.svg", diff --git a/src/app.html b/src/app.html index f3f9eab..dd99150 100644 --- a/src/app.html +++ b/src/app.html @@ -1,4 +1,4 @@ - + @@ -27,7 +27,10 @@ A beautiful library with SVG logos - Svgl %sveltekit.head% - +
%sveltekit.body%
diff --git a/src/data/svgs.ts b/src/data/svgs.ts index 50a871a..e226998 100644 --- a/src/data/svgs.ts +++ b/src/data/svgs.ts @@ -1596,5 +1596,152 @@ export const svgs: iSVG[] = [ category: 'Software', route: '/library/salesforce.svg', url: 'https://www.salesforce.com' + }, + { + id: 4929293, + title: 'Unreal Engine', + category: 'Software', + route: '/library/unreal_engine.svg', + url: 'https://www.unrealengine.com/' + }, + { + id: 229, + title: 'Godot Engine', + category: 'Software', + route: '/library/godot_engine.svg', + url: 'https://godotengine.org/' + }, + { + id: 230, + title: 'Datadog', + category: 'Software', + route: '/library/datadog.svg', + url: 'https://www.datadoghq.com/' + }, + { + id: 231, + title: 'Randevum', + category: 'Software', + route: '/library/randevum.svg', + url: 'https://www.randevum.co' + }, + { + id: 95775, + title: 'Affinity Designer', + category: 'Design', + route: '/library/affinity_designer.svg', + url: 'https://affinity.serif.com/en-us/designer/' + }, + { + id: 44448, + title: 'Affinity Photo', + category: 'Software', + route: '/library/affinity_photo.svg', + url: 'https://affinity.serif.com/en-us/photo/' + }, + { + id: 39170, + title: 'Affinity Publisher', + category: 'Software', + route: '/library/affinity_publisher.svg', + url: 'https://affinity.serif.com/en-us/publisher/' + }, + { + id: 24525, + title: 'Roblox', + category: 'Software', + route: '/library/roblox.svg', + url: 'https://www.roblox.com/' + }, + { + id: 68067, + title: 'Stately.ai', + category: 'Software', + route: '/library/stately.svg', + url: 'https://stately.ai/' + }, + { + id: 68068, + title: 'XState', + category: 'Library', + route: '/library/xstate.svg', + url: 'https://github.com/statelyai/xstate' + }, + { + id: 232, + title: 'Hashnode', + category: 'Social', + route: '/library/hashnode.svg', + url: 'https://hashnode.com' + }, + { + id: 69114, + title: 'Rowy', + category: 'CMS', + route: '/library/rowy.svg', + url: 'https://www.rowy.io/' + }, + { + id: 12251, + title: 'BuildShip', + category: 'AI', + route: '/library/buildship.svg', + url: 'https://buildship.com/' + }, + { + id: 246480685059147554972, + title: 'Cal.com', + category: 'Software', + route: '/library/cal.svg', + url: 'https://cal.com' + }, + { + id: 706747866206488963651, + title: 'SST', + category: 'Framework', + route: '/library/sst.svg', + url: 'https://sst.dev/' + }, + { + id: 2342453, + title: 'Documenso', + category: 'Software', + route: '/library/documenso.svg', + url: 'https://documenso.com' + }, + { + id: 233, + title: 'Instatus', + category: 'Software', + route: '/library/instatus.svg', + url: 'https://instatus.com' + }, + { + id: 6676113873388621, + title: 'Front', + category: 'Software', + route: '/library/front.svg', + url: 'https://front.com' + }, + { + id: 775133760594, + title: 'Axiom', + category: 'Software', + route: '/library/axiom.svg', + url: 'https://axiom.co/' + }, + { + id: 382900874177765, + title: 'ArtisanLabs', + category: 'Software', + route: '/library/ArtisanLabs.svg', + url: 'https://artisanlabs.io' + }, + { + id: 14839, + title: 'Django', + category: 'Framework', + route: '/library/django.svg', + url: 'https://www.djangoproject.com/' } ]; diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index b5b4d0b..4f3f2d4 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -28,7 +28,7 @@ import Theme from '@/components/theme.svelte'; -
+