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/). 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}"

+
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} -
+