From 35f1f7d74445871b5d9d2e5a1d97b2c9c612f57d Mon Sep 17 00:00:00 2001 From: pheralb Date: Tue, 20 Aug 2024 19:28:48 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Add=20new=20warning=20message?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/warningNewApi.svelte | 44 +++++++++++++++++++++++++++++ src/routes/+layout.svelte | 2 ++ 2 files changed, 46 insertions(+) create mode 100644 src/components/warningNewApi.svelte diff --git a/src/components/warningNewApi.svelte b/src/components/warningNewApi.svelte new file mode 100644 index 0000000..abe3310 --- /dev/null +++ b/src/components/warningNewApi.svelte @@ -0,0 +1,44 @@ + + +{#if !warning && !initialValue} +
+
+ +

+ Starting August 26th, the API route svgl.app/api/* will no + longer be available. There is now a new route: api.svgl.app. +

+
+
+ + + Docs + + +
+
+{/if} diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index da9e20b..febb947 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -30,6 +30,7 @@ // Layout: import Navbar from '@/components/navbar.svelte'; + import WarningNewApi from '@/components/warningNewApi.svelte'; @@ -87,6 +88,7 @@
+