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