fixes demo hint
This commit is contained in:
@@ -13,13 +13,13 @@
|
|||||||
<h5 class="font-semibold">Resources</h5>
|
<h5 class="font-semibold">Resources</h5>
|
||||||
<ul class="mt-4 text-sm">
|
<ul class="mt-4 text-sm">
|
||||||
<li>
|
<li>
|
||||||
<a href="/docs/api/index.html"
|
<a href="https://wanderer.to/getting-started/installation/"
|
||||||
>{$_("api-documentation")}</a
|
>{$_("documentation")}</a
|
||||||
>
|
>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/Flomp/wanderer/wiki"
|
<a href="/wanderer.to/api-reference/auth"
|
||||||
>{$_("documentation")}</a
|
>{$_("api-documentation")}</a
|
||||||
>
|
>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="https://pocketbase.io/">PocketBase</a></li>
|
<li><a href="https://pocketbase.io/">PocketBase</a></li>
|
||||||
@@ -30,16 +30,16 @@
|
|||||||
<h5 class="font-semibold">wanderer</h5>
|
<h5 class="font-semibold">wanderer</h5>
|
||||||
<ul class="mt-4 text-sm">
|
<ul class="mt-4 text-sm">
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/Flomp/wanderer/wiki"
|
<a href="https://wanderer.to">{$_("about")}</a>
|
||||||
>{$_("about")}</a
|
|
||||||
>
|
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/Flomp/wanderer/wiki/Basic-usage"
|
<a href="https://wanderer.to/#features">{$_("features")}</a>
|
||||||
>{$_("features")}</a
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="https://wanderer.to/getting-started/changelog/"
|
||||||
|
>{$_("changelog")}</a
|
||||||
>
|
>
|
||||||
</li>
|
</li>
|
||||||
<li>{$_("changelog")}</li>
|
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/Flomp/wanderer/blob/main/LICENSE"
|
<a href="https://github.com/Flomp/wanderer/blob/main/LICENSE"
|
||||||
>{$_("license")}</a
|
>{$_("license")}</a
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { beforeNavigate, goto } from "$app/navigation";
|
import { beforeNavigate, goto } from "$app/navigation";
|
||||||
import { PUBLIC_IS_DEMO } from "$env/static/public";
|
import { env } from "$env/dynamic/public";
|
||||||
import Toast from "$lib/components/base/toast.svelte";
|
import Toast from "$lib/components/base/toast.svelte";
|
||||||
import Footer from "$lib/components/footer.svelte";
|
import Footer from "$lib/components/footer.svelte";
|
||||||
import NavBar from "$lib/components/nav_bar.svelte";
|
import NavBar from "$lib/components/nav_bar.svelte";
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
let hideDemoHint = false;
|
let hideDemoHint = false;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#if PUBLIC_IS_DEMO === "true" && !hideDemoHint}
|
{#if env.PUBLIC_IS_DEMO === "true" && !hideDemoHint}
|
||||||
<div
|
<div
|
||||||
class="flex items-center justify-between bg-amber-200 text-center p-4 text-sm"
|
class="flex items-center justify-between bg-amber-200 text-center p-4 text-sm"
|
||||||
out:slide
|
out:slide
|
||||||
|
|||||||
@@ -6,9 +6,10 @@
|
|||||||
import TextField from "$lib/components/base/text_field.svelte";
|
import TextField from "$lib/components/base/text_field.svelte";
|
||||||
import LogoTextTwoLineDark from "$lib/components/logo/logo_text_two_line_dark.svelte";
|
import LogoTextTwoLineDark from "$lib/components/logo/logo_text_two_line_dark.svelte";
|
||||||
import LogoTextTwoLineLight from "$lib/components/logo/logo_text_two_line_light.svelte";
|
import LogoTextTwoLineLight from "$lib/components/logo/logo_text_two_line_light.svelte";
|
||||||
|
import type { User } from "$lib/models/user";
|
||||||
import { theme } from "$lib/stores/theme_store";
|
import { theme } from "$lib/stores/theme_store";
|
||||||
import { show_toast } from "$lib/stores/toast_store";
|
import { show_toast } from "$lib/stores/toast_store";
|
||||||
import { login, type User } from "$lib/stores/user_store";
|
import { login } from "$lib/stores/user_store";
|
||||||
import { createForm } from "$lib/vendor/svelte-form-lib";
|
import { createForm } from "$lib/vendor/svelte-form-lib";
|
||||||
import { ClientResponseError, type AuthProviderInfo } from "pocketbase";
|
import { ClientResponseError, type AuthProviderInfo } from "pocketbase";
|
||||||
import { _ } from "svelte-i18n";
|
import { _ } from "svelte-i18n";
|
||||||
|
|||||||
Reference in New Issue
Block a user