From 78b91206b08ffbcd6c1cff71e0f6c2fba26cfd25 Mon Sep 17 00:00:00 2001 From: pheralb Date: Sun, 17 Dec 2023 21:55:43 +0000 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=8E=A8=20Update=20notFound=20with=20n?= =?UTF-8?q?ew=20design.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/notFound.svelte | 40 +++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/src/components/notFound.svelte b/src/components/notFound.svelte index 05f7342..1d315a4 100644 --- a/src/components/notFound.svelte +++ b/src/components/notFound.svelte @@ -1,22 +1,28 @@ -
- -

SVG not found

-

"{notFoundTerm}"

- - Request SVG - - +
+ +

SVG not found

+

"{notFoundTerm}"

+
From b45ad011e0f7ac97e8cc03aeac7c6df89d860ad9 Mon Sep 17 00:00:00 2001 From: pheralb Date: Mon, 18 Dec 2023 01:55:20 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=93=9D=20Update=20readme=20docs.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index ddefc5e..14bdcb0 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,9 @@ ## 🚀 Getting Started +> [!IMPORTANT] +> Before submitting the SVG, **make sure that you have permission** or that the license of the SVG allows you to add it to svgl. If you are not sure, please contact the company or author. + You will need: - [Node.js 16+ (recommended 18 LTS)](https://nodejs.org/en/). From f8430031702c48fbfb86fcc615250939fb6c41bd Mon Sep 17 00:00:00 2001 From: pheralb Date: Mon, 18 Dec 2023 01:57:56 +0000 Subject: [PATCH 3/3] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20Create=20warning=20ale?= =?UTF-8?q?rt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/warning.svelte | 34 ++++++++++++++++++++++++++++++++++ src/routes/+layout.svelte | 3 ++- 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 src/components/warning.svelte diff --git a/src/components/warning.svelte b/src/components/warning.svelte new file mode 100644 index 0000000..e59bce8 --- /dev/null +++ b/src/components/warning.svelte @@ -0,0 +1,34 @@ + + +{#if !warning && !initialValue} +
+ +

+ Use each svg responsibly. The svgs provides the link to the product or company that owns it, + please contact them if you are going to use their logo. If you are the owner + of an svg and do not want it to appear here, please + create an issue on Github. +

+ +
+{/if} diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index c180dde..db00a09 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -20,6 +20,7 @@ // Components for all pages: import Transition from '@/components/transition.svelte'; + import Warning from '@/components/warning.svelte'; // Layout: import Navbar from '@/components/navbar.svelte'; @@ -65,7 +66,6 @@ {/each} -
+