From f8430031702c48fbfb86fcc615250939fb6c41bd Mon Sep 17 00:00:00 2001 From: pheralb Date: Mon, 18 Dec 2023 01:57:56 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20Create=20warning=20alert.?= 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} -
+